Author: vargenau
Date: 2014-06-04 15:47:52 +0200 (Wed, 04 Jun 2014)
New Revision: 20298
Modified:
trunk/src/plugins/wiki/www/lib/plugin/AuthorHistory.php
Log:
wiki: use CSS
Modified: trunk/src/plugins/wiki/www/lib/plugin/AuthorHistory.php
===================================================================
--- trunk/src/plugins/wiki/www/lib/plugin/AuthorHistory.php 2014-06-04
13:29:50 UTC (rev 20297)
+++ trunk/src/plugins/wiki/www/lib/plugin/AuthorHistory.php 2014-06-04
13:47:52 UTC (rev 20298)
@@ -105,7 +105,7 @@
if (!($page == 'all')) {
$p = $dbi->getPage($page);
- $thead->pushContent(HTML::tr(HTML::th(array('align' => 'right'),
+ $thead->pushContent(HTML::tr(HTML::th(array('class' =>
'align-right'),
_("Version")),
$includeminor ? HTML::th(_("Minor")) : "",
HTML::th(_("Author")),
@@ -123,13 +123,13 @@
$difflink = Button(array('action' => 'diff',
'previous' => 'minor'),
$rev->getversion(), $rev);
- $tr = HTML::tr(HTML::td(array('align' => 'right'),
+ $tr = HTML::tr(HTML::td(array('class' => 'align-right'),
$difflink, $nbsp),
$includeminor ? (HTML::td($nbsp, ($isminor ? "minor" :
"major"), $nbsp)) : "",
HTML::td($nbsp, WikiLink($rev->get('author'),
'if_known'), $nbsp),
HTML::td($nbsp, $rev->get('summary')),
- HTML::td(array('align' => 'right'),
+ HTML::td(array('class' => 'align-right'),
$WikiTheme->formatdatetime($rev->get('mtime')))
);
@@ -147,7 +147,7 @@
//search all pages for all edits by this author
$thead->pushContent(HTML::tr(HTML::th(_("Page Name")),
- HTML::th(array('align' => 'right'),
+ HTML::th(array('class' => 'align-right'),
_("Version")),
$includeminor ? HTML::th(_("Minor")) : "",
HTML::th(_("Summary")),
@@ -169,11 +169,11 @@
HTML::td($nbsp,
($isminor ? $rev->_pagename :
WikiLink($rev->_pagename, 'auto'))
),
- HTML::td(array('align' => 'right'),
+ HTML::td(array('class' => 'align-right'),
$difflink, $nbsp),
$includeminor ? (HTML::td($nbsp, ($isminor ?
"minor" : "major"), $nbsp)) : "",
HTML::td($nbsp, $rev->get('summary')),
- HTML::td(array('align' => 'right'),
+ HTML::td(array('class' => 'align-right'),
$WikiTheme->formatdatetime($rev->get('mtime')), $nbsp)
);
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits