Commit b1db565a authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

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

parents 026a3542 39711222
......@@ -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