]> git.wh0rd.org Git - tt-rss.git/commitdiff
prefs: enable Linked tab in single user mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 11:39:27 +0000 (15:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 11:39:27 +0000 (15:39 +0400)
prefs.php

index 11dab397706556c25bc75bbaa2b59c69e62a5450..c28a5b1ef2336657b8626cf6258e92ad013062f2 100644 (file)
--- a/prefs.php
+++ b/prefs.php
        <div id="userConfigTab" dojoType="dijit.layout.ContentPane"
                href="backend.php?op=pref-users"
                title="<?php echo __('Users') ?>"></div>
+<?php } ?>
+<?php if ($_SESSION["access_level"] >= 10 || SINGLE_USER_MODE) { ?>
        <div id="instanceConfigTab" dojoType="dijit.layout.ContentPane"
                href="backend.php?op=pref-instances"
                title="<?php echo __('Linked') ?>"></div>