inserting text into secondary link bar

sean porter - July 2, 2009 - 22:19
Project:Marinelli
Version:6.x-2.95
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there, I'm trying to add a small piece of text to the secondary links bar in the Marinelli theme. the page.tpl.php appropriate code looks like this currently:

<?php if (($secondary_links)) : ?>
      <?php print '<div id="submenu">' ?>
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
          <?php print '</div><div class="stopfloat"></div>' ?>
        <?php endif; ?>

I thought I could do something as easy as:

<?php if (($secondary_links)) : ?>
      <?php print '<div id="submenu">' ?>
          <?php print t('Quicklinks >') . theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
        <?php endif; ?>

but it renders the 'Quicklinks' text above the link items as in the image attached.

is there another way to do this and get the 'Quicklinks' in line with the menu items?

Thank you in advance!

AttachmentSize
Picture 1.png124.06 KB
 
 

Drupal is a registered trademark of Dries Buytaert.