Changeset 605 for trunk/category.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/category.php

    r602 r605  
    198198  'special_cat',
    199199  array(
    200     'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=random'),
     200    'URL' => add_session_id(PHPWG_ROOT_PATH.'random.php'),
    201201    'TITLE' => $lang['random_cat_hint'],
    202202    'NAME' => $lang['random_cat']
     
    275275                           ,'recent_pics'
    276276                           ,'best_rated'
    277                            ,'random'
     277                           ,'list'
    278278                       ))))
    279279{
Note: See TracChangeset for help on using the changeset viewer.