Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7782b1ac
Commit
7782b1ac
authored
Aug 05, 2005
by
Steven Wittens
Browse files
-
#27844
: Simplify pushbutton link generation.
parent
8660655a
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/pushbutton/page.tpl.php
View file @
7782b1ac
...
...
@@ -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
)
:
?>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment