diff options
author | nikrou <nikrou@piwigo.org> | 2006-07-27 18:51:54 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-07-27 18:51:54 +0000 |
commit | bc65a0d6cd718ecbaa70ea699c6ec482a3e3af65 (patch) | |
tree | e9e799267e61c437b7ffda598c477e94bcdfb9e0 /include/page_header.php | |
parent | eb6d08ead24523ef1bf237508e3f2798af96c3b9 (diff) |
Feature 492: first step
Simple redirect.tpl in template-common
Simplification of function redirect()
git-svn-id: http://piwigo.org/svn/trunk@1508 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_header.php')
-rw-r--r-- | include/page_header.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/page_header.php b/include/page_header.php index 6a48b4b81..38b1da0be 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -52,18 +52,6 @@ $template->assign_vars( 'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled onclick="return false;"' : '') )); -// refresh -if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) ) -{ - $template->assign_vars( - array( - 'U_REDIRECT_MSG' => $redirect_msg, - 'REFRESH_TIME' => $refresh, - 'U_REFRESH' => $url_link - )); - $template->assign_block_vars('refresh', array()); -} - header('Content-Type: text/html; charset='.$lang_info['charset']); $template->parse('header'); ?> |