X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=diaspora%2Fdiaspora.php;h=35234c3907c7b8731c5bcabcac895061417c4e73;hb=14d91b4091630c91c436e4a6f5008c962e453bc2;hp=53e1890c1c63e5ad4dcd65d1213af2b6ab839793;hpb=2ca92ed594ba3909fdcc063b2b63e27620841336;p=friendica-addons.git diff --git a/diaspora/diaspora.php b/diaspora/diaspora.php index 53e1890c..35234c39 100755 --- a/diaspora/diaspora.php +++ b/diaspora/diaspora.php @@ -5,6 +5,7 @@ * Description: Post to Diaspora * Version: 0.1 * Author: Michael Vogel + * Status: Unsupported */ function diaspora_install() { @@ -119,8 +120,8 @@ function diaspora_settings(&$a,&$s) { /* Get the current state of our config variables */ $enabled = get_pconfig(local_user(),'diaspora','post'); - $checked = (($enabled) ? ' checked="checked" ' : ''); + $css = (($enabled) ? '' : '-disabled'); $def_enabled = get_pconfig(local_user(),'diaspora','post_by_default'); @@ -146,11 +147,11 @@ function diaspora_settings(&$a,&$s) { /* Add some HTML to the existing form */ $s .= ''; - $s .= '

'. t('Diaspora Export').'

'; + $s .= '

'. t('Diaspora Export').'

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