Changeset 10088


Ignore:
Timestamp:
Apr 6, 2011, 1:35:05 AM (9 years ago)
Author:
LucMorizur
Message:

Code cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/main.inc.php

    r10087 r10088  
    157157// LCAS_admin_user_filter
    158158//
    159 // no variables, no return
     159// Allow to use LCAS for searching usernames, in admin user_list page
    160160//
    161161add_event_handler('loc_end_admin', 'LCAS_admin_user_filter');
     
    165165    strpos($_SERVER['REQUEST_URI'], 'user_list') !== false and
    166166    isset($_GET['username']) and !empty($_GET['username'])
    167   ) {
    168     // $new_list = &$template->smarty->_tpl_vars['users'];
    169     // $template->append('footer_elements', '<p>lskskjsleektjtj1</p>');
    170     // $template->append('footer_elements', '<p>gettype($new_list)&nbsp;: '.gettype($new_list).'</p>');
    171     // $template->append('footer_elements', '<p>str_from_var2($new_list)&nbsp;: '.str_from_var2($new_list).'</p>');
    172     // $template->append('footer_elements', '<p>lskskjsleektjtj2</p><p>lskskjsleektjtj2</p><p>lskskjsleektjtj2</p><p>lskskjsleektjtj2</p>');
    173  
    174     include(LCAS_PATH.'include/admin_search.inc.php');
    175      
    176   }
     167  ) include(LCAS_PATH.'include/admin_search.inc.php');
    177168}
    178169
Note: See TracChangeset for help on using the changeset viewer.