From: <var...@us...> - 2022-01-04 10:10:40
|
Revision: 10813 http://sourceforge.net/p/phpwiki/code/10813 Author: vargenau Date: 2022-01-04 10:10:37 +0000 (Tue, 04 Jan 2022) Log Message: ----------- templates: whitespace Modified Paths: -------------- trunk/themes/Crao/templates/browse.tmpl trunk/themes/MonoBook/templates/browse.tmpl trunk/themes/MonoBook/templates/viewsource.tmpl trunk/themes/Portland/templates/browse.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Wordpress/templates/browse.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/browse.tmpl trunk/themes/blog/templates/viewsource.tmpl trunk/themes/default/templates/browse.tmpl trunk/themes/default/templates/viewsource.tmpl trunk/themes/fusionforge/templates/browse.tmpl Modified: trunk/themes/Crao/templates/browse.tmpl =================================================================== --- trunk/themes/Crao/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/Crao/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,9 +2,9 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('browse', _("View the current version."), $page)?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo Button('browse', _("View the current version."), $page) ?> </p> <?php } ?> <?php if (!empty($redirected)) { ?> Modified: trunk/themes/MonoBook/templates/browse.tmpl =================================================================== --- trunk/themes/MonoBook/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/MonoBook/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,13 +2,12 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('browse', _("View the current version."), $page)?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo Button('browse', _("View the current version."), $page) ?> </p> <?php } ?> <?php if (!empty($redirected)) { ?> <p><?php echo $redirected ?></p> <?php } ?> - <?php echo $CONTENT?> Modified: trunk/themes/MonoBook/templates/viewsource.tmpl =================================================================== --- trunk/themes/MonoBook/templates/viewsource.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/MonoBook/templates/viewsource.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -1,7 +1,7 @@ <?php if ($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.")?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> @@ -12,8 +12,8 @@ <br class="clear-floats" /> <textarea class="wikiedit" name="content" - rows="<?php echo $request->getPref('editHeight')?>" - cols="<?php echo $request->getPref('editWidth')?>" + rows="<?php echo $request->getPref('editHeight') ?>" + cols="<?php echo $request->getPref('editWidth') ?>" readonly="readonly" ><?php echo $PAGE_SOURCE ?> </textarea> Modified: trunk/themes/Portland/templates/browse.tmpl =================================================================== --- trunk/themes/Portland/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/Portland/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,11 +2,10 @@ $action = $request->getArg('action'); ?> <br class="clear-floats" /> - <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo WikiLink($page, 'existing', _("View the current version."))?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo WikiLink($page, 'existing', _("View the current version.")) ?> </p> <hr class="ignore" /> <?php } ?> @@ -13,9 +12,7 @@ <?php if (!empty($redirected)) { ?> <p><?php echo $redirected ?></p> <?php } ?> - <?php echo $CONTENT?> - <hr /> <?php echo Template('actionbar') ?> <?php // The bottom navigation/search bar ?> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/Portland/templates/viewsource.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -1,7 +1,7 @@ <?php if ($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.")?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> @@ -11,8 +11,8 @@ <?php } ?> <textarea class="wikiedit" name="content" - rows="<?php echo $request->getPref('editHeight')?>" - cols="<?php echo $request->getPref('editWidth')?>" + rows="<?php echo $request->getPref('editHeight') ?>" + cols="<?php echo $request->getPref('editWidth') ?>" readonly="readonly" ><?php echo $PAGE_SOURCE ?> </textarea> Modified: trunk/themes/Wordpress/templates/browse.tmpl =================================================================== --- trunk/themes/Wordpress/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/Wordpress/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,11 +2,10 @@ $action = $request->getArg('action'); ?> <br class="clear-floats" /> - <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo WikiLink($page, 'existing', _("View the current version."))?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo WikiLink($page, 'existing', _("View the current version.")) ?> </p> <hr class="ignore" /> <?php } ?> @@ -13,9 +12,7 @@ <?php if (!empty($redirected)) { ?> <p><?php echo $redirected ?></p> <?php } ?> - <?php echo $CONTENT?> - <hr /> <?php echo Template('actionbar') ?> <?php // The bottom navigation/search bar ?> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,8 +2,8 @@ <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($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.")?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> @@ -13,8 +13,8 @@ <?php } ?> <textarea class="wikiedit" name="content" - rows="<?php echo $request->getPref('editHeight')?>" - cols="<?php echo $request->getPref('editWidth')?>" + rows="<?php echo $request->getPref('editHeight') ?>" + cols="<?php echo $request->getPref('editWidth') ?>" readonly="readonly" ><?php echo $PAGE_SOURCE ?> </textarea> Modified: trunk/themes/blog/templates/browse.tmpl =================================================================== --- trunk/themes/blog/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/blog/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,23 +2,18 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('browse', _("View the current version."), $page)?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo Button('browse', _("View the current version."), $page) ?> </p> <?php } ?> <?php if (!empty($redirected)) { ?> <p><?php echo $redirected ?></p> <?php } ?> - <div id="content" class="narrowcolumn"> - <?php echo $CONTENT?> - <div class="comments"> </div> - <hr class="printer" /> </div> - <?php echo Template('sidebar')?> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/blog/templates/viewsource.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -1,8 +1,8 @@ <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($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.")?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } ?> <?php if (! $revision->isCurrent()) { ?> @@ -14,8 +14,8 @@ <div id="content" class="narrowcolumn"> <textarea class="wikiedit" name="content" - rows="<?php echo $request->getPref('editHeight')?>" - cols="<?php echo $request->getPref('editWidth')?>" + rows="<?php echo $request->getPref('editHeight') ?>" + cols="<?php echo $request->getPref('editWidth') ?>" readonly="readonly" ><?php echo $PAGE_SOURCE ?> </textarea> Modified: trunk/themes/default/templates/browse.tmpl =================================================================== --- trunk/themes/default/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/default/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -2,17 +2,15 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('browse', _("View the current version."), $page)?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo Button('browse', _("View the current version."), $page) ?> </p> <?php } ?> <?php if (!empty($redirected)) { ?> <p><?php echo $redirected ?></p> <?php } ?> - <?php echo $CONTENT?> - <div id="footer"><?php // for top & bottom toolbars stylesheet ?> - <?php echo Template('browse-footer')?> + <?php echo Template('browse-footer') ?> </div> Modified: trunk/themes/default/templates/viewsource.tmpl =================================================================== --- trunk/themes/default/templates/viewsource.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/default/templates/viewsource.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -1,7 +1,7 @@ <?php if ($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.")?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> @@ -12,11 +12,11 @@ <br class="clear-floats" /> <textarea class="wikiedit" name="content" - rows="<?php echo $request->getPref('editHeight')?>" - cols="<?php echo $request->getPref('editWidth')?>" + rows="<?php echo $request->getPref('editHeight') ?>" + cols="<?php echo $request->getPref('editWidth') ?>" readonly="readonly" ><?php echo $PAGE_SOURCE ?> </textarea> <div id="footer"><?php // for top & bottom toolbars stylesheet ?> -<?php echo Template('browse-footer')?> + <?php echo Template('browse-footer') ?> </div> Modified: trunk/themes/fusionforge/templates/browse.tmpl =================================================================== --- trunk/themes/fusionforge/templates/browse.tmpl 2022-01-03 18:37:18 UTC (rev 10812) +++ trunk/themes/fusionforge/templates/browse.tmpl 2022-01-04 10:10:37 UTC (rev 10813) @@ -10,9 +10,9 @@ </p> <?php } else { ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p class="warning_msg"><?php echo _("Note:")?> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('browse', _("View the current version."), $page)?> + <p class="warning_msg"><?php echo _("Note:") ?> + <?php echo _("You are viewing an old revision of this page.") ?> + <?php echo Button('browse', _("View the current version."), $page) ?> </p> <?php } ?> <?php if (!empty($redirected)) { ?> @@ -38,5 +38,5 @@ <?php } ?> <div id="footer"><?php // for top & bottom toolbars stylesheet ?> - <?php echo Template('browse-footer')?> + <?php echo Template('browse-footer') ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |