Changeset 1029 for trunk/picture.php


Ignore:
Timestamp:
Feb 8, 2006, 2:17:07 AM (18 years ago)
Author:
rvelices
Message:
  • remake of Remote sites and Synchronize:
    • synchronization for remote and local sites are done by the same code
    • remote sites can update metadata now (not before) - bug 279
    • fixes bug 82: has_high column
  • improve feature 280: user sort by filename
  • fix path to template mimetypes icons
  • bug 284: session cookie lifetime, deletion on logout and corrected issue

when db upgrades were missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1020 r1029  
    250250    if ($i == 'current')
    251251    {
    252       $url_high=$cat_directory.'/pwg_high/'.$row['file'];
    253       if (url_is_remote($cat_directory))
     252      if ($row['has_high']=='true')
    254253      {
    255         if ($row['has_high'])
    256         {
    257           $picture[$i]['high'] = $url_high;
    258         }
    259       }
    260       else
    261       {
    262         if (@fopen($url_high, 'r'))
    263         {
    264           $picture[$i]['high'] = $url_high;
    265         }
     254        $url_high=$cat_directory.'/pwg_high/'.$row['file'];
     255        $picture[$i]['high'] = $url_high;
    266256      }
    267257    }
     
    10551045  // navigation bar creation
    10561046  $url = PHPWG_ROOT_PATH.'picture.php';
    1057   $url.= get_query_string_diff(array('rate','add_fav'));
     1047  $url.= get_query_string_diff(array('rate','add_fav','start'));
    10581048
    10591049  if (!isset( $_GET['start'] )
Note: See TracChangeset for help on using the changeset viewer.