viewing paste Unknown #5393 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14
$templates = array(
       
       # APP: MEMBERS
       'showuser'       => array( 'out'     => array( 'showuser=(.+?)(&|$)', 'user/$1/#{__title__}$2' ),
                                 'in'        => array( "/user/(\d+?)/", array( 'showuser', 1 ) ) ),
       
       # APP: FORUMS                        
       'showforum'   => array( 'out'        => array( 'showforum=(.+?)(&|$)', 'forum/$1/#{__title__}$2' ),
                                 'in'        => array( "/forum/(\d+?)/"  , array( 'showforum', 1 ) ) ),
                               
       'showtopic'   => array( 'out'        => array( 'showtopic=(.+?)(&|$)', 'topic/$1/#{__title__}$2' ),
                                 'in'        => array( "/topic/(\d+?)/", array( 'showtopic', 1 ) ) ),
                               
       );
Viewed 710 times, submitted by saiku.