X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=forumlist%2Fforumlist.php;h=63a8de84111644156d0e6f09725ce257fdf6fdb1;hb=18784a484b04b5f74e6d4dca516b2dc20cffe953;hp=4ca063853fb8d82429c8dd80401cd13a2afc25a5;hpb=f31ff2b0610655676ce2c28a77107abcf34c074b;p=friendica-addons.git diff --git a/forumlist/forumlist.php b/forumlist/forumlist.php index 4ca06385..63a8de84 100644 --- a/forumlist/forumlist.php +++ b/forumlist/forumlist.php @@ -6,6 +6,7 @@ * Author: Mike Macgirvin * based on pages plugin by * Author: Michael Vogel + * Status: Unsupported * */ @@ -65,7 +66,7 @@ function forumlist_network_mod_init($a,$b) { $forumlist .= '' - . '"; if (sizeof($contacts) > 0) $a->page['aside'] = $forumlist . $a->page['aside']; @@ -124,14 +125,8 @@ function forumlist_profile_advanced($a,&$b) { function forumlist_plugin_settings_post($a,$post) { - - logger('forum list save 1'); - if(! local_user() || (! x($_POST,'forumlist-settings-submit'))) return; - - logger('forum list save 2'); - // set_pconfig(local_user(),'forumlist','max_forumlists',intval($_POST['forumlist_max_forumlists'])); set_pconfig(local_user(),'forumlist','randomise',intval($_POST['forumlist_random'])); set_pconfig(local_user(),'forumlist','show_on_profile',intval($_POST['forumlist_profile'])); @@ -160,12 +155,17 @@ function forumlist_plugin_settings(&$a,&$s) { $network = intval(get_pconfig(local_user(),'forumlist','show_on_network')); $network_checked = (($network) ? ' checked="checked" ' : ''); - - + + /* Add some HTML to the existing form */ + $s .= ''; + $s .= '

' . t('Forumlist') . '

'; + $s .= '
'; + $s .= '