$this->mTitle->getPrefixedText(),
"action=history", $atend );
$s = $numbar;
- $this->submitbuttonhtml = ( $this->linesonpage > 1) ? '<li class="histsubmitli">
- <input class="historysubmit" type="submit" accesskey="'.wfMsg('accesskey-compareselectedversions').
- '" title="'.wfMsg('tooltip-compareselectedversions').'" value="'.wfMsg('compareselectedversions')."\" /></li>" :
+ $this->submitbuttonhtml = ( $this->linesonpage > 1) ? '<input class="historysubmit"
+ type="submit" accesskey="'.wfMsg('accesskey-compareselectedversions').
+ '" title="'.wfMsg('tooltip-compareselectedversions').'" value="'.wfMsg('compareselectedversions')."\" />" :
'';
$s .= $this->beginHistoryList();
$counter = 1;
global $wgTitle;
$this->lastdate = $this->lastline = "";
$s = "\n<p>" . wfMsg( "histlegend" ).'</p>';
- $s .="\n<form id=\"pagehistory\" name=\"pagehistory\" action=\"" . $wgTitle->getFullURL("-") . "\" method=\"get\">";
+ $s .="\n<form action=\"" . $wgTitle->getFullURL("-") . "\" method=\"get\">";
$s .= "<input type=\"hidden\" name=\"title\" value=\"".htmlspecialchars($wgTitle->getPrefixedDbKey())."\"/>\n";
- $s .= "" . "\n<ul>";
$s .= !empty($this->submitbuttonhtml) ? $this->submitbuttonhtml."\n":'';
+ $s .= "" . "\n<ul id=\"pagehistory\" >";
return $s;
}
$last = wfMsg( "last" );
$s = $skip ? "" : preg_replace( "/!OLDID![0-9]+!/", $last, $this->lastline );
+ $s .= "</ul>";
$s .= !empty($this->submitbuttonhtml) ? $this->submitbuttonhtml."\n":'';
- $s .= "</ul></form>\n";
+ $s .= "</form>\n";
return $s;
}
background-color:#f9f9f9;
border:1px dashed #aaaaaa;
}
-#pagehistory li.histsubmitli { list-style: none }
table.diff {
background:white;
/* hide this from ie/mac and konq2.2 */
@media All {
head:first-child+body input {
- font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
visibility: visible;
border: 1px solid #2f6fab;
color: Black;
vertical-align: middle;
padding: 0.2em;
}
- head:first-child+body input.historysubmit {
- height: 1.9em !important;
- padding: none !important;
- vertical-align: middle;
- }
+}
+input.historysubmit {
+ padding: 0 0.3em 0.3em 0.3em !important;
+ font-size: 94%;
+ cursor: pointer;
+ height: 1.7em !important;
+ margin-left: 1.6em;
}
input[type="radio"],
input[type="checkbox"] { border:none; }
background-color:#f9f9f9;
border:1px dashed #aaaaaa;
}
-#pagehistory li.histsubmitli { list-style: none }
/*
** Diff rendering
*/
*/
/* tabs: border on the a, not the div */
-*>html #p-cactions li { border:none; }
-*>html #p-cactions li a {
+* > html #p-cactions li { border:none; }
+* > html #p-cactions li a {
border: 1px solid #aaaaaa;
border-bottom: none;
}
-*>html #p-cactions li.selected a { border-color: #fabd23; }
+* > html #p-cactions li.selected a { border-color: #fabd23; }
/* footer icons need a fixed width */
-*>html #f-poweredbyico,
-*>html #f-copyrightico { width: 88px; }
-*>html #bodyContent,
-*>html #bodyContent pre {
+* > html #f-poweredbyico,
+* > html #f-copyrightico { width: 88px; }
+* > html #bodyContent,
+* > html #bodyContent pre {
overflow-x: auto;
width: 100%;
padding-bottom: 25px;
margin-bottom: 0;
}
* html div.editsection { font-size: smaller; }
+#pagehistory li.selected { position: relative; }
/* debugging tool.. */
/*div{ border:1px solid #000000;}*/
function histrowinit () {
hf = document.getElementById('pagehistory');
if(!hf) return;
- lis = hf.getElementsByTagName('li');
+ lis = hf.getElementsByTagName('LI');
for (i=0;i<lis.length;i++) {
inputs=lis[i].getElementsByTagName('INPUT');
if(inputs[0] && inputs[1]) {
var oli = false; // the li where the oldid radio is checked
hf = document.getElementById('pagehistory');
if(!hf) return;
- lis = hf.getElementsByTagName('li');
+ lis = hf.getElementsByTagName('LI');
for (i=0;i<lis.length;i++) {
inputs=lis[i].getElementsByTagName('INPUT');
if(inputs[1] && inputs[0]) {