$wgValidSkinNames[] = "Smarty";
$wgValidSkinNames[] = "Montparnasse";
}
+if( $wgUsePHPTal ) {
+ #$wgValidSkinNames[] = "PHPTal";
+ $wgValidSkinNames[] = "DaVinci";
+}
include_once( "RecentChange.php" );
}
$s .= "\n<div id='content'>\n<div id='topbar'>" .
- "<table width='98%' border=0 cellspacing=0><tr>";
+ "<table border=0 cellspacing=0><tr>";
$shove = ($qb != 0);
$left = ($qb == 1 || $qb == 3);
$s = "\n</div><br clear=all>\n";
$s .= "\n<div id='footer'>";
- $s .= "<table width='98%' border=0 cellspacing=0><tr>";
+ $s .= "<table border=0 cellspacing=0><tr>";
wfProfileOut( "$fname-1" );
wfProfileIn( "$fname-2" );
$titleObj = Title::newFromText( $mp );
$s = "<a href=\"" . $titleObj->escapeLocalURL()
. "\"><img{$a} border=0 src=\""
- . $this->getLogo() . "\" alt=\"" . "[{$mp}]\"></a>";
+ . $this->getLogo() . "\" alt=\"" . "[{$mp}]\" /></a>";
return $s;
}
global $wgOut;
if ( "" == $alt ) { $alt = $this->fnamePart( $url ); }
- $s = "<img src=\"{$url}\" alt=\"{$alt}\">";
+ $s = "<img src=\"{$url}\" alt=\"{$alt}\" />";
return $s;
}
{
$s = str_replace( "$1", $name, wfMsg("missingimage") );
} else {
- $s = "<a href=\"{$u}\" class='image' title=\"{$alt}\">" .
- "<img border=\"0\" src=\"{$url}\" alt=\"{$alt}\"></a>";
+ $s = "\n <a href=\"{$u}\" class='image' title=\"{$alt}\">\n" .
+ " <img border=\"0\" src=\"{$url}\" alt=\"{$alt}\" />\n </a>";
}
if ( "" != $align ) {
- $s = "<div class=\"float{$align}\">{$s}</div>";
+ $s = "<div class=\"float{$align}\">{$s}\n</div>";
}
return $prefix.$s.$postfix;
}
if ( $thumbUrl == "" ) {
$s .= str_replace( "$1", $name, wfMsg("missingimage") );
} else {
- $s .= "<a href=\"{$u}\" class=\"internal\" title=\"{$alt}\">" .
- "<img border=\"0\" src=\"{$thumbUrl}\" alt=\"{$alt}\" " .
- " width=\"{$boxwidth}\" height=\"{$boxheight}\"></a>" .
- "<a href=\"{$u}\" class=\"internal\" title=\"{$more}\">" .
- "<img border=\"0\" src=\"{$wgUploadPath}/magnify-clip.png\" " .
- " width=\"26\" height=\"24\" align=\"{$magnifyalign}\" alt=\"{$more}\"></a>";
- }
- $s .= "<p{$textalign}>{$label}</p></div>";
+ $s .= "\n".' <a href="'.$u.'" class="internal" title="'.$alt.'">'."\n".
+ ' <img border="0" 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" ' .
+ 'width="26" height="24" align="'.$magnifyalign.'" alt="'.$more.'" /> </a>'."\n";
+ }
+ $s .= ' <p'.$textalign.'>'.$label."</p>\n</div>";
return $s;
}
function beginImageHistoryList()
{
$s = "\n<h2>" . wfMsg( "imghistory" ) . "</h2>\n" .
- "<p>" . wfMsg( "imghistlegend" ) . "\n<ul>";
+ "<p>" . wfMsg( "imghistlegend" ) . "\n<ul class='special'>";
return $s;
}
# Spacer image
$r = "" ;
- $r .= "<img src='{$wgUploadPath}/Arr_.png' width='12' height='12' border='0'>" ; $r .= "<tt>" ;
+ $r .= "<img src='{$wgUploadPath}/Arr_.png' width='12' height='12' border='0' />" ; $r .= "<tt>" ;
if ( $rc_type == RC_MOVE ) {
$r .= " ";
# 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 border=0 />";
$r .= "<tt> " ;
if ( $rc_new ) $r .= $N ;
else $r .= " " ;
$s = "";
if ( $date != $this->lastdate ) {
if ( "" != $this->lastdate ) { $s .= "</ul>\n"; }
- $s .= "<h4>{$date}</h4>\n<ul>";
+ $s .= "<h4>{$date}</h4>\n<ul class='special'>";
$this->lastdate = $date;
}
$s .= "<li> ";
if( $wgUseSmarty ) {
include_once( "SkinSmarty.php" );
}
+if( $wgUsePHPTal ) {
+ include_once( "SkinPHPTal.php" );
+}
+
?>