<?php
/**
 * DokuWiki Apricot Template
 *
 * @link   http://dokuwiki.org/template:apricot
 * @author Arun Chaganty <arunchaganty@gmail.com>
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <anika@selfthinker.org>
 */

if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
$sidebarID = tpl_getConf('sidebarID');
?>

<ul id="sidebar">
  <ul>
    <li id="search" class="widget widget_search">
      <?php tpl_searchform() ?>
    </li>
    <?php
        tpl_action('recent', 1, 'li');
        tpl_action('index', 1, 'li');
    ?>
  </ul>
<li>
  <h2>Navigation</h2>
  <?php tpl_include_page($sidebarID); /* includes the given wiki page */ ?>
</li>
</ul>
<div class="clearer"></div>