Changeset 10087


Ignore:
Timestamp:
04/06/11 01:26:04 (9 years ago)
Author:
LucMorizur
Message:

Implement 'LCAS search' in admin

Location:
extensions/LCAS/trunk
Files:
1 added
1 edited

Legend:

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

    r9889 r10087  
    155155} 
    156156 
     157// LCAS_admin_user_filter 
     158// 
     159// no variables, no return 
     160// 
     161add_event_handler('loc_end_admin', 'LCAS_admin_user_filter'); 
     162 
     163function LCAS_admin_user_filter() { 
     164  if ( 
     165    strpos($_SERVER['REQUEST_URI'], 'user_list') !== false and 
     166    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  } 
     177} 
     178 
    157179function LCAS_add_tooltips_index() { 
    158180  global $template, $conf, $lang; 
Note: See TracChangeset for help on using the changeset viewer.