2.3 MOD: New "Canned Responses" select Interface for Clarity
Posted: Mon Oct 03, 2011 10:16 pm
The "Canned Responses" interface in the post messages area was confusing some of our users. The choice of where to put the canned response was after the selection choice, making it a bit unclear. So I changed the layout, and also put a grey background area to consolidate it as one dialog box.
In admin/admin_ticket.php
replace this:
With this:
Enjoy!
In admin/admin_ticket.php
replace this:
Code: Select all
/* Do we have any canned responses? */
if (strlen($can_options))
{
?>
<div align="center">
<table border="0">
<tr>
<td>
<?php echo $hesklang['select_saved']; ?>:<br />
<select name="saved_replies" onchange="setMessage(this.value)">
<option value="0"> - <?php echo $hesklang['select_empty']; ?> - </option>
<?php echo $can_options; ?>
</select><br />
<label><input type="radio" name="mode" id="moderep" value="0" checked="checked" /> <?php echo $hesklang['mrep']; ?></label><br />
<label><input type="radio" name="mode" id="modeadd" value="1" /> <?php echo $hesklang['madd']; ?></label>
</td>
</tr>
</table>
</div>
Code: Select all
/* Do we have any canned responses? */
if (strlen($can_options))
{
?>
<div align="center">
<table border="0" width="400px" bgcolor="lightgrey" cellpadding="2" cellspacing="2">
<tr align="center">
<td colspan="2"><center><b>Canned Responses</b></center></td></tr><tr>
<td>
<label><input type="radio" name="mode" id="moderep" value="0" checked="checked" /> <?php echo $hesklang['mrep']; ?></label><br />
<label><input type="radio" name="mode" id="modeadd" value="1" /> <?php echo $hesklang['madd']; ?></label></td><td>
<?php echo $hesklang['select_saved']; ?>:<br />
<select name="saved_replies" onchange="setMessage(this.value)">
<option value="0"> - <?php echo $hesklang['select_empty']; ?> - </option>
<?php echo $can_options; ?>
</select>
</td>
</tr>
</table>
</div>