Changeset 563 for trunk


Ignore:
Timestamp:
Oct 9, 2004, 1:30:23 PM (20 years ago)
Author:
z0rglub
Message:

replacement of PhpWebGallery folder representative by pwg_representative and
high by pwg_high

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/create_listing_file.php

    r540 r563  
    230230
    231231  $pictures = array();
    232   if ($opendir = @opendir($dir.'/representative'))
     232  if ($opendir = @opendir($dir.'/pwg_representative'))
    233233  {
    234234    while ($file = readdir($opendir))
     
    260260          and $file != '..'
    261261          and $file != 'thumbnail'
    262           and $file != 'high'
    263           and $file != 'representative'
     262          and $file != 'pwg_high'
     263          and $file != 'pwg_representative'
    264264          and is_dir ($basedir.'/'.$file))
    265265      {
  • trunk/admin/include/functions.php

    r540 r563  
    129129
    130130  $pictures = array();
    131   if ($opendir = @opendir($dir.'/representative'))
     131  if ($opendir = @opendir($dir.'/pwg_representative'))
    132132  {
    133133    while ($file = readdir($opendir))
     
    741741 * returns an array containing sub-directories which can be a category
    742742 *
    743  * directories nammed "thumbnail", "high" or "representative" are omitted
     743 * directories nammed "thumbnail", "pwg_high" or "pwg_representative" are
     744 * omitted
    744745 *
    745746 * @param string $basedir
     
    757758          and $file != '..'
    758759          and $file != 'thumbnail'
    759           and $file != 'high'
    760           and $file != 'representative'
     760          and $file != 'pwg_high'
     761          and $file != 'pwg_representative'
    761762          and is_dir($basedir.'/'.$file))
    762763      {
  • trunk/picture.php

    r539 r563  
    154154  if (isset($row['representative_ext']) and $row['representative_ext'] =! '')
    155155  {
    156     $picture[$i]['src'] = $cat_directory.'representative/';
     156    $picture[$i]['src'] = $cat_directory.'pwg_representative/';
    157157    $picture[$i]['src'].= $file_wo_ext.'.'.$row['representative_ext'];
    158158  }
     
    169169    if ($i == 'current')
    170170    {
    171       if (@fopen($cat_directory.'high/'.$row['file'], 'r'))
     171      if (@fopen($cat_directory.'pwg_high/'.$row['file'], 'r'))
    172172      {
    173         $picture[$i]['high'] = $cat_directory.'high/'.$row['file'];
     173        $picture[$i]['high'] = $cat_directory.'pwg_high/'.$row['file'];
    174174      }
    175175    }
Note: See TracChangeset for help on using the changeset viewer.