From: <var...@us...> - 2022-01-06 14:51:59
|
Revision: 10851 http://sourceforge.net/p/phpwiki/code/10851 Author: vargenau Date: 2022-01-06 14:51:57 +0000 (Thu, 06 Jan 2022) Log Message: ----------- Add {} Modified Paths: -------------- trunk/themes/Crao/templates/body.tmpl trunk/themes/MonoBook/templates/body.tmpl trunk/themes/Portland/templates/body.tmpl trunk/themes/Sidebar/templates/body.tmpl trunk/themes/Wordpress/templates/body.tmpl trunk/themes/blog/templates/body.tmpl trunk/themes/default/templates/body.tmpl trunk/themes/wikilens/templates/body.tmpl Modified: trunk/themes/Crao/templates/body.tmpl =================================================================== --- trunk/themes/Crao/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/Crao/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <header role="banner"> <div id="header"> <?php echo Template('top') ?> @@ -14,7 +14,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/MonoBook/templates/body.tmpl =================================================================== --- trunk/themes/MonoBook/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/MonoBook/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <div id="global-wrapper"> <div id="column-content"> <div id="content"> @@ -8,7 +8,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> @@ -26,8 +28,8 @@ <p><?php echo $redirected ?></p> <?php } ?> <div id="bodyContent"> - <?php echo $CONTENT ?> - <div class="clear-floats"></div> + <?php echo $CONTENT ?> + <div class="clear-floats"></div> </div> </main> </div> @@ -43,7 +45,7 @@ <?php echo Template('tags') ?> <?php } ?> </div> - <div id="footer"><?php // for top & bottom toolbars stylesheet ?> + <div id="footer"> <?php echo Template('browse-footer') ?> </div> <div id="bottom"> Modified: trunk/themes/Portland/templates/body.tmpl =================================================================== --- trunk/themes/Portland/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/Portland/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <header role="banner"> <h1><a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>" @@ -9,7 +9,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/Sidebar/templates/body.tmpl =================================================================== --- trunk/themes/Sidebar/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/Sidebar/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <div id="global-wrapper"> <div id="column-content"> <div id="content"> @@ -6,7 +6,9 @@ <?php echo Template('top') ?> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/Wordpress/templates/body.tmpl =================================================================== --- trunk/themes/Wordpress/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/Wordpress/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <header role="banner"> <h1 id="header"><?php echo $HEADER ?></h1> </header> @@ -5,7 +5,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/blog/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <div id="page"> <?php echo Template('top') ?> <div id="pagetitle"> @@ -6,7 +6,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/default/templates/body.tmpl =================================================================== --- trunk/themes/default/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/default/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <header role="banner"> <div id="header"> <?php echo Template('top') ?> @@ -7,7 +7,9 @@ <main role="main"> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> Modified: trunk/themes/wikilens/templates/body.tmpl =================================================================== --- trunk/themes/wikilens/templates/body.tmpl 2022-01-06 14:51:17 UTC (rev 10850) +++ trunk/themes/wikilens/templates/body.tmpl 2022-01-06 14:51:57 UTC (rev 10851) @@ -1,4 +1,4 @@ -<body <?php echo $WikiTheme->getMoreAttr('body') ?> > +<body <?php echo $WikiTheme->getMoreAttr('body') ?>> <table> <tr> <td colspan="2" class="header"> @@ -30,7 +30,9 @@ } ?> </h1> <?php $action = $request->getArg('action'); - if (empty($revision)) $revision = $page->getCurrentRevision(false); + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |