aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Webpages.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-22 17:07:34 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-23 21:50:38 +0200
commit647b5d098f0985a12acbaf6fc1d3d89c2a758129 (patch)
tree540b743616669d12c407ef912209e5b2dafb436b /Zotlabs/Module/Webpages.php
parent3a9e5f0f98d28959ecc73539a56c66ec2ff10016 (diff)
downloadvolse-hubzilla-647b5d098f0985a12acbaf6fc1d3d89c2a758129.tar.gz
volse-hubzilla-647b5d098f0985a12acbaf6fc1d3d89c2a758129.tar.bz2
volse-hubzilla-647b5d098f0985a12acbaf6fc1d3d89c2a758129.zip
apporder style improvement and add to nav menu, also add language awareness to webpages
Diffstat (limited to 'Zotlabs/Module/Webpages.php')
-rw-r--r--Zotlabs/Module/Webpages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index effe92614..be697ba2c 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -218,13 +218,13 @@ class Webpages extends \Zotlabs\Web\Controller {
'created' => $rr['created'],
'edited' => $rr['edited'],
'mimetype' => $rr['mimetype'],
- 'pagetitle' => $rr['v'],
+ 'pagetitle' => str_replace('%2f','/',$rr['v']),
'mid' => $rr['mid'],
'layout_mid' => $rr['layout_mid']
);
$pages[$rr['iid']][] = array(
'url' => $rr['iid'],
- 'pagetitle' => $rr['v'],
+ 'pagetitle' => str_replace('%2f','/',$rr['v']),
'title' => $rr['title'],
'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']),
'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited']),