Mercurial > defr > drupal > core
comparison themes/pushbutton/page.tpl.php @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children | 589fb7c02327 |
comparison
equal
deleted
inserted
replaced
0:5a113a1c4740 | 1:c1f4ac30525a |
---|---|
1 <?php | |
2 // $Id: page.tpl.php,v 1.25 2008/01/24 09:42:53 goba Exp $ | |
3 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> | |
5 <head> | |
6 <title><?php print $head_title ?></title> | |
7 <meta http-equiv="Content-Style-Type" content="text/css" /> | |
8 <?php print $head ?> | |
9 <?php print $styles ?> | |
10 <?php print $scripts ?> | |
11 </head> | |
12 | |
13 <body bgcolor="#ffffff"> | |
14 | |
15 <div class="hide"><a href="#content" title="<?php print t('Skip navigation') ?>." accesskey="2"><?php print t('Skip navigation') ?></a>.</div> | |
16 | |
17 <table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%"> | |
18 <tr> | |
19 <td id="home" width="10%"> | |
20 <?php if ($logo) : ?> | |
21 <a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" border="0" /></a> | |
22 <?php endif; ?> | |
23 </td> | |
24 | |
25 <td id="site-info" width="20%"> | |
26 <?php if ($site_name) : ?> | |
27 <div class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print($site_name) ?></a></div> | |
28 <?php endif;?> | |
29 <?php if ($site_slogan) : ?> | |
30 <div class='site-slogan'><?php print($site_slogan) ?></div> | |
31 <?php endif;?> | |
32 </td> | |
33 <td class="primary-links" width="70%" align="center" valign="middle"> | |
34 <?php print theme('links', $primary_links, array('class' => 'links', 'id' => 'navlist')) ?> | |
35 </td> | |
36 </tr> | |
37 </table> | |
38 | |
39 <table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%"> | |
40 <tr> | |
41 <td class="secondary-links" width="75%" align="center" valign="middle"> | |
42 <?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnavlist')) ?> | |
43 </td> | |
44 <td width="25%" align="center" valign="middle"> | |
45 <?php print $search_box ?> | |
46 </td> | |
47 </tr> | |
48 <tr> | |
49 <td colspan="2"><div><?php print $header ?></div></td> | |
50 </tr> | |
51 </table> | |
52 | |
53 <table id="content" border="0" cellpadding="15" cellspacing="0" width="100%"> | |
54 <tr> | |
55 <?php if ($left != ""): ?> | |
56 <td id="sidebar-left"> | |
57 <?php print $left ?> | |
58 </td> | |
59 <?php endif; ?> | |
60 | |
61 <td valign="top"> | |
62 <?php if ($mission != ""): ?> | |
63 <div id="mission"><?php print $mission ?></div> | |
64 <?php endif; ?> | |
65 | |
66 <div id="main"> | |
67 <?php if ($title != ""): ?> | |
68 <?php print $breadcrumb ?> | |
69 <h1 class="title"><?php print $title ?></h1> | |
70 | |
71 <?php if ($tabs != ""): ?> | |
72 <div class="tabs"><?php print $tabs ?></div> | |
73 <?php endif; ?> | |
74 | |
75 <?php endif; ?> | |
76 | |
77 <?php if ($show_messages && $messages != ""): ?> | |
78 <?php print $messages ?> | |
79 <?php endif; ?> | |
80 | |
81 <?php if ($help != ""): ?> | |
82 <div id="help"><?php print $help ?></div> | |
83 <?php endif; ?> | |
84 | |
85 <!-- start main content --> | |
86 <?php print $content; ?> | |
87 <?php print $feed_icons; ?> | |
88 <!-- end main content --> | |
89 | |
90 </div><!-- main --> | |
91 </td> | |
92 <?php if ($right != ""): ?> | |
93 <td id="sidebar-right"> | |
94 <?php print $right ?> | |
95 </td> | |
96 <?php endif; ?> | |
97 </tr> | |
98 </table> | |
99 | |
100 <table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%"> | |
101 <tr> | |
102 <td align="center" valign="middle"> | |
103 <?php if (isset($primary_links)) : ?> | |
104 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?> | |
105 <?php endif; ?> | |
106 <?php if (isset($secondary_links)) : ?> | |
107 <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?> | |
108 <?php endif; ?> | |
109 </td> | |
110 </tr> | |
111 </table> | |
112 | |
113 <?php if ($footer_message || $footer) : ?> | |
114 <div id="footer-message"> | |
115 <p><?php print $footer_message . $footer;?></p> | |
116 </div> | |
117 <?php endif; ?> | |
118 <?php print $closure;?> | |
119 </body> | |
120 </html> |