summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-11 22:37:37 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-11 22:37:37 -0400
commit57feeb566a0cb2c544545dbfc616437cae69b923 (patch)
tree75f7517469afd3d6f48a3c54c9377a7bebeb5693 /lib/router.php
parentc04987018cd6c845c6da7a92d9857d8c651f7022 (diff)
Add a parameter named 'inreplyto' to the 'notice/new' page, so urls can inclue 'inreplyto' id's. Also add 'inreplyto' to the urls sent in emails.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 00e728f55..0505c9942 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -175,6 +175,10 @@ class Router
$m->connect('notice/new?replyto=:replyto',
array('action' => 'newnotice'),
array('replyto' => '[A-Za-z0-9_-]+'));
+ $m->connect('notice/new?replyto=:replyto&inreplyto=:inreplyto',
+ array('action' => 'newnotice'),
+ array('replyto' => '[A-Za-z0-9_-]+'),
+ array('inreplyto' => '[0-9]+'));
$m->connect('notice/:notice/file',
array('action' => 'file'),