From: Michael Vogel Date: Thu, 24 Apr 2014 14:18:36 +0000 (+0200) Subject: Reduce the opacity of the network settings icon when disabled. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e96c60a478156a9dae89d9ab9d35c6eebf543e6;p=friendica-addons.git Reduce the opacity of the network settings icon when disabled. --- diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index fd016282..5bffc17c 100644 --- a/appnetpost/appnetpost.php +++ b/appnetpost/appnetpost.php @@ -49,15 +49,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 .= '