Ignore:
Timestamp:
Mar 21, 2006, 2:27:21 AM (18 years ago)
Author:
rvelices
Message:

URL rewriting: fix some old links, calendar simplification and prepare code
for urls without ? (added functions get_root_url and add_url_param)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/rating.php

    r1084 r1090  
    139139      $nb_images,
    140140      $start,
    141       $elements_per_page,
     141      $elements_per_page
    142142      )
    143143    )
     
    209209  $thumbnail_src = get_thumbnail_src($image['path'], $image['tn_ext']);
    210210
    211   $image_url =
    212     PHPWG_ROOT_PATH.'picture.php?'.
    213     'cat=' . $image['storage_category_id'].
    214     '&image_id=' . $image['id']
    215     ;
     211  $image_url = make_picture_url(
     212      array(
     213        'category' => $image['storage_category_id'],
     214        'image_id' => $image['id'],
     215        'image_file' => $image['file'],
     216      )
     217    );
    216218
    217219  $query = 'SELECT *
Note: See TracChangeset for help on using the changeset viewer.