diff options
-rw-r--r-- | modules-available/baseconfig/page.inc.php | 1 | ||||
-rw-r--r-- | modules-available/baseconfig/templates/_page.html | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/modules-available/baseconfig/page.inc.php b/modules-available/baseconfig/page.inc.php index 97fb6072..3bd96223 100644 --- a/modules-available/baseconfig/page.inc.php +++ b/modules-available/baseconfig/page.inc.php @@ -227,7 +227,6 @@ class Page_BaseConfig extends Page 'target_module' => $this->targetModule, 'edit_disabled' => $editForbidden ? 'disabled' : '', ) + $this->qry_extra); - Module::isAvailable('bootstrap_switch'); } private function fillSettings($vars, &$settings, &$missing, $table, $fields, $where, $params, $sourceName) diff --git a/modules-available/baseconfig/templates/_page.html b/modules-available/baseconfig/templates/_page.html index 110ee5ec..27b40e37 100644 --- a/modules-available/baseconfig/templates/_page.html +++ b/modules-available/baseconfig/templates/_page.html @@ -29,11 +29,13 @@ {{#defaultvalue}}{{lang_defaultValue}}:{{/defaultvalue}} {{defaultvalue}} </div> - <input class="bs-switch" name="override[{{setting}}]" id="CB_{{setting}}" type="checkbox" {{checked}} {{edit_disabled}}> - <label for="CB_{{setting}}"> - {{#override}}{{lang_enableOverride}}{{/override}} - {{^override}}{{lang_settingActive}}{{/override}} - </label> + <div class="checkbox"> + <input name="override[{{setting}}]" id="CB_{{setting}}" type="checkbox" {{checked}} {{edit_disabled}}> + <label for="CB_{{setting}}"> + {{#override}}{{lang_enableOverride}}{{/override}} + {{^override}}{{lang_settingActive}}{{/override}} + </label> + </div> </div> <div class="col-md-5"> {{{item}}} |