Changeset 12020


Ignore:
Timestamp:
Aug 31, 2011, 5:58:16 PM (9 years ago)
Author:
flop25
Message:

token added for permissions

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_perm.php

    r12019 r12020  
    6969// |                           form submission                             |
    7070// +-----------------------------------------------------------------------+
    71 
     71if (isset($_POST['deny_groups_submit']) or isset($_POST['grant_groups_submit']) or isset($_POST['deny_users_submit']) or isset($_POST['grant_users_submit']) )
     72{
     73  check_pwg_token();
     74}
    7275
    7376if (isset($_POST['deny_groups_submit'])
     
    288291// |                           sending html code                           |
    289292// +-----------------------------------------------------------------------+
     293$template->assign(array('PWG_TOKEN' => get_pwg_token()));
     294
    290295$template->assign_var_from_handle('ADMIN_CONTENT', 'cat_perm');
    291296?>
  • trunk/admin/themes/default/template/cat_perm.tpl

    r12019 r12020  
    6464  </fieldset>
    6565
     66<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    6667</form>
Note: See TracChangeset for help on using the changeset viewer.