2012-08-14, 07:17 AM
Hi all,
playcentreforums.co.nz/forum
A while ago, I removed the search, memberlist, calendar, and help menu items from the header; I removed this code:
Now, I want those menu items back; the default way. Should be simple...
I tried to put the same code back to get those menu items back; and when I click "submit" in the template editor, I get "A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.", and it's not letting me do it.
Why? What am I doing wrong? I'm overlooking something, but can't see what it is.
Any advice greatly appreciated!
THANKS!
Matt
This is the complete code that I was trying to use:
playcentreforums.co.nz/forum
A while ago, I removed the search, memberlist, calendar, and help menu items from the header; I removed this code:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang- >toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
Now, I want those menu items back; the default way. Should be simple...
I tried to put the same code back to get those menu items back; and when I click "submit" in the template editor, I get "A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.", and it's not letting me do it.
Why? What am I doing wrong? I'm overlooking something, but can't see what it is.
Any advice greatly appreciated!
THANKS!
Matt
This is the complete code that I was trying to use:
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb- >settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb- >settings['bbname']}" title="{$mybb- >settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a href="{$mybb- >settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang- >toplinks_search}</a></li>
<li><a href="{$mybb- >settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang- >toplinks_memberlist}</a></li>
<li><a href="{$mybb- >settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang- >toplinks_calendar}</a></li>
<li><a href="{$mybb- >settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang- >toplinks_help}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
</div>