dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SpecialPage::isRestricted()
[lhc/web/wiklou.git]
/
includes
/
SkinLegacy.php
diff --git
a/includes/SkinLegacy.php
b/includes/SkinLegacy.php
index
aa6b22a
..
7fb17a7
100644
(file)
--- a/
includes/SkinLegacy.php
+++ b/
includes/SkinLegacy.php
@@
-120,21
+120,21
@@
class LegacyTemplate extends BaseTemplate {
}
$s .= "\n<div id='content'>\n<div id='topbar'>\n" .
}
$s .= "\n<div id='content'>\n<div id='topbar'>\n" .
- "<table
border='0' cellspacing='0' width='100%
'>\n<tr>\n";
+ "<table
cellspacing='0' style='width: 100%;
'>\n<tr>\n";
if ( $this->getSkin()->qbSetting() == 0 ) {
if ( $this->getSkin()->qbSetting() == 0 ) {
- $s .= "<td class='top'
align='left' valign='top
' rowspan='{$rows}'>\n" .
+ $s .= "<td class='top'
style='text-align: left; vertical-align: top;
' rowspan='{$rows}'>\n" .
$this->getSkin()->logoText( $wgLang->alignStart() ) . '</td>';
}
$l = $wgLang->alignStart();
$this->getSkin()->logoText( $wgLang->alignStart() ) . '</td>';
}
$l = $wgLang->alignStart();
- $s .= "<td {$borderhack}
align='$l' valign='top
'>\n";
+ $s .= "<td {$borderhack}
style='text-align: $l; vertical-align: top;
'>\n";
$s .= $this->topLinks();
$s .= '<p class="subtitle">' . $this->pageTitleLinks() . "</p>\n";
$r = $wgLang->alignEnd();
$s .= $this->topLinks();
$s .= '<p class="subtitle">' . $this->pageTitleLinks() . "</p>\n";
$r = $wgLang->alignEnd();
- $s .= "</td>\n<td {$borderhack}
valign='top' align='$r
' nowrap='nowrap'>";
+ $s .= "</td>\n<td {$borderhack}
style='text-align: $r; vertical-align: top;
' nowrap='nowrap'>";
$s .= $this->nameAndLogin();
$s .= "\n<br />" . $this->searchForm() . '</td>';
$s .= $this->nameAndLogin();
$s .= "\n<br />" . $this->searchForm() . '</td>';
@@
-553,7
+553,7
@@
class LegacyTemplate extends BaseTemplate {
*/
function getQuickbarCompensator( $rows = 1 ) {
wfDeprecated( __METHOD__, '1.19' );
*/
function getQuickbarCompensator( $rows = 1 ) {
wfDeprecated( __METHOD__, '1.19' );
- return "<td
width='152
' rowspan='{$rows}'> </td>";
+ return "<td
style='width: 152px;
' rowspan='{$rows}'> </td>";
}
function editThisPage() {
}
function editThisPage() {