Ignore:
Timestamp:
May 6, 2013, 8:53:38 PM (11 years ago)
Author:
flop25
Message:

merge svn:22516 from trunk to branch 2.5
bug:2890

for "Manage Permissions" and "Manage the members", don't display the button "apply action" button and style as a button the links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/admin/themes/default/template/group_list.tpl

    r19292 r22517  
    2020     $(this).toggle();
    2121    });
    22    
     22
    2323    if (nbSelected<2) {
    2424      $("#two_to_select").show();
     
    3333  $("select[name=selectAction]").change(function () {
    3434    $("[id^=action_]").hide();
    35     $("#action_"+$(this).attr("value")).show(); 
    36     if ($(this).val() != -1) {
     35    $("#action_"+$(this).attr("value")).show();
     36    if ($(this).val() != -1 && $(this).val() !="manage_pemissions" && $(this).val() !="manage_members" ) {
    3737      $("#applyActionBlock").show();
    3838    }
     
    6060    <input type="text" id="groupname" name="groupname" maxlength="50" size="20">
    6161                <input type="submit" name="submit_add" value="{'Add'|@translate}">
    62                 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
     62                <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    6363
    6464  </fieldset>
     
    6666<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties">
    6767  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    68  
     68
    6969  <table class="table2">
    7070    <tr class="throw">
     
    8383    {/if}
    8484  </table>
    85  
     85
    8686  <fieldset id="action">
    8787    <legend>{'Action'|@translate}</legend>
     
    175175        {/if}
    176176        </div>
    177    
    178    
     177
     178
    179179        <!-- plugins -->
    180180    {if !empty($element_set_groupe_plugins_actions)}
     
    185185      {/foreach}
    186186    {/if}
    187    
     187
    188188        <p id="applyActionBlock" style="display:none" class="actionButtons">
    189189          <input id="applyAction" class="submit" type="submit" value="{'Apply action'|@translate}" name="submit"> <span id="applyOnDetails"></span></p>
Note: See TracChangeset for help on using the changeset viewer.