- Timestamp:
- Jan 22, 2009, 3:19:17 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 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 ), -
trunk/template/yoga/index.tpl
r3037 r3108 17 17 18 18 {if isset($favorite) } 19 <li><a href="{$favorite.U_FAVORITE}" title="{ $favorite.FAVORITE_HINT}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{$favorite.FAVORITE_HINT}"></a></li>19 <li><a href="{$favorite.U_FAVORITE}" title="{'del_all_favorites_hint'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'del_all_favorites_hint'|@translate}"></a></li> 20 20 {/if} 21 21
Note: See TracChangeset
for help on using the changeset viewer.