1<?php 2/** 3 * DokuWiki Parabola Template 4 * Based on the starter template and a wordpress theme of the same name 5 * 6 * @link http://dokuwiki.org/template:parabola 7 * @author desbest <afaninthehouse@gmail.com> 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 defer type="text/javascript" src="<?php echo tpl_basedir();?>/runmobilemenu.js"></script> 29</head> 30 31<body id="dokuwiki__top" wpclass="post-template-default single single-post postid-9 single-format-standard logged-in admin-bar parabola-image-four caption-light meta-light parabola_triagles parabola-menu-left customize-support" class=" <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 32 33 34 35<?php //cryout_body_hook(); ?> 36 37<div id="wrapper" class="hfeed"> 38 39<?php ////cryout_wrapper_hook(); ?> 40<!-- parabola_slefts_socials // parabola_srights_socials --> 41 42 43<div id="header-full"> 44 45<?php tpl_includeFile('header.html') ?> 46<header id="header"> 47 48<?php //cryout_masthead_hook(); ?> 49<!-- parabola_top_menu --> 50 51 <div id="masthead"> 52 53 <div id="branding" role="banner"> 54 55 <ul class="a11y skip"> 56 <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li> 57 </ul> 58 59 <?php //cryout_branding_hook();?> 60 <!-- parabola_title_and_description #header-container --> 61 <div id="header-container"><div> 62 <div id="site-title"><span><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></span></div> 63 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 64 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 65 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 66 <?php if ($conf['tagline']): ?> 67 <div id="site-description"><?php echo $conf['tagline'] ?></div> 68 <?php endif ?> 69 </div> 70 71 <!-- <div class="socials" id="sheader"> 72 <a target="_blank" rel="nofollow" href="#" class="socialicons social-YouTube" title="YouTube"><img alt="YouTube" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/YouTube.png"><div class="socials-hover"></div></a> 73 <a target="_blank" rel="nofollow" href="#" class="socialicons social-Twitter" title="Twitter"><img alt="Twitter" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/Twitter.png"><div class="socials-hover"></div></a> 74 <a target="_blank" rel="nofollow" href="#" class="socialicons social-RSS" title="RSS"><img alt="RSS" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/RSS.png"><div class="socials-hover"></div></a> 75 </div> --> 76 </div> 77 78 <?php //cryout_header_widgets_hook(); ?> 79 <!-- parabola_header_widget --> 80 <!-- <div id="header-widget-area"> 81 <ul class="yoyo"> 82 <li id="meta-4" class="widget-container widget_meta"><h3 class="widget-title">Meta</h3> 83 <ul> 84 <li><a href="http://localhost/wordpress/wp-admin/">Site Admin</a></li> 85 <li><a href="http://localhost/wordpress/wp-login.php?action=logout&_wpnonce=31916fb65c">Log out</a></li> 86 <li><a href="#">Entries feed</a></li> 87 <li><a href="#">Comments feed</a></li> 88 <li><a href="#">WordPress.org</a></li> 89 </ul> 90 </li> 91 </ul> 92 </div> --> 93 <div style="clear:both;"></div> 94 95 </div><!-- #branding --> 96 <a id="nav-toggle"><span> </span></a> 97 <nav id="access" role="navigation"> 98 99 <?php //cryout_access_hook();?> 100 <!-- parabola_main_menu --> 101 <div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div> 102 <div class="menu"><ul id="prime_nav" class="menu"> 103 <!-- SITE TOOLS --> 104 <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3> 105 <?php tpl_toolsevent('sitetools', array( 106 'recent' => tpl_action('recent', 1, 'li', 1), 107 'media' => tpl_action('media', 1, 'li', 1), 108 'index' => tpl_action('index', 1, 'li', 1), 109 )); ?> 110 </ul></div> 111 112 </nav><!-- #access --> 113 114 </div><!-- #masthead --> 115 116 <div style="clear:both;height:1px;width:1px;"> </div> 117 118</header><!-- #header --> 119</div><!-- #header-full --> 120<div id="main"> 121 <div id="forbottom" > 122 <?php //cryout_forbottom_hook(); ?> 123 <!-- parabola_top_menu --> 124 125 <div style="clear:both;"> </div> 126 127 <?php //cryout_breadcrumbs_hook();?> 128 <!-- parabola_breadcrumbs --> 129 130<div style="clear:both;"></div> 131 132 133 134<section id="container" class="two-columns-right" wpclass="<?php //echo parabola_get_layout_class(); ?>"> 135<div id="content" role="main"> 136 <?php //cryout_before_content_hook(); ?> 137 138 <!-- <div <?php //post_class(); ?>> 139 <h1 class="entry-title"><?php //the_title(); ?></h1> 140 <?php //cryout_post_title_hook(); ?> 141 <div class="entry-meta"> 142 <?php //parabola_meta_before(); cryout_post_meta_hook(); ?> 143 </div> --><!-- .entry-meta --> 144 145 <?php html_msgarea() /* occasional error and info messages on top of the page */ ?> 146 147 <!-- BREADCRUMBS --> 148 <?php if($conf['breadcrumbs']){ ?> 149 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 150 <?php } ?> 151 <?php if($conf['youarehere']){ ?> 152 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 153 <?php } ?> 154 155 <div class="entry-content"> 156 <!-- ********** CONTENT ********** --> 157 <div id="dokuwiki__content"> 158 <?php tpl_flush() /* flush the output buffer */ ?> 159 <?php tpl_includeFile('pageheader.html') ?> 160 161 <div class="page"> 162 <!-- wikipage start --> 163 <?php tpl_content() /* the main content */ ?> 164 <!-- wikipage stop --> 165 <div class="clearer"></div> 166 </div> 167 168 <?php tpl_flush() ?> 169 <?php tpl_includeFile('pagefooter.html') ?> 170 </div><!-- /content --> 171 <?php //the_content(); ?> 172 <?php //wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'parabola' ), 'after' => '</span></div>' ) ); ?> 173 </div><!-- .entry-content --> 174 175 <!-- <div id="entry-author-info"> 176 <div id="author-avatar"> 177 <?php //echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'parabola_author_bio_avatar_size', 60 ) ); ?> 178 </div><!-- #author-avatar --> 179 <!-- 180 <div id="author-description"> 181 <h4>About this author</h4> 182 <?php //the_author_meta( 'description' ); ?> 183 <div id="author-link"> 184 <a href="<?php //echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"> 185 <?php //printf( 'View all posts by this author'.'<span class="meta-nav">→</span>' ); ?> 186 </a> 187 </div><!-- #author-link --> 188 <!-- 189 </div><!-- #author-description --> 190 <!-- </div --><!-- #entry-author-info --> 191 192 <!-- <div class="entry-utility"> 193 <?php //parabola_posted_in(); ?> 194 <?php //edit_post_link( __( 'Edit', 'parabola' ), '<span class="edit-link">', '</span>' ); cryout_post_footer_hook(); ?> 195 </div><!-- .entry-utility --> 196 <!-- </div><!-- #post-## --> 197 198 <!-- <div id="nav-below" class="navigation"> 199 <div class="nav-previous"><?php //previous_post_link( '%link', '<span class="meta-nav">«</span> %title' ); ?></div> 200 <div class="nav-next"><?php //next_post_link( '%link', '%title <span class="meta-nav">»</span>' ); ?></div> 201 </div> --><!-- #nav-below --> 202 203 <?php //comments_template( '', true ); ?> 204 205 206 <?php //cryout_after_content_hook(); ?> 207</div><!-- #content --> 208 209<?php //parabola_get_sidebar(); ?> 210 211<div id="secondary" class="widget-area sidey" role="complementary"> 212 213 <div id="search-10" class="widget-container widget_search"> 214 <!-- <form role="search" method="get" class="searchform" action="http://localhost/wordpress/"> 215 <label> 216 <span class="screen-reader-text">Search for:</span> 217 <input type="search" class="s" placeholder="SEARCH" value="" name="s"> 218 </label> 219 <button type="submit" class="searchsubmit"><span class="screen-reader-text">Search</span></button> 220 </form> --> 221 <h3 class="widget-title">Search</h3> 222 <?php tpl_searchform() ?> 223 </div> 224 225 <div id="anotherone" class="widget-container"> 226 <!-- <h3 class="widget-title">xxx</h3> --> 227 <!-- ********** ASIDE ********** --> 228 <?php if ($showSidebar): ?> 229 <div id="writtensidebar"> 230 <?php tpl_includeFile('sidebarheader.html') ?> 231 <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?> 232 <?php tpl_includeFile('sidebarfooter.html') ?> 233 <div class="clearer"></div> 234 </div><!-- /aside --> 235 <?php endif; ?> 236 </div> 237 238 <ul class="xoxo"> 239 240 <?php if ($showTools): ?> 241 <li class="widget-container"><h3 class="widget-title">Page Tools</h3> 242 <!-- PAGE ACTIONS --> 243 <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3> 244 <ul> 245 <?php tpl_toolsevent('pagetools', array( 246 'edit' => tpl_action('edit', 1, 'li', 1), 247 'discussion'=> _tpl_action('discussion', 1, 'li', 1), 248 'revisions' => tpl_action('revisions', 1, 'li', 1), 249 'backlink' => tpl_action('backlink', 1, 'li', 1), 250 'subscribe' => tpl_action('subscribe', 1, 'li', 1), 251 'revert' => tpl_action('revert', 1, 'li', 1), 252 'top' => tpl_action('top', 1, 'li', 1), 253 )); ?> 254 </ul> 255 </li> 256 <?php endif; ?> 257 <?php if ($conf['useacl'] && $showTools): ?> 258 <li class="widget-container"> <h3 class="widget-title">User Tools</h3> 259 <ul> 260 <!-- USER TOOLS --> 261 <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3> 262 <?php 263 if (!empty($_SERVER['REMOTE_USER'])) { 264 echo '<li class="user">'; 265 tpl_userinfo(); /* 'Logged in as ...' */ 266 echo '</li>'; 267 } 268 ?> 269 <?php /* the optional second parameter of tpl_action() switches between a link and a button, 270 e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */ 271 ?> 272 <?php tpl_toolsevent('usertools', array( 273 'admin' => tpl_action('admin', 1, 'li', 1), 274 'userpage' => _tpl_action('userpage', 1, 'li', 1), 275 'profile' => tpl_action('profile', 1, 'li', 1), 276 'register' => tpl_action('register', 1, 'li', 1), 277 'login' => tpl_action('login', 1, 'li', 1), 278 )); ?> 279 </ul> 280 </li> 281 <?php endif ?> 282</ul> 283 284</div> 285 286</section><!-- #container --> 287 288 <!-- <footer id="footer" role="contentinfo"> 289 <div id="colophon"> 290 291 <?php //get_sidebar( 'footer' );?> 292 293 </div><!-- #colophon --> 294 <!-- 295 <div id="footer2"> 296 <div id="footer2-inner"> 297 <?php //cryout_footer_hook(); ?> 298 <!-- parabola_footer_socials // parabola_site_info // parabola_copyright --> 299 <!-- 300 </div> 301 </div><!-- #footer2 --> 302 303 <!-- </footer> --><!-- #footer --> 304 305 </div> <!-- #forbottom --> 306 </div><!-- #main --> 307 308 <footer id="footer" role="contentinfo"> 309 <div id="colophon"></div><!-- #colophon --> 310 311 <div id="footer2"> 312 <div id="footer2-inner"> 313 <nav class="footermenu"><ul id="menu-social-media-links" class="menu"> 314 <li class="menu-item"><a href="#">Link 1</a></li> 315 <li class="menu-item"><a href="#">Link 2</a></li> 316 <li class="menu-item"><a href="#">Link 3</a></li> 317 <li class="menu-item"><a href="#">Link 4</a></li> 318 </ul></nav> 319 320 <div id="site-copyright"> 321 <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div> 322 <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> 323 <!-- This text can be changed from the Miscellaneous section of the settings page. <br> 324 <b>Lorem ipsum</b> dolor sit amet, <a href="#">consectetur adipiscing</a> elit, cras ut imperdiet augue. --> 325 </div> 326 <div style="text-align:center;padding:5px 0 2px;text-transform:uppercase;font-size:12px;margin:1em auto 0;"> 327 Powered by <a target="_blank" href="#" title="Parabola Theme by Cryout Creations">Parabola</a> 328 & 329 <a target="_blank" href="#" title="Converted to Dokuwiki by desbest">desbest</a> 330 & 331 <a target="_blank" href="#" title="Flat file wiki script"> Dokuwiki</a> 332 . 333 </div><!-- #site-info --> 334 335 <!-- <div class="socials" id="sfooter"> 336 <a target="_blank" rel="nofollow" href="#" class="socialicons social-YouTube" title="YouTube"><img alt="YouTube" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/YouTube.png"><div class="socials-hover"></div></a> 337 <a target="_blank" rel="nofollow" href="#" class="socialicons social-Twitter" title="Twitter"><img alt="Twitter" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/Twitter.png"><div class="socials-hover"></div></a> 338 <a target="_blank" rel="nofollow" href="#" class="socialicons social-RSS" title="RSS"><img alt="RSS" src="http://localhost/wordpress/wp-content/themes/parabola/images/socials/RSS.png"><div class="socials-hover"></div></a> 339 </div> --> 340 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 341 </div><!-- #footer2 --> 342 343 </footer> 344 <?php tpl_includeFile('footer.html') ?> 345 346</div><!-- #wrapper --> 347 348 349<!-- end of parabola --> 350 351 352 <?php /* with these Conditional Comments you can better address IE issues in CSS files, 353 precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?> 354 <!--[if lte IE 8 ]><div id="IE8"><![endif]--> 355 356 <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?> 357 <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least 358 should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?> 359 360 361</body> 362</html> 363