X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=appnetpost%2Fappnetpost.php;h=0cc10c3e9105e3db1cdd13f0fa285953c47f7fb7;hb=931c39f44bcdc9675b582e793457fe13643da870;hp=ca6d5d27ed02cd6347decfad5e0d7a0207c1f0e1;hpb=14676e5b0d959e5ac50ed68b79ac3e0e07b84aa3;p=friendica-addons.git diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index ca6d5d27..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 .= '