Ignore:
Timestamp:
May 18, 2003, 11:42:32 PM (22 years ago)
Author:
z0rglub
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/default/htmlfunctions.inc.php

    r2 r14  
    3939  return $output;
    4040}
    41 /*
    42 function affiche_icone_recent( $date_comparaison )
    43 {
    44   global $user, $conf;
    45   $difference = time() - $date_comparaison;
    46   $jours = 24*60*60;
    47   $output = '';
    48   if ( $difference < $conf['periode_longue'] * $jours )
    49   {
    50     $icon_url = './theme/'.$user['theme'].'/';
    51     if ( $difference < $conf['periode_courte'] * $jours )
    52     {
    53       $icon_url.= 'new_long.gif';
    54     }
    55     else
    56     {
    57       $icon_url.= 'new_short.gif';
    58     }
    59     $size = getimagesize( $icon_url );
    60     $output = '<img src="'.$icon_url.'" style="border:0;height:'.$size[1].'px;width:'.$size[0].'px" alt="" />';
    61   }
    62   return $output;
    63 }
    64 */
    6541
    6642function create_navigation_bar( $url, $nb_element, $start,
     
    12298  return '<table style="width:';
    12399}
    124 /*
     100
    125101function get_frame_begin()
    126102{
    127103  return ';">
    128104            <tr>
    129               <td style="border:2px solid lightgreen;width:100%;padding:5px;background-color:black;">';
     105              <td style="border:1px dashed gray;width:100%;padding:5px;background-color:white;">';
    130106}
    131107
     
    137113          </table>';
    138114}
    139 */       
     115/*
    140116function get_frame_begin()
    141117{
     
    172148          </table>';
    173149}
    174 
     150*/
    175151function initialize_template()
    176152{
    177153  global $vtp, $handle, $user;
    178154
     155  $vtp->setGlobalVar( $handle, 'style', $user['style'] );
    179156  $vtp->setGlobalVar( $handle, 'frame_start', get_frame_start() );
    180157  $vtp->setGlobalVar( $handle, 'frame_begin', get_frame_begin() );
Note: See TracChangeset for help on using the changeset viewer.