mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 04:07:59 +02:00
Site Url without trailing slashes
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
$_parent = (trim($page['parent']) == '') ? '' : $page['parent'];
|
$_parent = (trim($page['parent']) == '') ? '' : $page['parent'];
|
||||||
$parent = (trim($page['parent']) == '') ? '' : $page['parent'].'/';
|
$parent = (trim($page['parent']) == '') ? '' : $page['parent'].'/';
|
||||||
echo (trim($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));
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td class="hidden-phone">
|
<td class="hidden-phone">
|
||||||
@@ -116,5 +116,5 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input type="hidden" name="url" value="<?php echo Option::get('siteurl'); ?>admin/index.php?id=pages">
|
<input type="hidden" name="url" value="<?php echo Option::get('siteurl'); ?>/admin/index.php?id=pages">
|
||||||
</form>
|
</form>
|
||||||
|
Reference in New Issue
Block a user