fb "post by default" implemented, post_by_default logic fixed for other plugins
This commit is contained in:
parent
6f9eadfe6e
commit
1c779e2061
4 changed files with 37 additions and 9 deletions
|
|
@ -59,7 +59,7 @@ function twitter_jot_nets(&$a,&$b) {
|
|||
$tw_post = get_pconfig(local_user(),'twitter','post');
|
||||
if(intval($tw_post) == 1) {
|
||||
$tw_defpost = get_pconfig(local_user(),'twitter','post_by_default');
|
||||
$selected = ((intval($tw_defpost == 1)) ? ' selected="selected" ' : '');
|
||||
$selected = ((intval($tw_defpost) == 1) ? ' checked="checked" ' : '');
|
||||
$b .= '<div class="profile-jot-net"><input type="checkbox" name="twitter_enable"' . $selected . 'value="1" /> '
|
||||
. t('Post to Twitter') . '</div>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue