option GLOBAL_ENABLE_LABELS restricts labels globally

This commit is contained in:
Andrew Dolgov
2005-12-02 21:07:47 +01:00
parent c868b15476
commit cfaba6df12
3 changed files with 9 additions and 2 deletions

View File

@@ -83,7 +83,7 @@
onclick="selectTab('feedConfig')">
<input id="filterConfigTab" class="prefsTab" type="submit" value="Content Filtering"
onclick="selectTab('filterConfig')">
<? if (get_pref($link, 'ENABLE_LABELS')) { ?>
<? if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) { ?>
<input id="labelConfigTab" class="prefsTab" type="submit" value="Label Editor"
onclick="selectTab('labelConfig')">
<? } ?>