Some updates merged from monobook
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 7 Sep 2006 11:58:30 +0000 (11:58 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 7 Sep 2006 11:58:30 +0000 (11:58 +0000)
skins/disabled/HTMLDump.php

index 2adf338..3362784 100644 (file)
@@ -137,7 +137,7 @@ class HTMLDumpTemplate extends QuickTemplate {
        <div id="content">
          <a name="top" id="contentTop"></a>
          <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
-         <h1 class="firstHeading"><?php $this->text('title') ?></h1>
+      <h1 class="firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
          <div id="bodyContent">
            <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
            <div id="contentSub"><?php $this->html('subtitle') ?></div>
@@ -171,7 +171,7 @@ class HTMLDumpTemplate 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 (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
          <div class='pBody'>
            <ul>
            <?php foreach($cont as $key => $val) { ?>
@@ -183,7 +183,7 @@ class HTMLDumpTemplate extends QuickTemplate {
        <?php } ?>
        <div id="p-search" class="portlet">
          <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
-         <div class="pBody">
+         <div id="searchBody" class="pBody">
            <form action="javascript:goToStatic(3)" id="searchform"><div>
              <input id="searchInput" name="search" type="text"
                <?php if($this->haveMsg('accesskey-search')) {