Update of /cvsroot/phpwiki/phpwiki/themes/MonoBook/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6726/templates
Modified Files:
actionbar.tmpl browse-footer.tmpl
Log Message:
enable edit, layout improvements
Index: actionbar.tmpl
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/themes/MonoBook/templates/actionbar.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -2 -b -p -d -r1.2 -r1.3
--- actionbar.tmpl 25 Jan 2005 07:20:56 -0000 1.2
+++ actionbar.tmpl 11 Feb 2005 14:50:06 -0000 1.3
@@ -2,5 +2,5 @@
<!-- $Id$ -->
<?php
- if (!$page->get('locked') || $user->isAdmin() and $revision)
+if ((!$page->get('locked') || $user->isAdmin()) and isset($revision))
$EditB = Button("edit",
$revision->isCurrent() ? _("Edit") : _("Edit Old
Revision"));
@@ -13,6 +13,6 @@ $dbh = $request->getDbh();
<h5>Views</h5>
<ul>
- <? if ( $user->isSignedIn() ) { ?>
<?= $EditB ?>
+ <? if ( $user->isSignedIn() ) { ?>
<?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) {
?>
<?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
Index: browse-footer.tmpl
===================================================================
RCS file:
/cvsroot/phpwiki/phpwiki/themes/MonoBook/templates/browse-footer.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -2 -b -p -d -r1.3 -r1.4
--- browse-footer.tmpl 25 Jan 2005 07:18:19 -0000 1.3
+++ browse-footer.tmpl 11 Feb 2005 14:50:06 -0000 1.4
@@ -4,10 +4,8 @@
<?php // <hr class="printer" noshade="noshade" /> ?>
<div class="visualClear"></div>
- <div id="f-poweredbyico"><a href="http://www.phpwiki.org/"><img src="<?=
$WikiTheme->getImageURL("poweredby_phpwiki_51x31.png") ?>" alt="Powered by
PhpWiki" /></a></div>
- <div id="f-copyrightico"><a
href="http://www.gnu.org/copyleft/fdl.html"><img src="<?=
$WikiTheme->getImageURL("gnu-fdl.png") ?>" alt="GNU Free Documentation License"
/></a></div>
<ul id="f-list">
<li id="f-lastmod"> <?= $WikiTheme->getOwnerMessage($page) ?> <?=
$WikiTheme->getLastModifiedMessage($revision) ?> <?=
$WikiTheme->getAuthorMessage($revision) ?> </li>
- <li id="f-copyright">All text is available under the terms of the <a
class='internal' href='http://www.gnu.org/copyleft/fdl.html'>GNU Free
Documentation License</a> (see <b>
+ <li id="f-copyright">All text is available under the terms of the <a
class="internal" href="http://www.gnu.org/copyleft/fdl.html">GNU Free
Documentation License</a> (see <b>
<?php if ($request->_dbi->isWikiPage(_("Copyrights"))) { ?>
<?= WikiLink(_("Copyrights")) ?>
@@ -29,3 +27,4 @@
</li>
</ul>
- </div>
+ <div id="f-poweredbyico"><a href="http://www.phpwiki.org/"><img src="<?=
$WikiTheme->getImageURL("poweredby_phpwiki_51x31.png") ?>" alt="Powered by
PhpWiki" /></a></div>
+ <div id="f-copyrightico"><a
href="http://www.gnu.org/copyleft/fdl.html"><img src="<?=
$WikiTheme->getImageURL("gnu-fdl.png") ?>" alt="GNU Free Documentation License"
/></a></div>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|