diff options
author | 2011-05-25 19:43:36 +0200 | |
---|---|---|
committer | 2011-05-25 19:43:36 +0200 | |
commit | 5ba53394fcda4ae9cfa9af52b37fb67517deeb5a (patch) | |
tree | 4416be7903a2b339382e9f933284f50797edc239 /data/templates/toolbar.inc.php | |
parent | 63b0a4b8cb38a8a7c41410900b9dfcc84e6a33a9 (diff) | |
download | scuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.tar.gz scuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.zip |
implement request #1989987: theme support. merge themes branch with --squash
Diffstat (limited to 'data/templates/toolbar.inc.php')
-rw-r--r-- | data/templates/toolbar.inc.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/data/templates/toolbar.inc.php b/data/templates/toolbar.inc.php deleted file mode 100644 index fb6638d..0000000 --- a/data/templates/toolbar.inc.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -if ($userservice->isLoggedOn() && is_object($currentUser)) { - $cUserId = $userservice->getCurrentUserId(); - $cUsername = $currentUser->getUsername(); -?> - - <ul id="navigation"> - <li><a href="<?php echo createURL(''); ?>"><?php echo T_('Home'); ?></a></li> - <li><a href="<?php echo createURL('bookmarks', $cUsername); ?>"><?php echo T_('Bookmarks'); ?></a></li> - <li><a href="<?php echo createURL('alltags', $cUsername); ?>"><?php echo T_('Tags'); ?></a></li> - <li><a href="<?php echo createURL('watchlist', $cUsername); ?>"><?php echo T_('Watchlist'); ?></a></li> - <li><a href="<?php echo $userservice->getProfileUrl($cUserId, $cUsername); ?>"><?php echo T_('Profile'); ?></a></li> - <li><a href="<?php echo createURL('bookmarks', $cUsername . '?action=add'); ?>"><?php echo T_('Add a Bookmark'); ?></a></li> - <li class="access"><?php echo $cUsername?><a href="<?php echo ROOT ?>?action=logout">(<?php echo T_('Log Out'); ?>)</a></li> - <li><a href="<?php echo createURL('about'); ?>"><?php echo T_('About'); ?></a></li> - <?php if($currentUser->isAdmin()): ?>
- <li><a href="<?php echo createURL('admin', ''); ?>"><?php echo '['.T_('Admin').']'; ?></a></li>
- <?php endif; ?> - - </ul> - -<?php -} else { -?> - <ul id="navigation"> - <li><a href="<?php echo createURL(''); ?>"><?php echo T_('Home'); ?></a></li> - <li><a href="<?php echo createURL('populartags'); ?>"><?php echo T_('Popular Tags'); ?></a></li> - <li><a href="<?php echo createURL('about'); ?>"><?php echo T_('About'); ?></a></li> - <li class="access"><a href="<?php echo createURL('login'); ?>"><?php echo T_('Log In'); ?></a></li> - <?php if ($GLOBALS['enableRegistration']) { ?> - <li class="access"><a href="<?php echo createURL('register'); ?>"><?php echo T_('Register'); ?></a></li> - <?php } ?> - </ul> - -<?php -} -?> |