! Canned replies are now visible all the time when appropriate, rather than buried in go-advanced.
gruffen

gruffen commited on 2011-05-30 04:50:40
Showing 2 changed files, with 10 additions and 7 deletions.

... ...
@@ -501,6 +501,12 @@ h3.ticketheader img
501 501
 {
502 502
    margin: 0.75em 0 0.5em 0;
503 503
 }
504
+#canned_replies
505
+{
506
+	float: left;
507
+	width: 66%;
508
+	margin-top: 1em;
509
+}
504 510
 
505 511
 /**********************************
506 512
 * General actions				 *
... ...
@@ -524,6 +524,9 @@ function template_ticket_postbox()
524 524
 	// Additional ticket options (attachments, smileys, etc)
525 525
 	template_ticket_additional_options();
526 526
 
527
+	// Canned replies
528
+	template_ticket_cannedreplies();
529
+
527 530
 	echo '
528 531
 						<br class="clear" />
529 532
 						<span class="smalltext"><br />', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '</span><br />
... ...
@@ -561,7 +564,6 @@ function template_ticket_cannedreplies()
561 564
 	echo '
562 565
 						</select>
563 566
 						<input type="button" class="button_submit" value="Go!" onclick="oCannedReplies.getReply();" />
564
-						<hr />
565 567
 					</div>
566 568
 					<script type="text/javascript"><!-- // --><![CDATA[
567 569
 					var oCannedReplies = new CannedReply({
... ...
@@ -709,12 +711,7 @@ function template_ticket_additional_options()
709 711
 
710 712
 		echo '
711 713
 							</dd>
712
-						</dl>';
713
-
714
-	// Canned replies
715
-	template_ticket_cannedreplies();
716
-
717
-	echo '
714
+						</dl>
718 715
 					</div>
719 716
 					<script type="text/javascript"><!-- // --><![CDATA[
720 717
 	var oAttach = new shd_attach_select({
721 718