</div><!-- /.headings -->
        <nav class="tools">
            <!-- USER TOOLS -->
            <?php 
if ($conf['useacl'] && $showTools) {
    ?>
                <div id="dokuwiki__usertools">
                    <h3 class="a11y"><?php 
    echo $lang['user_tools'];
    ?>
</h3>
                    <ul>
                        <?php 
    if (!empty($_SERVER['REMOTE_USER'])) {
        echo '<li class="user">';
        tpl_userinfo();
        /* 'Logged in as ...' */
        echo '</li>';
    }
    ?>
                        <?php 
    /* the optional second parameter of tpl_action() switches between a link and a button,
       e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
    ?>
                        <?php 
    tpl_toolsevent('usertools', array('admin' => tpl_action('admin', 1, 'li', 1), 'userpage' => _tpl_action('userpage', 1, 'li', 1), 'profile' => tpl_action('profile', 1, 'li', 1), 'register' => tpl_action('register', 1, 'li', 1), 'login' => tpl_action('login', 1, 'li', 1)));
    ?>
                    </ul>
                </div><!-- /   "dokuwiki__usertools -->
            <?php 
}
Beispiel #2
0
               <!-- end content -->
            </div> <!-- id="maincolContent" -->
            
            <div id="contentfooterNavigation" class="horizontalNavigation"> 
                  <?php 
if ($conf['useacl'] && $_SERVER['REMOTE_USER']) {
    echo '<ul >' . '<li >';
    tpl_actionlink('edit');
    echo '</li >' . '<li >';
    tpl_actionlink('history');
    echo '</li >' . '<li >';
    tpl_actionlink('recent');
    echo '</li >' . '</ul>';
} else {
    echo '<ul>' . '<li>';
    echo tpl_pageinfo() . '</li >' . '<li>' . tpl_userinfo() . '</li >' . '</ul>';
}
?>
            </div>
         </div>
         <!--right column-->
         <?php 
writeMBPortlet($monobook['personal'], 'rightcol', '', 'rightcol');
?>
         
      </div>

      
      
      <!--++++++++++++++++++Footer++++++++++++++-->
      <div class="clearer"> </div>
Beispiel #3
0
        ?></h1>
        <?php if ($conf['tagline']): ?>
            <p class="claim"><?php echo $conf['tagline']; ?></p>
        <?php endif ?>
    </div>

    <div class="tools group">
        <!-- USER TOOLS -->
        <?php if ($conf['useacl']): ?>
            <div id="dokuwiki__usertools">
                <h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
                <ul>
                    <?php
                        if ($_SERVER['REMOTE_USER']) {
                            echo '<li class="user">';
                            tpl_userinfo(); /* 'Logged in as ...' */
                            echo '</li>';
                        }
                        tpl_action('admin', 1, 'li');
                        tpl_action('profile', 1, 'li');
                        tpl_action('register', 1, 'li');
                        tpl_action('login', 1, 'li');
                    ?>
                </ul>
            </div>
        <?php endif ?>

        <!-- SITE TOOLS -->
        <div id="dokuwiki__sitetools">
            <h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
            <?php tpl_searchform(); ?>
Beispiel #4
0
  <div class="page">
    <!-- wikipage start -->
    <?php tpl_content()?>
    <!-- wikipage stop -->
  </div>

  <div class="clearer"></div>

  <?php tpl_flush()?>

  <div class="stylefoot">

    <div class="meta">
      <div class="user">
        <?php tpl_userinfo()?>
      </div>
      <div class="doc">
        <?php tpl_pageinfo()?>
      </div>
    </div>

   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>

    <div class="bar" id="bar__bottom">
      <div class="bar-left" id="bar__bottomleft">
        <?php tpl_button('edit')?>
        <?php tpl_button('history')?>
        <?php tpl_button('revert')?>
      </div>
      <div class="bar-right" id="bar__bottomright">
										</div><!-- /inner -->
									</div><!-- /block -->
									<?php endif ?>
									<?php if ($conf['useacl'] && $showTools): ?>
									<div class="block block-user odd first last fusion-bold-links marina-rounded-corners marina-title-green grid16-16" id="block-user-2">
										<div class="inner">
											<div class="corner-top"><div class="corner-top-right corner"></div><div class="corner-top-left corner"></div></div>
											<div class="inner-wrapper">
												<div id="dokuwiki__usertools" class="inner-inner" style="border: medium none; position: relative;">
													<div class="block-icon pngfix"></div>
													<!-- USER TOOLS -->
													<h2 class="title block-title a11y"><?php echo tpl_getLang('user_tools') ?></h2>
													<ul class="menu">
														<?php if ($_SERVER['REMOTE_USER']): ?>
														<li class="user">
															<?php tpl_userinfo(); ?>
														</li>
														<?php endif ?>
														<?php
															 tpl_action('admin',    1, 'li');
															_tpl_action('userpage', 1, 'li');
															 tpl_action('profile',  1, 'li');
															_tpl_action('register', 1, 'li'); /* DW versions > 2011-02-20 can use the core function tpl_action('register', 1, 'li') */
															 tpl_action('login',    1, 'li');
														?>
													</ul>
												</div><!-- /inner-inner -->
											</div><!-- /inner-wrapper -->
											<div class="corner-bottom"><div class="corner-bottom-right corner"></div><div class="corner-bottom-left corner"></div></div>
										</div><!-- /inner -->
									</div><!-- /block -->