summaryrefslogtreecommitdiff
path: root/lib/tpl/default/main.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2013-09-01 20:24:53 +0100
committerAnika Henke <anika@selfthinker.org>2013-09-01 20:28:48 +0100
commit5fdb3847c799fe15ec53e1b13ce618fe31ca4b9b (patch)
tree4e8f378e2293a2539cee4b28d695755ab43c1e50 /lib/tpl/default/main.php
parent1cd50822d16ece185890f196f866723a66ea3f68 (diff)
downloadrpg-5fdb3847c799fe15ec53e1b13ce618fe31ca4b9b.tar.gz
rpg-5fdb3847c799fe15ec53e1b13ce618fe31ca4b9b.tar.bz2
Removed old default template
The old 'default' template was deprecated with the release of the new 'dokuwiki' template (2012-10-13). It is still available in a separate repository here: https://github.com/dokufreaks/template-default But no-one in the core development team intends to maintain this template anymore. So, anyone willing to adopt it is welcome to clone it and make it your own.
Diffstat (limited to 'lib/tpl/default/main.php')
-rw-r--r--lib/tpl/default/main.php135
1 files changed, 0 insertions, 135 deletions
diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php
deleted file mode 100644
index 851afde6c..000000000
--- a/lib/tpl/default/main.php
+++ /dev/null
@@ -1,135 +0,0 @@
-<?php
-/**
- * DokuWiki Default Template
- *
- * This is the template you need to change for the overall look
- * of DokuWiki.
- *
- * @link http://dokuwiki.org/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/xhtml1/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>
- <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()?>
- <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
-
- <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
-</head>
-
-<body>
-<?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'].'"')?>]]
- </div>
- <div class="logo">
- <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
- </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()?>&#160;
- </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 tpl_flush()?>
-
- <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
-
- <div class="page">
- <!-- wikipage start -->
- <?php tpl_content()?>
- <!-- wikipage stop -->
- </div>
-
- <div class="clearer"></div>
-
- <?php tpl_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')?>
- <?php tpl_button('revert')?>
- </div>
- <div class="bar-right" id="bar__bottomright">
- <?php tpl_button('subscribe')?>
- <?php tpl_button('media')?>
- <?php tpl_button('admin')?>
- <?php tpl_button('profile')?>
- <?php tpl_button('login')?>
- <?php tpl_button('index')?>
- <?php tpl_button('top')?>&#160;
- </div>
- <div class="clearer"></div>
- </div>
-
- </div>
-
- <?php tpl_license(false);?>
-
-</div>
-<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
-
-<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
-</body>
-</html>