Skip to content

Commit

Permalink
refs #1535
Browse files Browse the repository at this point in the history
  * Tab on dashboard added.
  * Some design on dashboard removed.
  • Loading branch information
inureyes committed Jan 4, 2011
1 parent f1ec4cf commit ae5f542
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
4 changes: 2 additions & 2 deletions interface/blog/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
if (empty($entries)) {
header('HTTP/1.1 404 Not Found');
if (empty($skin->pageError)) {
dress('article_rep', '<div class="TCwarning">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view);
dress('article_rep', fireEvent('ViewErrorPage','<div class="TCwarning">' . _text('존재하지 않는 페이지입니다.') . '</div>'), $view);
} else {
dress('article_rep', NULL, $view);
dress('page_error', $skin->pageError, $view);
dress('page_error', fireEvent('ViewErrorPage',$skin->pageError), $view);
}
unset($paging);
} else {
Expand Down
7 changes: 5 additions & 2 deletions interface/owner/center/dashboard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,17 @@ function optimizeData() {
?>

<ul id="widget-tabs-box" class="tabs-box">
<li class="dashboard selected"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard"><?php echo _t('알림판');?></a></li>
<li class="edit"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard?edit"><?php echo _t('편집');?></a></li>
<li class="activate"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/plugin?visibility=center"><?php echo _t('위젯 켜고 끄기');?></a>
</ul>
<?php
} else {
?>
<ul id="widget-tabs-box" class="tabs-box">
<li class="edit"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard"><?php echo _t('돌아가기');?></a></li>
<li class="dashboard"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard"><?php echo _t('알림판');?></a></li>
<li class="edit selected"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard?edit"><?php echo _t('편집');?></a></li>
<li class="activate"><a href="<?php echo $ctx->getProperty('uri.blog');?>/owner/plugin?visibility=center"><?php echo _t('위젯 켜고 끄기');?></a>
</ul>
<?php
}
Expand Down Expand Up @@ -368,7 +371,7 @@ function optimizeData() {
<?php
} else {
?>
<div class="button-box">
<div id="widget-button-bottom" class="button-box">
<input type="button" class="input-button" value="<?php echo _t('돌아가기');?>" onclick="window.location.href='<?php echo $ctx->getProperty('uri.blog');?>/owner/center/dashboard'; return false;" />
</div>
<?php
Expand Down
16 changes: 10 additions & 6 deletions skin/admin/frame/center.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,15 @@
width : 270px;
}

#part-center-quilt .section h3 a,
#part-center-quilt-edit .section h3 a,
#part-center-lint .section h3 a,
#part-center-lint-edit .section h3 a,
.ajax-floating-panel h3 a
{
display : none;
}

#part-center-quilt .section h4,
#part-center-quilt .section h5,
#part-center-quilt .section h6,
Expand Down Expand Up @@ -438,16 +447,11 @@
display : none;
}

#widget-button-top
{
position : absolute;
top : -15px;
left : 450px;
}
#widget-button-bottom
{
display : none;
}

#widget-container-0,
#widget-container-1,
#widget-container-2
Expand Down

0 comments on commit ae5f542

Please # to comment.