mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 01:10:57 +01:00
Cosmetic changes, some PHP8.x warning fixes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
======================
|
||||
Version Description
|
||||
|
||||
1.1.17......Cosmetic changes, some PHP8.x warning fixes.
|
||||
1.1.16......Add help support section for useful commands.
|
||||
1.1.15......Add required files from FreeBSD 13.1 base release, update config.
|
||||
1.1.14......Automatically deal with spaces on the fstab utility.
|
||||
|
||||
@@ -80,6 +80,7 @@ function htmlButton($name, $text, $value="", $title="", $confirm="", $buttonImag
|
||||
}
|
||||
|
||||
function parseConfigFile($configFile) {
|
||||
global $section;
|
||||
$fileArray = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); // load config file content to array
|
||||
$configArray = array();
|
||||
foreach($fileArray as $line) { // create array from config
|
||||
|
||||
@@ -224,6 +224,7 @@ $document->render();
|
||||
?>
|
||||
<form action="bastille_manager_gui.php" method="post" name="iform" id="iform"><table id="area_data"><tbody><tr><td id="area_data_frame">
|
||||
<?php
|
||||
global $sphere_notifier;
|
||||
if(!empty($errormsg)):
|
||||
print_error_box($errormsg);
|
||||
endif;
|
||||
|
||||
@@ -345,7 +345,7 @@ $(document).ready(function(){
|
||||
</tr>
|
||||
<?php
|
||||
if(!initial_install_banner()):
|
||||
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/enabled), this is a one time option and this row will disappear after clicking Save button or page refresh.'),'',false);
|
||||
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 file name)."), $backup_path, true, 60);?>
|
||||
|
||||
Reference in New Issue
Block a user