diff --git a/app/bridges/bridge_edit.php b/app/bridges/bridge_edit.php
index f057bd6aef..a63b1fbbe2 100644
--- a/app/bridges/bridge_edit.php
+++ b/app/bridges/bridge_edit.php
@@ -54,7 +54,7 @@
$bridge_uuid = $_POST["bridge_uuid"];
$bridge_name = $_POST["bridge_name"];
$bridge_destination = $_POST["bridge_destination"];
- $bridge_enabled = $_POST["bridge_enabled"];
+ $bridge_enabled = $_POST["bridge_enabled"] ?: 'false';
$bridge_description = $_POST["bridge_description"];
}
@@ -218,20 +218,18 @@
echo " ".$text['label-bridge_enabled']."\n";
echo "\n";
echo "
\n";
- echo " \n";
echo " \n";
echo $text['description-bridge_enabled']."\n";
echo " | \n";
@@ -261,4 +259,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php
index 7280c027c5..06c3d5c8e7 100644
--- a/app/call_block/call_block_edit.php
+++ b/app/call_block/call_block_edit.php
@@ -60,7 +60,7 @@
$call_block_name = $_POST["call_block_name"];
$call_block_country_code = $_POST["call_block_country_code"];
$call_block_number = $_POST["call_block_number"];
- $call_block_enabled = $_POST["call_block_enabled"];
+ $call_block_enabled = $_POST["call_block_enabled"] ?: 'false';
$call_block_description = $_POST["call_block_description"];
$action_array = explode(':', $_POST["call_block_action"]);
@@ -496,10 +496,18 @@ if (permission_exists('call_block_all') || permission_exists('call_block_ring_gr
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-enable']."\n";
echo "\n";
diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php
index 2b7e2541b5..b00ea7634f 100644
--- a/app/call_flows/call_flow_edit.php
+++ b/app/call_flows/call_flow_edit.php
@@ -76,7 +76,7 @@
$call_flow_alternate_sound = $_POST["call_flow_alternate_sound"];
$call_flow_alternate_destination = $_POST["call_flow_alternate_destination"];
$call_flow_context = $_POST["call_flow_context"];
- $call_flow_enabled = $_POST["call_flow_enabled"];
+ $call_flow_enabled = $_POST["call_flow_enabled"] ?: 'false';
$call_flow_description = $_POST["call_flow_description"];
//seperate the action and the param
@@ -717,21 +717,18 @@
echo " ".$text['label-enabled']."\n";
echo " | \n";
echo "\n";
- echo " \n";
- if ($call_flow_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($call_flow_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
-
echo " | \n";
echo "| \n";
echo " ".$text['label-call_flow_description']."\n";
diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php
index 4c7c976be5..b8d10ec358 100644
--- a/app/conference_centers/conference_center_edit.php
+++ b/app/conference_centers/conference_center_edit.php
@@ -77,7 +77,7 @@
$conference_center_extension = $_POST["conference_center_extension"];
$conference_center_greeting = $_POST["conference_center_greeting"];
$conference_center_pin_length = $_POST["conference_center_pin_length"];
- $conference_center_enabled = $_POST["conference_center_enabled"];
+ $conference_center_enabled = $_POST["conference_center_enabled"] ?: 'false';
$conference_center_description = $_POST["conference_center_description"];
//validate the token
@@ -435,10 +435,18 @@
echo " ".$text['label-conference_center_enabled']."\n";
echo " | \n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-conference_center_enabled']."\n";
echo " | \n";
diff --git a/app/conference_controls/conference_control_detail_edit.php b/app/conference_controls/conference_control_detail_edit.php
index b16c6847e5..53fe664ce8 100644
--- a/app/conference_controls/conference_control_detail_edit.php
+++ b/app/conference_controls/conference_control_detail_edit.php
@@ -40,7 +40,7 @@
$control_digits = $_POST["control_digits"];
$control_action = $_POST["control_action"];
$control_data = $_POST["control_data"];
- $control_enabled = $_POST["control_enabled"];
+ $control_enabled = $_POST["control_enabled"] ?: 'false';
}
//process the http post
@@ -190,10 +190,18 @@
echo " ".$text['label-control_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-control_enabled']."\n";
echo " | \n";
@@ -213,4 +221,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/conference_controls/conference_control_edit.php b/app/conference_controls/conference_control_edit.php
index ddf9531c2a..6756e88453 100644
--- a/app/conference_controls/conference_control_edit.php
+++ b/app/conference_controls/conference_control_edit.php
@@ -33,7 +33,7 @@
//get http post variables and set them to php variables
if (is_array($_POST)) {
$control_name = $_POST["control_name"];
- $control_enabled = $_POST["control_enabled"];
+ $control_enabled = $_POST["control_enabled"] ?: 'false';
$control_description = $_POST["control_description"];
}
@@ -161,10 +161,18 @@
echo " ".$text['label-control_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-control_enabled']."\n";
echo " | \n";
@@ -198,4 +206,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php
index b0e0ec020d..64fd79824b 100644
--- a/app/conferences/conference_edit.php
+++ b/app/conferences/conference_edit.php
@@ -66,7 +66,7 @@
$conference_account_code = $_POST["conference_account_code"];
$conference_order = $_POST["conference_order"];
$conference_description = $_POST["conference_description"];
- $conference_enabled = $_POST["conference_enabled"];
+ $conference_enabled = $_POST["conference_enabled"] ?: 'false';
//sanitize the conference name
$conference_name = preg_replace("/[^A-Za-z0-9\- ]/", "", $conference_name);
@@ -521,10 +521,18 @@
echo " ".$text['table-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo "".$text['description-conference-enable']."\n";
echo " | \n";
diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php
index 8096830a6f..7e54d0cd80 100644
--- a/app/destinations/destination_edit.php
+++ b/app/destinations/destination_edit.php
@@ -109,7 +109,7 @@
$user_uuid = $_POST["user_uuid"];
$group_uuid = $_POST["group_uuid"];
$destination_order= $_POST["destination_order"];
- $destination_enabled = $_POST["destination_enabled"];
+ $destination_enabled = $_POST["destination_enabled"] ?: 'false';
$destination_description = $_POST["destination_description"];
$destination_sell = check_float($_POST["destination_sell"]);
$currency = $_POST["currency"];
@@ -1735,15 +1735,23 @@
echo " ".$text['label-destination_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- switch ($destination_enabled) {
- case "true" : $selected[1] = "selected='selected'"; break;
- case "false" : $selected[2] = "selected='selected'"; break;
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ switch ($destination_enabled) {
+ case "true" : $selected[1] = "selected='selected'"; break;
+ case "false" : $selected[2] = "selected='selected'"; break;
+ }
+ echo " \n";
+ echo " \n";
+ unset($selected);
+ echo " \n";
}
- echo " \n";
- echo " \n";
- unset($selected);
- echo " \n";
echo " \n";
echo $text['description-destination_enabled']."\n";
echo " | \n";
diff --git a/app/email_templates/email_template_edit.php b/app/email_templates/email_template_edit.php
index a04bd242a5..7f0023a5c9 100644
--- a/app/email_templates/email_template_edit.php
+++ b/app/email_templates/email_template_edit.php
@@ -60,7 +60,7 @@
$template_subject = $_POST["template_subject"];
$template_body = $_POST["template_body"];
$template_type = $_POST["template_type"];
- $template_enabled = $_POST["template_enabled"];
+ $template_enabled = $_POST["template_enabled"] ?: 'false';
$template_description = $_POST["template_description"];
}
@@ -430,20 +430,18 @@
echo " ".$text['label-template_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($template_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($template_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-template_enabled']."\n";
echo " | \n";
@@ -506,4 +504,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/modules/module_edit.php b/app/modules/module_edit.php
index 238bb49633..9bc07ddf23 100644
--- a/app/modules/module_edit.php
+++ b/app/modules/module_edit.php
@@ -61,8 +61,8 @@
$module_description = $_POST["module_description"];
$module_category = $_POST["module_category"];
$module_order = $_POST["module_order"];
- $module_enabled = $_POST["module_enabled"];
- $module_default_enabled = $_POST["module_default_enabled"];
+ $module_enabled = $_POST["module_enabled"] ?: 'false';
+ $module_default_enabled = $_POST["module_default_enabled"] ?: 'false';
}
//process the data
@@ -242,20 +242,18 @@
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($module_enabled == "false") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($module_enabled == "true") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " | \n";
echo "
\n";
@@ -264,20 +262,18 @@
echo " ".$text['label-default_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($module_default_enabled == "false") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($module_default_enabled == "true") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " | \n";
echo "\n";
@@ -303,4 +299,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/number_translations/number_translation_edit.php b/app/number_translations/number_translation_edit.php
index 9825e7b433..4be971bc8d 100644
--- a/app/number_translations/number_translation_edit.php
+++ b/app/number_translations/number_translation_edit.php
@@ -56,7 +56,7 @@
if (is_array($_POST) && @sizeof($_POST) != 0) {
$number_translation_name = $_POST["number_translation_name"];
$number_translation_details = $_POST["number_translation_details"];
- $number_translation_enabled = $_POST["number_translation_enabled"];
+ $number_translation_enabled = $_POST["number_translation_enabled"] ?: 'false';
$number_translation_description = $_POST["number_translation_description"];
}
@@ -344,20 +344,18 @@
echo " ".$text['label-number_translation_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($number_translation_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($number_translation_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-number_translation_enabled']."\n";
echo " | \n";
diff --git a/app/phrases/phrase_edit.php b/app/phrases/phrase_edit.php
index 5734855177..4683a10350 100644
--- a/app/phrases/phrase_edit.php
+++ b/app/phrases/phrase_edit.php
@@ -80,7 +80,7 @@
}
$phrase_name = $_POST["phrase_name"];
$phrase_language = $_POST["phrase_language"];
- $phrase_enabled = $_POST["phrase_enabled"];
+ $phrase_enabled = $_POST["phrase_enabled"] ?: 'false';
$phrase_description = $_POST["phrase_description"];
$phrase_details_delete = $_POST["phrase_details_delete"];
@@ -606,10 +606,18 @@
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-enabled']."\n";
echo " | \n";
diff --git a/app/sip_profiles/sip_profile_edit.php b/app/sip_profiles/sip_profile_edit.php
index 37c1a59a85..ee44291ca3 100644
--- a/app/sip_profiles/sip_profile_edit.php
+++ b/app/sip_profiles/sip_profile_edit.php
@@ -78,7 +78,7 @@
$sip_profile_uuid = $_POST["sip_profile_uuid"];
$sip_profile_name = $_POST["sip_profile_name"];
$sip_profile_hostname = $_POST["sip_profile_hostname"];
- $sip_profile_enabled = $_POST["sip_profile_enabled"];
+ $sip_profile_enabled = $_POST["sip_profile_enabled"] ?: 'false';
$sip_profile_description = $_POST["sip_profile_description"];
$sip_profile_domains = $_POST["sip_profile_domains"];
$sip_profile_settings = $_POST["sip_profile_settings"];
@@ -560,20 +560,18 @@
echo " ".$text['label-sip_profile_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($sip_profile_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($sip_profile_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-sip_profile_enabled']."\n";
echo " | \n";
@@ -603,4 +601,4 @@
//include the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/streams/stream_edit.php b/app/streams/stream_edit.php
index 639d81fce9..51f7105f8a 100644
--- a/app/streams/stream_edit.php
+++ b/app/streams/stream_edit.php
@@ -58,7 +58,7 @@
$stream_uuid = $_POST["stream_uuid"];
$stream_name = $_POST["stream_name"];
$stream_location = $_POST["stream_location"];
- $stream_enabled = $_POST["stream_enabled"];
+ $stream_enabled = $_POST["stream_enabled"] ?: 'false';
$stream_description = $_POST["stream_description"];
}
@@ -209,20 +209,18 @@
echo " ".$text['label-stream_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($stream_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($stream_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-stream_enabled']."\n";
echo " | \n";
diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php
index acb7460b7a..4d64c2bf83 100644
--- a/app/time_conditions/time_condition_edit.php
+++ b/app/time_conditions/time_condition_edit.php
@@ -84,7 +84,7 @@
if (permission_exists('time_condition_context')) {
$dialplan_context = $_POST["dialplan_context"];
}
- $dialplan_enabled = $_POST["dialplan_enabled"];
+ $dialplan_enabled = $_POST["dialplan_enabled"] ?: 'false';
$dialplan_description = $_POST["dialplan_description"];
if (!permission_exists('time_condition_domain')) {
@@ -1271,10 +1271,18 @@ if ($action == 'update') {
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo "\n";
- echo " \n";
- echo " \n";
- echo "\n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo " | \n";
echo "\n";
diff --git a/app/vars/var_edit.php b/app/vars/var_edit.php
index 1deb5968d8..9d43030c53 100644
--- a/app/vars/var_edit.php
+++ b/app/vars/var_edit.php
@@ -61,7 +61,7 @@
$var_value = trim($_POST["var_value"]);
$var_command = trim($_POST["var_command"]);
$var_hostname = trim($_POST["var_hostname"]);
- $var_enabled = trim($_POST["var_enabled"]);
+ $var_enabled = trim($_POST["var_enabled"] ?: 'false');
$var_order = trim($_POST["var_order"]);
$var_description = trim($_POST["var_description"]);
$var_description = str_replace("''", "'", $var_description);
@@ -276,20 +276,18 @@
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($var_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($var_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-enabled']."\n";
echo " | \n";
@@ -417,4 +415,4 @@
//include header
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>
diff --git a/app/voicemails/voicemail_edit.php b/app/voicemails/voicemail_edit.php
index 7bc8e60abe..632f0ba683 100644
--- a/app/voicemails/voicemail_edit.php
+++ b/app/voicemails/voicemail_edit.php
@@ -92,7 +92,7 @@
$voicemail_file = $_POST["voicemail_file"];
$voicemail_local_after_email = $_POST["voicemail_local_after_email"];
$voicemail_destination = $_POST["voicemail_destination"];
- $voicemail_enabled = $_POST["voicemail_enabled"];
+ $voicemail_enabled = $_POST["voicemail_enabled"] ?: 'false';
$voicemail_description = $_POST["voicemail_description"];
$voicemail_tutorial = $_POST["voicemail_tutorial"];
$voicemail_options_delete = $_POST["voicemail_options_delete"];
@@ -760,20 +760,18 @@
echo " ".$text['label-voicemail_enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($voicemail_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($voicemail_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-voicemail_enabled']."\n";
echo " | \n";
diff --git a/core/default_settings/default_setting_edit.php b/core/default_settings/default_setting_edit.php
index db57725211..9fa4c936f8 100644
--- a/core/default_settings/default_setting_edit.php
+++ b/core/default_settings/default_setting_edit.php
@@ -62,7 +62,7 @@
$default_setting_name = strtolower($_POST["default_setting_name"]);
$default_setting_value = $_POST["default_setting_value"];
$default_setting_order = $_POST["default_setting_order"];
- $default_setting_enabled = $_POST["default_setting_enabled"];
+ $default_setting_enabled = $_POST["default_setting_enabled"] ?: 'false';
$default_setting_description = $_POST["default_setting_description"];
}
@@ -785,20 +785,18 @@
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- if ($default_setting_enabled == "true") {
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
}
else {
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- if ($default_setting_enabled == "false") {
- echo " \n";
- }
- else {
- echo " \n";
- }
- echo " \n";
echo " \n";
echo $text['description-enabled']."\n";
echo " | \n";
diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php
index 8616cf2c4c..cc40bd94d5 100644
--- a/core/domains/domain_edit.php
+++ b/core/domains/domain_edit.php
@@ -65,7 +65,7 @@
//get http post variables and set them to php variables
if (count($_POST) > 0) {
$domain_name = strtolower($_POST["domain_name"]);
- $domain_enabled = $_POST["domain_enabled"];
+ $domain_enabled = $_POST["domain_enabled"] ?: 'false';
$domain_description = $_POST["domain_description"];
}
@@ -693,10 +693,18 @@
echo " ".$text['label-enabled']."\n";
echo "\n";
echo "\n";
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') {
+ echo " \n";
+ }
+ else {
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ }
echo " \n";
echo $text['description-domain_enabled']."\n";
echo " | \n";