From 2e96c60a478156a9dae89d9ab9d35c6eebf543e6 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 24 Apr 2014 16:18:36 +0200 Subject: [PATCH] Reduce the opacity of the network settings icon when disabled. --- appnetpost/appnetpost.php | 6 ++++-- blogger/blogger.php | 6 +++--- diaspora/diaspora.php | 6 +++--- fbpost/fbpost.php | 6 +++++- gpluspost/gpluspost.php | 5 +++-- libertree/libertree.php | 6 +++--- pumpio/pumpio.php | 5 +++-- statusnet/statusnet.php | 6 ++++-- tumblr/tumblr.php | 6 +++--- twitter/twitter.php | 6 ++++-- wppost/wppost.php | 7 ++++--- 11 files changed, 39 insertions(+), 26 deletions(-) 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 .= '