X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=appnetpost%2Fappnetpost.php;h=0cc10c3e9105e3db1cdd13f0fa285953c47f7fb7;hb=f0310f62758de957592c513473ac535c6e04f00c;hp=a5c5e8c5fdd388ac22c005ce301d96a4256478e5;hpb=1754b58cd91729b75c038c2b2075df09307c1e3c;p=friendica-addons.git diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index a5c5e8c5..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 Post Settings') . '

'; + $s .= '

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

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