修订版 | c02b67db174092b8170c671914f86404040b8c73 (tree) |
---|---|
时间 | 2016-03-01 03:29:52 |
作者 | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack2/375 Enable Login/Logout on tDiary skin
@@ -1,8 +1,8 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: pukiwiki.skin.php,v 1.56 2007/07/26 00:57:00 henoheno Exp $ | |
4 | -// Copyright (C) | |
5 | -// 2002-2006 PukiWiki Developers Team | |
3 | +// pukiwiki.skin.php | |
4 | +// Copyright | |
5 | +// 2002-2016 PukiWiki Development Team | |
6 | 6 | // 2001-2002 Originally written by yu-ji |
7 | 7 | // License: GPL v2 or (at your option) any later version |
8 | 8 | // |
@@ -1,8 +1,8 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: tdiary.skin.php,v 1.37 2011/01/25 15:01:01 henoheno Exp $ | |
4 | -// Copyright (C) | |
5 | -// 2002-2006 PukiWiki Developers Team | |
3 | +// tdiary.skin.php | |
4 | +// Copyright | |
5 | +// 2002-2016 PukiWiki Development Team | |
6 | 6 | // 2001-2002 Originally written by yu-ji |
7 | 7 | // License: GPL v2 or (at your option) any later version |
8 | 8 | // |
@@ -649,6 +649,12 @@ function _navigator($key, $value = '', $javascript = ''){ | ||
649 | 649 | <?php _navigator('search') ?> |
650 | 650 | <?php _navigator('recent') ?> |
651 | 651 | <?php _navigator('help') ?> |
652 | + <?php if ($enable_login) { ?> | |
653 | + <?php _navigator('login') ?> | |
654 | + <?php } ?> | |
655 | + <?php if ($enable_logout) { ?> | |
656 | + <?php _navigator('logout') ?> | |
657 | + <?php } ?> | |
652 | 658 | </div></div> |
653 | 659 | <?php } else { ?> |
654 | 660 | <div id="navigator"></div> |