Ignore:
Timestamp:
Jan 12, 2013, 12:57:22 PM (12 years ago)
Author:
julien1311
Message:

[piwecard] rename some variables to be coherent with core naming (authorization => permission)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/admin/template/admin_permissions.tpl

    r20078 r20088  
    88        }
    99
    10         $("#ECardAdminAuthorizations").click(function(){
     10        $("#ECardAdminPermissions").click(function(){
    1111                if ($("#ecard_selected_cats").prop('checked') == true) {
    1212                        $("#ecard_selected_cats_options").show("fast");
     
    2323</div>
    2424<form method="post" action="" class="properties">
    25         <div id="ECardAdminAuthorizations">
     25        <div id="ECardAdminPermissions">
    2626                <fieldset>
    27                         <legend>{'piwecard_authorizations_cat'|@translate}</legend>
     27                        <legend>{'piwecard_permissions_cat'|@translate}</legend>
    2828                        <div class="ecard_radio">
    29                                 <input type="radio" name="ecard_authorized_cats" id="ecard_all_cats" value="all" {$ecard.all_cats_checked} /><label for="ecard_all_cats"> {'piwecard_authorizations_all_cats'|@translate}</label>
     29                                <input type="radio" name="ecard_authorized_cats" id="ecard_all_cats" value="all" {$ecard.all_cats_checked} /><label for="ecard_all_cats"> {'piwecard_permissions_all_cats'|@translate}</label>
    3030                        </div>
    3131                        <div class="ecard_radio">
    32                                 <input type="radio" name="ecard_authorized_cats" id="ecard_selected_cats" value="selected" {$ecard.selected_cats_checked}><label for="ecard_selected_cats"> {'piwecard_authorizations_selected_cats'|@translate}</label>
     32                                <input type="radio" name="ecard_authorized_cats" id="ecard_selected_cats" value="selected" {$ecard.selected_cats_checked}><label for="ecard_selected_cats"> {'piwecard_permissions_selected_cats'|@translate}</label>
    3333                                <div id="ecard_selected_cats_options">
    3434                                        <div>
     
    3838                        </div>
    3939                        <div class="ecard_radio">
    40                                 <input type="radio" name="ecard_authorized_cats" id="ecard_user_cats" value="user" {$ecard.user_cats_checked} /><label for="ecard_user_cats"> {'piwecard_authorizations_user_cat'|@translate}</label>
     40                                <input type="radio" name="ecard_authorized_cats" id="ecard_user_cats" value="user" {$ecard.user_cats_checked} /><label for="ecard_user_cats"> {'piwecard_permissions_user_cat'|@translate}</label>
    4141                        </div>
    4242                </fieldset>
Note: See TracChangeset for help on using the changeset viewer.