Ignore:
Timestamp:
Mar 8, 2008, 1:38:09 PM (16 years ago)
Author:
rvelices
Message:
  • security fix (profile)
  • les langues a la hache
  • fix some copy/paste errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/group_perm.php

    r2201 r2268  
    4848else
    4949{
    50   echo l10n('group_id URL parameter is missing');
    51   exit();
     50  die('group_id URL parameter is missing');
    5251}
    5352
     
    9493  // accesible
    9594  $authorized_ids = array();
    96    
     95
    9796  $query = '
    9897SELECT cat_id
     
    101100;';
    102101  $result = pwg_query($query);
    103  
     102
    104103  while ($row = mysql_fetch_array($result))
    105104  {
    106105    array_push($authorized_ids, $row['cat_id']);
    107106  }
    108  
     107
    109108  $inserts = array();
    110109  $to_autorize_ids = array_diff($private_uppercats, $authorized_ids);
     
    145144    'L_CAT_OPTIONS_FALSE'=>l10n('forbidden'),
    146145    'L_CAT_OPTIONS_INFO'=>l10n('permuser_info'),
    147    
     146
    148147    'F_ACTION' =>
    149148        PHPWG_ROOT_PATH.
     
    152151    )
    153152  );
    154  
     153
    155154// only private categories are listed
    156155$query_true = '
Note: See TracChangeset for help on using the changeset viewer.