From: Gabriel Wicke Date: Mon, 24 May 2004 22:13:23 +0000 (+0000) Subject: tweaks to page history X-Git-Tag: 1.5.0alpha1~3208 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=c2b13b75fadbefebd6be0cd24d86756541a88ae1;p=lhc%2Fweb%2Fwiklou.git tweaks to page history --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index e95ad39a55..27ff210bba 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -77,9 +77,9 @@ class PageHistory { $this->mTitle->getPrefixedText(), "action=history", $atend ); $s = $numbar; - $this->submitbuttonhtml = ( $this->linesonpage > 1) ? '
  • -
  • " : + $this->submitbuttonhtml = ( $this->linesonpage > 1) ? '" : ''; $s .= $this->beginHistoryList(); $counter = 1; @@ -114,10 +114,10 @@ class PageHistory { global $wgTitle; $this->lastdate = $this->lastline = ""; $s = "\n

    " . wfMsg( "histlegend" ).'

    '; - $s .="\n
    getFullURL("-") . "\" method=\"get\">"; + $s .="\ngetFullURL("-") . "\" method=\"get\">"; $s .= "getPrefixedDbKey())."\"/>\n"; - $s .= "" . "\n
    \n"; + $s .= "\n"; return $s; } diff --git a/stylesheets/common.css b/stylesheets/common.css index 7061340a6b..712e4fe78a 100644 --- a/stylesheets/common.css +++ b/stylesheets/common.css @@ -77,7 +77,6 @@ div.tleft { background-color:#f9f9f9; border:1px dashed #aaaaaa; } -#pagehistory li.histsubmitli { list-style: none } table.diff { background:white; diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 42479208e5..f1bcf9fbe9 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -157,7 +157,6 @@ textarea { /* 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; @@ -165,11 +164,13 @@ textarea { 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; } @@ -421,7 +422,6 @@ div.townBox dl dd { background-color:#f9f9f9; border:1px dashed #aaaaaa; } -#pagehistory li.histsubmitli { list-style: none } /* ** Diff rendering */ @@ -822,17 +822,17 @@ fieldset.operaprefsection { margin-left: 15em } */ /* 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; @@ -846,6 +846,7 @@ fieldset.operaprefsection { margin-left: 15em } margin-bottom: 0; } * html div.editsection { font-size: smaller; } +#pagehistory li.selected { position: relative; } /* debugging tool.. */ /*div{ border:1px solid #000000;}*/ diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js index bab8d8a540..9d22a0918e 100644 --- a/stylesheets/wikibits.js +++ b/stylesheets/wikibits.js @@ -62,7 +62,7 @@ function toggleVisibility( _levelId, _otherId, _linkId) { function histrowinit () { hf = document.getElementById('pagehistory'); if(!hf) return; - lis = hf.getElementsByTagName('li'); + lis = hf.getElementsByTagName('LI'); for (i=0;i