Added id=navigator for link to top
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: tdiary.skin.php,v 1.10 2005/01/15 04:06:11 henoheno Exp $
+// $Id: tdiary.skin.php,v 1.11 2005/01/16 04:18:16 henoheno Exp $
//
// tDiary-wrapper skin
//
// tDiary-wrapper skin
// Adjust sidebar's default position
switch(TDIARY_THEME){
// Adjust sidebar's default position
switch(TDIARY_THEME){
+
+ // Assuming sidebar is above of the body
case 'autumn': /*FALLTHROUGH*/
case 'cosmos':
case 'autumn': /*FALLTHROUGH*/
case 'cosmos':
+ case 'dice': // Sidebar text (white) seems unreadable
case 'happa':
case 'kaeru':
case 'note':
case 'happa':
case 'kaeru':
case 'note':
+ case 'paper': // Sidebar text (white) seems unreadable
case 'sunset':
case 'tinybox': // For MSIE with narrow window width, seems meanless
case 'tinybox_green': // The same
case 'sunset':
case 'tinybox': // For MSIE with narrow window width, seems meanless
case 'tinybox_green': // The same
- $sidebar = 'top'; // Assuming sidebar is above of the body
+ // Strict separation between sidebar and main contents needed
case '3minutes': /*FALLTHROUGH*/
case '3pink':
case 'aoikuruma':
case '3minutes': /*FALLTHROUGH*/
case '3pink':
case 'aoikuruma':
case 'spring':
case 'teacup':
case 'wine':
case 'spring':
case 'teacup':
case 'wine':
- $sidebar = 'strict'; // Strict separation between sidebar and main needed
+ // They have sidevar-design, but can not show it at the 'side' of the contents
case 'babypink': /*FALLTHROUGH*/
case 'babypink': /*FALLTHROUGH*/
case 'bubble':
case 'cherry':
case 'darkness-pop':
case 'diamond_dust':
case 'bubble':
case 'cherry':
case 'darkness-pop':
case 'diamond_dust':
case 'gear':
case 'pale':
case 'gear':
case 'pale':
case 'rectangle':
case 'russet':
case 'smoking_black':
$sidebar = 'another'; // Show as an another page below
break;
case 'rectangle':
case 'russet':
case 'smoking_black':
$sidebar = 'another'; // Show as an another page below
break;
}
}
// Check menu (sidebar) is ready and $menubar is there
}
}
// Check menu (sidebar) is ready and $menubar is there
<?php } // if ($menu && $sidebar == 'strict') ?>
<!-- Navigation buttuns -->
<?php } // if ($menu && $sidebar == 'strict') ?>
<!-- Navigation buttuns -->
+<div id="navigator"></div>
<div class="adminmenu">
<?php
function _navigator($key, $value = '', $javascript = ''){
<div class="adminmenu">
<?php
function _navigator($key, $value = '', $javascript = ''){
<?php if ($menu && ($sidebar == 'top' || $sidebar == 'bottom')) { ?>
<div class="pkwk_body">
<div class="main">
<?php if ($menu && ($sidebar == 'top' || $sidebar == 'bottom')) { ?>
<div class="pkwk_body">
<div class="main">
-<?php } // if ($menu && $sidebar == 'top') ?>
-
</div>
</div><!-- class="body" -->
</div>
</div><!-- class="body" -->
<?php if ($notes != '') { ?>
<div class="comment"><!-- Design for tDiary "Comments" -->
<div class="caption"> </div>
<?php if ($notes != '') { ?>
<div class="comment"><!-- Design for tDiary "Comments" -->
<div class="caption"> </div>