From: Reini U. <ru...@us...> - 2005-02-02 18:57:12
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5779/templates Modified Files: wikiblog.tmpl Log Message: simplify blog template Index: wikiblog.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/wikiblog.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -2 -b -p -d -r1.3 -r1.4 --- wikiblog.tmpl 14 Jun 2004 11:26:53 -0000 1.3 +++ wikiblog.tmpl 2 Feb 2005 18:56:46 -0000 1.4 @@ -1,4 +1,4 @@ -<!-- $Id$ --> -<?php +<?php // -*- php -*- +rcs_id('$Id$'); $CDATE = $WikiTheme->formatDateTime($BLOG_CTIME); @@ -15,19 +15,17 @@ if ($user->isAdmin() or $user->getId() = // we can't get the version. if ($rev->get('mtime') != $BLOG_CTIME) { - $mtime = $WikiTheme->formatDateTime($rev->get('mtime')); $modified = HTML::small(array('class' => 'floatright'), fmt("Comment modified on %s by %s", - $mtime, $rev->get('author'))); + $WikiTheme->formatDateTime($rev->get('mtime')), + WikiLink($rev->get('author')))); } ?> - -<!-- FIXME: move table formatting to css --> <div title="<?= fmt("Comments on %s by %s.", $BLOG_PARENT, $BLOG_CREATOR)?>" class="wikiblog wikitext"> - <div class="wikiblog-header"> + <!-- <div class="wikiblog-header"> <strong class="floatleft"><?= WikiLink($page, 'known', $CDATE) ?></strong> <strong class="floatright"><?= WikiLink($BLOG_CREATOR, 'if_known') ?></strong> <br clear="all" class="clear-floats" /> - </div> + </div> --> <div class="wikiblog-body"> <?php if ($rev->get('summary')) { ?> |