X-Git-Url: https://git.mxchange.org/?p=friendica-addons.git;a=blobdiff_plain;f=fbpost%2Ffbpost.php;h=93a31e2b4d6ac640fa9e81dfc1465fc520472872;hp=62ae73c73e67729e9724494e180ee001b04fa043;hb=2e96c60a478156a9dae89d9ab9d35c6eebf543e6;hpb=5282318d1a183063ee424fb941af6dd50771eb78 diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index 62ae73c7..93a31e2b 100644 --- a/fbpost/fbpost.php +++ b/fbpost/fbpost.php @@ -320,6 +320,10 @@ function fbpost_content(&$a) { * @param null|object $b */ function fbpost_plugin_settings(&$a,&$b) { + + $enabled = get_pconfig(local_user(),'facebook','post'); + $css = (($enabled) ? '' : '-disabled'); + $result = q("SELECT `installed` FROM `addon` WHERE `name` = 'fbsync' AND `installed`"); if(count($result) > 0) $title = t('Facebook Import/Export/Mirror'); @@ -327,7 +331,7 @@ function fbpost_plugin_settings(&$a,&$b) { $title = t('Facebook Export/Mirror'); $b .= '
'; - $b .= '

'.$title.'

'; + $b .= '

'.$title.'

'; $b .= '
'; }