From: Geoffrey T. D. <da...@us...> - 2002-01-26 05:51:26
|
Update of /cvsroot/phpwiki/phpwiki/themes/Portland/templates In directory usw-pr-cvs1:/tmp/cvs-serv3530/themes/Portland/templates Modified Files: viewsource.tmpl Log Message: More fixes for "view current version" links. Don't put any version number at all in these links --- that way you're guaranteed the latest version (rather than the latest version at the time the page was generated.) Index: viewsource.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/Portland/templates/viewsource.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** viewsource.tmpl 2002/01/24 00:45:28 1.4 --- viewsource.tmpl 2002/01/26 05:51:24 1.5 *************** *** 5,9 **** <?php if (! $revision->isCurrent()) { ?> <br /><?=_("You are viewing an old revision of this page.")?> ! <?= $ButtonFactory->makeActionButton('edit', _("View the current version"), $page->getCurrentRevision())?>. <?php } ?> </p> --- 5,9 ---- <?php if (! $revision->isCurrent()) { ?> <br /><?=_("You are viewing an old revision of this page.")?> ! <?= $ButtonFactory->makeActionButton('edit', _("View the current version"), $page->getName())?>. <?php } ?> </p> |