aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-01 11:01:56 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-01 11:01:56 +0200
commit7dadf387e58ade457698dc2ffc58bbda7be46652 (patch)
tree6ab71dcdd332069d675ea170f98efa0c20bcd59f
parent8febcc27056fb6bae83a81c523047ec96d38489a (diff)
downloadvolse-hubzilla-7dadf387e58ade457698dc2ffc58bbda7be46652.tar.gz
volse-hubzilla-7dadf387e58ade457698dc2ffc58bbda7be46652.tar.bz2
volse-hubzilla-7dadf387e58ade457698dc2ffc58bbda7be46652.zip
indicate locked features
-rw-r--r--Zotlabs/Module/Settings/Directory.php2
-rw-r--r--include/features.php2
-rw-r--r--view/theme/redbasic/css/style.css4
3 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Module/Settings/Directory.php b/Zotlabs/Module/Settings/Directory.php
index 2682bcafc..6e24a2cfa 100644
--- a/Zotlabs/Module/Settings/Directory.php
+++ b/Zotlabs/Module/Settings/Directory.php
@@ -6,7 +6,7 @@ namespace Zotlabs\Module\Settings;
class Directory {
function post() {
-
+
$module = substr(strrchr(strtolower(static::class), '\\'), 1);
check_form_security_token_redirectOnErr('/settings/' . $module, 'settings_' . $module);
diff --git a/include/features.php b/include/features.php
index a3395d7a8..ff0860f4d 100644
--- a/include/features.php
+++ b/include/features.php
@@ -47,7 +47,7 @@ function feature_level($feature,$def) {
function process_module_features_get($uid, $features) {
unset($features[0]);
foreach($features as $f) {
- $arr[] = array('feature_' . $f[0],$f[1],((intval(feature_enabled($uid, $f[0]))) ? "1" : ''),$f[2],array(t('Off'),t('On')));
+ $arr[] = array('feature_' . $f[0],$f[1],((intval(feature_enabled($uid, $f[0]))) ? "1" : ''),$f[2], array(t('Off'),t('On')), (($f[4] === false) ? '' : 'disabled'));
}
return $arr;
}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index a9ea29ba1..4f0658477 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1677,11 +1677,9 @@ dl.bb-dl > dd > li {
.form-group.checkbox > div > input:disabled + label .onoffswitch-switch {
- background-color: red;
- border-radius: 3px;
+ background-color: red;
opacity: 0.3;
filter:alpha(opacity=30);
-
}