Ignore:
Timestamp:
Mar 22, 2006, 2:01:47 AM (18 years ago)
Author:
rvelices
Message:

URL rewriting: capable of fully working with urls without ?

URL rewriting: works with image file instead of image id (change
make_picture_url to generate urls with file name instead of image id)

URL rewriting: completely works with category/best_rated and
picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url
and 'picture.php?' to 'picture' in make_picture_url to see it)

fix: picture category display in upper bar

fix: function rate_picture variables and use of the new user type

fix: caddie icon appears now on category page

fix: admin element_set sql query was using storage_category_id column
(column has moved to #image_categories)

fix: replaced some old $_GET[xxx] with $page[xxx]

fix: pictures have metadata url (use ? parameter - might change later)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_metadata.inc.php

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r1082 r1092  
    77// | branch        : BSF (Best So Far)
    88// | file          : $RCSfile$
    9 // | last update   : $Date: 2006-03-09 00:14:53 +0100 (jeu, 09 mar 2006) $
    10 // | last modifier : $Author: rub $
    11 // | revision      : $Revision: 1070 $
     9// | last update   : $Date$
     10// | last modifier : $Author$
     11// | revision      : $Revision$
    1212// +-----------------------------------------------------------------------+
    1313// | This program is free software; you can redistribute it and/or modify  |
     
    2828/**
    2929 * This file is included by the picture page to manage picture metadata
    30  * 
     30 *
    3131 */
    3232
    33 if ($metadata_showable and isset($_GET['show_metadata']))
     33if ($metadata_showable and isset($_GET['metadata']))
    3434{
    3535  include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php');
     
    4242    }
    4343
    44     if ($exif = @read_exif_data($picture['current']['src']))
     44    if ($exif = @read_exif_data($picture['current']['src_file_system']))
    4545    {
    4646      $template->assign_block_vars(
Note: See TracChangeset for help on using the changeset viewer.