Changeset 1512


Ignore:
Timestamp:
Jul 28, 2006, 4:07:57 PM (18 years ago)
Author:
nikrou
Message:

revert to svn:1507
block refresh is used in slideshows

fix line too long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/page_header.php

    r1508 r1512  
    5050    'DIR'=>$lang_info['direction'],
    5151
    52     'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled onclick="return false;"' : '')
     52    'TAG_INPUT_ENABLED' =>
     53      ((is_adviser()) ? 'disabled onclick="return false;"' : '')
    5354    ));
     55
     56// refresh       
     57if ( isset( $refresh ) and intval($refresh) >= 0
     58    and isset( $url_link ) and isset( $redirect_msg ) )
     59{       
     60  $template->assign_vars(       
     61    array(       
     62      'U_REDIRECT_MSG' => $redirect_msg,         
     63      'REFRESH_TIME' => $refresh,       
     64      'U_REFRESH' => $url_link   
     65      ));       
     66  $template->assign_block_vars('refresh', array());     
     67}       
    5468
    5569header('Content-Type: text/html; charset='.$lang_info['charset']);
Note: See TracChangeset for help on using the changeset viewer.