Changeset 25678 for extensions/UserCollections/admin/sets.php
- Timestamp:
- Nov 24, 2013, 6:09:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/admin/sets.php
r24421 r25678 19 19 array_push($where_clauses, 'username LIKE "%'.$_POST['username'].'%"'); 20 20 } 21 21 22 22 if (!empty($_POST['name'])) 23 23 { 24 24 array_push($where_clauses, 'name LIKE "%'.$_POST['name'].'%"'); 25 25 } 26 26 27 27 $order_by = $_POST['order_by'].' '.$_POST['direction']; 28 28 } … … 31 31 // get sets 32 32 $query = ' 33 SELECT 33 SELECT 34 34 c.*, 35 35 u.'.$conf['user_fields']['username'].' AS username … … 46 46 { 47 47 $template->append('sets', array( 48 'NAME' => trigger_ event('render_category_name', $row['name']),48 'NAME' => trigger_change('render_category_name', $row['name']), 49 49 'NB_IMAGES' => $row['nb_images'], 50 50 'DATE_CREATION' => format_date($row['date_creation'], true), … … 74 74 'direction_options' => $page['direction_items'], 75 75 'direction_selected' => isset($_POST['direction']) ? $_POST['direction'] : '', 76 76 77 77 'F_USERNAME' => @htmlentities($_POST['username'], ENT_COMPAT, 'UTF-8'), 78 78 'F_NAME' => @htmlentities($_POST['name'], ENT_COMPAT, 'UTF-8'), … … 82 82 83 83 $template->set_filename('user_collections', realpath(USER_COLLEC_PATH . 'admin/template/sets.tpl')); 84 85 ?>
Note: See TracChangeset
for help on using the changeset viewer.