Changeset 605 for trunk/picture.php


Ignore:
Timestamp:
Nov 16, 2004, 12:13:24 AM (19 years ago)
Author:
plg
Message:

category random replaced by a more generic category : list. You give a list
of element identifiers and it creates a page virtual temporary
category. random.php generates a randomized list of element id visible to
the user (according to permissions) and redirects to category.php.

Major problem : elements order is in id ascending order, I don't know how to
change order when having id1,id2,id3 and id2,id3,id1 (the display order is
the same)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r602 r605  
    209209{
    210210  $url_up.= "&search=".$_GET['search'];
     211}
     212if ( $page['cat'] == 'list' )
     213{
     214  $url_up.= "&list=".$_GET['list'];
    211215}
    212216
Note: See TracChangeset for help on using the changeset viewer.