summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-01-26 13:48:14 +0400
committerAndrew Dolgov <[email protected]>2012-01-26 13:48:14 +0400
commitaa60999b978f777f63e221b752b1011110f63bd0 (patch)
treea0767a7a20eccd52a6e99e443b5d5ea4ba3d6e0d /classes/dlg.php
parentec418193a8320976f2553d0afac13b8203d29231 (diff)
allow subscribing to twitter feeds without oauth (if require auth checkbox is unset)
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index 55eb5e37e..cd098d396 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -284,12 +284,13 @@ class Dlg extends Protected_Handler {
" <input
placeHolder=\"".__("Password")."\"
dojoType=\"dijit.form.TextBox\" type='password'
- style=\"width : 10em;\" name='pass'\">
+ style=\"width : 10em;\" name='pass'\">".
+ " <p class='insensitive'>".__("OAuth will be used automatically for Twitter feeds.")."</p>
</div></div>";
print "<div style=\"clear : both\">
- <input type=\"checkbox\" dojoType=\"dijit.form.CheckBox\" id=\"feedDlg_loginCheck\"
+ <input type=\"checkbox\" name=\"need_auth\" dojoType=\"dijit.form.CheckBox\" id=\"feedDlg_loginCheck\"
onclick='checkboxToggleElement(this, \"feedDlg_loginContainer\")'>
<label for=\"feedDlg_loginCheck\">".
__('This feed requires authentication.')."</div>";