X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=appnetpost%2Fappnetpost.php;h=0cc10c3e9105e3db1cdd13f0fa285953c47f7fb7;hb=b141c2cff1c59f0002e925a99a400beceadcb5eb;hp=849bf2297fd5bf0331098e57b6b50a43ed37053c;hpb=7f37e843c7678fff9cc4b88ca8a50d1a33c227e7;p=friendica-addons.git diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index 849bf229..0cc10c3e 100644 --- a/appnetpost/appnetpost.php +++ b/appnetpost/appnetpost.php @@ -5,6 +5,7 @@ * Description: Posts to app.net with the help of ifttt.com * Version: 0.1 * Author: Michael Vogel + * Status: Unsupported */ function appnetpost_install() { @@ -49,15 +50,17 @@ function appnetpost_settings(&$a,&$s) { $enabled = get_pconfig(local_user(),'appnetpost','post'); $checked = (($enabled) ? ' checked="checked" ' : ''); + $css = (($enabled) ? '' : '-disabled'); + $def_enabled = get_pconfig(local_user(),'appnetpost','post_by_default'); $def_checked = (($def_enabled) ? ' checked="checked" ' : ''); $s .= ''; - $s .= '

' . t('App.net Export') . '

'; + $s .= '

'. t('App.net Export').'

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