diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-03 00:18:14 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-08-03 00:18:14 +0200 |
commit | f09ac4e5972a77dfe73338ee207e40ec463355e9 (patch) | |
tree | 77232d70031622a162f4e00aec128961ecc7a764 /mod/webpages.php | |
parent | 9294f72adb3c076932558b6f29a4c570e7962764 (diff) | |
download | volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.gz volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.bz2 volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.zip |
Revert "Revert "merge""
This reverts commit 9294f72adb3c076932558b6f29a4c570e7962764.
Diffstat (limited to 'mod/webpages.php')
-rw-r--r-- | mod/webpages.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/webpages.php b/mod/webpages.php index cf6a99d1e..f2026ea0b 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -60,10 +60,12 @@ $r = q("select * from item_id where uid = %d and service = 'WEBPAGE'", } - +//Build the base URL for edit links + $url = z_root() . "/editwebpage/" . $a->profile['channel_address']; // 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'), + '$baseurl' => $url, + '$edit' => t('Edit'), '$pages' => $pages, '$channel' => $a->profile['channel_address'], '$view' => t('View'), |