Ignore:
Timestamp:
Nov 3, 2003, 10:35:24 PM (21 years ago)
Author:
z0rglub
Message:

Modifications linked to the move of admin.php to the root directory of PhpWebGallery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/comments.php

    r226 r228  
    6161    $vtp->setVar( $sub, 'picture.title', $name );
    6262    // source of the thumbnail picture
    63     $src = '';
    64     if ( $array_cat_site_id[$subrow['cat_id']] == 1 )
    65     {
    66       $src.= '.';
    67     }
    68     $src.= $array_cat_directories[$subrow['cat_id']];
     63    $src = $array_cat_directories[$subrow['cat_id']];
    6964    $src.= 'thumbnail/'.$conf['prefix_thumbnail'];
    7065    $src.= $file.'.'.$subrow['tn_ext'];
    7166    $vtp->setVar( $sub, 'picture.thumb_src', $src );
    7267    // link to the full size picture
    73     $url = '../picture.php?cat='.$subrow['cat_id'];
     68    $url = './picture.php?cat='.$subrow['cat_id'];
    7469    $url.= '&image_id='.$row['image_id'];
    7570    $vtp->setVar( $sub, 'picture.thumb_url', add_session_id( $url ) );
Note: See TracChangeset for help on using the changeset viewer.