summaryrefslogtreecommitdiff
path: root/data/templates/toolbar.inc.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-02 09:40:00 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-02 09:40:00 +0000
commit4a7d7ced9bb339b1ad70d21d8a90b61424af662b (patch)
tree507a49961540b611cf79f89805f3559362c16c13 /data/templates/toolbar.inc.php
parent65b1963d160e0a2fad8a099abf69b799e42f7915 (diff)
downloadsemanticscuttle-4a7d7ced9bb339b1ad70d21d8a90b61424af662b.tar.gz
semanticscuttle-4a7d7ced9bb339b1ad70d21d8a90b61424af662b.tar.bz2
add configuration option to disable registration
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@501 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'data/templates/toolbar.inc.php')
-rw-r--r--data/templates/toolbar.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/toolbar.inc.php b/data/templates/toolbar.inc.php
index fa7170a..0d9bf49 100644
--- a/data/templates/toolbar.inc.php
+++ b/data/templates/toolbar.inc.php
@@ -27,7 +27,9 @@ if ($userservice->isLoggedOn()) {
<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