Commit 8e929239 authored by sylvieg's avatar sylvieg

oops there is a tiki_p_admin_banners

parent ee0c395a
......@@ -4,7 +4,7 @@
{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}To use a banner in a <a class="rbox-link" href="tiki-admin_modules.php">module</a> or a template, use {literal}{banner zone=ABC}{/literal}, where ABC is the name of the zone.{/tr}{/remarksbox}
{if $tiki_p_admin eq 'y'}
{if $tiki_p_admin_banners eq 'y'}
<div class="navbar">
{button href="tiki-edit_banner.php" _text="{tr}Create banner{/tr}"}
</div>
......
......@@ -57,7 +57,7 @@ if (isset($_REQUEST["find"])) {
}
$smarty->assign('find', $find);
// Get a list of last changes to the Wiki database
if ($tiki_p_admin == 'y') {
if ($tiki_p_admin_banners == 'y') {
$who = 'admin';
} else {
$who = $user;
......
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