diff options
author | nobody <nobody@localhost> | 2006-01-05 23:36:45 +0000 |
---|---|---|
committer | nobody <nobody@localhost> | 2006-01-05 23:36:45 +0000 |
commit | 4ce70280face928c604c4300fd2ba6fdc78243da (patch) | |
tree | 3b2f616b592484fcd8bf9b70ea4a062cd5ac64fc /skins | |
parent | 9018faf3a776fffd61bbb9a7516da6ae8bf55f55 (diff) | |
parent | b2a8013a4893454f32dc13bd253e141d7fef2f35 (diff) | |
download | mediawikicore-1.5.5.tar.gz mediawikicore-1.5.5.zip |
This commit was manufactured by cvs2svn to create tag 'REL1_5_5'.1.5.5
Diffstat (limited to 'skins')
-rw-r--r-- | skins/MonoBook.php | 6 | ||||
-rw-r--r-- | skins/common/common.css | 19 | ||||
-rw-r--r-- | skins/common/commonPrint.css | 2 | ||||
-rw-r--r-- | skins/common/wikibits.js | 5 | ||||
-rw-r--r-- | skins/monobook/main.css | 22 |
5 files changed, 44 insertions, 10 deletions
diff --git a/skins/MonoBook.php b/skins/MonoBook.php index b192ee7dab18..c4ec9832878b 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -76,7 +76,7 @@ class MonoBookTemplate extends QuickTemplate { <div id="globalWrapper"> <div id="column-content"> <div id="content"> - <a name="top" id="contentTop"></a> + <a name="top" id="top"></a> <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?> <h1 class="firstHeading"><?php $this->text('title') ?></h1> <div id="bodyContent"> @@ -126,7 +126,7 @@ class MonoBookTemplate extends QuickTemplate { <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script> <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?> <div class='portlet' id='p-<?php echo htmlspecialchars($bar) ?>'> - <h5><?php $this->msg( $bar ) ?></h5> + <h5><?php $out = wfMsg( $bar ); if (wfNoMsg($bar, $out)) echo $bar; else echo $out; ?></h5> <div class='pBody'> <ul> <?php foreach($cont as $key => $val) { ?> @@ -189,7 +189,7 @@ class MonoBookTemplate extends QuickTemplate { <div class="pBody"> <ul> <?php foreach($this->data['language_urls'] as $langlink) { ?> - <li> + <li class="<?php echo htmlspecialchars($langlink['class'])?>"> <a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a> </li> diff --git a/skins/common/common.css b/skins/common/common.css index d73d1399a768..3e9c30525d57 100644 --- a/skins/common/common.css +++ b/skins/common/common.css @@ -354,3 +354,22 @@ table.exif td.spacer { background-color: #eeeeff; padding: 0.2em; } + +/* Allmessages table */ + +#allmessagestable th { + background-color: #b2b2ff; +} + +#allmessagestable tr.orig { + background-color: #ffe2e2; +} + +#allmessagestable tr.new { + background-color: #e2ffe2; +} + +#allmessagestable tr.def { + background-color: #f0f0ff; +} + diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 8835f3a41f48..76b054cd7b3e 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -62,7 +62,6 @@ div.thumb div a img { } div.thumb div div.thumbcaption { border: none; - text-align: left; padding: 0.3em 0 0.1em 0; } div.magnify { display: none; } @@ -120,7 +119,6 @@ ul { font-size: 11pt; padding: 0 ! important; margin: 0 ! important; - text-align: left; } #footer { border-top: 1px solid black; diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 249f72064619..76485a2c1133 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -479,10 +479,7 @@ function fillDestFilename() { // Output result var destFile = document.getElementById('wpDestFile'); - if (destFile.value == '' || destFile.value == document.fname ) { - document.getElementById('wpDestFile').value = fname; - } - document.fname = fname; + if (destFile) destFile.value = fname; } diff --git a/skins/monobook/main.css b/skins/monobook/main.css index ff04c7de6e0d..58e57788662a 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1,4 +1,4 @@ -/* +/* ** MediaWiki 'monobook' style sheet for CSS2-capable browsers. ** Copyright Gabriel Wicke - http://wikidev.net/ ** License: GPL (http://www.gnu.org/copyleft/gpl.html) @@ -1187,3 +1187,23 @@ p.revision_saved { background-color: #eeeeff; padding: 0.2em; } + + +/* Allmessages table */ + +#allmessagestable th { + background-color: #b2b2ff; +} + +#allmessagestable tr.orig { + background-color: #ffe2e2; +} + +#allmessagestable tr.new { + background-color: #e2ffe2; +} + +#allmessagestable tr.def { + background-color: #f0f0ff; +} + |