Changeset 3108 for trunk/include
- Timestamp:
- Jan 22, 2009, 3:19:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/section_init.inc.php
r3049 r3108 381 381 ); 382 382 383 if (!empty($_GET['action']) 384 && ($_GET['action'] == 'remove_all_from_favorites')) 383 if (!empty($_GET['action']) && ($_GET['action'] == 'remove_all_from_favorites')) 385 384 { 386 385 $query = ' … … 389 388 ;'; 390 389 pwg_query($query); 391 redirect( 'index.php?/favorites');392 } 393 else 390 redirect(make_index_url( array('section'=>'favorites') )); 391 } 392 else 394 393 { 395 394 $query = ' … … 415 414 ); 416 415 417 if (count($page['items'])>0) 416 if (count($page['items'])>0) 418 417 { 419 418 $template->assign( … … 422 421 'FAVORITE_IMG' => 423 422 get_root_url().get_themeconf('icon_dir').'/del_all_favorites.png', 424 'FAVORITE_HINT' => l10n('del_all_favorites_hint'),425 423 'U_FAVORITE' => add_url_params( 426 'index.php?/favorites',424 make_index_url( array('section'=>'favorites') ), 427 425 array('action'=>'remove_all_from_favorites') 428 426 ),
Note: See TracChangeset
for help on using the changeset viewer.