CIVICRM-1889 CiviCRM Message Template, HTML Format and Text Format fields are listed...
authorJustin Freeman <justin@agileware.com.au>
Mon, 22 Nov 2021 00:17:45 +0000 (11:17 +1100)
committerJustin Freeman <justin@agileware.com.au>
Mon, 22 Nov 2021 00:17:45 +0000 (11:17 +1100)
templates/CRM/Admin/Page/MessageTemplates.tpl

index 37b587d765c36cf3718da8bab27168ef821d6c1a..74047b366f125f99852f03d414c22333cf94c5b9 100644 (file)
     </div>
   </div>
 
-  <div class="crm-section msg_txt-section">
-  <h3 class="header-dark">{$form.msg_text.label}</h3>
-    <div class="text">
-      <textarea class="huge" name='msg_text' id='msg_text'>{$form.msg_text.value|htmlentities}</textarea>
+  <div class="crm-section msg_html-section">
+    <h3 class="header-dark">{$form.msg_html.label}</h3>
+    <div class='text'>
+      <textarea class="huge" name='msg_html' id='msg_html'>{$form.msg_html.value|htmlentities}</textarea>
       <div class='spacer'></div>
       <div class="section">
-        <a href='#' onclick='MessageTemplates.msg_text.select(); return false;' class='button'><span>{ts}Select Text Message{/ts}</span></a>
+        <a href='#' onclick='MessageTemplates.msg_html.select(); return false;' class='button'><span>{ts}Select HTML Message{/ts}</span></a>
         <div class='spacer'></div>
       </div>
     </div>
   </div>
 
-  <div class="crm-section msg_html-section">
-  <h3 class="header-dark">{$form.msg_html.label}</h3>
-    <div class='text'>
-      <textarea class="huge" name='msg_html' id='msg_html'>{$form.msg_html.value|htmlentities}</textarea>
+  <div class="crm-section msg_txt-section">
+  <h3 class="header-dark">{$form.msg_text.label}</h3>
+    <div class="text">
+      <textarea class="huge" name='msg_text' id='msg_text'>{$form.msg_text.value|htmlentities}</textarea>
       <div class='spacer'></div>
       <div class="section">
-        <a href='#' onclick='MessageTemplates.msg_html.select(); return false;' class='button'><span>{ts}Select HTML Message{/ts}</span></a>
+        <a href='#' onclick='MessageTemplates.msg_text.select(); return false;' class='button'><span>{ts}Select Text Message{/ts}</span></a>
         <div class='spacer'></div>
       </div>
     </div>