From: <var...@us...> - 2011-09-23 16:46:40
|
Revision: 8120 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8120&view=rev Author: vargenau Date: 2011-09-23 16:46:34 +0000 (Fri, 23 Sep 2011) Log Message: ----------- Use CSS Modified Paths: -------------- trunk/themes/MonoBook/templates/info.tmpl Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2011-09-23 16:38:01 UTC (rev 8119) +++ trunk/themes/MonoBook/templates/info.tmpl 2011-09-23 16:46:34 UTC (rev 8120) @@ -61,11 +61,10 @@ 'checked' => $page->get('locked'))); // Not sure if I want to keep this... --Carsten - if ($user->isadmin()) { + if ($user->isAdmin()) { $lockunlock = $page->get('locked') ? 'unlock' : 'lock'; $clickcheckbUrl = WikiURL($revision, array('action' => $lockunlock)); $clickcheckb = "location.href='$clickcheckbUrl'"; - $LOCKED_CB->setAttr('onclick', $clickcheckb); } @@ -74,7 +73,7 @@ $label['summary'] = _("Last Summary") . _(":"); } else { - $label['date'] = _("Saved on:") . _(":"); + $label['date'] = _("Saved on") . _(":"); $label['author'] = _("Author") . _(":"); $label['summary'] = _("Summary") . _(":"); } @@ -90,64 +89,61 @@ } elseif ($type == 'default') { $type = _("default page permission"); } - ?> -<!-- FIXME: move table formatting to css --> -<table summary="<?php echo $tableSummary ?>" class="pageinfo" - border="0" cellspacing="0" cellpadding="3"> +<table summary="<?php echo $tableSummary ?>" class="pageinfo"> <?php if (!$is_current) { ?> <tr> - <td align="right" class="pageinfo"><?php echo _("Supplanted on") . _(":") ?></td> + <td class="align-right pageinfo"><?php echo _("Supplanted on") . _(":") ?></td> <td><?php echo $WikiTheme->formatDateTime($revision->get('_supplanted')) ?></td> </tr> <?php } ?> <tr> - <td align="right" nowrap="nowrap" class="pageinfo"><?php echo $label['date'] ?></td> + <td class="align-right nowrap pageinfo"><?php echo $label['date'] ?></td> <td><?php echo $modifed ?><?php echo $minor_flag ?></td> </tr> <tr> - <td align="right" class="pageinfo"><?php echo $label['author'] ?></td> + <td class="align-right pageinfo"><?php echo $label['author'] ?></td> <td><?php echo $authorLink ?> <?php if (! ($author == $authorId)) { ?> <span class="pageinfo-authorid">(<?php echo $authorId ?>)</span> <?php } ?></td> </tr> <tr> - <td align="right" class="pageinfo"><?php echo _("Page Version") . _(":") ?></td> + <td class="align-right pageinfo"><?php echo _("Page Version") . _(":") ?></td> <td><?php echo $version ?></td> </tr> <tr> - <td align="right" class="pageinfo"><?php echo _("Markup") . _(":") ?></td> + <td class="align-right pageinfo"><?php echo _("Markup") . _(":") ?></td> <td><?php echo $markupVersion ?></td> </tr> <tr> - <td align="right" class="pageinfo"><?php echo _("Size") . _(":") ?></td> + <td class="align-right pageinfo"><?php echo _("Size") . _(":") ?></td> <td><?php echo $wordcount ?>, <?php echo $size ?></td> </tr> <?php if ($is_current) { ?> <tr> - <td align="right" class="pageinfo"><?php echo _("Hits") . _(":") ?></td> + <td class="align-right pageinfo"><?php echo _("Hits") . _(":") ?></td> <td><?php echo $hits ?></td> </tr> <?php } ?> <tr> - <td align="right" valign="top" class="pageinfo"><?php echo $label['summary'] ?></td> + <td class="align-right nowrap top pageinfo"><?php echo $label['summary'] ?></td> <td><?php echo $summary ?></td> </tr> <?php if ($is_current) { ?> <tr> - <td align="right"><?php echo $LOCKED_CB ?></td> + <td class="align-right"><?php echo $LOCKED_CB ?></td> <td class="pageinfo"><?php echo _("Locked")?></td> </tr> <tr> - <td align="right" class="pageinfo">ACL type</td> + <td class="align-right pageinfo"><?php echo _("ACL type") . _(":") ?></td> <td><?php echo $type ?></td> </tr> <tr> - <td align="right" valign="top" class="pageinfo">ACL</td> + <td class="align-right top pageinfo"><?php echo _("ACL") . _(":") ?></td> <td><?php echo $perm->asAclLines() ?></td> </tr> <?php } ?> @@ -174,8 +170,8 @@ <?php if (!empty($pagetype)) { $pagetype = implode(", ", $pagetype); ?> <tr> - <td align="right" class="pageinfo"><?php echo _("Page Type") . _(":") ?></td> - <td align="left"><?php echo $pagetype?></td> + <td class="align-right pageinfo"><?php echo _("Page Type") . _(":") ?></td> + <td><?php echo $pagetype?></td> </tr> <?php } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |