Ignore:
Timestamp:
Jul 21, 2003, 9:47:14 PM (21 years ago)
Author:
z0rglub
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/infos_images.php

    r19 r26  
    1919include_once( '../template/'.$user['template'].'/htmlfunctions.inc.php' );
    2020//------------------------------------------------------------------- functions
    21 function check_date_format ( $date )
     21function check_date_format( $date )
    2222{
    2323  // date arrives at this format : DD/MM/YYYY
     
    145145    else
    146146    {
    147       echo $lang['infoimage_err_date'];
     147      echo $lang['err_date'];
    148148    }
    149149  }
     
    222222    $thumbnail_url.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
    223223    $vtp->setVar( $sub, 'picture.thumbnail_url', $thumbnail_url );
     224    $url = '../picture.php?cat='.$_GET['cat_id'].'&image_id='.$row['id'];
     225    $vtp->setVar( $sub, 'picture.url', add_session_id( $url ) );
    224226    $vtp->closeSession( $sub, 'picture' );
    225227  }
Note: See TracChangeset for help on using the changeset viewer.