From: <var...@us...> - 2009-07-12 19:19:06
|
Revision: 7015 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7015&view=rev Author: vargenau Date: 2009-07-12 19:19:04 +0000 (Sun, 12 Jul 2009) Log Message: ----------- Valid XHTML code Modified Paths: -------------- trunk/themes/blog/templates/body.tmpl trunk/themes/blog/templates/top.tmpl Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2009-07-12 18:51:18 UTC (rev 7014) +++ trunk/themes/blog/templates/body.tmpl 2009-07-12 19:19:04 UTC (rev 7015) @@ -1,7 +1,7 @@ <?php // -*-html-*- rcs_id('$Id$'); ?> -<body leftmargin="20" topmargin="0" <?= $WikiTheme->getMoreAttr('body') ?>> +<body <?= $WikiTheme->getMoreAttr('body') ?>> <!--{{{ Page--> <div id="page"> <?= Template('top') ?> Modified: trunk/themes/blog/templates/top.tmpl =================================================================== --- trunk/themes/blog/templates/top.tmpl 2009-07-12 18:51:18 UTC (rev 7014) +++ trunk/themes/blog/templates/top.tmpl 2009-07-12 19:19:04 UTC (rev 7015) @@ -13,6 +13,6 @@ <div id="actionbar"> <?= Template('actionbar') ?> </div> -<div id="pagetrail"><p><?=_("Page Trail")?>: <?plugin PageTrail numberlinks=7 ?></p></div> +<div id="pagetrail"><?=_("Page Trail")?>: <?plugin PageTrail numberlinks=7 ?></div> <?php } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-09-28 16:16:55
|
Revision: 8319 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8319&view=rev Author: vargenau Date: 2012-09-28 16:16:48 +0000 (Fri, 28 Sep 2012) Log Message: ----------- Remove $Id$ Modified Paths: -------------- trunk/themes/blog/templates/actionbar.tmpl trunk/themes/blog/templates/blogform.tmpl trunk/themes/blog/templates/body.tmpl trunk/themes/blog/templates/bottom.tmpl trunk/themes/blog/templates/browse-footer.tmpl trunk/themes/blog/templates/browse.tmpl trunk/themes/blog/templates/debug.tmpl trunk/themes/blog/templates/info.tmpl trunk/themes/blog/templates/navbar.tmpl trunk/themes/blog/templates/sidebar.tmpl trunk/themes/blog/templates/top.tmpl trunk/themes/blog/templates/viewsource.tmpl trunk/themes/blog/templates/wikiblog.tmpl Modified: trunk/themes/blog/templates/actionbar.tmpl =================================================================== --- trunk/themes/blog/templates/actionbar.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/actionbar.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <table summary="Toolbar: Mani Navigation" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="baseline"> Modified: trunk/themes/blog/templates/blogform.tmpl =================================================================== --- trunk/themes/blog/templates/blogform.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/blogform.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*- php -*- -// $Id$ -?> <div class="wikiblog wikiblog-form"> <form action="<?php echo $request->getPostURL()?>" method="post" name="editpage" accept-charset="<?php echo $charset?>" id="wikiblog-form"> Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/body.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <body <?php echo $WikiTheme->getMoreAttr('body') ?>> <!--{{{ Page--> <div id="page"> Modified: trunk/themes/blog/templates/bottom.tmpl =================================================================== --- trunk/themes/blog/templates/bottom.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/bottom.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,7 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> -<!--span id="bottom" style="margin-left: 25px"--> <!-- Add your Disclaimer here --> <?php if (!$WikiTheme->DUMP_MODE) { ?> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> Modified: trunk/themes/blog/templates/browse-footer.tmpl =================================================================== --- trunk/themes/blog/templates/browse-footer.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/browse-footer.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <!--{{{ Edit Date--> <p class="editdate"> <?php if( $page->getName() != _("HomePage")) { ?> Modified: trunk/themes/blog/templates/browse.tmpl =================================================================== --- trunk/themes/blog/templates/browse.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/browse.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,7 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> - <?php if ($revision and !$revision->isCurrent()) { ?> <p><strong><?php echo _("Note:")?></strong> <?php echo _("You are viewing an old revision of this page.")?> Modified: trunk/themes/blog/templates/debug.tmpl =================================================================== --- trunk/themes/blog/templates/debug.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/debug.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <?php global $RUNTIMER; ?> <p align="center" id="xhtml-validator"><a href="http://validator.w3.org/check/referer">Valid XHTML 1.0</a> <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS!</a> <span class="debug"><?php echo fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?></span> Modified: trunk/themes/blog/templates/info.tmpl =================================================================== --- trunk/themes/blog/templates/info.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/info.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <?php echo Template("default/info") ?> <div class="actionbuttons"> <?php echo $SEP?><?php echo Button("AuthorHistory", _("AuthorHistory")) ?> Modified: trunk/themes/blog/templates/navbar.tmpl =================================================================== --- trunk/themes/blog/templates/navbar.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/navbar.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <!-- Additional sidebar navigation --> <div class="box"> <div class="box-title"> @@ -18,4 +15,4 @@ <?php } ?> <br />· <?php echo Template("blog/signin") ?> -</div></div> \ No newline at end of file +</div></div> Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/sidebar.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,5 +1,4 @@ -<?php // -*-php-*- -// $Id$ +<?php $id = isBrowserIE() ? 'sidebar' : 'moz-sidebar'; ?> <div id="<?php echo $id?>"> Modified: trunk/themes/blog/templates/top.tmpl =================================================================== --- trunk/themes/blog/templates/top.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/top.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <div id="header"> <?php if ( $request->getArg('action') == 'browse' ) { ?> <div id="yoursiteheader"> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/viewsource.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,6 +1,3 @@ -<?php // -*-php-*- -// $Id$ -?> <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($page->get('locked') && !$user->isAdmin()) { ?> Modified: trunk/themes/blog/templates/wikiblog.tmpl =================================================================== --- trunk/themes/blog/templates/wikiblog.tmpl 2012-09-28 16:14:31 UTC (rev 8318) +++ trunk/themes/blog/templates/wikiblog.tmpl 2012-09-28 16:16:48 UTC (rev 8319) @@ -1,5 +1,4 @@ -<?php // -*- php -*- -// $Id$ +<?php $CDATE = $WikiTheme->formatDateTime($BLOG_CTIME); $buttons = $modified = ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2022-01-04 14:15:39
|
Revision: 10817 http://sourceforge.net/p/phpwiki/code/10817 Author: vargenau Date: 2022-01-04 14:15:37 +0000 (Tue, 04 Jan 2022) Log Message: ----------- blog theme: fix layout of messages Modified Paths: -------------- trunk/themes/blog/templates/body.tmpl trunk/themes/blog/templates/browse.tmpl trunk/themes/blog/templates/viewsource.tmpl Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2022-01-04 14:13:20 UTC (rev 10816) +++ trunk/themes/blog/templates/body.tmpl 2022-01-04 14:15:37 UTC (rev 10817) @@ -4,6 +4,23 @@ <div id="pagetitle"> <h1 id="pagetitleText"><?php echo $HEADER ?></h1></div> <main role="main"> +<?php +$action = $request->getArg('action'); +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.") ?> + </p> +<?php } ?> +<?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?> + <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> + <?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="bodyContent"> <?php echo $CONTENT ?> </div> Modified: trunk/themes/blog/templates/browse.tmpl =================================================================== --- trunk/themes/blog/templates/browse.tmpl 2022-01-04 14:13:20 UTC (rev 10816) +++ trunk/themes/blog/templates/browse.tmpl 2022-01-04 14:15:37 UTC (rev 10817) @@ -1,15 +1,3 @@ -<?php -$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> -<?php } ?> -<?php if (!empty($redirected)) { ?> - <p><?php echo $redirected ?></p> -<?php } ?> <div id="content" class="narrowcolumn"> <?php echo $CONTENT?> <div class="comments"> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2022-01-04 14:13:20 UTC (rev 10816) +++ trunk/themes/blog/templates/viewsource.tmpl 2022-01-04 14:15:37 UTC (rev 10817) @@ -1,15 +1,3 @@ -<?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> -<?php } ?> -<?php if (! $revision->isCurrent()) { ?> - <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 } ?> <br class="clear-floats" /> <div id="content" class="narrowcolumn"> <textarea class="wikiedit" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |