예제 #1
0
                    <div class="clearer"></div>
                </div>

                <?php 
tpl_flush();
?>
                <?php 
_tpl_include('pagefooter.html');
?>
            </div></div><!-- /content -->

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

            <div class="doc"><?php 
tpl_pageinfo();
?>
</div>
            <!-- PAGE ACTIONS -->
            <?php 
if ($showTools) {
    ?>
                <div id="dokuwiki__pagetools">
                    <h3 class="a11y"><?php 
    echo tpl_getLang('page_tools');
    ?>
</h3>
                    <ul>
                        <?php 
    tpl_action('edit', 1, 'li');
    _tpl_action('discussion', 1, 'li');
예제 #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>
예제 #3
0
파일: main.php 프로젝트: neutrinog/Door43
    <?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">
        <?php tpl_button('subscribe')?>
        <?php tpl_button('media')?>
        <?php tpl_button('admin')?>
예제 #4
0
파일: main.php 프로젝트: neutrinog/Door43
                <div class="page group">
                    <?php tpl_flush() ?>
                    <?php tpl_includeFile('pageheader.html') ?>
                    <!-- wikipage start -->
                    <?php tpl_content() ?>
                    <!-- wikipage stop -->
                    <?php tpl_includeFile('pagefooter.html') ?>
                </div>

                <div class="docInfo">

<a href="<?php echo exportlink($ID)?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/txt.png" alt="Text Export"></a>&nbsp;
<a href="<?php echo exportlink($ID, 'xhtmlbody')?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/htm.png" alt="HTML Export"></a>&nbsp;
<a href="<?php echo exportlink($ID, 'odt')?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/odt.png" alt="ODT Export"></a><br />

		<?php tpl_pageinfo() ?></div>

                <?php tpl_flush() ?>
            </div></div><!-- /content -->

            <hr class="a11y" />

            <!-- PAGE ACTIONS -->
            <div id="dokuwiki__pagetools">
                <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
                <div class="tools">
                    <ul>
                        <?php
                            tpl_action('edit',      1, 'li', 0, '<span>', '</span>');
                            tpl_action('revert',    1, 'li', 0, '<span>', '</span>');
                            tpl_action('revisions', 1, 'li', 0, '<span>', '</span>');
예제 #5
0
 function handle_display_banner(&$event, $param)
 {
     global $ID, $REV, $INFO;
     if ($event->data != 'show') {
         return;
     }
     if (!$INFO['exists']) {
         return;
     }
     $m = p_get_metadata($ID);
     $changelog = new PageChangeLog($ID);
     //sprawdź status aktualnej strony
     if ($REV != 0) {
         $ch = $changelog->getRevisionInfo($REV);
         $sum = $ch['sum'];
     } else {
         $sum = $m['last_change']['sum'];
     }
     if ($sum != APPRVOED) {
         $class = 'approved_no';
         $last_approved_rev = $this->find_lastest_approved();
     }
     ptln('<div class="approval ' . ($sum == APPROVED ? 'approved_yes' : 'approved_no') . '">');
     tpl_pageinfo();
     ptln(' | ');
     if ($sum == APPROVED) {
         ptln('<span>' . $this->getLang('approved') . '</span>');
         if ($REV != 0 && auth_quickaclcheck($ID) > AUTH_READ) {
             ptln('<a href="' . wl($ID) . '">');
             ptln($this->getLang($m['last_change']['sum'] == APPROVED ? 'newest_approved' : 'newest_draft'));
             ptln('</a>');
         } else {
             if ($REV != 0 && $REV != $last_approved_rev) {
                 ptln('<a href="' . wl($ID) . '">');
                 ptln($this->getLang('newest_approved'));
                 ptln('</a>');
             }
         }
     } else {
         ptln('<span>' . $this->getLang('draft') . '</span>');
         if (isset($last_approved_rev)) {
             if ($last_approved_rev != 0) {
                 ptln('<a href="' . wl($ID, array('rev' => $last_approved_rev)) . '">');
             } else {
                 ptln('<a href="' . wl($ID) . '">');
             }
             ptln($this->getLang('newest_approved'));
             ptln('</a>');
         } else {
             ptln('<a href="' . wl($ID) . '">');
             ptln($this->getLang('newest_draft'));
             ptln('</a>');
         }
         //można zatwierdzać tylko najnowsze strony
         if ($REV == 0 && $this->can_approve()) {
             ptln('<a href="' . wl($ID, array('rev' => $last_approved_rev, 'do' => 'diff', 'approve' => 'approve')) . '">');
             ptln($this->getLang('approve'));
             ptln('</a>');
         }
     }
     ptln('</div>');
 }
															</div><!-- /content-inner-inner -->
														</div><!-- /content-inner -->
													</div><!-- /content-region-inner -->
												</div><!-- /content-region -->
											</div><!-- /content-group-inner -->
										</div><!-- /content-group -->
									</div><!-- /main-content-inner -->
								</div><!-- /main-content -->
							</div><!-- /main-group-inner -->
						</div><!-- /main-group -->
					</div><!-- /main-inner -->
				</div><!-- /main -->
			</div>

			<div class="footer-message-wrapper full-width" id="footer-message-wrapper">
				<div class="footer-message row grid16-16" id="footer-message">
					<div class="footer-message-inner inner clearfix" id="footer-message-inner">
						<div id="dokuwiki__footer">
							<div class="doc"><?php tpl_pageinfo() // 'Last modified' etc ?></div>
							<?php tpl_license('button'); // content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 ?>
						</div>
						<?php _tpl_include('footer.html'); ?>
						<?php tpl_indexerWebBug(); // provide DokuWiki housekeeping, required in all templates ?>
					</div><!-- /footer-message-inner -->
				</div><!-- /footer-message -->
			</div>
		</div>
	</div>
</body>
</html>