parent
9952026016
commit
2cfbe63a5f
|
|
@ -469,6 +469,22 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "1c3bff3e-fb17-4cba-a5f3-b12049868e66";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "fax";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "cover_subject_required";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3b714240-520b-4463-bd93-621642fabdce";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "fax";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "cover_message_required";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
|
||||
//schema details
|
||||
$y=0;
|
||||
|
|
|
|||
|
|
@ -1107,12 +1107,15 @@ if (!$included) {
|
|||
echo "</tr>\n";
|
||||
|
||||
if (permission_exists('fax_subject')) {
|
||||
$cover_subject_required = $setting->get('fax','cover_subject_required') ?? '';
|
||||
$class = ($cover_subject_required == 'true') ? 'vncellreq' : 'vncell';
|
||||
$required = ($cover_subject_required == 'true') ? 'required' : '';
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo "<td class='".$class."' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-fax-subject']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input type='text' name='fax_subject' class='formfld' style='' value=''>\n";
|
||||
echo " <input type='text' name='fax_subject' class='formfld' ".$required." style='' value=''>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-fax-subject']."\n";
|
||||
echo "</td>\n";
|
||||
|
|
@ -1120,12 +1123,15 @@ if (!$included) {
|
|||
}
|
||||
|
||||
if (permission_exists('fax_message')) {
|
||||
$cover_message_required = $setting->get('fax','cover_message_required') ?? '';
|
||||
$class = ($cover_message_required == 'true') ? 'vncellreq' : 'vncell';
|
||||
$required = ($cover_message_required == 'true') ? 'required' : '';
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo "<td class='".$class."' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-fax-message']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <textarea type='text' name='fax_message' class='formfld' style='width: 65%; height: 175px;'></textarea>\n";
|
||||
echo " <textarea type='text' name='fax_message' class='formfld' ".$required." style='width: 65%; height: 175px;'></textarea>\n";
|
||||
echo "<br />\n";
|
||||
echo " ".$text['description-fax-message']."\n";
|
||||
echo "</td>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue