Changeset 5691
- Timestamp:
- Apr 6, 2010, 10:04:42 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r5528 r5691 248 248 update_category($category_ids); 249 249 } 250 250 251 251 trigger_action('delete_elements', $ids); 252 252 } … … 921 921 $query = ' 922 922 UPDATE '.IMAGES_TABLE.' 923 SET path = '.pwg_db_concat(array( $fulldirs[$cat_id],'\'/\'','file')).'923 SET path = '.pwg_db_concat(array("'".$fulldirs[$cat_id]."/'",'file')).' 924 924 WHERE storage_category_id = '.$cat_id.' 925 925 ;'; … … 1293 1293 function add_tags($tags, $images) 1294 1294 { 1295 if (count($tags) == 0 or count($ tags) == 0)1295 if (count($tags) == 0 or count($images) == 0) 1296 1296 { 1297 1297 return; … … 1904 1904 } 1905 1905 } 1906 1906 1907 1907 switch ($menu_page) 1908 1908 { … … 1924 1924 case 'permalinks': 1925 1925 return 1; 1926 1926 1927 1927 case 'user_list': 1928 1928 case 'user_perm': … … 1937 1937 case 'plugin': 1938 1938 return 3; 1939 1939 1940 1940 case 'stats': 1941 1941 case 'history': … … 1972 1972 ); 1973 1973 } 1974 1974 1975 1975 return $taglist; 1976 1976 } … … 1984 1984 1985 1985 $tag_ids = array(); 1986 1986 1987 1987 foreach ($raw_tags as $raw_tag) 1988 1988 { … … 1995 1995 // we have to create a new tag 1996 1996 array_push( 1997 $tag_ids, 1997 $tag_ids, 1998 1998 tag_id_from_tag_name($raw_tag) 1999 1999 ); -
trunk/admin/plugins_list.php
r5475 r5691 40 40 { 41 41 check_pwg_token(); 42 42 43 43 $page['errors'] = $plugins->perform_action($_GET['action'], $_GET['plugin']); 44 44 … … 70 70 'DESC' => $fs_plugin['description'], 71 71 'AUTHOR' => $fs_plugin['author'], 72 'AUTHOR_URL' => $fs_plugin['author uri'],72 'AUTHOR_URL' => @$fs_plugin['author uri'], 73 73 'U_ACTION' => sprintf($action_url, $plugin_id) 74 74 ); … … 113 113 $template->append('plugin_states', 'missing'); 114 114 } 115 115 116 116 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugins'); 117 117 ?> -
trunk/include/functions_search.inc.php
r5196 r5691 253 253 else 254 254 { 255 $items = array_ intersect($items, $tag_items);255 $items = array_values( array_intersect($items, $tag_items) ); 256 256 } 257 257 break;
Note: See TracChangeset
for help on using the changeset viewer.