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

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

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


Revision 1.7 - (show annotations) (download) (as text)
Sun Apr 13 22:34:33 2008 UTC (19 months, 2 weeks ago) by danielskeenan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +23 -17 lines
File MIME type: text/x-php
Made Actions heading translatable, changed color of marker to red
1 <?php // $Id: $ ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
6 <?php echo $head; ?>
7 <?php echo $styles; ?>
8 <?php echo $scripts; ?>
9 <title><?php echo $head_title; ?></title>
10 </head>
11
12 <body>
13 <div id="wrap">
14 <div id="header">
15 <?php
16 if ($site_name) {
17 echo '<h1><a href="' . $base_path . '">' . check_plain($site_name) . '</a></h1>';
18 }
19
20 if ($site_slogan) {
21 echo '<p><strong>' . check_plain($site_slogan) . '</strong></p>';
22 }
23 ?>
24 </div>
25
26 <!-- Primary Links -->
27 <?php
28 if (isset($primary_links)) {
29 $plinksloc = theme_get_setting('andreas00_primary_links_display_loc');
30 if ($plinksloc == 'tabs') {
31 // Pseudo-tabs
32 echo theme('links', $primary_links, array('class' => 'links primary-links avmenu'));
33 }
34 else if ($plinksloc == 'left') {
35 // Menu thingie on the left side
36 echo '<div id="leftside">' . theme('links', $primary_links, array('class' => 'links primary-links avmenu')) . '</div>';
37 }
38 else if ($plinksloc == 'right') {
39 // Menu thingie on the right side
40 echo '<div id="extras">' . theme('links', $primary_links, array('class' => 'links primary-links avmenu')) . '</div>';
41 }
42 }
43 ?>
44
45 <!-- Left Sidebar -->
46 <?php
47 if ($left) {
48 echo '<div id="leftside">';
49 echo $left;
50 echo '</div>';
51 }
52 ?>
53
54 <!-- Right Sidebar -->
55 <?php
56 if ($tabs) {
57 echo '<div id="extras">';
58 echo theme('menu_local_tasks');
59 echo '</div>';
60 }
61 ?>
62
63 <?php
64 if ($right) {
65 echo '<div id="extras">';
66 echo $right;
67 echo '</div>';
68 }
69 ?>
70
71 <?php
72 if (!$right && $plinksloc != 'right' && !$tabs) {
73 echo '<div id="contentwide">';
74 }
75 else if ($right || $plinksloc == 'right' || $tabs) {
76 echo '<div id="content">';
77 }
78 ?>
79 <h2><a href="#"><?php echo $title; ?></a></h2>
80 <?php echo $content; ?>
81 </div>
82
83 <div id="footer">
84 <?php echo $footer; ?>
85 <?php echo $footer_message; ?>
86 <p>Design by <a href="http://andreasviklund.com/">Andreas Viklund</a> | Drupal Port by <a href="http://dankeenan.org">dk</a>| <a href="http://www.xnavigation.net/" title="xNavigation gratis download - La risorsa italiana sul software">xNavigation</a></p>
87 </div>
88
89 </div>
90 <?php echo $closure; ?>
91 </body>
92 </html>

  ViewVC Help
Powered by ViewVC 1.1.2