diff options
author | zottel <github@zottel.net> | 2016-08-01 14:07:18 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2016-08-01 14:07:18 +0200 |
commit | 55eda16b61041cf5d3aa941f3b2b4329246b1028 (patch) | |
tree | 175b6395415767523f1046ee42d654efaf1dac8a /Zotlabs/Module/Impel.php | |
parent | b5ea20ac863ebdbc4cc0bad6b7ca9876df336e8f (diff) | |
parent | 3d0c90cbc5b756c6d54c4d41a136c0a38e67b013 (diff) | |
download | volse-hubzilla-55eda16b61041cf5d3aa941f3b2b4329246b1028.tar.gz volse-hubzilla-55eda16b61041cf5d3aa941f3b2b4329246b1028.tar.bz2 volse-hubzilla-55eda16b61041cf5d3aa941f3b2b4329246b1028.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'Zotlabs/Module/Impel.php')
-rw-r--r-- | Zotlabs/Module/Impel.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Impel.php b/Zotlabs/Module/Impel.php index 735c311d0..c1bf45a77 100644 --- a/Zotlabs/Module/Impel.php +++ b/Zotlabs/Module/Impel.php @@ -88,7 +88,11 @@ class Impel extends \Zotlabs\Web\Controller { foreach($j['items'] as $it) { $mitem = array(); + $mitem['mitem_link'] = str_replace('[channelurl]',z_root() . '/channel/' . $channel['channel_address'],$it['link']); + $mitem['mitem_link'] = str_replace('[pageurl]',z_root() . '/page/' . $channel['channel_address'],$it['link']); + $mitem['mitem_link'] = str_replace('[storeurl]',z_root() . '/store/' . $channel['channel_address'],$it['link']); $mitem['mitem_link'] = str_replace('[baseurl]',z_root(),$it['link']); + $mitem['mitem_desc'] = escape_tags($it['desc']); $mitem['mitem_order'] = intval($it['order']); if(is_array($it['flags'])) { |