Merge branch '0.7.x' into 0.8.x

This commit is contained in:
Evan Prodromou 2009-04-03 12:47:25 -04:00
commit d68ac2e1d3
3 changed files with 5 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class RemotesubscribeAction extends Action
'class' => 'form_settings', 'class' => 'form_settings',
'action' => common_local_url('remotesubscribe'))); 'action' => common_local_url('remotesubscribe')));
$this->elementStart('fieldset'); $this->elementStart('fieldset');
$this->element('legend', 'Subscribe to a remote user'); $this->element('legend', _('Subscribe to a remote user'));
$this->hidden('token', common_session_token()); $this->hidden('token', common_session_token());
$this->elementStart('ul', 'form_data'); $this->elementStart('ul', 'form_data');

View File

@ -107,6 +107,9 @@ class Router
$m->connect('main/'.$a, array('action' => $a)); $m->connect('main/'.$a, array('action' => $a));
} }
$m->connect('main/sup/:seconds', array('action' => 'sup'),
array('seconds' => '[0-9]+'));
$m->connect('main/tagother/:id', array('action' => 'tagother')); $m->connect('main/tagother/:id', array('action' => 'tagother'));
// these take a code // these take a code