From: <var...@us...> - 2010-09-03 13:08:09
|
Revision: 7675 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7675&view=rev Author: vargenau Date: 2010-09-03 13:08:03 +0000 (Fri, 03 Sep 2010) Log Message: ----------- Add class="warning_msg" Modified Paths: -------------- trunk/themes/Crao/templates/editpage.tmpl trunk/themes/MonoBook/templates/viewsource.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/viewsource.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/default/templates/viewsource.tmpl trunk/themes/fusionforge/templates/editpage.tmpl Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/Crao/templates/editpage.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -16,7 +16,7 @@ <?php echo $PAGE_LOCKED_MESSAGE ?> <?php echo $CONCURRENT_UPDATE_MESSAGE ?> <?php if (! $IS_CURRENT) { ?> - <p><strong><?php echo _("Warning: You are editing an old revision.")?> + <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?> <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> <?php /* Modified: trunk/themes/MonoBook/templates/viewsource.tmpl =================================================================== --- trunk/themes/MonoBook/templates/viewsource.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/MonoBook/templates/viewsource.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -2,18 +2,19 @@ // rcs_id('$Id$'); ?> <?php if ($page->get('locked') && !$user->isAdmin()) { ?> - <p><strong><?php echo _("Note:")?></strong> + <p class="warning_msg"><strong><?php echo _("Note:")?></strong> <?php echo _("This page has been locked and cannot be edited.")?> </p> - <?php } ?> +<?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> - <p><?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('edit', _("View the current version"), $page) ?>. + <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?> + <?php echo Button('edit', _("View the current version."), $page) ?> </p> - <?php } ?> +<?php } ?> <br class="clear-floats" /> <textarea class="wikiedit" -name="content" -rows="<?php echo $request->getPref('editHeight')?>" -cols="<?php echo $request->getPref('editWidth')?>" -readonly="readonly"><?php echo $PAGE_SOURCE ?></textarea> + name="content" + rows="<?php echo $request->getPref('editHeight')?>" + cols="<?php echo $request->getPref('editWidth')?>" + readonly="readonly" +><?php echo $PAGE_SOURCE ?></textarea> Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/Portland/templates/editpage.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -20,7 +20,7 @@ <?php echo $PAGE_LOCKED_MESSAGE ?> <?php echo $CONCURRENT_UPDATE_MESSAGE ?> <?php if (!$IS_CURRENT) { ?> - <p><strong><?php echo _("Warning: You are editing an old revision.")?> + <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?> <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> </td> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/Portland/templates/viewsource.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -1,23 +1,21 @@ <?php // -*-php-*- // rcs_id('$Id$'); ?> - <?php if ($page->get('locked') && !$user->isAdmin()) { ?> - <p><strong><?php echo _("Note:")?></strong> + <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()) { ?> - <p><?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('viewsource', _("View the current version"), $page)?>.</p> + <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?> + <?php echo Button('viewsource', _("View the current version."), $page)?></p> <?php } ?> <textarea class="wikiedit" name="content" rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" - readonly="readonly" - ><?php echo $PAGE_SOURCE ?></textarea> + readonly="readonly" +><?php echo $PAGE_SOURCE ?></textarea> <hr /> -<a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>" - ><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> +<a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"> +<?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -7,21 +7,19 @@ <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($page->get('locked') && !$user->isAdmin()) { ?> - <p><strong><?php echo _("Note:")?></strong> + <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()) { ?> - <p><?php echo _("You are viewing an old revision of this page.")?> + <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?> <?php echo Button('viewsource', _("View the current version"), $page)?>.</p> <?php } ?> - <textarea class="wikiedit" name="content" rows="<?php echo $request->getPref('editHeight')?>" cols="<?php echo $request->getPref('editWidth')?>" - readonly="readonly" - ><?php echo $PAGE_SOURCE ?></textarea> + readonly="readonly" +><?php echo $PAGE_SOURCE ?></textarea> <hr /> <a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>" ><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/blog/templates/viewsource.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -4,19 +4,19 @@ <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($page->get('locked') && !$user->isAdmin()) { ?> - <p><strong><?php echo _("Note:")?></strong> + <p class="warning_msg"><strong><?php echo _("Note:")?></strong> <?php echo _("This page has been locked and cannot be edited.")?> </p> - <?php } ?> +<?php } ?> <?php if (! $revision->isCurrent()) { ?> - <p><?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('edit', _("View the current version"), $page) ?>. + <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?> + <?php echo Button('edit', _("View the current version."), $page) ?> </p> - <?php } ?> +<?php } ?> <br class="clear-floats" /> <textarea class="wikiedit" -name="content" -rows="<?php echo $request->getPref('editHeight')?>" -cols="<?php echo $request->getPref('editWidth')?>" -readonly="readonly" + name="content" + rows="<?php echo $request->getPref('editHeight')?>" + cols="<?php echo $request->getPref('editWidth')?>" + readonly="readonly" ><?php echo $PAGE_SOURCE ?></textarea> Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/default/templates/editpage.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -18,7 +18,7 @@ <?php echo $CONCURRENT_UPDATE_MESSAGE ?> <?php if (! $IS_CURRENT) { ?> - <p><strong><?php echo _("Warning: You are editing an old revision.")?> + <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?> <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> <?php /* Modified: trunk/themes/default/templates/viewsource.tmpl =================================================================== --- trunk/themes/default/templates/viewsource.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/default/templates/viewsource.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -3,21 +3,21 @@ ?> <?php if ($page->get('locked') && !$user->isAdmin()) { ?> - <p><strong><?php echo _("Note:")?></strong> + <p class="warning_msg"><strong><?php echo _("Note:")?></strong> <?php echo _("This page has been locked and cannot be edited.")?> </p> - <?php } ?> +<?php } ?> <?php if ($revision and !$revision->isCurrent()) { ?> - <p><?php echo _("You are viewing an old revision of this page.")?> - <?php echo Button('edit', _("View the current version"), $page) ?>. + <p class="warning_msg"><?php echo _("You are viewing an old revision of this page.")?> + <?php echo Button('edit', _("View the current version."), $page) ?> </p> - <?php } ?> +<?php } ?> <br class="clear-floats" /> <textarea class="wikiedit" -name="content" -rows="<?php echo $request->getPref('editHeight')?>" -cols="<?php echo $request->getPref('editWidth')?>" -readonly="readonly" + name="content" + rows="<?php echo $request->getPref('editHeight')?>" + cols="<?php echo $request->getPref('editWidth')?>" + readonly="readonly" ><?php echo $PAGE_SOURCE ?></textarea> <div id="footer"><!-- for top & bottom toolbars stylesheet --> Modified: trunk/themes/fusionforge/templates/editpage.tmpl =================================================================== --- trunk/themes/fusionforge/templates/editpage.tmpl 2010-09-03 13:01:27 UTC (rev 7674) +++ trunk/themes/fusionforge/templates/editpage.tmpl 2010-09-03 13:08:03 UTC (rev 7675) @@ -13,7 +13,7 @@ <?php echo $CONCURRENT_UPDATE_MESSAGE ?> <?php if (! $IS_CURRENT) { ?> - <p><strong><?php echo _("Warning: You are editing an old revision.")?> + <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?> <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> <?php /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |