summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 00:34:32 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 00:34:32 +0000
commit7782b1aca727ff73bff3dacd9eb4f1cb260d0ead (patch)
tree8a65f53984fb2257e0f9dbd5de8035601ed88075 /themes
parent8660655a9ab684ce8ba64415f59c175078e6fdc1 (diff)
downloadbrdo-7782b1aca727ff73bff3dacd9eb4f1cb260d0ead.tar.gz
brdo-7782b1aca727ff73bff3dacd9eb4f1cb260d0ead.tar.bz2
- #27844: Simplify pushbutton link generation.
Diffstat (limited to 'themes')
-rw-r--r--themes/pushbutton/page.tpl.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php
index 1e1262054..dc3c6c9a5 100644
--- a/themes/pushbutton/page.tpl.php
+++ b/themes/pushbutton/page.tpl.php
@@ -34,11 +34,7 @@
</td>
<td class="primary-links" width="70%" align="center" valign="middle">
- <?php if (is_array($primary_links)) : ?>
- <?php foreach ($primary_links as $link): ?>
- <?php print $link?> |
- <?php endforeach; ?>
- <?php endif; ?>
+ <?php print theme('links', $primary_links) ?>
</td>
</tr>
</table>
@@ -46,11 +42,7 @@
<table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="secondary-links" width="75%" align="center" valign="middle">
- <?php if (is_array($secondary_links)) : ?>
- <?php foreach ($secondary_links as $link): ?>
- <?php print $link?> |
- <?php endforeach; ?>
- <?php endif; ?>
+ <?php print theme('links', $secondary_links) ?>
</td>
<td width="25%" align="center" valign="middle">
<?php if ($search_box): ?>