Changeset 345 for trunk/admin/thumbnail.php
- Timestamp:
- Feb 2, 2004, 1:55:18 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/thumbnail.php
r228 r345 254 254 $vtp->closeSession( $sub, 'dir' ); 255 255 // recursive call 256 $dirs.= get_displayed_dirs( $dir.'/'.$sub_dir, 257 $indent+30 ); 258 256 get_displayed_dirs( $dir.'/'.$sub_dir, 257 $indent+30 ); 259 258 } 260 259 } … … 360 359 $vtp->setVar( $sub, 'params.action', add_session_id( $url ) ); 361 360 // GD version selected... 362 if ( $_POST['gd'] == 1 )361 if ( isset( $_POST['gd'] ) and $_POST['gd'] == 1 ) 363 362 { 364 363 $vtp->setVar( $sub, 'params.gd1_checked', ' checked="checked"' ); … … 388 387 // options for the number of picture to miniaturize : "n" 389 388 $options = array( 5,10,20,40 ); 389 if ( isset( $_POST['n'] ) ) $n = $_POST['n']; 390 else $n = 5; 390 391 foreach ( $options as $option ) { 391 392 $vtp->addSession( $sub, 'n_option' ); 392 393 $vtp->setVar( $sub, 'n_option.option', $option ); 393 if ( $option == $ _POST['n'])394 if ( $option == $n ) 394 395 { 395 396 $vtp->setVar( $sub, 'n_option.selected', ' selected="selected"' );
Note: See TracChangeset
for help on using the changeset viewer.