Posted by alotronic on November 11, 2005 at 3:14pm
| Project: | Lincoln's Revenge |
| Version: | 4.5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Nice theme guys, thanks!
Small issue with the action tabs (for instance 'view' 'edit') not showing when you are logged in as, say , admin. I compared with another theme and found these lines:
<?php if ($tabs != ""): ?>
<?php print $tabs ?>
<?php endif; ?>Copied them into page.tpl.php and it works fine. The main-content section now looks like this:
<div class="main-content" id="main">
<?php if ($breadcrumb != ""): ?>
<div id="breadcrumbs">
<?php print $breadcrumb ?>
</div>
<?php endif; ?>
<?php if ($mission != ""): ?>
<div id="mission"><span><?php print $mission ?></span></div>
<?php endif; ?>
<?php if ($title != ""): ?>
<h1 id="title"><?php print $title ?></h1>
<?php endif; ?>
<?php if ($message != ""): ?>
<div id="message"><?php print $message ?></div>
<?php endif; ?>
<?php if ($tabs != ""): ?>
<?php print $tabs ?>
<?php endif; ?>
<?php if ($help != ""): ?>
<p id="help"><?php print $help ?></p>
<?php endif; ?>
<!-- start main content -->
<?php print($content) ?>
<!-- end main content -->
</div><!-- main -->