Cleaned up "Settings" -> "Registrations" -> "Misc Settings" page text and layout.
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 12 Jan 2018 19:22:40 +0000 (14:22 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 12 Jan 2018 19:22:40 +0000 (14:22 -0500)
css/admin.css
views/admin/settings/registrationsMisc.html

index 231e0bb..05e7751 100644 (file)
@@ -211,6 +211,24 @@ label.registrant-label {
 .glm-reg-event-profile {
     margin-bottom: 25px;
 }
+.glm-reg-message-section {
+    padding: 2rem 0 1rem 0;
+}
+.glm-reg-message-title {
+    padding: 0 0 1rem 0;  
+}
+.glm-reg-message-prompt {
+    text-align: right !important;
+    padding-top: 3rem;    
+}
+.glm-reg-message-prompt-email-text {
+    text-align: right !important;
+    padding-top: 3rem;    
+}
+.glm-reg-message-body {
+     position: relative; 
+     top: -2.5rem;
+}
 
 /*}}} End New Register Account */
 
index c48fce7..03b71ff 100644 (file)
@@ -5,6 +5,10 @@
     <a href="{$thisUrl}?page=glm-members-admin-menu-settings&glm_action=registrationsMisc" class="glm-settings-tab nav-tab nav-tab-active">Misc. Settings</a>
 </h2>
 
+<style>
+
+</style>
+
 <table class="glm-admin-table glm-settings-table" width="100%">
     <tr>
         <td colspan="2">
                 <input type="hidden" name="option" value="submit">
 
                 <table width="90%">
+                    <tr><td>&nbsp;</td><td class="glm-reg-message-section"><h1>General</h1></td></tr>
+                    <tr>
+                        <th class="glm-reg-message-prompt{if $regMisc.fieldRequired.reg_terms} glm-required{/if}">Global Terms & Conditions:</th>
+                         <td {if $regMisc.fieldFail.reg_terms}class="glm-form-bad-input"{/if}>
+                            {php} 
+                                wp_editor('{$regMisc.fieldData.reg_terms|escape:quotes}', 'glm_reg_reg_terms', array(
+                                   'media_buttons' => false,
+                                   // 'quicktags' => false,
+                                   // 'wpautop' => false,  NOTE: Dont's use. Problem when numerous spaces before text.
+                                  'textarea_name' => 'reg_terms',
+                                  'editor_height' => 200,     // Height in px, overrides editor_rows
+                                   // 'textarea_rows' => 8
+                                ));
+                            {/php}
+                            {if $regMisc.fieldFail.reg_terms}<p>{$regMisc.fieldFail.reg_terms}</p>{/if}
+                        </td>
+                    </tr>
+                    <tr><td>&nbsp;</td><td class="glm-reg-message-section"><h1>Page Top Text</h1></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.reg_bulletin}class="glm-required"{/if}>{$terms.reg_term_registrations_name} Bulletin:</th>
+                        <th class="glm-reg-message-prompt{if $regMisc.fieldRequired.reg_bulletin} glm-required{/if}">List & Registration Pages :</th>
                          <td {if $regMisc.fieldFail.reg_bulletin}class="glm-form-bad-input"{/if}>
                             {php}
                                 wp_editor('{$regMisc.fieldData.reg_bulletin|escape:quotes}', 'glm_reg_bulletin', array(
@@ -37,7 +59,7 @@
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.cart_page_text}class="glm-required"{/if}>{$terms.reg_term_registration_cap} Cart Page Text:</th>
+                        <th class="glm-reg-message-prompt{if $regMisc.fieldRequired.cart_page_text} glm-required{/if}">Cart Page:</th>
                          <td {if $regMisc.fieldFail.cart_page_text}class="glm-form-bad-input"{/if}>
                             {php} 
                                 wp_editor('{$regMisc.fieldData.cart_page_text|escape:quotes}', 'glm_reg_cart_page_text', array(
@@ -53,7 +75,7 @@
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.checkout_page_text}class="glm-required"{/if}>{$terms.reg_term_registration_cap} Checkout Page Text:</th>
+                        <th class="glm-reg-message-prompt{if $regMisc.fieldRequired.checkout_page_text} glm-required{/if}">Checkout Page:</th>
                          <td {if $regMisc.fieldFail.checkout_page_text}class="glm-form-bad-input"{/if}>
                             {php} 
                                 wp_editor('{$regMisc.fieldData.checkout_page_text|escape:quotes}', 'glm_reg_checkout_page_text', array(
@@ -69,7 +91,7 @@
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.summary_page_text}class="glm-required"{/if}>{$terms.reg_term_registration_cap} Summary Page Text:</th>
+                        <th class="glm-reg-message-prompt{if $regMisc.fieldRequired.summary_page_text} glm-required{/if}">Summary Page:</th>
                          <td {if $regMisc.fieldFail.summary_page_text}class="glm-form-bad-input"{/if}>
                             {php} 
                                 wp_editor('{$regMisc.fieldData.summary_page_text|escape:quotes}', 'glm_reg_summary_page_text', array(
                             {if $regMisc.fieldFail.summary_page_text}<p>{$regMisc.fieldFail.summary_page_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td class="glm-reg-message-section" style="padding-bottom: 2rem;"><h1>E-Mail Notifications</h1></td></tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Notification to Site Owner</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.reg_terms}class="glm-required"{/if}>{$terms.reg_term_registration_cap} Terms & Conditions:</th>
-                         <td {if $regMisc.fieldFail.reg_terms}class="glm-form-bad-input"{/if}>
-                            {php} 
-                                wp_editor('{$regMisc.fieldData.reg_terms|escape:quotes}', 'glm_reg_reg_terms', array(
-                                   'media_buttons' => false,
-                                   // 'quicktags' => false,
-                                   // 'wpautop' => false,  NOTE: Dont's use. Problem when numerous spaces before text.
-                                  'textarea_name' => 'reg_terms',
-                                  'editor_height' => 200,     // Height in px, overrides editor_rows
-                                   // 'textarea_rows' => 8
-                                ));
-                            {/php}
-                            {if $regMisc.fieldFail.reg_terms}<p>{$regMisc.fieldFail.reg_terms}</p>{/if}
-                        </td>
-                    </tr>
-                    <tr>
-                        <th {if $regMisc.fieldRequired.notify_subject}class="glm-required"{/if}>Subject of notification E-Mail to site owner:</th>
+                        <th {if $regMisc.fieldRequired.notify_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.notify_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="notify_subject" value="{$regMisc.fieldData.notify_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="notify_subject" value="{$regMisc.fieldData.notify_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.notify_subject}<p>{$regMisc.fieldFail.notify_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.notify_text}class="glm-required"{/if}>Notification E-Mail text for site owner:</th>
-                         <td {if $regMisc.fieldFail.notify_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.notify_text} glm-required{/if}">E-Mail Text</th>
+                         <td {if $regMisc.fieldFail.notify_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.notify_text|escape:quotes}', 'glm_reg_notify_text', array(
                                    'media_buttons' => false,
                             {if $regMisc.fieldFail.notify_text}<p>{$regMisc.fieldFail.notify_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Notification to Event Contacts</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.instr_notify_subject}class="glm-required"{/if}>Subject of notification E-Mail to contacts listed in Event:</th>
+                        <th {if $regMisc.fieldRequired.instr_notify_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.instr_notify_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="instr_notify_subject" value="{$regMisc.fieldData.instr_notify_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="instr_notify_subject" value="{$regMisc.fieldData.instr_notify_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.instr_notify_subject}<p>{$regMisc.fieldFail.instr_notify_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.instr_notify_text}class="glm-required"{/if}>Notification E-Mail text for contact listed in Event:</th>
-                         <td {if $regMisc.fieldFail.instr_notify_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.instr_notify_text} glm-required{/if}">E-Mail Text</th>
+                        <td {if $regMisc.fieldFail.instr_notify_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.instr_notify_text|escape:quotes}', 'glm_reg_instr_notify_text', array(
                                    'media_buttons' => false,
                             {if $regMisc.fieldFail.instr_notify_text}<p>{$regMisc.fieldFail.instr_notify_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Notification to Person Submitting the Registrations</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.submission_notify_subject}class="glm-required"{/if}>Subject of notification E-Mail to person<br>submitting the {$terms.reg_term_registration_plur}:</th>
+                        <th {if $regMisc.fieldRequired.submission_notify_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.submission_notify_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="submission_notify_subject" value="{$regMisc.fieldData.submission_notify_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="submission_notify_subject" value="{$regMisc.fieldData.submission_notify_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.submission_notify_subject}<p>{$regMisc.fieldFail.submission_notify_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.submission_notify_text}class="glm-required"{/if}>Text of E-Mail to person<br>submitting the {$terms.reg_term_registration_plur}:</th>
-                         <td {if $regMisc.fieldFail.submission_notify_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.submission_notify_text} glm-required{/if}">E-Mail Text</th>
+                        <td {if $regMisc.fieldFail.submission_notify_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.submission_notify_text|escape:quotes}', 'glm_reg_submission_notify_text', array(
                                    'media_buttons' => false,
                             {if $regMisc.fieldFail.submission_notify_text}<p>{$regMisc.fieldFail.submission_notify_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Notification to {$terms.reg_term_attendee_plur}</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.registrant_notify_subject}class="glm-required"{/if}>Subject of notification E-Mail to {$terms.reg_term_attendee_plur}:</th>
+                        <th {if $regMisc.fieldRequired.registrant_notify_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.registrant_notify_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="registrant_notify_subject" value="{$regMisc.fieldData.registrant_notify_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="registrant_notify_subject" value="{$regMisc.fieldData.registrant_notify_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.registrant_notify_subject}<p>{$regMisc.fieldFail.registrant_notify_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.registrant_notify_text}class="glm-required"{/if}>Text of E-Mail to {$terms.reg_term_attendee_plur}:</th>
-                         <td {if $regMisc.fieldFail.registrant_notify_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.registrant_notify_text} glm-required{/if}">E-Mail Text</th>
+                        <td {if $regMisc.fieldFail.registrant_notify_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.registrant_notify_text|escape:quotes}', 'glm_reg_registrant_notify_text', array(
                                    'media_buttons' => false,
                             {if $regMisc.fieldFail.registrant_notify_text}<p>{$regMisc.fieldFail.registrant_notify_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Acknowledgement to Person Submitting the Registrations (for payment types that are processed manually)</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.submission_ack_subject}class="glm-required"{/if}>Subject of acknowledgement E-Mail<br>to person submitting the {$terms.reg_term_registration_plur}:</th>
+                        <th {if $regMisc.fieldRequired.submission_ack_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.submission_ack_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="submission_ack_subject" value="{$regMisc.fieldData.submission_ack_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="submission_ack_subject" value="{$regMisc.fieldData.submission_ack_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.submission_ack_subject}<p>{$regMisc.fieldFail.submission_ack_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.submission_ack_text}class="glm-required"{/if}>Text of acknowledgement E-Mail to<br>person submitting the {$terms.reg_term_registration_plur}:</th>
-                         <td {if $regMisc.fieldFail.submission_ack_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.submission_ack_text} glm-required{/if}">E-Mail Text</th>
+                        <td {if $regMisc.fieldFail.submission_ack_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.submission_ack_text|escape:quotes}', 'glm_reg_submission_ack_text', array(
                                    'media_buttons' => false,
                             {if $regMisc.fieldFail.submission_ack_text}<p>{$regMisc.fieldFail.submission_ack_text}</p>{/if}
                         </td>
                     </tr>
+                    <tr><td>&nbsp;</td><td><h3 class="glm-reg-message-title">Acknowledgement to Attendees (for payment types that are processed manually)</h3></td></tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.registrant_ack_subject}class="glm-required"{/if}>Subject of acknowledgement E-Mail to {$terms.reg_term_attendee}:</th>
+                        <th {if $regMisc.fieldRequired.registrant_ack_subject}class="glm-required glm-right"{/if}>Subject:</th>
                         <td {if $regMisc.fieldFail.registrant_ack_subject}class="glm-form-bad-input"{/if}>
-                            <input type="text" name="registrant_ack_subject" value="{$regMisc.fieldData.registrant_ack_subject}" class="glm-form-text-input-medium">
+                            <input type="text" name="registrant_ack_subject" value="{$regMisc.fieldData.registrant_ack_subject}" class="glm-form-text-input">
                             {if $regMisc.fieldFail.registrant_ack_subject}<p>{$regMisc.fieldFail.registrant_ack_subject}</p>{/if}
                         </td>
                     </tr>
                     <tr>
-                        <th {if $regMisc.fieldRequired.registrant_ack_text}class="glm-required"{/if}>Text of acknowledgement E-Mail to {$terms.reg_term_attendee_plur}:</th>
-                         <td {if $regMisc.fieldFail.registrant_ack_text}class="glm-form-bad-input"{/if}>
+                        <th class="glm-reg-message-prompt-email-text{if $regMisc.fieldRequired.registrant_ack_text} glm-required{/if}">E-Mail Text</th>
+                        <td {if $regMisc.fieldFail.registrant_ack_text}class="glm-form-bad-input"{/if} class="glm-reg-message-body">
                             {php} 
                                 wp_editor('{$regMisc.fieldData.registrant_ack_text|escape:quotes}', 'glm_reg_registrant_ack_text', array(
                                    'media_buttons' => false,