mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Default/Domain/User Settings: Implement select field for input_toggle_style options.
This commit is contained in:
@@ -704,6 +704,13 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <option value='none' ".(($row['domain_setting_value'] == "none") ? "selected='selected'" : null).">".$text['label-none']."</option>\n";
|
||||
echo " </select>\n";
|
||||
}
|
||||
elseif ($category == "theme" && $subcategory == "input_toggle_style" && $name == "text" ) {
|
||||
echo " <select class='formfld' id='domain_setting_value' name='domain_setting_value'>\n";
|
||||
echo " <option value='select'>".$text['option-select']."</option>\n";
|
||||
echo " <option value='switch_round' ".(($row['domain_setting_value'] == "switch_round") ? "selected='selected'" : null).">".$text['option-switch_round']."</option>\n";
|
||||
echo " <option value='switch_square' ".(($row['domain_setting_value'] == "switch_square") ? "selected='selected'" : null).">".$text['option-switch_square']."</option>\n";
|
||||
echo " </select>\n";
|
||||
}
|
||||
elseif ($category == "users" && $subcategory == "username_format" && $name == "text" ) {
|
||||
echo " <select class='formfld' id='domain_setting_value' name='domain_setting_value'>\n";
|
||||
echo " <option value='any' ".($row['domain_setting_value'] == 'any' ? "selected='selected'" : null).">".$text['option-username_format_any']."</option>\n";
|
||||
|
||||
Reference in New Issue
Block a user