added save_switch_xml during install
This commit is contained in:
parent
3f5a43a356
commit
1a278f4bf8
|
|
@ -78,10 +78,6 @@ if (!if_group("superadmin")) {
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
|
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
echo "<p>WiP</p>";
|
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
|
|
@ -186,6 +186,7 @@ include "root.php";
|
||||||
$this->copy_conf();
|
$this->copy_conf();
|
||||||
$this->copy_scripts();
|
$this->copy_scripts();
|
||||||
$this->create_config_lua();
|
$this->create_config_lua();
|
||||||
|
save_switch_xml();
|
||||||
$this->restart_switch();
|
$this->restart_switch();
|
||||||
$this->write_progress("Install completed for switch");
|
$this->write_progress("Install completed for switch");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ if ($domains_processed == 1) {
|
||||||
$array[$x]['default_setting_category'] = 'theme';
|
$array[$x]['default_setting_category'] = 'theme';
|
||||||
$array[$x]['default_setting_subcategory'] = 'background_color';
|
$array[$x]['default_setting_subcategory'] = 'background_color';
|
||||||
$array[$x]['default_setting_name'] = 'array';
|
$array[$x]['default_setting_name'] = 'array';
|
||||||
$array[$x]['default_setting_value'] = '#ffffff';
|
$array[$x]['default_setting_value'] = '#6c89b5';
|
||||||
$array[$x]['default_setting_enabled'] = 'true';
|
$array[$x]['default_setting_enabled'] = 'true';
|
||||||
$array[$x]['default_setting_order'] = '0';
|
$array[$x]['default_setting_order'] = '0';
|
||||||
$array[$x]['default_setting_description'] = 'Set a background (HTML compatible) color.';
|
$array[$x]['default_setting_description'] = 'Set a background (HTML compatible) color.';
|
||||||
|
|
@ -295,7 +295,7 @@ if ($domains_processed == 1) {
|
||||||
$array[$x]['default_setting_category'] = 'theme';
|
$array[$x]['default_setting_category'] = 'theme';
|
||||||
$array[$x]['default_setting_subcategory'] = 'background_color';
|
$array[$x]['default_setting_subcategory'] = 'background_color';
|
||||||
$array[$x]['default_setting_name'] = 'array';
|
$array[$x]['default_setting_name'] = 'array';
|
||||||
$array[$x]['default_setting_value'] = '#e7ebf1';
|
$array[$x]['default_setting_value'] = '#144794';
|
||||||
$array[$x]['default_setting_order'] = '1';
|
$array[$x]['default_setting_order'] = '1';
|
||||||
$array[$x]['default_setting_enabled'] = 'true';
|
$array[$x]['default_setting_enabled'] = 'true';
|
||||||
$array[$x]['default_setting_description'] = 'Set a secondary background (HTML compatible) color, for a gradient effect.';
|
$array[$x]['default_setting_description'] = 'Set a secondary background (HTML compatible) color, for a gradient effect.';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue