From: <var...@us...> - 2021-09-05 07:01:33
|
Revision: 10540 http://sourceforge.net/p/phpwiki/code/10540 Author: vargenau Date: 2021-09-05 07:01:30 +0000 (Sun, 05 Sep 2021) Log Message: ----------- Use CSS class warning_msg for "You are viewing an old revision of this page." Modified Paths: -------------- trunk/themes/Crao/templates/browse.tmpl trunk/themes/MonoBook/templates/browse.tmpl trunk/themes/Portland/templates/browse.tmpl trunk/themes/Wordpress/templates/browse.tmpl trunk/themes/blog/templates/browse.tmpl trunk/themes/default/templates/browse.tmpl Modified: trunk/themes/Crao/templates/browse.tmpl =================================================================== --- trunk/themes/Crao/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/Crao/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -2,8 +2,8 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this 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 } ?> Modified: trunk/themes/MonoBook/templates/browse.tmpl =================================================================== --- trunk/themes/MonoBook/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/MonoBook/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -2,8 +2,8 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this 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 } ?> Modified: trunk/themes/Portland/templates/browse.tmpl =================================================================== --- trunk/themes/Portland/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/Portland/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -4,9 +4,10 @@ <br class="clear-floats" /> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo WikiLink($page, 'existing', _("View the current version."))?></p> + <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 } ?> <?php if (!empty($redirected)) { ?> Modified: trunk/themes/Wordpress/templates/browse.tmpl =================================================================== --- trunk/themes/Wordpress/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/Wordpress/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -4,9 +4,10 @@ <br class="clear-floats" /> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this page.")?> - <?php echo WikiLink($page, 'existing', _("View the current version."))?>.</p> + <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 } ?> <?php if (!empty($redirected)) { ?> Modified: trunk/themes/blog/templates/browse.tmpl =================================================================== --- trunk/themes/blog/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/blog/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -2,8 +2,8 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this 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 } ?> Modified: trunk/themes/default/templates/browse.tmpl =================================================================== --- trunk/themes/default/templates/browse.tmpl 2021-09-04 11:54:14 UTC (rev 10539) +++ trunk/themes/default/templates/browse.tmpl 2021-09-05 07:01:30 UTC (rev 10540) @@ -2,8 +2,8 @@ $action = $request->getArg('action'); ?> <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> - <p><strong><?php echo _("Note:")?></strong> - <?php echo _("You are viewing an old revision of this 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 } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |