1<?php 2/** 3 * M1 Sidebar One, farthest right sidebar and first one to display with media queries 4 */ 5 6// must be run from within DokuWiki 7if (!defined('DOKU_INC')) die(); 8?> 9 10 <div class="m1-sidebox m1-side-register"> 11 <ul> 12 <?php _tpl_toolsevent('usertools', array( 13 'admin' => tpl_action('admin', 1, 'li', 1), 14 'profile' => tpl_action('profile', 1, 'li', 1), 15 'register' => tpl_action('register', 1, 'li', 1), 16 'login' => tpl_action('login', 1, 'li', 1), 17 )); ?> 18 19 </ul> 20 </div> 21 22 <!--Uncomment this to include a wiki page in your sidebar 23 <div class="m1-sidebox"> 24 <h3>Sidebar Title</h3> 25 <?php tpl_include_page("wiki:somepage",1, 1); ?> 26 </div> 27 --> 28 29 <div class="m1-sidebox"> 30 <h3>Sidebar Title</h3> 31 <p>Content here...Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce augue augue, tristique a leo sit amet, laoreet malesuada purus. Etiam est dui, adipiscing at ultricies vel, gravida sit amet turpis. Duis erat metus, bibendum ut molestie quis, tempor quis ligula. Phasellus mollis auctor tellus, et imperdiet sem tincidunt eu. In quis odio nec nulla vestibulum semper a sed ipsum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer et turpis augue. Pellentesque mattis, tortor sed consectetur fringilla, sapien velit sagittis libero, auctor mollis quam eros id lectus. Nulla id aliquam dolor.</p> 32 </div> 33 34 35 <div class="m1-sidebox m1-side-tools"> 36 <h3>Tools</h3> 37 <ul> 38 <?php _tpl_toolsevent('pagetools', array( 39 'edit' => tpl_action('edit', 1, 'li', 1), 40 'revisions' => tpl_action('revisions', 1, 'li', 1), 41 'revert' => tpl_action('revert', 1, 'li', 1), 42 )); ?> 43 <?php _tpl_toolsevent('sitetools', array( 44 'recent' => tpl_action('recent', 1, 'li', 1), 45 'media' => tpl_action('media', 1, 'li', 1), 46 'index' => tpl_action('index', 1, 'li', 1), 47 )); ?> 48 </ul> 49 </div> 50 51 52