Changeset 24889 for extensions/GuestBook/admin/template/config.tpl
- Timestamp:
- Oct 14, 2013, 6:35:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GuestBook/admin/template/config.tpl
r15948 r24889 1 1 {combine_css path=$GUESTBOOK_PATH|@cat:'template/style.css'} 2 3 {footer_script}{literal} 4 $('input[name="comments_validation"]').on('change', function() { 5 $('#email_admin_on_comment_validation').toggle($(this).is(':checked')); 6 }) 7 .trigger('change'); 8 9 $('input[name="guest_can_view"]').on('change', function() { 10 $('#guest_can_add').toggle($(this).is(':checked')); 11 }) 12 .trigger('change'); 13 {/literal}{/footer_script} 2 14 3 15 <div class="titrePage"> … … 30 42 </li> 31 43 32 <li id="notifyAdmin">44 <li> 33 45 <strong>{'Notify administrators when a comment is'|@translate}</strong> 46 47 <label> 48 <input type="checkbox" name="email_admin_on_comment" {if ($email_admin_on_comment)}checked="checked"{/if}> {'added'|@translate} 49 </label> 34 50 35 51 <label id="email_admin_on_comment_validation"> 36 52 <input type="checkbox" name="email_admin_on_comment_validation" {if ($email_admin_on_comment_validation)}checked="checked"{/if}> {'pending validation'|@translate} 37 53 </label> 54 </li> 55 56 <li> 57 <strong>{'Guests (not registered) permissions :'|@translate}</strong> 38 58 39 59 <label> 40 <input type="checkbox" name="email_admin_on_comment" {if ($email_admin_on_comment)}checked="checked"{/if}> {'added'|@translate} 60 <input type="checkbox" name="guest_can_view" {if ($guest_can_view)}checked="checked"{/if}> {'view comments'|@translate} 61 </label> 62 63 <label id="guest_can_add"> 64 <input type="checkbox" name="guest_can_add" {if ($guest_can_add)}checked="checked"{/if}> {'add comment'|@translate} 41 65 </label> 42 66 </li>
Note: See TracChangeset
for help on using the changeset viewer.