/[scire]/scire/.smarty/templates/header.tpl
Gentoo

Contents of /scire/.smarty/templates/header.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99 - (show annotations) (download) (as text)
Wed Jun 14 01:52:27 2006 UTC (12 years, 3 months ago) by codeman
File MIME type: application/vnd.groove-tool-template
File size: 7029 byte(s)
 various updates around the board.  mainly focusing on client and user
 pages.  some DB updates and asthetic changes.
 preparing for user sessions


1 {assign var="baseurl" value=$baseurl|default:"/"}
2 {assign var="leftbar" value=$leftbar|default:"off"}
3 {assign var="title" value=$title|default:""}
4 {assign var="subtitle" value=$subtitle|default:""}
5 {assign var="desc" value=$desc|default:""}
6 <?xml version="1.0" encoding="ISO-8859-1"?>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
9 <head>
10 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
11 <title>Scire{if ($title ne "")} - {$title}{if ($subtitle ne "")} - {$subtitle}{/if}{/if}</title>
12 <link rel="icon" href="{$baseurl}favicon.ico" type="image/x-icon" />
13 <link rel="shortcut icon" href="{$baseurl}favicon.ico" type="image/x-icon" />
14 <style type="text/css">
15 {literal} <!--
16 html {
17 margin: 0px;
18 }
19 body {
20 margin: 0px;
21 font-family: Bitstream Vera Sans, Helvetica, Sans;
22 font-size: 10pt;
23 }
24 form {
25 margin: 0px;
26 padding: 0px;
27 }
28 p {
29 margin: 5px;
30 }
31 h1 {
32 margin: 5px;
33 margin-bottom: 0px;
34 font-size: 1.2em;
35 font-weight: bold;
36 }
37 h2 {
38 margin: 5px;
39 font-size: 1.1em;
40 font-weight: normal;
41 }
42 #topbar {
43 border-top: 1px solid #000000;
44 }
45 #topbar table tr td a {
46 text-decoration: none;
47 }
48 #topbar table tr td a:hover {
49 color: #ffffff;
50 text-decoration: underline;
51 }
52 #leftbar {
53 background-color: #ffffff;
54 border-top: 1px solid #000000;
55 }
56 #header {
57 border-top: 1px solid #000000;
58 }
59 #content {
60 padding: 7px 5px 5px;
61 }
62 #menu,#submenu {
63 width: 150px;
64 margin: 0px;
65 margin-bottom: 10px;
66 padding: 0px;
67 border-right: 1px solid #ffffff;
68 list-style: none;
69 }
70 #menu li {
71 width: 150px;
72 border-bottom: 1px solid #ffffff;
73 }
74 #submenu li {
75 width: 140px;
76 margin-left: 10px;
77 border-bottom: 1px solid #ffffff;
78 }
79 a.menuitem {
80 display: block;
81 position: relative;
82 margin: 0px;
83 padding: 1px;
84 padding-left: 4px;
85 background-color: #a6afc2;
86 color: #000000;
87 text-decoration: none;
88 }
89 a.menuitem:hover {
90 color: #ffffff;
91 }
92 .box {
93 border: 1px solid #000000;
94 font-size: 0.8em;
95 }
96 .box td {
97 border: none;
98 }
99 td.boxtitle {
100 padding: 5px;
101 border-top: 1px solid #d1ddf5;
102 border-right: 1px solid #7a818f;
103 border-bottom: 1px solid #7a818f;
104 border-left: 1px solid #d1ddf5;
105 background-color: #a5acba;
106 font-size: 1.2em;
107 font-weight: bold;
108 }
109 .table {
110 border: none;
111 border-spacing: 5px;
112 }
113 .table th {
114 padding: 2px 5px 0px;
115 border: none;
116 text-align: left;
117 }
118 .table td {
119 padding: 5px 5px 0px;
120 border: none;
121 border-top: 1px dotted #7a818f;
122 }
123 .optiongroup td {
124 padding-top: 5px;
125 border: none;
126 }
127 .optiongroup td:first-child {
128 padding-left: 5px;
129 }
130 .optiongroup td:last-child {
131 padding-right: 5px;
132 }
133 .optiongroup tr:last-child td {
134 padding-bottom: 5px;
135 }
136 -->{/literal}
137 </style>
138 {if isset($head)}{$head}{/if}
139 </head>
140 <body link="#000000" alink="#ffffff">
141 <table width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
142 <tr>
143 <td colspan="2">
144 <table width="100%" border="0" cellspacing="0" cellpadding="10">
145 <tr>
146 <td width="80">
147 <a href="{$baseurl}index.php"><img src="{$baseurl}images/scire.png" alt="Scire" border="0" width="80" height="80" /></a>
148 </td>
149 <td align="right" valign="top">
150 <form id="search" name="search" method="post" action="{$baseurl}search.php">
151 <label for="s">Search:</label>
152 <input type="text" id="s" name="s" size="16" />
153 <input type="submit" name="g" value="go" />
154 </form>
155 </td>
156 </tr>
157 </table>
158 </td>
159 </tr>
160 <tr>
161 <td id="topbar" colspan="2" height="22" bgcolor="#494949">
162 <table width="100%" border="0" cellspacing="0" cellpadding="0">
163 <tr>
164 <td><font color="#ffffff">&nbsp;{section name=topbar_left loop=$topbar_left}<a href="{$baseurl}{$topbar_left[topbar_left].link}"><font color="#ffffff">{$topbar_left[topbar_left].name}</font></a>{if !$smarty.section.topbar_left.last} | {/if}{/section}</font></td>
165 <td align="right"><font color="#ffffff">{if isset($username)}<a href="{$baseurl}login.php?logout=True"><font color="#ffffff">Logout [{$username}]</font></a> | {/if}{section name=topbar_right loop=$topbar_right}<a href="{$baseurl}{$topbar_right[topbar_right].link}"><font color="#ffffff">{$topbar_right[topbar_right].name}</font></a>{if !$smarty.section.topbar_right.last} | {/if}{/section}&nbsp;</font></td>
166 </tr>
167 </table>
168 </td>
169 </tr>
170 <tr>
171 {if $leftbar eq "on"}
172 <td id="leftbar" valign="top" bgcolor="#a6afc2">
173 {if isset($leftbar_menu)}
174 <ul id="menu">
175 {section name=leftbar_menu loop=$leftbar_menu}
176 <li><a class="menuitem" href="{$baseurl}{$leftbar_menu[leftbar_menu].link}">{$leftbar_menu[leftbar_menu].name}</a></li>
177 {/section}
178 </ul>
179 {/if}
180 {if isset($leftbar_submenu)}
181 <p></p>
182 <ul id="submenu">
183 {if isset($leftbar_submenu_title) && $leftbar_submenu_title ne ""}
184 <li>{$leftbar_submenu_title}</li>
185 {/if}
186 {section name=leftbar_submenu loop=$leftbar_submenu}
187 <li><a class="menuitem" href="{$baseurl}{$leftbar_submenu[leftbar_submenu].link}">{$leftbar_submenu[leftbar_submenu].name}</a></li>
188 {/section}
189 </ul>
190 {/if}
191 </td>
192 {/if}
193 <td width="100%" valign="top">
194 <table width="100%" border="0" cellspacing="0" cellpadding="0">
195 <tr>
196 <td id="header" bgcolor="#d8d4e2">
197 <table width="100%" border="0" cellspacing="0" cellpadding="0">
198 <tr>
199 <td>
200 {if $title ne ""} <h1>{$title}{if $subtitle ne ""} - {$subtitle}{/if}</h1>{/if}
201 {if $desc ne ""} <h2>{$desc}</h2>{/if}
202 </td>
203 <td align="right" valign="top">
204 {if isset($status)} <p>{$status}</p>{/if}
205 </td>
206 </tr>
207 </table>
208 </td>
209 </tr>
210 <tr>
211 <td id="content" height="100%" valign="top" bgcolor="#ffffff">
212 <!-- begin content -->

  ViewVC Help
Powered by ViewVC 1.1.20