Esempio n. 1
0
$NS = getNS($ID);
//echo "<br><br><br>";
$helper = plugin_load('helper', 'ateneuplus');
$menuleft = $helper->get_menu($ID, 'm1-menu-left');
//  $titol = $helper->getTitolCurs($ID);
print '<div id="m1-menu-left"><ul>';
print $menuleft;
print '</ul></div>';
//echo "<br><br>";
?>
         
        
         
	 <!-- ********** Mobile-Right ********** -->   
         
      <div id="m1-menu-right">
   	    <ul>       
            <?php 
_tpl_toolsevent('usertools', array('admin' => tpl_action('admin', 1, 'li', 1), 'profile' => tpl_action('profile', 1, 'li', 1), 'register' => tpl_action('register', 1, 'li', 1), 'login' => tpl_action('login', 1, 'li', 1)));
?>
  
            <?php 
_tpl_toolsevent('pagetools', array('edit' => tpl_action('edit', 1, 'li', 1), 'revisions' => tpl_action('revisions', 1, 'li', 1), 'revert' => tpl_action('revert', 1, 'li', 1)));
?>
  
            <?php 
_tpl_toolsevent('sitetools', array('recent' => tpl_action('recent', 1, 'li', 1), 'media' => tpl_action('media', 1, 'li', 1), 'index' => tpl_action('index', 1, 'li', 1)));
?>
        </ul>
	  </div>
Esempio n. 2
0
            <div class="clearer"></div>
            <hr class="a11y" />

            <!-- PAGE ACTIONS -->
            <?php 
if ($showTools) {
    ?>
                <div id="dokuwiki__pagetools">
                    <h3 class="a11y"><?php 
    echo $lang['page_tools'];
    ?>
</h3>
                    <ul>
                        <?php 
    _tpl_toolsevent('pagetools', array('edit' => tpl_action('edit', 1, 'li', 1), 'discussion' => _tpl_action('discussion', 1, 'li', 1), 'revisions' => tpl_action('revisions', 1, 'li', 1), 'backlink' => tpl_action('backlink', 1, 'li', 1), 'subscribe' => tpl_action('subscribe', 1, 'li', 1), 'revert' => tpl_action('revert', 1, 'li', 1), 'top' => tpl_action('top', 1, 'li', 1)));
    ?>
                    </ul>
                </div>
            <?php 
}
?>
        </div><!-- /wrapper -->

        <!-- ********** FOOTER ********** -->
        <div id="dokuwiki__footer"><div class="pad">
            <div class="doc"><?php 
tpl_pageinfo();
?>
</div>
            <?php 
Esempio n. 3
0
?>
                        </ul>
                    </div>

                    <?php 
if ($conf['useacl']) {
    ?>
                        <!-- USER TOOLS -->
                        <div class="user-tools">
                            <h3><?php 
    echo $lang['user_tools'];
    ?>
</h3>
                            <ul>
                                <?php 
    _tpl_toolsevent('usertools', array('admin' => tpl_action('admin', 1, 'li', 1, '<span></span> '), 'profile' => tpl_action('profile', 1, 'li', 1, '<span></span> '), 'register' => tpl_action('register', 1, 'li', 1, '<span></span> '), 'login' => tpl_action('login', 1, 'li', 1, '<span></span> ')));
    ?>
                            </ul>
                        </div>

                        <?php 
    if (!empty($_SERVER['REMOTE_USER'])) {
        echo '<p class="user">';
        tpl_userinfo();
        echo '</p>';
    }
    ?>
                    <?php 
}
?>
                </div>
    <?php 
        $i = 1;
        $max = count(array_keys($tools));
        foreach ($tools as $id => $menu) {
            ?>

      <li class="dropdown-header">
        <i class="<?php 
            echo $menu['icon'];
            ?>
"></i> <?php 
            echo $lang[$id . '_tools'];
            ?>
      </li>
      <?php 
            _tpl_toolsevent($id . 'tools', $menu['items']);
            ?>

      <?php 
            if ($max > $i) {
                ?>
      <li class="divider"></li>
      <?php 
            }
            ?>

    <?php 
            $i++;
        }
        ?>
    </ul>