Changeset 8168
- Timestamp:
- Dec 17, 2010, 1:11:56 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r6365 r8168 90 90 $page['errors'] = array(); 91 91 $page['infos'] = array(); 92 93 if (isset($_SESSION['page_infos'])) 94 { 95 $page['infos'] = array_merge($page['infos'], $_SESSION['page_infos']); 96 unset($_SESSION['page_infos']); 97 } 92 98 93 99 $link_start = PHPWG_ROOT_PATH.'admin.php?page='; -
trunk/admin/cat_list.php
r8131 r8168 107 107 { 108 108 delete_categories(array($_GET['delete'])); 109 array_push($page['infos'],l10n('Virtual album deleted'));109 $_SESSION['page_infos'] = array(l10n('Virtual album deleted')); 110 110 update_global_rank(); 111 redirect(get_root_url().'admin.php?page=cat_list'); 111 112 $redirect_url = get_root_url().'admin.php?page=cat_list'; 113 if (isset($_GET['parent_id'])) 114 { 115 $redirect_url.= '&parent_id='.$_GET['parent_id']; 116 } 117 redirect($redirect_url); 112 118 } 113 119 // request to add a virtual category
Note: See TracChangeset
for help on using the changeset viewer.