File tree Expand file tree Collapse file tree 3 files changed +19
-19
lines changed
Expand file tree Collapse file tree 3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ json_list() {
7676 "API": "' $API ' ",
7777 "API_ALLOWED_IP": "' $API_ALLOWED_IP ' ",
7878 "UPDATE_AVAILABLE": "' $UPDATE_AVAILABLE ' ",
79- "POLICY_SYSTEM_ENABLE_JETSKIS ": "' $POLICY_SYSTEM_ENABLE_JETSKIS ' ",
79+ "POLICY_SYSTEM_ENABLE_BACON ": "' $POLICY_SYSTEM_ENABLE_BACON ' ",
8080 "POLICY_SYSTEM_PROTECTED_ADMIN": "' $POLICY_SYSTEM_PROTECTED_ADMIN ' ",
8181 "POLICY_SYSTEM_HIDE_ADMIN": "' $POLICY_SYSTEM_HIDE_ADMIN ' ",
8282 "POLICY_SYSTEM_HIDE_SERVICES": "' $POLICY_SYSTEM_HIDE_SERVICES ' ",
Original file line number Diff line number Diff line change 290290
291291 // Update experimental features status
292292 if (empty ($ _SESSION ['error_msg ' ])) {
293- if ($ _POST ['v_experimental_features ' ] != $ _SESSION ['POLICY_SYSTEM_ENABLE_JETSKIS ' ]) {
293+ if ($ _POST ['v_experimental_features ' ] != $ _SESSION ['POLICY_SYSTEM_ENABLE_BACON ' ]) {
294294 if ($ _POST ['v_experimental_features ' ] == 'on ' ) { $ _POST ['v_experimental_features ' ] = 'true ' ; } else { $ _POST ['v_experimental_features ' ] = 'false ' ; }
295- exec (HESTIA_CMD ."v-change-sys-config-value POLICY_SYSTEM_ENABLE_JETSKIS " .escapeshellarg ($ _POST ['v_experimental_features ' ]), $ output , $ return_var );
295+ exec (HESTIA_CMD ."v-change-sys-config-value POLICY_SYSTEM_ENABLE_BACON " .escapeshellarg ($ _POST ['v_experimental_features ' ]), $ output , $ return_var );
296296 check_return_code ($ return_var ,$ output );
297297 unset($ output );
298298 $ v_debug_mode_adv = 'yes ' ;
Original file line number Diff line number Diff line change 154154
155155 </ td >
156156 </ tr >
157- < tr >
158- < td >
159- < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_experimental_features " < ?php if ((isset($_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS'])) && (!empty($_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS'])) && ($_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS'] == "true")) echo "checked=yes" ?> > < ?php print _('Enable preview features');?> </ label >
160- </ td >
161- </ tr >
162- < ?php if ($_SESSION['RELEASE_BRANCH'] != "release") { ?>
163- < tr >
164- < td >
165- < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_debug_mode " < ?php if ((isset($_SESSION['DEBUG_MODE'])) && (!empty($_SESSION['DEBUG_MODE'])) && ($_SESSION['DEBUG_MODE'] == "true")) echo "checked=yes" ?> > < ?php print _('Enable debug mode');?> </ label >
166- </ td >
167- </ tr >
168- < ?php } ?>
169157 < tr >
170158 < td >
171159 < br > < br >
200188 < ?php print _('Options'); ?>
201189 </ td >
202190 </ tr >
191+ < ?php if ($_SESSION['RELEASE_BRANCH'] != "release") { ?>
192+ < tr >
193+ < td >
194+ < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_debug_mode " < ?php if ((isset($_SESSION['DEBUG_MODE'])) && (!empty($_SESSION['DEBUG_MODE'])) && ($_SESSION['DEBUG_MODE'] == "true")) echo "checked=yes" ?> > < ?php print _('Enable debug mode');?> </ label >
195+ </ td >
196+ </ tr >
197+ < ?php } ?>
198+ < tr >
199+ < td >
200+ < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_experimental_features " < ?php if ((isset($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && (!empty($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && ($_SESSION['POLICY_SYSTEM_ENABLE_BACON'] == "true")) echo "checked=yes" ?> > < ?php print _('Enable preview features');?> </ label >
201+ </ td >
202+ </ tr >
203203 < tr >
204204 < td >
205205 < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_upgrade_send_notification_email " < ?php if ((isset($_SESSION['UPGRADE_SEND_EMAIL'])) && (!empty($_SESSION['UPGRADE_SEND_EMAIL'])) && ($_SESSION['UPGRADE_SEND_EMAIL'] == "true")) echo "checked=yes" ?> > < ?php print _('SYSTEM_UPGRADE_SEND_NOTIFICATION_EMAIL');?> </ label >
481481 < br > < br >
482482 </ td >
483483 </ tr >
484- < ? if ($_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS '] === 'true') {?>
484+ < ? if ($_SESSION['POLICY_SYSTEM_ENABLE_BACON '] === 'true') {?>
485485 < tr >
486486 < td class ="vst-text ">
487- < ?php print _('phpMyAdmin Single Sign On') ?>
487+ < ?php print _('phpMyAdmin Single Sign On') ?> < span class =" hint " > (Preview) </ span >
488488 </ td >
489489 </ tr >
490490 < tr >
10991099 </ td >
11001100
11011101 </ tr >
1102- < ? if ($_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS '] === 'true') { ?>
1102+ < ? if ($_SESSION['POLICY_SYSTEM_ENABLE_BACON '] === 'true') { ?>
11031103 < tr >
11041104 < td class ="vst-text input-label ">
1105- < ?php print _('Allow suspended users to log in with read-only access');?>
1105+ < ?php print _('Allow suspended users to log in with read-only access');?> < span class =" hint " > (Preview) </ span >
11061106 </ td >
11071107 </ tr >
11081108 < tr >
You can’t perform that action at this time.
0 commit comments