Changeset 10549 for extensions/LCAS/trunk/include/admin_search.inc.php
- Timestamp:
- Apr 21, 2011, 11:09:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/include/admin_search.inc.php
r10116 r10549 1 1 <?php 2 // Keep sfile coded in UTF-8 without BOM: é2 // Keep file coded in UTF-8 without BOM: é 3 3 4 4 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 37 37 $filter = array(); 38 38 39 // Build a PHP regex both complying to user's request, and to LCAS current40 // rule39 // Build a PHP regex both complying to user's request, 40 // and to LCAS current rule 41 41 $username= preg_replace(array('/^\*/', '/\*$/'), '%', $_GET['username']); 42 42 if (preg_match('/%$/', $username)) … … 233 233 // allow plugins to fill template var plugin_user_list_column_titles and 234 234 // plugin_columns/plugin_actions for each user in the list 235 $visible_user_list = trigger_event('loc_visible_user_list', $visible_user_list); 235 $visible_user_list = 236 trigger_event('loc_visible_user_list', $visible_user_list); 236 237 237 238 foreach ($visible_user_list as $local_user) … … 262 263 $properties[] = l10n( sprintf('Level %d', $local_user['level']) ); 263 264 } 264 $properties[] = 265 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 266 ? l10n('High definition') : l10n(''); 265 $properties[] = ( 266 isset($local_user['enabled_high']) and 267 ($local_user['enabled_high'] == 'true') 268 ) ? l10n('High definition') : l10n(''); 267 269 268 270 $template->append( … … 282 284 'GROUPS' => $groups_string, 283 285 'PROPERTIES' => implode( ', ', $properties), 284 'plugin_columns' => isset($local_user['plugin_columns']) ? $local_user['plugin_columns'] : array(), 285 'plugin_actions' => isset($local_user['plugin_actions']) ? $local_user['plugin_actions'] : array(), 286 'plugin_columns' => isset($local_user['plugin_columns']) ? 287 $local_user['plugin_columns'] : array(), 288 'plugin_actions' => isset($local_user['plugin_actions']) ? 289 $local_user['plugin_actions'] : array(), 286 290 ) 287 291 );
Note: See TracChangeset
for help on using the changeset viewer.