mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-02 09:14:34 +02:00
Patch Addon
Add container dark mode Add Registration Mandatory Fields
This commit is contained in:
parent
b34b9064d0
commit
77d25738b1
6 changed files with 316 additions and 270 deletions
|
@ -133,7 +133,7 @@ switch ($action) {
|
|||
$d->save();
|
||||
}
|
||||
}
|
||||
if(empty($config['mikrotik_sms_command'])){
|
||||
if (empty($config['mikrotik_sms_command'])) {
|
||||
$config['mikrotik_sms_command'] = "/tool sms send";
|
||||
}
|
||||
$ui->assign('template_files', $templates);
|
||||
|
@ -188,6 +188,10 @@ switch ($action) {
|
|||
}
|
||||
}
|
||||
// Save all settings including tax system
|
||||
$_POST['man_fields_email'] = isset($_POST['man_fields_email']) ? 'yes' : 'no';
|
||||
$_POST['man_fields_fname'] = isset($_POST['man_fields_fname']) ? 'yes' : 'no';
|
||||
$_POST['man_fields_address'] = isset($_POST['man_fields_address']) ? 'yes' : 'no';
|
||||
$_POST['man_fields_custom'] = isset($_POST['man_fields_custom']) ? 'yes' : 'no';
|
||||
$enable_session_timeout = isset($_POST['enable_session_timeout']) ? 1 : 0;
|
||||
$_POST['enable_session_timeout'] = $enable_session_timeout;
|
||||
foreach ($_POST as $key => $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue