1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2024-11-23 19:09:03 +01:00

Search patch (#38)

* Bug fixes for search see #39 

* Bug fixes for search
This commit is contained in:
Tom Hutchison 2017-05-04 05:13:54 -04:00 committed by GitHub
parent 755d190211
commit 3038a4cbe5
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
## Version 1.0.5
* [bug fix] Search link was not follow $wgScript path
* [language] Search input box localisation
## Version 1.0.4
* [bug fix] Don't style sitenotice and user message

View File

@ -118,10 +118,10 @@ class pivotTemplate extends BaseTemplate {
<ul class="off-canvas-list">
<li class="has-form">
<form action="/w/index.php" id="searchform-offcanvas" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
</div>
</div>
</form>
@ -163,10 +163,10 @@ class pivotTemplate extends BaseTemplate {
<img alt="<?php echo $this->text('sitename'); ?>" src="<?php echo $this->text('logopath') ?>" style="max-width: 100%;height: auto;display: inline-block; vertical-align: middle;"></a>
</li>
<li class="has-form">
<form action="/w/index.php" id="searchform" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
</div>
</div>
</form>

View File

@ -1,6 +1,6 @@
{
"name": "Pivot",
"version": "1.0.4",
"version": "1.0.5",
"author": [
"Tom Hutchison",
"..."