template.php
来自「一款基于PHP的网络日记程序。WikyBlog支持:多用户的 BLOG」· PHP 代码 · 共 92 行
PHP
92 行
<?php defined('WikyBlog') or die('Not an entry point...') ?> <html xmlns="http://www.w3.org/1999/xhtml"><head><title><?php echo toDisplay($pageOwner["username"]); ?> - <?php echo $page->displayTitle2; ?></title><?php echo $page->htmlHead; echo $page->style; ?></head><body><div id="globalWrapper"><h1 class="header"><a href="<?php echo $GLOBALS["wbLinkPrefix"]; ?>/<?php echo toDisplay($pageOwner["username"]); ?>/Home"><?php echo toDisplay($pageOwner["username"]); ?></a></h1><!-- &ToolMenu& Start --> <?php echo $page->displayActions(); ?> <!-- &ToolMenu& End --><div id="wrap"> <!-- &Content& Start --> <?php echo $page->displayPage() ?> <!-- &Content& End --> <div id="footer"> <!-- &PageFooter& Start --> <?php echo $page->getFooter(); ?> <!-- &PageFooter& End --> </div></div><div id="menu"> <!-- &NavBar& Start --> <?php echo '<div id="WBnavbar">'.$page->navbar.'</div>'; ?> <!-- &NavBar& End --> <div class="links"> <div class="sideMenuArea"> <b><?php echo toDisplay($pageOwner["username"]); ?></b> <ul><li><?php echo wbLinks::local('Home','home'); ?></li><li><?php echo wbLinks::special('BrowsePages','CLASSpage'); ?></li><li><?php echo wbLinks::special('BrowseComments','talk'); ?></li><li><?php echo wbLinks::special('ChangeLog','change_log'); ?></li></ul> </div> <div class="sideMenuArea"> <b>User Menu</b> <!-- &UserMenu& Start --> <div id="WBuserMenu"><?php getUserMenu(); ?></div> <!-- &UserMenu& End --> </div> <div class="sideMenuArea"> <b>Tags</b> <!-- &keywords& Start --> <div id="WBkeywords"><?php getKeywords(); ?></div> <!-- &keywords& End --> </div> <div class="sideMenuArea"> <b>Search</b> <!-- &WBSearch& Start --> <?php echo $page->search(); ?> <!-- &WBSearch& End --> </div> <!-- &links& Start --> <?php echo $page->getLinks(); ?> <!-- &links& End --> </div><!-- end links --></div><!-- end menu --><!-- &WBExtras& Start --><?php echo $page->extras; ?><!-- &WBExtras& End --></div> </body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?