diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-22 17:07:34 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-05-23 21:50:38 +0200 |
commit | 647b5d098f0985a12acbaf6fc1d3d89c2a758129 (patch) | |
tree | 540b743616669d12c407ef912209e5b2dafb436b /Zotlabs/Module/Webpages.php | |
parent | 3a9e5f0f98d28959ecc73539a56c66ec2ff10016 (diff) | |
download | volse-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.php | 4 |
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']), |