From: <var...@us...> - 2021-12-16 16:21:45
|
Revision: 10797 http://sourceforge.net/p/phpwiki/code/10797 Author: vargenau Date: 2021-12-16 16:21:43 +0000 (Thu, 16 Dec 2021) Log Message: ----------- templates/viewsource.tmpl: reformat Modified Paths: -------------- trunk/themes/MonoBook/templates/viewsource.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/default/templates/viewsource.tmpl Modified: trunk/themes/MonoBook/templates/viewsource.tmpl =================================================================== --- trunk/themes/MonoBook/templates/viewsource.tmpl 2021-12-16 16:20:13 UTC (rev 10796) +++ trunk/themes/MonoBook/templates/viewsource.tmpl 2021-12-16 16:21:43 UTC (rev 10797) @@ -1,4 +1,5 @@ -<?php if ($page->get('locked') && !$user->isAdmin()) { ?> +<?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> @@ -14,4 +15,5 @@ rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" readonly="readonly" -><?php echo $PAGE_SOURCE ?></textarea> +><?php echo $PAGE_SOURCE ?> +</textarea> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2021-12-16 16:20:13 UTC (rev 10796) +++ trunk/themes/Portland/templates/viewsource.tmpl 2021-12-16 16:21:43 UTC (rev 10797) @@ -1,4 +1,5 @@ -<?php if ($page->get('locked') && !$user->isAdmin()) { ?> +<?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> @@ -13,7 +14,8 @@ rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" readonly="readonly" -><?php echo $PAGE_SOURCE ?></textarea> +><?php echo $PAGE_SOURCE ?> +</textarea> <hr /> <a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2021-12-16 16:20:13 UTC (rev 10796) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2021-12-16 16:21:43 UTC (rev 10797) @@ -1,5 +1,4 @@ <div class="wikitext"> - <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($page->get('locked') && !$user->isAdmin()) { ?> @@ -17,10 +16,10 @@ rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" readonly="readonly" -><?php echo $PAGE_SOURCE ?></textarea> +><?php echo $PAGE_SOURCE ?> +</textarea> <hr /> <a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> - </div> Modified: trunk/themes/default/templates/viewsource.tmpl =================================================================== --- trunk/themes/default/templates/viewsource.tmpl 2021-12-16 16:20:13 UTC (rev 10796) +++ trunk/themes/default/templates/viewsource.tmpl 2021-12-16 16:21:43 UTC (rev 10797) @@ -1,4 +1,5 @@ -<?php if ($page->get('locked') && !$user->isAdmin()) { ?> +<?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> @@ -14,8 +15,8 @@ rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" readonly="readonly" -><?php echo $PAGE_SOURCE ?></textarea> - +><?php echo $PAGE_SOURCE ?> +</textarea> <div id="footer"><?php // for top & bottom toolbars stylesheet ?> <?php echo Template('browse-footer')?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |