diff options
author | Friendika <info@friendika.com> | 2011-02-11 04:32:38 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-11 04:32:38 -0800 |
commit | 5e02519a1311cb62d7aaa2f8dc947fd0affd454c (patch) | |
tree | 71e44f2f542dfcfaba3247c792eec2191aadda92 /addon | |
parent | 0bfe63e7d887f484c5cc0aea37ead0c283967fee (diff) | |
download | volse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.tar.gz volse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.tar.bz2 volse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.zip |
disable network toggles when ACL's are entered
Diffstat (limited to 'addon')
-rw-r--r-- | addon/facebook/facebook.php | 2 | ||||
-rw-r--r-- | addon/twitter/twitter.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index 2a5715b2e..93e7962c3 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -143,7 +143,7 @@ function facebook_jot_nets(&$a,&$b) { if(intval($fb_post) == 1) { $fb_defpost = get_pconfig(local_user(),'facebook','post_by_default'); $selected = ((intval($fb_defpost == 1)) ? ' selected="selected" ' : ''); - $b .= '<div class="profile-jot-net"><input type="checkbox" name="facebook_enable" $selected value="1" /> ' + $b .= '<div class="profile-jot-net"><input type="checkbox" name="facebook_enable"' . $selected . 'value="1" /> ' . t('Post to Facebook') . '</div>'; } } diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php index 6a0365e09..0b706f9b1 100644 --- a/addon/twitter/twitter.php +++ b/addon/twitter/twitter.php @@ -63,7 +63,7 @@ function twitter_jot_nets(&$a,&$b) { if(intval($tw_post) == 1) { $tw_defpost = get_pconfig(local_user(),'twitter','post_by_default'); $selected = ((intval($tw_defpost == 1)) ? ' selected="selected" ' : ''); - $b .= '<div class="profile-jot-net"><input type="checkbox" name="twitter_enable" $selected value="1" /> ' + $b .= '<div class="profile-jot-net"><input type="checkbox" name="twitter_enable"' . $selected . 'value="1" /> ' . t('Post to Twitter') . '</div>'; } |