summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge/twitteradminpanel.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TwitterBridge/twitteradminpanel.php')
-rw-r--r--plugins/TwitterBridge/twitteradminpanel.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/TwitterBridge/twitteradminpanel.php b/plugins/TwitterBridge/twitteradminpanel.php
index b22e6d99f..a78a92c66 100644
--- a/plugins/TwitterBridge/twitteradminpanel.php
+++ b/plugins/TwitterBridge/twitteradminpanel.php
@@ -225,6 +225,15 @@ class TwitterAdminPanelForm extends AdminForm
);
$this->unli();
+ $globalConsumerKey = common_config('twitter', 'global_consumer_key');
+ $globalConsumerSec = common_config('twitter', 'global_consumer_secret');
+
+ if (!empty($globalConsumerKey) && !empty($globalConsumerSec)) {
+ $this->li();
+ $this->out->element('p', 'form_guide', _('Note: a global consumer key and secret are set.'));
+ $this->unli();
+ }
+
$this->li();
$this->input(
'source',