Ignore:
Timestamp:
Dec 21, 2013, 5:33:24 PM (10 years ago)
Author:
mistic100
Message:

update for Piwigo 2.6 + code clean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/admin/template/config.tpl

    r24889 r26065  
    1 {combine_css path=$GUESTBOOK_PATH|@cat:'template/style.css'}
     1{combine_css path=$GUESTBOOK_PATH|cat:'template/style.css'}
    22
    3 {footer_script}{literal}
     3{footer_script}
    44$('input[name="comments_validation"]').on('change', function() {
    55    $('#email_admin_on_comment_validation').toggle($(this).is(':checked'));
     
    1111})
    1212.trigger('change');
    13 {/literal}{/footer_script}
     13{/footer_script}
     14
    1415
    1516<div class="titrePage">
    16   <h2>{'GuestBook'|@translate}</h2>
     17  <h2>GuestBook</h2>
    1718</div>
    1819
     
    2324    <li>
    2425      <label>
    25         <b>{'Number of comments per page'|@translate}</b>
     26        <b>{'Number of comments per page'|translate}</b>
    2627        <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$nb_comment_page}">
    2728      </label>
     
    3132      <label>
    3233        <input type="checkbox" name="activate_rating" {if ($activate_rating)}checked="checked"{/if}>
    33         <b>{'Activate rating'|@translate}</b>
     34        <b>{'Activate rating'|translate}</b>
    3435      </label>
    3536    </li>
     
    3839      <label>
    3940        <input type="checkbox" name="comments_validation" {if ($comments_validation)}checked="checked"{/if}>
    40         <b>{'Validation'|@translate}</b>
     41        <b>{'Validation'|translate}</b>
    4142      </label>
    4243    </li>
    4344
    4445    <li>
    45       <strong>{'Notify administrators when a comment is'|@translate}</strong>
     46      <strong>{'Notify administrators when a comment is'|translate}</strong>
    4647
    4748      <label>
    48         <input type="checkbox" name="email_admin_on_comment" {if ($email_admin_on_comment)}checked="checked"{/if}> {'added'|@translate}
     49        <input type="checkbox" name="email_admin_on_comment" {if ($email_admin_on_comment)}checked="checked"{/if}> {'added'|translate}
    4950      </label>
    5051
    5152      <label id="email_admin_on_comment_validation">
    52         <input type="checkbox" name="email_admin_on_comment_validation" {if ($email_admin_on_comment_validation)}checked="checked"{/if}> {'pending validation'|@translate}
     53        <input type="checkbox" name="email_admin_on_comment_validation" {if ($email_admin_on_comment_validation)}checked="checked"{/if}> {'pending validation'|translate}
    5354      </label>
    5455    </li>
    5556   
    5657    <li>
    57       <strong>{'Guests (not registered) permissions :'|@translate}</strong>
     58      <strong>{'Guests (not registered) permissions :'|translate}</strong>
    5859
    5960      <label>
    60         <input type="checkbox" name="guest_can_view" {if ($guest_can_view)}checked="checked"{/if}> {'view comments'|@translate}
     61        <input type="checkbox" name="guest_can_view" {if ($guest_can_view)}checked="checked"{/if}> {'view comments'|translate}
    6162      </label>
    6263
    6364      <label id="guest_can_add">
    64         <input type="checkbox" name="guest_can_add" {if ($guest_can_add)}checked="checked"{/if}> {'add comment'|@translate}
     65        <input type="checkbox" name="guest_can_add" {if ($guest_can_add)}checked="checked"{/if}> {'add comment'|translate}
    6566      </label>
    6667    </li>
     
    6970
    7071  <p class="formButtons">
    71                 <input type="submit" name="submit" value="{'Save Settings'|@translate}">
     72                <input type="submit" name="submit" value="{'Save Settings'|translate}">
    7273        </p>
    7374</form>
Note: See TracChangeset for help on using the changeset viewer.