Changeset 20609
- Timestamp:
- Feb 7, 2013, 10:17:08 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r19703 r20609 58 58 59 59 include(PHPWG_ROOT_PATH.'include/page_header.php'); 60 include(PHPWG_ROOT_PATH.'include/page_messages.php');60 flush_page_messages(); 61 61 $template->pparse('about'); 62 62 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/admin.php
r19703 r20609 293 293 trigger_action('loc_end_admin'); 294 294 295 include(PHPWG_ROOT_PATH.'include/page_messages.php');295 flush_page_messages(); 296 296 297 297 $template->pparse('admin'); -
trunk/comments.php
r19703 r20609 610 610 include(PHPWG_ROOT_PATH.'include/page_header.php'); 611 611 trigger_action('loc_end_comments'); 612 include(PHPWG_ROOT_PATH.'include/page_messages.php');612 flush_page_messages(); 613 613 $template->pparse('comments'); 614 614 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/identification.php
r19703 r20609 111 111 include(PHPWG_ROOT_PATH.'include/page_header.php'); 112 112 trigger_action('loc_end_identification'); 113 include(PHPWG_ROOT_PATH.'include/page_messages.php');113 flush_page_messages(); 114 114 $template->pparse('identification'); 115 115 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/include/functions_html.inc.php
r20516 r20609 615 615 } 616 616 617 618 function flush_page_messages() 619 { 620 global $template, $page; 621 if ($template->get_template_vars('page_refresh') === null) 622 { 623 foreach (array('errors','infos','warnings') as $mode) 624 { 625 if (isset($_SESSION['page_'.$mode])) 626 { 627 $page[$mode] = array_merge($page[$mode], $_SESSION['page_'.$mode]); 628 unset($_SESSION['page_'.$mode]); 629 } 630 631 if (count($page[$mode]) != 0) 632 { 633 $template->assign($mode, $page[$mode]); 634 } 635 } 636 } 637 } 638 617 639 ?> -
trunk/index.php
r19703 r20609 334 334 include(PHPWG_ROOT_PATH.'include/page_header.php'); 335 335 trigger_action('loc_end_index'); 336 include(PHPWG_ROOT_PATH.'include/page_messages.php');336 flush_page_messages(); 337 337 $template->parse_index_buttons(); 338 338 $template->pparse('index'); -
trunk/nbm.php
r19703 r20609 77 77 // +-----------------------------------------------------------------------+ 78 78 include(PHPWG_ROOT_PATH.'include/page_header.php'); 79 include(PHPWG_ROOT_PATH.'include/page_messages.php');79 flush_page_messages(); 80 80 $template->parse('nbm'); 81 81 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/notification.php
r19703 r20609 116 116 include(PHPWG_ROOT_PATH.'include/page_header.php'); 117 117 trigger_action('loc_end_notification'); 118 include(PHPWG_ROOT_PATH.'include/page_messages.php');118 flush_page_messages(); 119 119 $template->pparse('notification'); 120 120 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/password.php
r19703 r20609 358 358 include(PHPWG_ROOT_PATH.'include/page_header.php'); 359 359 trigger_action('loc_end_password'); 360 include(PHPWG_ROOT_PATH.'include/page_messages.php');360 flush_page_messages(); 361 361 $template->pparse('password'); 362 362 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/picture.php
r19703 r20609 991 991 include(PHPWG_ROOT_PATH.'include/page_header.php'); 992 992 trigger_action('loc_end_picture'); 993 include(PHPWG_ROOT_PATH.'include/page_messages.php');993 flush_page_messages(); 994 994 if ($page['slideshow'] and $conf['light_slideshow']) 995 995 { -
trunk/profile.php
r19703 r20609 86 86 include(PHPWG_ROOT_PATH.'include/page_header.php'); 87 87 trigger_action('loc_end_profile'); 88 include(PHPWG_ROOT_PATH.'include/page_messages.php');88 flush_page_messages(); 89 89 $template->pparse('profile'); 90 90 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/register.php
r19703 r20609 132 132 include(PHPWG_ROOT_PATH.'include/page_header.php'); 133 133 trigger_action('loc_end_register'); 134 include(PHPWG_ROOT_PATH.'include/page_messages.php');134 flush_page_messages(); 135 135 $template->parse('register'); 136 136 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/search.php
r19703 r20609 235 235 include(PHPWG_ROOT_PATH.'include/page_header.php'); 236 236 trigger_action('loc_end_search'); 237 include(PHPWG_ROOT_PATH.'include/page_messages.php');237 flush_page_messages(); 238 238 $template->pparse('search'); 239 239 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/tags.php
r19703 r20609 204 204 include(PHPWG_ROOT_PATH.'include/page_header.php'); 205 205 trigger_action('loc_end_tags'); 206 include(PHPWG_ROOT_PATH.'include/page_messages.php');206 flush_page_messages(); 207 207 $template->pparse('tags'); 208 208 include(PHPWG_ROOT_PATH.'include/page_tail.php');
Note: See TracChangeset
for help on using the changeset viewer.