From: Andrew Dolgov Date: Wed, 16 Aug 2006 07:37:30 +0000 (+0100) Subject: change handling of GLOBAL_ENABLE_LABELS when disabled X-Git-Tag: schema_freeze_for_1.2.2~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e7bb2041f9b206494f32feacb06d7e078e0a68f;p=tt-rss.git change handling of GLOBAL_ENABLE_LABELS when disabled --- diff --git a/backend.php b/backend.php index 72b563d0..dff780b1 100644 --- a/backend.php +++ b/backend.php @@ -2252,6 +2252,8 @@ if ($op == "pref-labels") { if (!GLOBAL_ENABLE_LABELS) { + + print "

Sorry, labels have been administratively disabled for this installation. Please contact instance owner or edit configuration file to enable this functionality.

"; return; } diff --git a/prefs.php b/prefs.php index a5efa356..1e9aadd5 100644 --- a/prefs.php +++ b/prefs.php @@ -132,7 +132,7 @@ window.onload = init; - +