$mp = wfMsg( "mainpage" );
$titleObj = Title::newFromText( $mp );
$s = "<a href=\"" . $titleObj->escapeLocalURL()
- . "\"><img{$a} border='0' src=\""
+ . "\"><img{$a} src=\""
. $this->getLogo() . "\" alt=\"" . "[{$mp}]\" /></a>";
return $s;
}
}
if ( "center" == $align )
{
- $prefix = "<center>";
- $postfix = "</center>";
+ $prefix = '<span style="text-align: center">';
+ $postfix = '</span>';
$align = "none";
}
$s = str_replace( "$1", $name, wfMsg("missingimage") );
} else {
$s = "\n <a href=\"{$u}\" class='image' title=\"{$alt}\">\n" .
- " <img border=\"0\" src=\"{$url}\" alt=\"{$alt}\" />\n </a>";
+ " <img src=\"{$url}\" alt=\"{$alt}\" />\n </a>";
}
if ( "" != $align ) {
$s = "<div class=\"float{$align}\"><span>{$s}\n</span></div>";
$s .= str_replace( "$1", $name, wfMsg("missingimage") );
} else {
$s .= "\n".' <a href="'.$u.'" class="internal" title="'.$alt.'">'."\n".
- ' <img border="0" src="'.$thumbUrl.'" alt="'.$alt.'" ' .
+ ' <img src="'.$thumbUrl.'" alt="'.$alt.'" ' .
' width="'.$boxwidth.'" height="'.$boxheight.'" /></a>' ."\n".
' <a href="'.$u.'" class="internal" title="'.$more.'"> ' ."\n".
- ' <img border="0" src="'.$wgUploadPath.'/magnify-clip.png" ' .
+ ' <img src="'.$wgUploadPath.'/magnify-clip.png" ' .
'width="26" height="24" align="'.$magnifyalign.'" alt="'.$more.'" /> </a>'."\n";
}
$s .= ' <p'.$textalign.'>'.$label."</p>\n</div></div>";
$rcm = "RCM{$this->rcCacheIndex}" ;
$toggleLink = "javascript:toggleVisibility(\"{$rci}\",\"{$rcm}\",\"{$rcl}\")" ;
$arrowdir = $wgLang->isRTL() ? "l" : "r";
- $tl = "<span id='{$rcm}'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_{$arrowdir}.png' width='12' height='12' border='0' /></a></span>" ;
- $tl .= "<span id='{$rcl}' style='display:none'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_d.png' width='12' height='12' border='0' /></a></span>" ;
+ $tl = "<span id='{$rcm}'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_{$arrowdir}.png' width='12' height='12' /></a></span>" ;
+ $tl .= "<span id='{$rcl}' style='display:none'><a href='$toggleLink'><img src='{$wgUploadPath}/Arr_d.png' width='12' height='12' /></a></span>" ;
$r .= $tl ;
# Main line
# Get rc_xxxx variables
extract( $rcObj->mAttribs );
- $r .= "<img src='{$wgUploadPath}/Arr_.png' width=12 height=12 border=0 />";
+ $r .= "<img src='{$wgUploadPath}/Arr_.png' width=12 height=12 />";
$r .= "<tt> " ;
if ( $rc_new ) $r .= $N ;
else $r .= " " ;
# format text between /* .. */ with autocomment CSS class
$comment=preg_replace("/\/\*\s*(.*?)\s*\*\//i",
- "<span id=\"autocomment\">$1</span>",$comment);
+ "<span class=\"autocomment\">$1</span>",$comment);
return $comment;
}
#footer { padding: 4px; }
#footer form { display: inline; }
-#autocomment { color: gray; }
+.autocomment { color: gray; }
#sitetitle {
font-family: Times, serif;
color: white;
a.stub { color:#772233; text-decoration:none; }
h2, h3, h4, h5, h6 { margin-bottom: 0; }
small { font-size: 75%; }
+img { border: none; }
#toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; }
a.stub { color:#772233; text-decoration:none; }
h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
h2, h3, h4, h5, h6 { margin-bottom: 0; }
+img { border: none; }
p.subtitle { padding-top: 0; margin-top: 0; }
#toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; }
font-size:smaller;
}
+/* automatically generated edit summaries */
+.autocomment { color: gray; }
+
/* Print-specific things to hide */
.urlexpansion, .printfooter {
display: none;