From f45efcab780cefaaa5a677684ac1fc444632a3de Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 12 Jul 2013 23:01:55 +0100 Subject: Small amount of work on webpages. --- mod/webpages.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/webpages.php b/mod/webpages.php index 1e9efa544..0567f1b32 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -65,8 +65,11 @@ $r = q("select * from item_id where uid = %d and service = 'WEBPAGE'", // This isn't pretty, but it works. Until I figure out what to do with the UI, it's Good Enough(TM). return $o . replace_macros(get_markup_template("webpagelist.tpl"), array( - '$editlink' => t('Edit'), - '$pages' => $pages, + '$editlink' => t('Edit'), + '$pages' => $pages, + '$channel' => $a->profile['channel_address'], + '$view' => t('View'), + )); -- cgit v1.2.3