Email Queue - Edit: Hide Response field if response disabled.
This commit is contained in:
parent
7231a37a57
commit
3938398b1f
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2022-2023
|
Portions created by the Initial Developer are Copyright (C) 2022-2024
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -392,16 +392,18 @@
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "<tr>\n";
|
if ($_SESSION['email_queue']['save_response']['boolean'] == 'true') {
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
echo "<tr>\n";
|
||||||
echo " ".$text['label-email_response']."\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
echo "</td>\n";
|
echo " ".$text['label-email_response']."\n";
|
||||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
echo "</td>\n";
|
||||||
echo " <textarea class='formfld' style='width: 450px; height: 100px;' name='email_response'>".$email_response."</textarea>\n";
|
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||||
echo "<br />\n";
|
echo " <textarea class='formfld' style='width: 450px; height: 100px;' name='email_response'>".$email_response."</textarea>\n";
|
||||||
echo ($text['description-email_response'] ?? '')."\n";
|
echo "<br />\n";
|
||||||
echo "</td>\n";
|
echo ($text['description-email_response'] ?? '')."\n";
|
||||||
echo "</tr>\n";
|
echo "</td>\n";
|
||||||
|
echo "</tr>\n";
|
||||||
|
}
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<br /><br />";
|
echo "<br /><br />";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue