aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 14:28:35 -0700
committerfriendica <info@friendica.com>2013-08-01 14:28:35 -0700
commit85b6be5b00a4a012bf9a2db8d72e70a225fac8a3 (patch)
tree9ccc936c7cce5f47a3df1ade4404693187ac207c /mod/webpages.php
parent85c7d7165fadd2a569fafda824e4ac83af36ea12 (diff)
parent7d00f61ceb6dc04329a703987682ab49d71a2531 (diff)
downloadvolse-hubzilla-85b6be5b00a4a012bf9a2db8d72e70a225fac8a3.tar.gz
volse-hubzilla-85b6be5b00a4a012bf9a2db8d72e70a225fac8a3.tar.bz2
volse-hubzilla-85b6be5b00a4a012bf9a2db8d72e70a225fac8a3.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php6
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'),