Source

gd-websites / wiki / lib / tpl / libgd / main.php

Full commit
<?php
/**
 * LibGD's sexy DokuWiki design
 *
 * This is the template you need to change for the overall look
 * of DokuWiki.
 *
 * You should leave the doctype at the very top - It should
 * always be the very first line of a document.
 *
 * @link   http://wiki.splitbrain.org/wiki:tpl:templates
 * @author Andreas Gohr <andi@splitbrain.org>
 */

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
	<head>
		<title>
			LibGD Wiki - <?php tpl_pagetitle()?>
			[<?php echo strip_tags($conf['title'])?>]
		</title>

		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
		<?php tpl_metaheaders()?>

		<link rel="stylesheet" href="<?php echo DOKU_TPL; ?>libgd.css" type="text/css" media="all" />
		<link rel="stylesheet" href="<?php echo DOKU_TPL; ?>niftyCorners.css" type="text/css" media="all" />

		<!--[if IE]>
		<style type="text/css">
		div.dokuwiki input.button,
		div.dokuwiki button.button
		{
			padding:	0px;
		}
		</style>
		<![endif]-->

		<script type="text/javascript" src="<?php echo DOKU_TPL; ?>nifty.js"></script>
		<script type="text/javascript">
		<!--
		window.onload = function()
		{
			if(NiftyCheck())
			{
				Rounded("div#content", "all", "#564b47", "#ededed", "smooth");
			}
		}
		// -->
		</script>

		<?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
	</head>
	<body id="inner">
		<div id="header">
			<ul id="menu_inner">
				<li><a href="#">Home</a></li>
				<li><a href="#">Wiki</a></li>
				<li><a href="#">Forum</a></li>
				<li><a href="#">Contact</a></li>
			</ul>
		</div>
		<div id="content_container">
			<div id="content">
				<div id="content2">
		<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
<div class="dokuwiki">
  <?php html_msgarea()?>

  <div class="stylehead">

    <div class="header">
      <div class="pagename">
       <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'" style="color: #221E1F !important;"')?>
      </div>
      <div class="logo">
        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]" style="color: #221E1F !important;"')?>
      </div>

      <div class="clearer"></div>
    </div>

    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>

    <div class="bar" id="bar__top">
      <div class="bar-left" id="bar__topleft">
        <?php tpl_button('edit')?>
        <?php tpl_button('history')?>
      </div>

      <div class="bar-right" id="bar__topright">
        <?php tpl_button('recent')?>
        <?php tpl_searchform()?>&nbsp;
      </div>

      <div class="clearer"></div>
    </div>

    <?php if($conf['breadcrumbs']){?>
    <div class="breadcrumbs">
      <?php tpl_breadcrumbs()?>
      <?php //tpl_youarehere(); //(some people prefer this)?>
    </div>
    <?php }?>

    <?php if($conf['youarehere']){?>
    <div class="breadcrumbs">
      <?php tpl_youarehere() ?>
    </div>
    <?php }?>

  </div>
  <?php flush()?>

  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>

  <div class="page">
    <!-- wikipage start -->
    <?php tpl_content()?>
    <!-- wikipage stop -->
  </div>

  <div class="clearer">&nbsp;</div>

  <?php flush()?>

  <div class="stylefoot">

    <div class="meta">
      <div class="user">
        <?php tpl_userinfo()?>
      </div>
      <div class="doc">
        <?php tpl_pageinfo()?>
      </div>
    </div>

   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>

    <div class="bar" id="bar__bottom">
      <div class="bar-left" id="bar__bottomleft">
        <?php tpl_button('edit')?>
        <?php tpl_button('history')?>
      </div>
      <div class="bar-right" id="bar__bottomright">
        <?php tpl_button('subscription')?>
        <?php tpl_button('admin')?>
        <?php tpl_button('profile')?>
        <?php tpl_button('login')?>
        <?php tpl_button('index')?>
        <?php tpl_button('top')?>&nbsp;
      </div>
      <div class="clearer"></div>
    </div>

  </div>

</div>
					<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>

					<div class="no">
						<?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>