1<?php
2/**
3 * Cutopillar Art For Water Template
4 * Based on the starter template
5 *
6 * @link     http://dokuwiki.org/template:starter
7 * @author   Anika Henke <anika@selfthinker.org>
8 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 */
10
11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
12@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
13header('X-UA-Compatible: IE=edge,chrome=1');
14
15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
16$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
17?><!DOCTYPE html>
18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
19  lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
20<head>
21    <meta charset="UTF-8" />
22    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
23    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
24    <?php tpl_metaheaders() ?>
25    <meta name="viewport" content="width=device-width,initial-scale=1" />
26    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
27    <?php tpl_includeFile('meta.html') ?>
28    <script type="text/javascript">
29        jQuery(window).load(function() { // web page has finished
30
31    function isMobile() {
32    var index = navigator.appVersion.indexOf("Mobile"); // detect chrome for android and ios safari
33    var index2 = navigator.appVersion.indexOf("Android"); // detect firefox for android
34    if (index2) { return (index2 > -1); }
35    return (index > -1);
36    }
37
38    usingmobile = isMobile();
39    if (usingmobile){
40        jQuery('input').filter(function(){
41        return !jQuery(this).attr('size');
42        }).attr('size',''); // change to a number if desired
43        jQuery('textarea').filter(function(){
44        return !jQuery(this).attr('size');
45        }).attr('cols',''); // change to a number if desired
46
47        jQuery("#edit__summary").attr('size', '');
48    }
49
50});
51
52</script>
53</head>
54
55<body>
56
57
58<div id="dokuwiki__top" class="offset site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
59        <div class="sidebar" id="topmenu">
60            <div class="widget-area aside">
61                <ul class="xoxo">
62                    <li class="widget-container widget_categories" id="categories-7">
63                        <!-- <h3 class="widget-title">Categories</h3> -->
64                            <div class="padhere" for="cat">&nbsp;<br></div>
65                            <?php
66                                echo (new \dokuwiki\Menu\MobileMenu())->getDropdown('Wiki Menu');
67                            ?>
68                    </li>
69                </ul>
70            </div>
71        </div>
72
73        <?php tpl_includeFile('header.html') ?>
74        <div class="header">
75            <h1 id="blog-title"><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
76                <?php /* how to insert logo instead (if no CSS image replacement technique is used):
77                        upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
78                        tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
79            <?php if ($conf['tagline']): ?>
80                    <p id="blog-description" class="claim"><?php echo $conf['tagline'] ?></p>
81            <?php endif ?>
82
83            <!-- BREADCRUMBS -->
84            <?php if($conf['breadcrumbs']){ ?>
85                <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
86            <?php } ?>
87            <?php if($conf['youarehere']){ ?>
88                <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
89            <?php } ?>
90
91             <ul class="a11y skip">
92                <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
93            </ul>
94        </div>
95        <div class="statrow flex">
96        <div class="statcol content sparewidth">
97
98        <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
99        <!-- <div class="content"> -->
100            <div class="posthere">
101                <!-- <h2 class="entry-title"><a href="=" rel="bookmark" title="Permalink to blog post">Blog post title</a></h2>
102                <div class="entry-meta">
103                    <!-- <span class="meta-prep meta-prep-author">Posted on</span> -->
104                    <!-- <a href="">August 11, 2012</a> by <a href="#">desbest</a>
105                </div> -->
106                <div class="readingcontent">
107
108                   <!-- ********** CONTENT ********** -->
109                    <div id="dokuwiki__content"><div class="pad">
110                        <?php tpl_flush() /* flush the output buffer */ ?>
111                        <?php tpl_includeFile('pageheader.html') ?>
112
113                        <div class="page">
114                            <!-- wikipage start -->
115                            <?php tpl_content() /* the main content */ ?>
116                            <!-- wikipage stop -->
117                            <div class="clearer"></div>
118                        </div>
119
120                        <?php tpl_flush() ?>
121                        <?php tpl_includeFile('pagefooter.html') ?>
122                    </div></div><!-- /content -->
123
124                    <!-- <p><a class="more-link" href="http://localhost/prowler2/2012/08/a-history-of-facebook-designs-part-3/#more-491">Continue reading &rarr;</a></p> -->
125                </div>
126                <!-- <ul class="xoxo">
127                    <li class="widget-container widget_text" id="text-5">
128                        <div class="textwidget"></div>
129                    </li>
130                </ul> -->
131                <!-- <div class="entry-utility">
132                    Posted in <a href="">Design</a> | <a href="">1 Comment</a>
133                </div> -->
134            </div>
135            <!-- <div class="padbelow">
136                <a href="#">&larr; Older posts</a>
137            </div> -->
138            <!-- <ul class="xoxo">
139                <li class="widget-container widget_text" id="text-7">
140                    <div class="textwidget"></div>
141                </li>
142            </ul> -->
143            <!--wp_footer-->
144        <!-- </div> -->
145        </div>
146
147
148            <!-- ********** ASIDE ********** -->
149            <?php if ($showSidebar): ?>
150          <div class="statcol">
151            <div class="realsidebar">
152                <div id="writtensidebar">
153                    <?php tpl_includeFile('sidebarheader.html') ?>
154                    <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
155                    <?php tpl_includeFile('sidebarfooter.html') ?>
156                    <div class="clearer"></div>
157                </div><!-- /aside -->
158                 <!-- <p>Here is the sidebar.<br><br></p> -->
159
160            </div>
161            </div>
162            <?php endif; ?>
163
164
165        </div>
166        </div> <!-- end statrow -->
167        <div class="statrow">
168        <div class="sidebar" style="width: 90%; margin-left: auto; margin-right: auto;">
169            <p>Cutopillar theme <a href="http://desbest.com">designed by desbest</a></p>
170            <div class="doc"><p><?php tpl_pageinfo() /* 'Last modified' etc */ ?></p></div>
171            <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
172            <?php tpl_includeFile('footer.html') ?>
173        </div>
174        <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
175    </div>
176
177
178
179    <?php /* with these Conditional Comments you can better address IE issues in CSS files,
180             precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
181    <!--[if lte IE 8 ]><div id="IE8"><![endif]-->
182
183    <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
184    <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
185             should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
186
187
188
189
190
191
192
193
194
195
196
197
198</body>
199</html>
200