diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-22 17:07:34 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-22 17:07:34 -0700 |
commit | 7ae0317b6a2bed323492ef987ddbaaf4f2a1a9b9 (patch) | |
tree | b2ae029df8de67f1df3426c8e370f30287ab5988 /Zotlabs/Module/Webpages.php | |
parent | 1c8c7479b85dfc66b63b622acaa48d0e2dd5b86d (diff) | |
download | volse-hubzilla-7ae0317b6a2bed323492ef987ddbaaf4f2a1a9b9.tar.gz volse-hubzilla-7ae0317b6a2bed323492ef987ddbaaf4f2a1a9b9.tar.bz2 volse-hubzilla-7ae0317b6a2bed323492ef987ddbaaf4f2a1a9b9.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']), |