Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase

Conflicts:
	classes/Profile.php
This commit is contained in:
Shashi Gowda
2011-03-22 07:59:06 +05:30
39 changed files with 1444 additions and 450 deletions

View File

@@ -364,7 +364,7 @@ class Router
$m->connect('group/new', array('action' => 'newgroup'));
foreach (array('edit', 'join', 'leave', 'delete') as $v) {
foreach (array('edit', 'join', 'leave', 'delete', 'cancel', 'approve') as $v) {
$m->connect('group/:nickname/'.$v,
array('action' => $v.'group'),
array('nickname' => Nickname::DISPLAY_FMT));
@@ -391,6 +391,10 @@ class Router
array('action' => 'makeadmin'),
array('nickname' => Nickname::DISPLAY_FMT));
$m->connect('group/:nickname/members/pending',
array('action' => 'groupqueue'),
array('nickname' => Nickname::DISPLAY_FMT));
$m->connect('group/:id/id',
array('action' => 'groupbyid'),
array('id' => '[0-9]+'));