themes/printable/header.tpl
author Dan Fuhry <dan@enanocms.org>
Fri, 19 Nov 2010 02:47:10 -0500
changeset 1328 2a5845ef8c1d
parent 1227 bdac73ed481e
permissions -rw-r--r--
Some enhancements to the error handler. It replaces out ENANO_ROOT for security, and if the warning is from dbal.php and ENANO_DEBUG is set, prints out a much more verbose message.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>{PAGE_NAME} &bull; {SITE_NAME}</title>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="{CDNPATH}/includes/clientside/css/enano-shared.css" />
		<link id="mdgCss" rel="stylesheet" href="{CDNPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" type="text/css" />
		{ADDITIONAL_HEADERS}
		
		<style type="text/css" media="print">
		span.normallink {
			display: none;
		}
		</style>
	</head>
	<body>
		<div class="pad"><div class="contentDiv">
			<!-- BEGINNOT export -->
			<div style="float: right;">
				<span class="normallink"><a href="#" onclick="window.print(); return false;">print page</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{CONTENTPATH}{PAGE_URLNAME}{ADMIN_SID_AUTO}">view normal version</a></span>&nbsp;<image alt=" " src="{CDNPATH}/images/spacer.gif" id="ajaxloadicon" />
			</div>
			<!-- END export -->
			<h2>{PAGE_NAME}</h2>
				<div id="ajaxEditContainer">