Changeset 1027 for trunk/wiki.cgi


Ignore:
Timestamp:
Apr 28, 2007, 1:58:08 PM (14 years ago)
Author:
kake
Message:

Added category and locale parameters to action=random and made a new macro to go with it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wiki.cgi

    r1014 r1027  
    8686                          );
    8787    } elsif ($action eq 'random') {
    88         print $guide->display_random_page;
     88        print $guide->display_random_page(
     89                            category => $q->param( "category" ) || "",
     90                            locale   => $q->param( "locale" ) || "",
     91                                         );
    8992    } elsif ($action eq 'find_within_distance') {
    9093        $guide->find_within_distance(
Note: See TracChangeset for help on using the changeset viewer.