Пример #1
0
?>
">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php 
tpl_pagetitle();
?>
 [<?php 
echo strip_tags($conf['title']);
?>
]</title>
    <?php 
tpl_metaheaders();
?>
    <link rel="shortcut icon" href="<?php 
echo _tpl_getFavicon();
?>
" />
    <?php 
_tpl_include('meta.html');
?>
</head>

<body>
    <?php 
/* with these Conditional Comments you can better address IE issues in CSS files,
   precede CSS rules by #IE6 for IE6, #IE7 for IE7 and #IE8 for IE8 (div closes at the bottom) */
?>
    <!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->

    <?php 
 * @author Clemens Lang (port to DokuWiki) <*****@*****.**>
 */

if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */

$showTools = !tpl_getConf('hideTools') || (tpl_getConf('hideTools') && $_SERVER['REMOTE_USER']);
$logged_in = $_SERVER['REMOTE_USER'];

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $conf['lang']; ?>" xml:lang="<?php print $conf['lang']; ?>">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php tpl_pagetitle() ?> | <?php echo strip_tags($conf['title']) ?></title>
	<?php tpl_metaheaders() ?>
	<link rel="shortcut icon" href="<?php echo _tpl_getFavicon() /* DW versions > 2010-11-12 can use the core function tpl_getFavicon() */ ?>" />
	<?php _tpl_include('meta.html') ?>
</head>

<body id="dokuwiki__site" class="mode_<?php echo $ACT; ?> <?php print(($logged_in ? 'not' : '') . 'logged-in'); ?> front page-node no-sidebars layout-main sidebars-both-last font-size-14 grid-type-fluid grid-width-16 fluid-90">
	<?php html_msgarea() // occasional error and info messages on top of the page ?>
	<?php /* classes mode_<action> are added to make it possible to e.g. style a page differently if it's in edit mode,
		see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>
	<?php /* .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
	<div id="page" class="page">
		<div id="page-inner" class="page-inner">
			<div id="skip" class="a11y">
				<a href="#dokuwiki__content"><?php echo tpl_getLang('skip_to_content'); ?></a></li>
			</div>

			<?php if (!$logged_in): ?>