Lists/Routes

Routes for people tags.

Web
$m->connect(':nickname/all/:profiletag',   array('action' => 'showprofiletag'),    array('nickname' => '[a-zA-Z0-9]{1,64}'),    array('profiletag' => '[a-zA-Z0-9]{1,64}'));

$m->connect(':nickname/all/:profiletag/admin',   array('action' => 'profiletagadmin'),    array('nickname' => '[a-zA-Z0-9]{1,64}'),    array('profiletag' => '[a-zA-Z0-9]{1,64}'));

$m->connect('profiletag/:id/id',   array('action' => 'profiletagbyid'),    array('id' => '[0-9]+'));

foreach (array('subscribe', 'unsubscribe') as $v) { $m->connect(':nickname/all/:profiletag/'.$v,       array('action' => $v.'profiletag'),        array('nickname' => '[a-zA-Z0-9]+')); $m->connect('profiletag/:id/id/'.$v,       array('action' => $v.'profiletag'),        array('id' => '[0-9]+')); } foreach (array('members', 'rss', 'admin') as $n) { $m->connect(':nickname/all/:profiletag/'.$n,       array('action' => 'profiletag'.$n),        array('nickname' => '[a-zA-Z0-9]+'),        array('profiletag' => '[a-zA-Z0-9]{1,64}'); }