Changeset 37


Ignore:
Timestamp:
Jul 25, 2003, 11:02:35 PM (21 years ago)
Author:
z0rglub
Message:

Deleting debug messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r26 r37  
    2121//----------------------------------------------------------- personnal include
    2222include_once( './include/init.inc.php' );
    23 $output.= 'after init.inc.php : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    2423//-------------------------------------------------- access authorization check
    2524// creating the plain structure : array of all the available categories and
     
    7978$page['structure'] = update_structure( $page['structure'] );
    8079initialize_category();
    81 $output.= 'before template init : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    8280//----------------------------------------------------- template initialization
    8381$vtp = new VTemplate;
    8482$handle = $vtp->Open( './template/'.$user['template'].'/category.vtp' );
    8583initialize_template();
    86 $output.= 'before lang array : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    8784$tpl = array(
    8885  'categories','hint_category','sub-cat','images_available','total',
     
    9289  'most_visited_cat','recent_cat','recent_cat_hint','upload_picture' );
    9390templatize_array( $tpl, 'lang', $handle );
    94 $output.= 'after lang array : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    9591
    9692$tpl = array( 'mail_webmaster','webmaster','top_number','version','site_url' );
    9793templatize_array( $tpl, 'conf', $handle );
    98 $output.= 'after conf array : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    9994
    10095$tpl = array( 'short_period','long_period','lien_collapsed', 'username' );
     
    111106$vtp->setGlobalVar( $handle, 'nb_total_pictures',$nb_total_pictures );
    112107//------------------------------------------------------------- categories menu
    113 $output.= 'before menu : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    114108// normal categories
    115109foreach ( $page['structure'] as $category ) {
     
    117111  display_category( $category, '&nbsp;', $handle );
    118112}
    119 $output.= 'after menu : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    120113// favorites cat
    121114if ( !$user['is_the_guest'] )
     
    224217}
    225218//------------------------------------------------------------------ thumbnails
    226 $output.= 'before thumbs : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    227219if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 )
    228220{
     
    416408  $vtp->closeSession( $handle, 'thumbnails' );
    417409}
    418 $output.= 'after thumbs : '.get_elapsed_time( $t2, get_moment() ).'<br />';
    419410//------------------------------------------------------- category informations
    420411if ( isset ( $page['cat'] ) )
     
    463454//----------------------------------------------------------- html code display
    464455$code = $vtp->Display( $handle, 0 );
    465 echo $output;
    466456echo $code;
    467457?>
Note: See TracChangeset for help on using the changeset viewer.