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
132517a8
Commit
132517a8
authored
Nov 04, 2005
by
Dries
Browse files
- Patch
#22215
by Richard Archer: theme system improvements for the primary links menu.
parent
1c4cc972
Changes
2
Hide whitespace changes
Inline
Side-by-side
themes/bluemarine/page.tpl.php
View file @
132517a8
...
...
@@ -18,8 +18,8 @@
<?php
if
(
$site_slogan
)
{
?>
<div
class=
'site-slogan'
>
<?php
print
$site_slogan
?>
</div>
<?php
}
?>
</td>
<td
id=
"menu"
>
<?php
if
(
$secondary_links
)
{
?>
<div
id=
"secondary"
>
<?php
print
theme
(
'
menu_
links'
,
$secondary_links
)
?>
</div>
<?php
}
?>
<?php
if
(
$primary_links
)
{
?>
<div
id=
"primary"
>
<?php
print
theme
(
'
menu_
links'
,
$primary_links
)
?>
</div>
<?php
}
?>
<?php
if
(
$secondary_links
)
{
?>
<div
id=
"secondary"
>
<?php
print
theme
(
'links'
,
$secondary_links
)
?>
</div>
<?php
}
?>
<?php
if
(
$primary_links
)
{
?>
<div
id=
"primary"
>
<?php
print
theme
(
'links'
,
$primary_links
)
?>
</div>
<?php
}
?>
<?php
print
$search_box
?>
</td>
</tr>
...
...
themes/pushbutton/page.tpl.php
View file @
132517a8
...
...
@@ -34,7 +34,7 @@
</td>
<td
class=
"primary-links"
width=
"70%"
align=
"center"
valign=
"middle"
>
<?php
print
theme
(
'
menu_
links'
,
$primary_links
)
?>
<?php
print
theme
(
'links'
,
$primary_links
)
?>
</td>
</tr>
</table>
...
...
@@ -42,7 +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
print
theme
(
'
menu_
links'
,
$secondary_links
)
?>
<?php
print
theme
(
'links'
,
$secondary_links
)
?>
</td>
<td
width=
"25%"
align=
"center"
valign=
"middle"
>
<?php
print
$search_box
?>
...
...
@@ -104,12 +104,12 @@
<td
align=
"center"
valign=
"middle"
>
<?php
if
(
is_array
(
$primary_links
))
:
?>
<div
class=
"primary-links"
>
<?php
print
theme
(
'
menu_
links'
,
$primary_links
)
?>
<?php
print
theme
(
'links'
,
$primary_links
)
?>
</div>
<?php
endif
;
?>
<?php
if
(
is_array
(
$secondary_links
))
:
?>
<div
class=
"secondary-links"
>
<?php
print
theme
(
'
menu_
links'
,
$secondary_links
)
?>
<?php
print
theme
(
'links'
,
$secondary_links
)
?>
</div>
<?php
endif
;
?>
</td>
...
...
Write
Preview
Markdown
is supported
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