Ignore:
Timestamp:
Feb 2, 2004, 1:55:18 AM (20 years ago)
Author:
gweltas
Message:

Merge of the 1.3.1 release
Creation of an unique include file (common.php)
Creation of an unique define file (include/constants.php)
Modification of the installation procedure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/thumbnail.php

    r228 r345  
    254254    $vtp->closeSession( $sub, 'dir' );
    255255    // recursive call
    256     $dirs.= get_displayed_dirs( $dir.'/'.$sub_dir,
    257                                 $indent+30 );
    258    
     256    get_displayed_dirs( $dir.'/'.$sub_dir,
     257                                $indent+30 );   
    259258  }
    260259}
     
    360359    $vtp->setVar( $sub, 'params.action', add_session_id( $url ) );
    361360    // GD version selected...
    362     if ( $_POST['gd'] == 1 )
     361    if ( isset( $_POST['gd'] ) and $_POST['gd'] == 1 )
    363362    {
    364363      $vtp->setVar( $sub, 'params.gd1_checked', ' checked="checked"' );
     
    388387    // options for the number of picture to miniaturize : "n"
    389388    $options = array( 5,10,20,40 );
     389    if ( isset( $_POST['n'] ) ) $n = $_POST['n'];
     390    else                        $n = 5;
    390391    foreach ( $options as $option ) {
    391392      $vtp->addSession( $sub, 'n_option' );
    392393      $vtp->setVar( $sub, 'n_option.option', $option );
    393       if ( $option == $_POST['n'] )
     394      if ( $option == $n )
    394395      {
    395396        $vtp->setVar( $sub, 'n_option.selected', ' selected="selected"' );
Note: See TracChangeset for help on using the changeset viewer.