/[drupal]/contributions/themes/friendselectric/page.tpl.php
ViewVC logotype

Contents of /contributions/themes/friendselectric/page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download) (as text)
Sat Mar 28 22:50:40 2009 UTC (8 months ago) by skiquel
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.9: +21 -20 lines
File MIME type: text/x-php
Syncing latest friendsforever (deprecated) with friendselectric
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
4 <head>
5 <title><?php print $head_title ?></title>
6 <meta http-equiv="Content-Style-Type" content="text/css" />
7 <?php print $head ?>
8 <?php print $styles ?>
9 <?php print $scripts ?>
10 </head>
11 <body>
12 <div class="bw1"><div class="bw2"><div id="body-wrap">
13
14 <div id="header"><div class="hw1"><div class="hw2">
15 <?php if ($logo) { ?>
16 <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>" class="pngfix"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" id="site-logo" /></a>
17 <?php }
18 elseif ($site_name) { ?>
19 <h1 id="site-name" class="<?php print $site_slogan ? 'with-slogan' : 'without-slogan'; ?>"><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1>
20 <?php }
21 if ($site_slogan): ?>
22 <span id="site-slogan"><?php print $site_slogan; ?></span>
23 <?php endif; ?>
24 <?php print $search_box ?>
25
26 <div id="top-nav">
27 <?php $primary_links = phptemplate_menu_primary_links($primary_links); ?>
28 <?php if (isset($primary_links)): ?>
29 <ul id="primary">
30 <?php foreach ($primary_links as $link): ?>
31 <li><?php print friendselectric_wrap_links($link, 2); ?></li>
32 <?php endforeach; ?>
33 </ul>
34 <?php endif; ?>
35
36 <?php if (isset($secondary_links)): ?>
37 <ul id="secondary">
38 <?php foreach (array_reverse($secondary_links) as $link): ?>
39 <li><?php print friendselectric_wrap_links($link, 2); ?></li>
40 <?php endforeach; ?>
41 </ul>
42 <?php endif; ?>
43 </div>
44
45 </div></div></div>
46
47 <div id="content" class="content-<?php print $layout; ?>"><div class="cw1"><div class="cw2"><div class="cw3"><div class="cw4"><div class="cw5"><div class="cw6"><div class="cw7"><div class="cw8">
48 <div id="content-wrap" class="content-wrap-<?php print $layout; ?>">
49 <?php if ($left != ""): ?>
50 <div class="sidebar" id="sidebar-left">
51 <?php
52 // Mark first block title
53 list($a, $b) = explode('<h2>', $left, 2);
54 print $a . '<h2 class="first">' . $b;
55 ?>
56 </div>
57 <?php endif; ?>
58 <div id="main" class="main-<?php print $layout; ?>"><div id="main-wrap" class="main-wrap-<?php print $layout; ?>"><div class="mw1">
59 <?php print $header ?>
60
61 <?php if ($mission != ""): ?>
62 <div id="mission"><div class="sw1"><div class="sw2"><div class="sw3"><?php print $mission; ?></div></div></div></div>
63 <?php endif; ?>
64
65 <?php print $breadcrumb ?>
66
67 <?php if ($title): ?>
68 <h2 class="main-title"><?php print $title; ?></h2>
69 <?php endif; ?>
70
71 <?php if ($tabs): ?>
72 <?php print $tabs; ?>
73 <?php endif; ?>
74
75 <?php if ($help): ?>
76 <p id="help"><?php print $help; ?></p>
77 <?php endif; ?>
78
79 <?php if ($messages): ?>
80 <div id="message"><?php print $messages; ?></div>
81 <?php endif; ?>
82
83 <?php print friendselectric_wrap_content($content) ?>
84
85 <?php if ($footer_message): ?>
86 <div id="footer" class="footer-<?php print $layout; ?>"><p><?php print $footer_message; ?></p></div>
87 <?php endif; ?>
88 </div></div>
89 </div>
90 </div>
91 <?php if ($right): ?>
92 <div class="sidebar" id="sidebar-right">
93 <?php
94 // Mark first block title
95 list($a, $b) = explode('<h2>', $right, 2);
96 print $a . '<h2 class="first">' . $b;
97 ?>
98 </div>
99 <?php endif; ?>
100 <span class="clear"></span>
101 </div></div></div></div></div></div></div></div></div>
102
103 <?php print $closure;?>
104 </div></div></div><div id="end" class="end-<?php print $layout; ?>"><div class="ew1"><div class="ew2 pngfix"></div></div></div></body>
105 </html>

  ViewVC Help
Powered by ViewVC 1.1.2