X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=appnetpost%2Fappnetpost.php;h=0cc10c3e9105e3db1cdd13f0fa285953c47f7fb7;hb=b4184c2773b446a5bf2edb15c0742c8ddcf8af54;hp=f434f0986969e1a341d01d23144daaed76024d76;hpb=cdf704e9721ef612e992919e2afa40cbd2c0ec26;p=friendica-addons.git diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index f434f098..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,11 +50,19 @@ 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 .= ''; + $s .= '

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

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