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
|
@ -73,7 +73,7 @@ function statusnet_jot_nets(&$a,&$b) {
|
|||
$statusnet_post = get_pconfig(local_user(),'statusnet','post');
|
||||
if(intval($statusnet_post) == 1) {
|
||||
$statusnet_defpost = get_pconfig(local_user(),'statusnet','post_by_default');
|
||||
$selected = ((intval($statusnet_defpost == 1)) ? ' selected="selected" ' : '');
|
||||
$selected = ((intval($statusnet_defpost) == 1) ? ' checked="checked" ' : '');
|
||||
$b .= '<div class="profile-jot-net"><input type="checkbox" name="statusnet_enable"' . $selected . 'value="1" /> '
|
||||
. t('Post to StatusNet') . '</div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue