From aa3d785b97cc6d1a825cade3d32885c90dad572e Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 4 Jan 2014 23:52:28 +0200 Subject: [PATCH] Site Url without trailing slashes --- plugins/box/pages/views/backend/index.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/box/pages/views/backend/index.view.php b/plugins/box/pages/views/backend/index.view.php index 4147750..bec2c93 100755 --- a/plugins/box/pages/views/backend/index.view.php +++ b/plugins/box/pages/views/backend/index.view.php @@ -59,7 +59,7 @@ $_parent = (trim($page['parent']) == '') ? '' : $page['parent']; $parent = (trim($page['parent']) == '') ? '' : $page['parent'].'/'; echo (trim($page['parent']) == '') ? '' : ' '; - echo $dash.Html::anchor(Html::toText($page['title']), $site_url.$parent.$page['slug'], array('target' => '_blank', 'rel' => 'children_'.$_parent)); + echo $dash.Html::anchor(Html::toText($page['title']), $site_url.'/'.$parent.$page['slug'], array('target' => '_blank', 'rel' => 'children_'.$_parent)); ?> @@ -116,5 +116,5 @@
- +