[%#
- $Id: html-incblocks.txt,v 1.1 2010-12-27 00:04:03 ivan Exp $
+ $Id: html-incblocks.txt,v 1.4 2010-12-29 03:12:19 ivan Exp $
All BLOCK statements are defined here
%]
[% BLOCK htmlstart;
IF ! contentClass; contentClass="Content"; END %]
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<HTML>
-<!-- Torrus Copyright (c) 2003-2004 Stanislav Sinyagin -->
-<HEAD>
+
+[% freesideHeader(title, style('stylesheet')) %]
+
<SCRIPT language="JavaScript">
<!--
function helpwindow()
}
//-->
</SCRIPT>
-<TITLE>[% title %]</TITLE>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
-[% IF expires %]<META HTTP-EQUIV="Refresh" CONTENT="[% expires %]"/>[% END %]
-<STYLE type="text/css" media="all">
- @import url( [% plainURL _ style('stylesheet') %] );
- [% cssoverlay = style('cssoverlay'); IF cssoverlay; %]
- @import url( [% cssoverlay %] );
- [% END %]
-</STYLE>
-</HEAD>
-<BODY>
-
-<DIV CLASS="Header">
-
-<SPAN CLASS="CompanyInfo">
-<A TITLE="company info"
-HREF="[%companyURL%]">[% IF companyLogo %]<IMG SRC="[%companyLogo%]"
-ALT=[%companyName%] STYLE="border:0">[% ELSE; companyName; END %]</A>
-</SPAN>
-[% IF siteInfo %]
-<SPAN CLASS="SiteInfo">
-[% siteInfo %]
-</SPAN>
-[% END %]
-
-[% IF treeName and treeInfo %]
-<SPAN CLASS="TreeInfo">
-[% treeInfo %]
-</SPAN>
-[% END %]
-
-[% IF userAuth and uid;
- commonname = userAttr('cn');
- IF commonname == ''; commonname = uid; END; %]
-<DIV CLASS="LoginInfo">
-<SPAN CLASS="UserName">[% commonname %]</SPAN>
-<SPAN CLASS="Logout"><A HREF="[% topURL _ '?LOGOUT=1' %]">Logout</A></SPAN>
-</DIV>
-[% END %]
-</DIV>
<DIV CLASS="CurrentTime">[% timestamp %]</DIV>
[% IF printpath %]
<DIV CLASS="PathMenu">
title="Permanent link to this page"%]
[% INCLUDE shortcut url=url('SS') text="Tokensets"
title="List of non-empty tokensets"%]
-[% INCLUDE shortcut url=url(token,view,'MEDIA','printer','OVS',ovs)
- text="Printable view"
- title="Prepare this page for printing"
- newwindow=1%]
+[%# INCLUDE shortcut url=url(token,view,'MEDIA','printer','OVS',ovs)
+ # text="Printable view"
+ # title="Prepare this page for printing"
+ # newwindow=1%]
[% IF mayDisplayReports();
INCLUDE shortcut url=reportsUrl
text="Reports"
[% BLOCK htmlend %]
[% IF ! global.contentFinished %]</DIV><!-- Content -->[% END %]
-<DIV CLASS="Footer">
- Powered by <A HREF="http://torrus.org">Torrus</A> [% version %]
-</DIV>
-</BODY>
-</HTML>
+[% freesideFooter %]
[% END %]
[%# ######## Print the RRD graph image ####### %]