mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2026-01-04 03:44:08 +01:00
Cosmetic changes, update maintenance page
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
Version Description
|
||||||
|
|
||||||
|
1.1.01......Cosmetic changes, update maintenance page.
|
||||||
1.1.00......Initial support for Linux jails(experimental).
|
1.1.00......Initial support for Linux jails(experimental).
|
||||||
1.0.99......Include freebsd-update files for 12.3 release.
|
1.0.99......Include freebsd-update files for 12.3 release.
|
||||||
1.0.98......Update release list, include files for 12.3 release.
|
1.0.98......Update release list, include files for 12.3 release.
|
||||||
|
|||||||
@@ -211,6 +211,7 @@ if ($_POST) {
|
|||||||
elseif($zfs_status == "Enabled"):
|
elseif($zfs_status == "Enabled"):
|
||||||
exec("/usr/sbin/sysrc -f {$configfile} ZFS_ACTIVATED=\"YES\"");
|
exec("/usr/sbin/sysrc -f {$configfile} ZFS_ACTIVATED=\"YES\"");
|
||||||
elseif(!$zfs_activated):
|
elseif(!$zfs_activated):
|
||||||
|
unset ($errormsg);
|
||||||
exec("/usr/sbin/sysrc -f {$configfile} ZFS_ACTIVATED=\"NO\"");
|
exec("/usr/sbin/sysrc -f {$configfile} ZFS_ACTIVATED=\"NO\"");
|
||||||
$savemsg .= gtext("ZFS activation option has been skipped.");
|
$savemsg .= gtext("ZFS activation option has been skipped.");
|
||||||
endif;
|
endif;
|
||||||
@@ -329,7 +330,7 @@ $(document).ready(function(){
|
|||||||
html_checkbox2('zfs_activate',gtext('ZFS support activation'),'' ? true : false,gtext('Check this to activate ZFS support or leave unchecked to dismiss (requires ZFS support to be available), this is a one time option and this row will disappear after clicking Save button.'),'',false);
|
html_checkbox2('zfs_activate',gtext('ZFS support activation'),'' ? true : false,gtext('Check this to activate ZFS support or leave unchecked to dismiss (requires ZFS support to be available), this is a one time option and this row will disappear after clicking Save button.'),'',false);
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<?php html_filechooser("backup_path", gtext("Backup directory"), $backup_path, gtext("Directory to store containers backup archives, use as file chooser for restoring from file, importable formats: .GZ/TGZ/TXZ/XZ or RAW(no extension on the jail name)."), $backup_path, true, 60);?>
|
<?php html_filechooser("backup_path", gtext("Backup directory"), $backup_path, gtext("Directory to store containers backup archives, use as file chooser for restoring from file, importable formats: .GZ/TGZ/TXZ/XZ or RAW(no extension on the file name)."), $backup_path, true, 60);?>
|
||||||
</table>
|
</table>
|
||||||
<div id="submit">
|
<div id="submit">
|
||||||
<input id="save" name="save" type="submit" class="formbtn" title="<?=gtext("Save settings");?>" value="<?=gtext("Save");?>"/>
|
<input id="save" name="save" type="submit" class="formbtn" title="<?=gtext("Save settings");?>" value="<?=gtext("Save");?>"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user