Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 * 새 글쓰기 관련 레이아웃 조정
  • Loading branch information
inureyes committed May 31, 2008
1 parent 53821fd commit bc078fa
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions interface/owner/center/dashboard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function optimizeData() {
<h3 class="caption"><span><?php echo _t('바로가기');?></span></h3>

<ul>
<li><a href="<?php echo $blogURL;?>/owner/entry/post"><?php echo _t('새 글 쓰기');?></a></li>
<li class="newPost"><a class="newPost" href="<?php echo $blogURL;?>/owner/entry/post"><span><?php echo _t('새 글 쓰기');?></span></a></li>
<?php
$latestEntryId = getBlogSetting('LatestEditedEntry_user'.getUserId(),0);
if($latestEntryId !== 0) {
Expand All @@ -249,6 +249,16 @@ function optimizeData() {
<li><a href="<?php echo $blogURL;?>/owner/network/reader"><?php echo _t('RSS로 등록한 이웃 글 보기');?></a></li>
<?php
}
if(Acl::check("group.administrators")) {
?>
<li><a href="<?php echo $blogURL;?>/owner/center/dashboard/cleanup" onclick="cleanupCache();return false;"><?php echo _t('캐시 지우기');?></a></li>
<?php
if(Acl::check("group.creators")) {
?>
<li><a href="<?php echo $blogURL;?>/owner/data" onclick="optimizeData();return false;"><?php echo _t('저장소 최적화');?></a></li>
<?php
}
}
?>
</ul>
</div>
Expand Down Expand Up @@ -276,24 +286,6 @@ function optimizeData() {
</tr>
</tbody>
</table>
<?php
if(Acl::check("group.administrators")) {
?>
<ul>
<li><a href="<?php echo $blogURL;?>/owner/center/dashboard/cleanup" onclick="cleanupCache();return false;"><?php echo _t('캐시 지우기');?></a></li>
<?php
if(Acl::check("group.creators")) {
?>
<li><a href="<?php echo $blogURL;?>/owner/data" onclick="optimizeData();return false;"><?php echo _t('저장소 최적화');?></a></li>
</ul>
<?php
} else {
?>
</ul>
<?php
}
}
?>
</div>

<div id="textcube-notice" class="section">
Expand Down

0 comments on commit bc078fa

Please sign in to comment.