From e42de1ccc12351ac301ed97ef3f7c9d46b41f688 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 17 Sep 2008 14:02:44 -0400 Subject: fancy urls for show message, new message darcs-hash:20080917180244-5ed1f-06e2ac2d8f094eacd12b316794b0599b57d76596.gz --- lib/util.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/util.php b/lib/util.php index ac2f9af36..2fdcb37e3 100644 --- a/lib/util.php +++ b/lib/util.php @@ -934,6 +934,10 @@ function common_fancy_url($action, $args=NULL) { } else { return common_path($args['nickname'].'/favorites'); } + case 'showmessage': + return common_path('message/' . $args['id']); + case 'newmessage': + return common_path('message/new' . (($args) ? ('?' . http_build_query($args)) : '')); default: return common_simple_url($action, $args); } -- cgit v1.2.3-54-g00ecf