Index: trunk/phase3/includes/Skin.php |
— | — | @@ -707,7 +707,7 @@ |
708 | 708 | $mp = wfMsg( "mainpage" ); |
709 | 709 | $titleObj = Title::newFromText( $mp ); |
710 | 710 | $s = "<a href=\"" . $titleObj->escapeLocalURL() |
711 | | - . "\"><img{$a} border='0' src=\"" |
| 711 | + . "\"><img{$a} src=\"" |
712 | 712 | . $this->getLogo() . "\" alt=\"" . "[{$mp}]\" /></a>"; |
713 | 713 | return $s; |
714 | 714 | } |
— | — | @@ -1507,8 +1507,8 @@ |
1508 | 1508 | } |
1509 | 1509 | if ( "center" == $align ) |
1510 | 1510 | { |
1511 | | - $prefix = "<center>"; |
1512 | | - $postfix = "</center>"; |
| 1511 | + $prefix = '<span style="text-align: center">'; |
| 1512 | + $postfix = '</span>'; |
1513 | 1513 | $align = "none"; |
1514 | 1514 | } |
1515 | 1515 | |
— | — | @@ -1548,7 +1548,7 @@ |
1549 | 1549 | $s = str_replace( "$1", $name, wfMsg("missingimage") ); |
1550 | 1550 | } else { |
1551 | 1551 | $s = "\n <a href=\"{$u}\" class='image' title=\"{$alt}\">\n" . |
1552 | | - " <img border=\"0\" src=\"{$url}\" alt=\"{$alt}\" />\n </a>"; |
| 1552 | + " <img src=\"{$url}\" alt=\"{$alt}\" />\n </a>"; |
1553 | 1553 | } |
1554 | 1554 | if ( "" != $align ) { |
1555 | 1555 | $s = "<div class=\"float{$align}\"><span>{$s}\n</span></div>"; |
— | — | @@ -1694,10 +1694,10 @@ |
1695 | 1695 | $s .= str_replace( "$1", $name, wfMsg("missingimage") ); |
1696 | 1696 | } else { |
1697 | 1697 | $s .= "\n".' <a href="'.$u.'" class="internal" title="'.$alt.'">'."\n". |
1698 | | - ' <img border="0" src="'.$thumbUrl.'" alt="'.$alt.'" ' . |
| 1698 | + ' <img src="'.$thumbUrl.'" alt="'.$alt.'" ' . |
1699 | 1699 | ' width="'.$boxwidth.'" height="'.$boxheight.'" /></a>' ."\n". |
1700 | 1700 | ' <a href="'.$u.'" class="internal" title="'.$more.'"> ' ."\n". |
1701 | | - ' <img border="0" src="'.$wgUploadPath.'/magnify-clip.png" ' . |
| 1701 | + ' <img src="'.$wgUploadPath.'/magnify-clip.png" ' . |
1702 | 1702 | 'width="26" height="24" align="'.$magnifyalign.'" alt="'.$more.'" /> </a>'."\n"; |
1703 | 1703 | } |
1704 | 1704 | $s .= ' <p'.$textalign.'>'.$label."</p>\n</div></div>"; |
— | — | @@ -1862,8 +1862,8 @@ |
1863 | 1863 | $rcm = "RCM{$this->rcCacheIndex}" ; |
1864 | 1864 | $toggleLink = "javascript:toggleVisibility(\"{$rci}\",\"{$rcm}\",\"{$rcl}\")" ; |
1865 | 1865 | $arrowdir = $wgLang->isRTL() ? "l" : "r"; |
1866 | | - $tl = "<span id='{$rcm}'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_{$arrowdir}.png' width='12' height='12' border='0' /></a></span>" ; |
1867 | | - $tl .= "<span id='{$rcl}' style='display:none'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_d.png' width='12' height='12' border='0' /></a></span>" ; |
| 1866 | + $tl = "<span id='{$rcm}'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_{$arrowdir}.png' width='12' height='12' /></a></span>" ; |
| 1867 | + $tl .= "<span id='{$rcl}' style='display:none'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_d.png' width='12' height='12' /></a></span>" ; |
1868 | 1868 | $r .= $tl ; |
1869 | 1869 | |
1870 | 1870 | # Main line |
— | — | @@ -1905,7 +1905,7 @@ |
1906 | 1906 | # Get rc_xxxx variables |
1907 | 1907 | extract( $rcObj->mAttribs ); |
1908 | 1908 | |
1909 | | - $r .= "<img src='{$wgUploadPath}/Arr_.png' width=12 height=12 border=0 />"; |
| 1909 | + $r .= "<img src='{$wgUploadPath}/Arr_.png' width=12 height=12 />"; |
1910 | 1910 | $r .= "<tt> " ; |
1911 | 1911 | if ( $rc_new ) $r .= $N ; |
1912 | 1912 | else $r .= " " ; |
— | — | @@ -2196,7 +2196,7 @@ |
2197 | 2197 | |
2198 | 2198 | # format text between /* .. */ with autocomment CSS class |
2199 | 2199 | $comment=preg_replace("/\/\*\s*(.*?)\s*\*\//i", |
2200 | | - "<span id=\"autocomment\">$1</span>",$comment); |
| 2200 | + "<span class=\"autocomment\">$1</span>",$comment); |
2201 | 2201 | return $comment; |
2202 | 2202 | } |
2203 | 2203 | |
Index: trunk/phase3/stylesheets/monobook/main.css |
— | — | @@ -502,7 +502,7 @@ |
503 | 503 | padding: 0; |
504 | 504 | } |
505 | 505 | /* the auto-generated edit comments */ |
506 | | -#autocomment { color: gray; } |
| 506 | +.autocomment { color: gray; } |
507 | 507 | |
508 | 508 | |
509 | 509 | /* |
Index: trunk/phase3/stylesheets/cologneblue.css |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | |
23 | 23 | #footer { padding: 4px; } |
24 | 24 | #footer form { display: inline; } |
25 | | -#autocomment { color: gray; } |
| 25 | +.autocomment { color: gray; } |
26 | 26 | #sitetitle { |
27 | 27 | font-family: Times, serif; |
28 | 28 | color: white; |
— | — | @@ -91,6 +91,7 @@ |
92 | 92 | a.stub { color:#772233; text-decoration:none; } |
93 | 93 | h2, h3, h4, h5, h6 { margin-bottom: 0; } |
94 | 94 | small { font-size: 75%; } |
| 95 | +img { border: none; } |
95 | 96 | #toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } |
96 | 97 | |
97 | 98 | |
Index: trunk/phase3/stylesheets/nostalgia.css |
— | — | @@ -13,6 +13,7 @@ |
14 | 14 | a.stub { color:#772233; text-decoration:none; } |
15 | 15 | h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; } |
16 | 16 | h2, h3, h4, h5, h6 { margin-bottom: 0; } |
| 17 | +img { border: none; } |
17 | 18 | p.subtitle { padding-top: 0; margin-top: 0; } |
18 | 19 | #toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } |
19 | 20 | |
— | — | @@ -57,6 +58,9 @@ |
58 | 59 | font-size:smaller; |
59 | 60 | } |
60 | 61 | |
| 62 | +/* automatically generated edit summaries */ |
| 63 | +.autocomment { color: gray; } |
| 64 | + |
61 | 65 | /* Print-specific things to hide */ |
62 | 66 | .urlexpansion, .printfooter { |
63 | 67 | display: none; |
Index: trunk/phase3/stylesheets/wikistandard.css |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | #topbar { padding: 4px;font-size:95%; } |
11 | 11 | |
12 | 12 | /* automatically generated edit summaries */ |
13 | | -#autocomment { color: gray; } |
| 13 | +.autocomment { color: gray; } |
14 | 14 | |
15 | 15 | /* Table of contents */ |
16 | 16 | #toc { |
— | — | @@ -54,6 +54,7 @@ |
55 | 55 | td { empty-cells:show; } |
56 | 56 | td.bottom { border-top: 1px solid gray; } |
57 | 57 | td.top { border-bottom: 1px solid gray; } |
| 58 | +img { border: none; } |
58 | 59 | /* images */ |
59 | 60 | div.floatright { float: right; margin: 0 0 1em 1em; } |
60 | 61 | div.floatright p { font-style: italic; } |