| 1 |
<?php /* $Id: page.tpl.php,v 1.3 2006/08/17 09:36:47 goba Exp $ */ ?>
|
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| 3 |
"http://http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 4 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
|
| 5 |
<head>
|
| 6 |
<title><?php print $head_title ?></title>
|
| 7 |
<?php print $head ?>
|
| 8 |
<?php print $styles ?>
|
| 9 |
<?php print $scripts ?>
|
| 10 |
<style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
|
| 11 |
<meta name="revisit-after" content="1 days" />
|
| 12 |
<meta name="robots" content="no-follow" />
|
| 13 |
<!--[if IE]>
|
| 14 |
<style type="text/css" media="screen">
|
| 15 |
/* Give IE some :hover lovin' '*/
|
| 16 |
body {
|
| 17 |
behavior: url("<?php print base_path() . path_to_theme() ?>/scripts/csshover.htc");
|
| 18 |
}
|
| 19 |
/* IE min-width trick */
|
| 20 |
div#wrapper {
|
| 21 |
width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 720 ? "720px" : "auto");
|
| 22 |
}
|
| 23 |
* {
|
| 24 |
zoom: 1; /* IE peekaboo fix */
|
| 25 |
}
|
| 26 |
.outer, .main-content {
|
| 27 |
word-wrap: break-word;
|
| 28 |
}
|
| 29 |
</style>
|
| 30 |
<![endif]-->
|
| 31 |
<script src="<?php print base_path() . path_to_theme() ?>/scripts/pngfix.js" type="text/javascript"></script>
|
| 32 |
<script src="<?php print base_path() . path_to_theme() ?>/scripts/utility.js" type="text/javascript"></script>
|
| 33 |
<script src="<?php print base_path() . path_to_theme() ?>/scripts/toggle.js" type="text/javascript"></script>
|
| 34 |
</head>
|
| 35 |
<body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?><?php print theme("onload_attribute"); ?>>
|
| 36 |
<div class="hide skiplink">
|
| 37 |
<?php print l(t('Skip to the main content'), $_GET['q'],array('title' =>'Skip directly to the main content'), NULL, 'body_content', FALSE) ."\n" ?>
|
| 38 |
</div>
|
| 39 |
|
| 40 |
<div id="admin-header">
|
| 41 |
<h1 id="site-name">
|
| 42 |
<?php print $site?>
|
| 43 |
<span>
|
| 44 |
<a href="<?php print url('') ?>">View site »</a>
|
| 45 |
</span>
|
| 46 |
</h1>
|
| 47 |
<div id="admin-help">
|
| 48 |
<ul>
|
| 49 |
<li><a href="http://drupal.org/handbook" title="Drupal handbook">Drupal Handbook</a></li>
|
| 50 |
|
| 51 |
<?php
|
| 52 |
$help_loc = check_plain(arg(1));
|
| 53 |
$help_link = "?q=admin/help";
|
| 54 |
if ($help_loc) {
|
| 55 |
if ($help_loc == "settings" && check_plain(arg(2))) {
|
| 56 |
$help_loc = check_plain(arg(2));
|
| 57 |
$help_print = ucfirst($help_loc) .' Help';
|
| 58 |
$help_loc = '/'. $help_loc;
|
| 59 |
}
|
| 60 |
elseif ($help_loc == "help") {
|
| 61 |
$help_loc = "";
|
| 62 |
$help_print = "Help Index";
|
| 63 |
}
|
| 64 |
elseif ($help_loc == "themes") {
|
| 65 |
$help_loc = "";
|
| 66 |
$help_link = "http://civicspacelabs.org/home/CivicSpaceTheme";
|
| 67 |
$help_print = "CivicSpace Theme Help";
|
| 68 |
}
|
| 69 |
else {
|
| 70 |
$help_print = ucfirst($help_loc) .' Help';
|
| 71 |
$help_loc = '/'. $help_loc;
|
| 72 |
}
|
| 73 |
} else {
|
| 74 |
$help_print = "Admin Help";
|
| 75 |
}
|
| 76 |
?>
|
| 77 |
<li><strong><a href="<?php print $help_link . $help_loc; ?>"><?php print
|
| 78 |
$help_print; ?></a></strong></li>
|
| 79 |
|
| 80 |
|
| 81 |
<li class="last"><a href="?q=logout">Logoff</a></li>
|
| 82 |
</ul>
|
| 83 |
</div>
|
| 84 |
<div class="clearing"></div>
|
| 85 |
</div>
|
| 86 |
|
| 87 |
<!-- END: HEADER
|
| 88 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||| -->
|
| 89 |
|
| 90 |
|
| 91 |
<!-- BEGIN: Content top -->
|
| 92 |
<hr class="hide" />
|
| 93 |
<div id="wrapper">
|
| 94 |
<div class="outer" id="content-holder">
|
| 95 |
<div class="float-wrap">
|
| 96 |
<div class="center" id="div_column_center">
|
| 97 |
<div id="content">
|
| 98 |
<div class="main-content" id="main">
|
| 99 |
<a name="body_content" id="body_content"></a>
|
| 100 |
<!-- END: Content top -->
|
| 101 |
|
| 102 |
<div class="breadcrumb-container no-print">
|
| 103 |
You are here: <?php print $breadcrumb ?>
|
| 104 |
</div>
|
| 105 |
|
| 106 |
<?php if ($title != ""): ?>
|
| 107 |
<h1 class="page-title <?php if ($tabs != "") { print 'page-title-withtabs'; } ?>"><?php print $title ?></h1>
|
| 108 |
<?php endif; ?>
|
| 109 |
|
| 110 |
<?php if ($mission != ""): ?>
|
| 111 |
<div id="mission">
|
| 112 |
<img src="<?php print $directory ?>/images/bg_mission.png" class="alignright no-print" alt="Flag decoration" />
|
| 113 |
<div class="content">
|
| 114 |
<?php print $mission ?>
|
| 115 |
</div>
|
| 116 |
</div>
|
| 117 |
<?php endif; ?>
|
| 118 |
|
| 119 |
<?php if (($messages != "") or ($help != "")): ?>
|
| 120 |
<div class="messages">
|
| 121 |
|
| 122 |
<?php if ($help != ""): ?>
|
| 123 |
<div class="help-toggle no-print" id="toggle-help-show" style="display: none;">
|
| 124 |
<a href="javascript:void(0);" onclick="toggleShow('help');toggleShow('toggle-help-hide');toggleHide('toggle-help-show');" class="toggle-link"><img src="<?php print $directory; ?>/images/icon_collapsed.png" alt="Collapse" /> Show help</a>
|
| 125 |
</div>
|
| 126 |
<div class="help-toggle" id="toggle-help-hide" style="display: none;">
|
| 127 |
<a href="javascript:void(0);" onclick="toggleHide('help');toggleHide('toggle-help-hide');toggleShow('toggle-help-show');" class="toggle-link"><img src="<?php print $directory; ?>/images/icon_expanded.png" alt="Expand" /> Hide help</a>
|
| 128 |
</div>
|
| 129 |
<div id="help">
|
| 130 |
<img src="<?php print $directory ?>/images/icon_help.png" alt="Help icon" class="icon-help" />
|
| 131 |
<div class="content">
|
| 132 |
<?php print $help ?>
|
| 133 |
</div>
|
| 134 |
</div>
|
| 135 |
<script type="text/javascript"><!--
|
| 136 |
toggleHide('help'); toggleShow('toggle-help-show');
|
| 137 |
//--></script>
|
| 138 |
<?php endif; ?>
|
| 139 |
|
| 140 |
<?php if ($messages != ""): ?>
|
| 141 |
<?php print $messages ?>
|
| 142 |
<?php endif; ?>
|
| 143 |
|
| 144 |
</div>
|
| 145 |
<?php endif; ?>
|
| 146 |
|
| 147 |
<?php if ($tabs != "" && !(arg(0) == 'node' && is_numeric(arg(1)) && is_null(arg(2)))): ?>
|
| 148 |
<div id="local-tasks" class="no-print">
|
| 149 |
<?php print $tabs ?>
|
| 150 |
</div>
|
| 151 |
<?php endif; ?>
|
| 152 |
|
| 153 |
<?php print($content); ?><div class="clearing"></div>
|
| 154 |
|
| 155 |
<!-- BEGIN: Content middle -->
|
| 156 |
</div>
|
| 157 |
</div> <!-- end content div -->
|
| 158 |
</div> <!-- end centered div -->
|
| 159 |
<!-- END: Content middle -->
|
| 160 |
|
| 161 |
|
| 162 |
<?php if ($sidebar_left != '') { ?>
|
| 163 |
<!-- begin left sidebar content -->
|
| 164 |
<div class="page-left sidebar" id="div_column_left">
|
| 165 |
<div class="container-left">
|
| 166 |
|
| 167 |
<?php
|
| 168 |
print(admin_word_split($sidebar_left));
|
| 169 |
print(admin_word_split($sidebar_right));
|
| 170 |
?>
|
| 171 |
|
| 172 |
</div> <!-- end container-left div -->
|
| 173 |
</div> <!-- end left div -->
|
| 174 |
<div class="clearing"></div>
|
| 175 |
<?php } ?>
|
| 176 |
|
| 177 |
</div> <!-- end float-wrap div -->
|
| 178 |
<!-- end left sidebar content -->
|
| 179 |
|
| 180 |
<!-- BEGIN: Content bottom -->
|
| 181 |
<div class="clearing"></div>
|
| 182 |
</div> <!-- end outer div -->
|
| 183 |
</div>
|
| 184 |
<!-- END: Content bottom -->
|
| 185 |
|
| 186 |
|
| 187 |
<div class="clearing"></div>
|
| 188 |
|
| 189 |
<?php print $closure ?>
|
| 190 |
|
| 191 |
</body>
|
| 192 |
|
| 193 |
</html>
|