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_rate.inc.php

    • Property svn:keywords set to Author Date Id Revision
    r1090 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  |
     
    5555  }
    5656
    57   if ($conf['rate_anonymous'] or !$user['is_the_guest'])
     57  if ($conf['rate_anonymous'] or is_autorize_status(ACCESS_CLASSIC) )
    5858  {
    5959    if ($row['count']>0)
     
    6464      AND user_id = '.$user['id'] ;
    6565
    66       if ($user['is_the_guest'])
     66      if ( !is_autorize_status(ACCESS_CLASSIC) )
    6767      {
    6868        $ip_components = explode('.', $_SERVER['REMOTE_ADDR']);
Note: See TracChangeset for help on using the changeset viewer.