From: <var...@us...> - 2016-03-23 11:19:19
|
Revision: 9829 http://sourceforge.net/p/phpwiki/code/9829 Author: vargenau Date: 2016-03-23 11:19:16 +0000 (Wed, 23 Mar 2016) Log Message: ----------- Use PHP comments instead of HTML comments in templates Modified Paths: -------------- trunk/themes/Crao/templates/actionbar.tmpl trunk/themes/Crao/templates/body.tmpl trunk/themes/Crao/templates/bottom.tmpl trunk/themes/Crao/templates/editpage.tmpl trunk/themes/Crao/templates/navbar.tmpl trunk/themes/Crao/templates/top.tmpl trunk/themes/MonoBook/templates/body.tmpl trunk/themes/MonoBook/templates/info.tmpl trunk/themes/MonoBook/templates/navbar.tmpl trunk/themes/MonoBook/templates/signin.tmpl trunk/themes/MonoBook/templates/tags.tmpl trunk/themes/MonoBook/templates/top.tmpl trunk/themes/Portland/templates/actionbar.tmpl trunk/themes/Portland/templates/body.tmpl trunk/themes/Portland/templates/browse.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Portland/templates/navbar.tmpl trunk/themes/Sidebar/templates/body.tmpl trunk/themes/Sidebar/templates/navbar.tmpl trunk/themes/Sidebar/templates/ratings.tmpl trunk/themes/Sidebar/templates/rc.tmpl trunk/themes/Sidebar/templates/signin.tmpl trunk/themes/Sidebar/templates/tags.tmpl trunk/themes/Sidebar/templates/top.tmpl trunk/themes/Wordpress/templates/actionbar.tmpl trunk/themes/Wordpress/templates/body.tmpl trunk/themes/Wordpress/templates/browse.tmpl trunk/themes/Wordpress/templates/editpage.tmpl trunk/themes/Wordpress/templates/navbar.tmpl trunk/themes/blog/templates/bottom.tmpl trunk/themes/blog/templates/navbar.tmpl trunk/themes/blog/templates/sidebar.tmpl trunk/themes/blog/templates/top.tmpl trunk/themes/default/templates/actionbar.tmpl trunk/themes/default/templates/bottom.tmpl trunk/themes/default/templates/comment.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/default/templates/navbar.tmpl trunk/themes/default/templates/redirect.tmpl trunk/themes/default/templates/top.tmpl trunk/themes/default/templates/viewsource.tmpl trunk/themes/shamino_com/templates/actionbar.tmpl trunk/themes/shamino_com/templates/debug.tmpl trunk/themes/shamino_com/templates/top.tmpl trunk/themes/smaller/templates/actionbar.tmpl trunk/themes/smaller/templates/info.tmpl trunk/themes/smaller/templates/navbar.tmpl trunk/themes/wikilens/templates/body.tmpl trunk/themes/wikilens/templates/navbar.tmpl trunk/themes/wikilens/templates/ratings.tmpl trunk/themes/wikilens/templates/top.tmpl Modified: trunk/themes/Crao/templates/actionbar.tmpl =================================================================== --- trunk/themes/Crao/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -25,7 +25,7 @@ <?php echo $SEP?><?php echo Button("diff") ?> <?php echo $SEP?><?php echo Button("PageInfo", _("PageInfo")) ?> <?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?> -<!-- Buttons really only for debugging --> +<?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php echo $SEP?><?php echo Button("PageDump", _("PageDump")) ?> <?php $purgeb = Button(array('nocache' => 'purge'), @@ -33,7 +33,7 @@ $purgeb->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); ?> <?php echo $SEP?><?php echo $purgeb ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <?php echo $SEP?><?php echo Button("pdf") ?> Modified: trunk/themes/Crao/templates/body.tmpl =================================================================== --- trunk/themes/Crao/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -5,10 +5,10 @@ </div> </header> <div class="toolbar"><?php echo Template('navbar') ?></div> -<!-- Page content --> +<?php // Page content ?> <div id="content"> <?php if (isset($HEADER)) { ?> -<!-- Page title --> +<?php // Page title ?> <h1><?php echo $HEADER ?></h1> <?php } ?> <main role="main"> @@ -17,7 +17,7 @@ <?php echo Template('bottom') ?> </div> <?php if (isset($revision)) { ?> -<!-- Actionbar --> +<?php // Actionbar ?> <?php echo Template('actionbar') ?> <?php } ?> </body> Modified: trunk/themes/Crao/templates/bottom.tmpl =================================================================== --- trunk/themes/Crao/templates/bottom.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/bottom.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <footer role="contentinfo"> -<!-- Add your Disclaimer here --> +<?php // Add your Disclaimer here ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> <?php if (defined('DEBUG') and DEBUG) { ?><?php echo Template('debug') ?><?php } ?> </footer> Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/editpage.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -55,7 +55,7 @@ </fieldset> <hr /> <div class="wiki-edithelp"> -<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?php // FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules ?> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help")."/"._("GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> </div> Modified: trunk/themes/Crao/templates/navbar.tmpl =================================================================== --- trunk/themes/Crao/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <form action="<?php echo WikiURL(_("TitleSearch"))?>" method="get" accept-charset="UTF-8" id="searchform"> <input type="hidden" name="auto_redirect" value="1" /> Modified: trunk/themes/Crao/templates/top.tmpl =================================================================== --- trunk/themes/Crao/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Crao/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -2,7 +2,7 @@ global $HIDE_TOOLBARS; if (!$HIDE_TOOLBARS) { ?> -<!-- The logo --> +<?php // The logo ?> <table class="fullwidth"> <tr class="middle"> <td><div id="logo"><a href="<?php echo WikiURL(HOME_PAGE)?>"><?php echo WIKI_NAME?></a></div></td> Modified: trunk/themes/MonoBook/templates/body.tmpl =================================================================== --- trunk/themes/MonoBook/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -9,7 +9,7 @@ <div id="bodyContent"> <?php echo $CONTENT ?> - <!-- end content --> + <?php // end content ?> <div class="visualClear"></div> </div> </main> Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/info.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -175,7 +175,7 @@ <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?> <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?> - <!-- Buttons really only for debugging --> + <?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php $PurgeCache = Button(array('nocache' => 'purge'), @@ -184,6 +184,6 @@ ?> <?php echo $SEP?><?php echo $PurgeCache ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> </div> Modified: trunk/themes/MonoBook/templates/navbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,9 +1,10 @@ <?php // With MonoBook it is similar to Sidebar, named boxes at the left. // actionbuttons, navigation, search, toolbox +// +// The left navigation/search bar --> +// Here you should add favorite Links and Categories ?> -<!-- The left navigation/search bar --> -<!-- Here you should add favorite Links and Categories --> <nav role="navigation" aria-label="<?php echo _("Navigation Menu") ?>"> <div class="portlet" id="p-navigation"> <h2><?php echo _("Navigation") ?></h2> @@ -73,5 +74,5 @@ </ul> </div> </div> -<!-- end of the left (by default at least) column --> +<?php // end of the left (by default at least) column ?> </nav> Modified: trunk/themes/MonoBook/templates/signin.tmpl =================================================================== --- trunk/themes/MonoBook/templates/signin.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/signin.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -10,7 +10,7 @@ <li><?php echo WikiLink(_("MyRecentChanges"), "",_("My Changes")) ?></li> <li><?php echo HTML::a(array('href'=>'?'.urlencode('auth[logout]').'=1'),$sp,_("Logout"),$sp) ?></li> <?php } else { ?> - <!-- Login or Register --> + <?php // Login or Register ?> <?php if ($id) { ?> <li id="pt-userpage"><?php echo WikiLink($id, 'auto') ?></li> <?php } ?> Modified: trunk/themes/MonoBook/templates/tags.tmpl =================================================================== --- trunk/themes/MonoBook/templates/tags.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/tags.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- list of most popular categories --> +<?php // list of most popular categories ?> <nav role="navigation" aria-label="<?php echo _("Favorite Categories Menu") ?>"> <div class="portlet" id="p-tags"> <h2><?php echo _("Favorite Categories") ?></h2> Modified: trunk/themes/MonoBook/templates/top.tmpl =================================================================== --- trunk/themes/MonoBook/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/MonoBook/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,3 +1,3 @@ -<!-- Page title --> +<?php // Page title ?> <a id="top"></a> <h1 class="firstHeading"><?php echo $HEADER ?></h1> Modified: trunk/themes/Portland/templates/actionbar.tmpl =================================================================== --- trunk/themes/Portland/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Portland/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -12,6 +12,6 @@ <?php echo $SEP?><?php echo Button("PageHistory", _("PageHistory")) ?> <?php echo $SEP?><?php echo Button("PageInfo", _("PageInfo")) ?> <?php if (defined('DEBUG') && DEBUG || $user->isAdmin()) { ?> - <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really --> + <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php // For debugging only, really ?> <?php } ?> <br /> Modified: trunk/themes/Portland/templates/body.tmpl =================================================================== --- trunk/themes/Portland/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Portland/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,6 +1,6 @@ <body <?php echo $WikiTheme->getMoreAttr('body') ?> > <header role="banner"> -<!-- Page title and logo --> +<?php // Page title and logo ?> <h1><a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>" ><img src="<?php echo $WikiTheme->getImageURL('logo')?>" @@ -11,7 +11,7 @@ <?php echo $CONTENT ?> </main> <?php echo Template('navbar') ?> -<!-- RELATEDPAGES were here. --> +<?php // RELATEDPAGES were here. ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> Modified: trunk/themes/Portland/templates/browse.tmpl =================================================================== --- trunk/themes/Portland/templates/browse.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Portland/templates/browse.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -13,4 +13,4 @@ <?php echo $CONTENT?> <hr /> <?php echo Template('actionbar') ?> -<!-- The bottom navigation/search bar --> +<?php // The bottom navigation/search bar ?> Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Portland/templates/editpage.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -37,7 +37,7 @@ <?php } ?> <div class="wiki-edithelp"> -<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?php // FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules ?> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help")."/"._("GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> </div> Modified: trunk/themes/Portland/templates/navbar.tmpl =================================================================== --- trunk/themes/Portland/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Portland/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- The bottom navigation/search bar --> +<?php // The bottom navigation/search bar ?> <?php echo WikiLink(_("FindPage"), "button") ?> by searching <?php if ($revision) { ?> Modified: trunk/themes/Sidebar/templates/body.tmpl =================================================================== --- trunk/themes/Sidebar/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -6,7 +6,6 @@ <?php echo Template('top') ?> <div id="bodyContent"> <?php echo $CONTENT ?> - <!-- end content --> <div class="visualClear"></div> </div> </main> Modified: trunk/themes/Sidebar/templates/navbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,9 +1,10 @@ <?php // With MonoBook it is similar to Sidebar, named boxes at the left. // actionbuttons, navigation, search, toolbox +// +// The left navigation/search bar +// Here you should add favorite Links and Categories ?> -<!-- The left navigation/search bar --> -<!-- Here you should add favorite Links and Categories --> <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> <div class="portlet" id="p-navigation"> <div class="_pBody"> @@ -72,4 +73,4 @@ </nav> <?php echo Template('rc') ?> <?php echo Template('tags') ?> -<!-- end of the left (by default at least) column --> +<?php // end of the left (by default at least) column ?> Modified: trunk/themes/Sidebar/templates/ratings.tmpl =================================================================== --- trunk/themes/Sidebar/templates/ratings.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/ratings.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- Ratings --> +<?php // Ratings ?> <?php if (!$WikiTheme->DUMP_MODE) { $loader = new WikiPluginLoader(); printXML($loader->expandPI("<"."?plugin RateIt show=top ?".">", $request, $dbi->_markup)); Modified: trunk/themes/Sidebar/templates/rc.tmpl =================================================================== --- trunk/themes/Sidebar/templates/rc.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/rc.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- RecentChangesCached Box --> +<?php // RecentChangesCached Box ?> <nav role="navigation" aria-label="<?php echo _("Recent Changes Menu") ?>"> <div class="portlet" id="p-rc"> <h2><?php echo _("Recent Changes") ?> <?php echo $WikiTheme->folderArrow('p-rc', 'Closed') ?></h2> Modified: trunk/themes/Sidebar/templates/signin.tmpl =================================================================== --- trunk/themes/Sidebar/templates/signin.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/signin.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -11,7 +11,7 @@ if ($id) { ?> <li id="pt-userpage"><?php echo WikiLink($id, 'auto') ?></li> <?php } ?> - <!-- Login --> + <?php // Login ?> <li id="pt-login"><?php echo HTML::a(array('href'=>'?'.urlencode('auth[login]').'=1'),$sp,_("Sign In"),$sp) ?></li> <?php } else { ?> <li id="pt-login"><a id="login"><?php echo _("Login required...") ?></a></li> Modified: trunk/themes/Sidebar/templates/tags.tmpl =================================================================== --- trunk/themes/Sidebar/templates/tags.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/tags.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- list of most popular categories --> +<?php // list of most popular categories ?> <nav role="navigation" aria-label="<?php echo _("Favorite Categories Menu") ?>"> <div class="portlet" id="p-tags"> <h2><?php echo _("Favorite Categories") ?> <?php echo $WikiTheme->folderArrow('p-tags', 'Open') ?></h2> Modified: trunk/themes/Sidebar/templates/top.tmpl =================================================================== --- trunk/themes/Sidebar/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Sidebar/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -11,7 +11,7 @@ else $rating = 0; ?> -<!-- Page title --> +<?php // Page title ?> <a id="contentTop"></a> <h1 class="firstHeading<?php echo $rating ? '-rating' : '' ?><?php echo $public ? '-public' : '' ?>"><?php echo $HEADER ?></h1> <?php if ($rating && $request->getArg('action') == 'browse') { ?> Modified: trunk/themes/Wordpress/templates/actionbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Wordpress/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -71,7 +71,7 @@ <li> <?php echo Button("PageInfo", _("PageInfo")) ?> </li> <?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?> <li> - <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really --> + <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php // For debugging only, really ?> <?php echo $SEP?><?php echo Button("PageDump", _("PageDump")) ?> </li> <?php } ?> Modified: trunk/themes/Wordpress/templates/body.tmpl =================================================================== --- trunk/themes/Wordpress/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Wordpress/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,15 +1,15 @@ <body <?php echo $WikiTheme->getMoreAttr('body') ?> > <header role="banner"> -<!-- Page title --> +<?php // Page title ?> <h1 id="header"><?php echo $HEADER ?></h1> </header> <main role="main"> -<!-- Page title and logo --> +<?php // Page title and logo ?> <?php echo $CONTENT ?> </main> <?php echo Template('navbar') ?> -<!-- RELATEDPAGES were here. --> +<?php // RELATEDPAGES were here. ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> Modified: trunk/themes/Wordpress/templates/browse.tmpl =================================================================== --- trunk/themes/Wordpress/templates/browse.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Wordpress/templates/browse.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -13,4 +13,4 @@ <?php echo $CONTENT?> <hr /> <?php echo Template('actionbar') ?> -<!-- The bottom navigation/search bar --> +<?php // The bottom navigation/search bar ?> Modified: trunk/themes/Wordpress/templates/editpage.tmpl =================================================================== --- trunk/themes/Wordpress/templates/editpage.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Wordpress/templates/editpage.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -53,7 +53,7 @@ <?php } ?> <div class="wiki-edithelp"> -<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?php // FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules ?> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help")."/"._("GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> </div> Modified: trunk/themes/Wordpress/templates/navbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/Wordpress/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ <?php $Sep = $WikiTheme->getButtonSeparator(); ?> -<!-- The bottom navigation/search bar --> +<?php // The bottom navigation/search bar ?> Modified: trunk/themes/blog/templates/bottom.tmpl =================================================================== --- trunk/themes/blog/templates/bottom.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/blog/templates/bottom.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,9 +1,8 @@ -<!-- Add your Disclaimer here --> +<?php // Add your Disclaimer here ?> <?php if (!$WikiTheme->DUMP_MODE) { ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> <?php if (DEBUG & _DEBUG_VERBOSE) { ?><?php echo Template('debug') ?><?php } ?> <?php } ?> -<!--/span--> <script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script> <script> hljs.tabReplace = ' '; Modified: trunk/themes/blog/templates/navbar.tmpl =================================================================== --- trunk/themes/blog/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/blog/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- Additional sidebar navigation --> +<?php // Additional sidebar navigation ?> <div class="box"> <div class="box-title"> <?php echo _("Navigation") ?> Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/blog/templates/sidebar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -42,7 +42,7 @@ · <?php echo Button(array('action'=>'pdf'), "Pdf") ?> <?php } ?> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <div class="toolbar"><?php echo Template('navbar') ?></div> </div> Modified: trunk/themes/blog/templates/top.tmpl =================================================================== --- trunk/themes/blog/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/blog/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -2,7 +2,7 @@ <div id="header"> <?php if ( $request->getArg('action') == 'browse' ) { ?> <div id="yoursiteheader"> -<!-- Insert Flash or Logo here --> +<?php // Insert Flash or Logo here ?> <a href=""><?php echo WIKI_NAME ?></a> </div> <?php } ?> Modified: trunk/themes/default/templates/actionbar.tmpl =================================================================== --- trunk/themes/default/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -27,7 +27,7 @@ <?php echo $SEP?><?php echo Button("diff") ?> <?php echo $SEP?><?php echo Button("PageInfo", _("PageInfo")) ?> <?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?> - <!-- Buttons really only for debugging --> + <?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php echo $SEP?><?php echo Button("PageDump", _("PageDump")) ?> <?php @@ -38,7 +38,7 @@ ?> <?php echo $SEP?><?php echo $PurgeCache ?> <?php } ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <?php echo $SEP?><?php echo Button("pdf","Pdf",'wikiclear',array('id'=>'btn-pdf')) ?> Modified: trunk/themes/default/templates/bottom.tmpl =================================================================== --- trunk/themes/default/templates/bottom.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/bottom.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <footer role="contentinfo"> -<!-- Add your Disclaimer here --> +<?php // Add your Disclaimer here ?> <?php if (!$WikiTheme->DUMP_MODE) { ?> <?php echo empty($WARNINGS) ? '' : $WARNINGS ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> Modified: trunk/themes/default/templates/comment.tmpl =================================================================== --- trunk/themes/default/templates/comment.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/comment.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -19,7 +19,7 @@ } ?> -<!-- FIXME: move table formatting to css --> +<?php // FIXME: move table formatting to css ?> <div title="<?php echo fmt("Comments on %s by %s.", $COMMENT_PARENT, $COMMENT_CREATOR)?>" class="wikicomment wikitext"> <div class="wikicomment-footer"> Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/editpage.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -73,7 +73,7 @@ <div style="width:100%;text-align:center;"><?php /*plugin UpLoad autolink=0 mode=edit size=30 */?></div> <hr /> <div class="wiki-edithelp"> -<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?php // FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules ?> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help")."/"._("GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> </div> Modified: trunk/themes/default/templates/navbar.tmpl =================================================================== --- trunk/themes/default/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <div id="navbuttons"> <?php if (ENABLE_DISCUSSION_LINK) { ?> <?php // This requires Talk: map to end in "/Discussion" Modified: trunk/themes/default/templates/redirect.tmpl =================================================================== --- trunk/themes/default/templates/redirect.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/redirect.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -13,7 +13,7 @@ <?php echo $WikiTheme->getCSS() ?> <title><?php echo WIKI_NAME . ' - ' . _("Redirect")?></title> -<!-- Sneaky tricks to try to get browser to "redirect" --> +<?php // Sneaky tricks to try to get browser to "redirect" ?> <meta http-equiv="Refresh" content="2;url=<?php echo $REDIRECT_URL?>"/> <script type="text/javascript"><!-- function redirect(url) { Modified: trunk/themes/default/templates/top.tmpl =================================================================== --- trunk/themes/default/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -2,16 +2,16 @@ global $HIDE_TOOLBARS; if (!$HIDE_TOOLBARS) { ?> -<!-- The logo --> +<?php // The logo ?> <div id="logo"><a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>" ><img src="<?php echo $WikiTheme->getImageURL('logo')?>" id="logo-img" alt="<?php echo fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>" /></a></div> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <div class="toolbar"> <?php echo Template('navbar') ?> </div> <?php } ?> -<!-- Page title --> +<?php // Page title ?> <h1><?php echo $HEADER ?></h1> Modified: trunk/themes/default/templates/viewsource.tmpl =================================================================== --- trunk/themes/default/templates/viewsource.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/default/templates/viewsource.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -16,6 +16,6 @@ readonly="readonly" ><?php echo $PAGE_SOURCE ?></textarea> -<div id="footer"><!-- for top & bottom toolbars stylesheet --> +<div id="footer"><?php // for top & bottom toolbars stylesheet ?> <?php echo Template('browse-footer')?> </div> Modified: trunk/themes/shamino_com/templates/actionbar.tmpl =================================================================== --- trunk/themes/shamino_com/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/shamino_com/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -16,10 +16,10 @@ <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> <?php echo $SEP?><?php echo WikiLink(_("PhpWikiAdministration"), "","Admin") ?> - <!-- Buttons really only for debugging. See info for more --> + <?php // Buttons really only for debugging. See info for more ?> <?php echo $SEP?><?php echo Button(_("PageHistory")) ?> <?php echo $SEP?><?php echo Button("diff") ?> <?php echo $SEP?><?php echo Button(_("PageDump")) ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> </nav> Modified: trunk/themes/shamino_com/templates/debug.tmpl =================================================================== --- trunk/themes/shamino_com/templates/debug.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/shamino_com/templates/debug.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- shamino.com debug --> +<?php // shamino.com debug ?> <div class="debug"> <?php global $RUNTIMER; ?> <span id="html-validator"><a class="wikilink" href="http://validator.w3.org/check/referer">Valid HTML 5!</a> <a class="wikilink" href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS 3!</a> Modified: trunk/themes/shamino_com/templates/top.tmpl =================================================================== --- trunk/themes/shamino_com/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/shamino_com/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,16 +1,16 @@ -<!-- The logo --> +<?php // The logo ?> <div id="logo"><a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>" ><img src="<?php echo $WikiTheme->getImageURL('logo')?>" id="logo-img" alt="<?php echo fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>" class="align-right" /></a></div> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> <div class="wikinavbar"> <a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>"> <?php echo WIKI_NAME ?></a> - -<!-- Wiki description here --> -<!-- Page title --> +<?php // Wiki description here ?> +<?php // Page title ?> <?php echo $HEADER ?> <?php if (empty($GLOBALS['HIDE_TOOLBARS'])) { ?> - <form action="<?php echo WikiURL(_("TitleSearch"))?>" Modified: trunk/themes/smaller/templates/actionbar.tmpl =================================================================== --- trunk/themes/smaller/templates/actionbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/smaller/templates/actionbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -28,11 +28,11 @@ <?php } ?> <?php echo Button(array('action'=>'PageInfo'),_("Info"), $page->getName()) ?> <?php if (((defined('DEBUG') and DEBUG and $request->getArg('action') == 'browse')) || $user->isAdmin()) { ?> - <!-- Buttons really only for debugging --> + <?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button(_("PageHistory")) ?> <?php echo $SEP?><?php echo Button("diff") ?> <?php echo $SEP?><?php echo Button(_("PageDump")) ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <?php echo $SEP?><?php echo Button("pdf") ?> Modified: trunk/themes/smaller/templates/info.tmpl =================================================================== --- trunk/themes/smaller/templates/info.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/smaller/templates/info.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -9,7 +9,7 @@ <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> <?php echo $SEP?><?php echo Button("PageDump", _("PageDump")) ?> <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?> - <!-- Buttons really only for debugging --> + <?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <?php $PurgeCache = Button(array('nocache' => 'purge'), @@ -17,6 +17,6 @@ $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); ?> <?php echo $SEP?><?php echo $PurgeCache ?> - <!-- End debugging buttons --> + <?php // End debugging buttons ?> <?php } ?> </div> Modified: trunk/themes/smaller/templates/navbar.tmpl =================================================================== --- trunk/themes/smaller/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/smaller/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,5 +1,5 @@ <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- The top navigation/search bar --> +<?php // The top navigation/search bar ?> <form action="<?php echo WikiURL(_("TitleSearch"))?>" method="get" accept-charset="UTF-8"> <div id="navbuttons"> Modified: trunk/themes/wikilens/templates/body.tmpl =================================================================== --- trunk/themes/wikilens/templates/body.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/wikilens/templates/body.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -22,7 +22,7 @@ </td> <td class="content"> <main role="main"> -<!-- Page title --> +<?php // Page title ?> <h1><?php echo $HEADER ?> <?php if (!empty($user) && $user->isSignedIn()) { $loader = new WikiPluginLoader(); Modified: trunk/themes/wikilens/templates/navbar.tmpl =================================================================== --- trunk/themes/wikilens/templates/navbar.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/wikilens/templates/navbar.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -2,7 +2,7 @@ $NSEP = HTML::br(); ?> <nav role="navigation" aria-label="<?php echo _("Main Menu") ?>"> -<!-- The left navigation/search bar --> +<?php // The left navigation/search bar ?> <div id="navbuttons"> <?php if (ENABLE_DISCUSSION_LINK) { ?> <?php // This requires Talk: map to end in "/Discussion" Modified: trunk/themes/wikilens/templates/ratings.tmpl =================================================================== --- trunk/themes/wikilens/templates/ratings.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/wikilens/templates/ratings.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,4 +1,4 @@ -<!-- Ratings --> +<?php // Ratings ?> <?php if (!$WikiTheme->DUMP_MODE) { $loader = new WikiPluginLoader(); printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); Modified: trunk/themes/wikilens/templates/top.tmpl =================================================================== --- trunk/themes/wikilens/templates/top.tmpl 2016-03-23 11:15:53 UTC (rev 9828) +++ trunk/themes/wikilens/templates/top.tmpl 2016-03-23 11:19:16 UTC (rev 9829) @@ -1,7 +1,7 @@ <?php global $HIDE_TOOLBARS; if (!$HIDE_TOOLBARS) { ?> -<!-- The logo --> +<?php // The logo ?> <div id="logo" style="height: 51px; background-image: url(<?php echo $WikiTheme->getImageURL('splice')?>); background-repeat: repeat-x;" ><a class="wikilink" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |