![]() |
VWcms | Site Template |
• Site Template • Site Map |
This file is named _SITE.HTML and contains standard HTML and VWcms directives delimited by double-quotes. The HTML is output directly and is used to format the composition of each page. The substitution directives (e.g. $$CONTENT$$) insert other HTML (etc.) at that point in the output. This template applies it's structure and format to all pages provided by the site. Here is the template file used by the Veedub (this) site: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>$$DRAFT$$$$TITLE$$</title>
$$! this '/_TEST' just exercises the URI substitution code in TemplateUri() !$$
<link rel="stylesheet" href="/_TEST/_vwcms.css" type="text/css" />
<link rel="stylesheet" href="/_veedub/_stylesheet.css" type="text/css" />
<head>
<body onload="if(window.VWcmsOnLoad)VWcmsOnLoad()">
<p><a name="TOP" id="TOP">
<table style="width: 100%; white-space: nowrap;" class="veedub_site">
<tbody>
<tr>
<td><img src="/_veedub/veedub.gif" alt="" /></td>
<td style="vertical-align: middle; font-size: 200%; letter-spacing: 0pt; padding-left: 0.5em; padding-right: 1em;">VWcms</td>
<td style="vertical-align: middle;" class="veedub_title">$$TITLE$$</td>
<td style="vertical-align: bottom; text-align: right; width: 70%;">$$SEARCH$$</td>
<td style="width: 20%;"> </td>
</tr>
</tbody>
</table>
<table class="veedub_main">
<tbody>
<tr>
<td class="veedub_left"><nobr>$$TOC$•  $$</nobr>
<p style="margin-top: 1em;">$$PRINT$$$$PRINT$1$+$$ ($$PRINT$9$Site$$)</p>
<p style="margin-top: 1em;">$$LOGIN$Login$Logout$$$$USER$  <font size="-1">($)</font>$$<br />
$$MANAGE$Manage Site$View Site$$</p>
</td>
<td class="veedub_middle">
<div class="veedub_content">$$CONTENT$$</div>
<table class="veedub_footer">
<tbody>
<tr>
<td style="text-align: left;">$$PREV$$</td>
<td style="text-align: center;">$$TOP$$</td>
<td style="text-align: right;">$$NEXT$$</td>
</tr>
<tr>
<td style="text-align: left;" colspan="3">$$ADVISE$NOTE: $$</td>
</tr>
<tr>
<td style="width: 100%; white-space: nowrap; text-align: right;" colspan="3"><b>As at:</b> $$TIME$$   <b>Updated:</b> $$LASTMOD$$ ($$AGO$$)</td>
</tr>
</tbody>
</table>
</td>
<td class="veedub_right"> </td>
</tr>
</tbody>
</table>
</a></p>
</body>
</html>
Note a variety of substitution directives used throughout: $$DRAFT$$ $$TITLE$$ $$TOC$$ $$PRINT$$ $$SEARCH$$ $$LOGIN$$ These are described in the next section.
|
||||||||||