Commit 39711222 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Show page hit counter when using normal footer (bug #860152)



Change-Id: I5e440374e952fbda50a79ff4141683b63b628c3c
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 026a3542
......@@ -231,7 +231,6 @@ if (get_config('viewmicroheaders')) {
$smarty->assign('microheadertitle', $collection ? hsc($collection->get('name')) : $view->display_title(true, false));
if ($can_edit) {
$smarty->assign('visitstring', $view->visit_message());
if ($new) {
$microheaderlinks = array(
array(
......@@ -255,6 +254,7 @@ if (get_config('viewmicroheaders')) {
}
else if ($can_edit) {
$smarty->assign('visitstring', $view->visit_message());
$smarty->assign('editurl', get_config('wwwroot') . 'view/blocks.php?id=' . $viewid . ($new ? '&new=1' : ''));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment