more consistent use of q parameter
This commit is contained in:
parent
7b2321e989
commit
263c455457
7 changed files with 8 additions and 1 deletions
|
@ -39,6 +39,7 @@ EOD
|
||||||
<div class='space' id='search'>
|
<div class='space' id='search'>
|
||||||
<form action='".search_link()."' method='GET'>
|
<form action='".search_link()."' method='GET'>
|
||||||
<input name='search' size='30' type='search' value='' class='autocomplete_tags' autofocus='autofocus' />
|
<input name='search' size='30' type='search' value='' class='autocomplete_tags' autofocus='autofocus' />
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
<input type='submit' value='Search'/>
|
<input type='submit' value='Search'/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -91,6 +91,7 @@ and of course start organising your images :-)
|
||||||
$h_search = "
|
$h_search = "
|
||||||
<p><form action='$h_search_link' method='GET'>
|
<p><form action='$h_search_link' method='GET'>
|
||||||
<input type='search' name='search' value='$h_search_string' placeholder='Search' class='autocomplete_tags' />
|
<input type='search' name='search' value='$h_search_string' placeholder='Search' class='autocomplete_tags' />
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
<input type='submit' value='Find' style='display: none;' />
|
<input type='submit' value='Find' style='display: none;' />
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
|
|
|
@ -53,6 +53,7 @@ class RandomListTheme extends Themelet
|
||||||
$h_search = "
|
$h_search = "
|
||||||
<p><form action='$h_search_link' method='GET'>
|
<p><form action='$h_search_link' method='GET'>
|
||||||
<input type='search' name='search' value='$h_search_string' placeholder='Search random list' class='autocomplete_tags' />
|
<input type='search' name='search' value='$h_search_string' placeholder='Search random list' class='autocomplete_tags' />
|
||||||
|
<input type='hidden' name='q' value='random'>
|
||||||
<input type='submit' value='Find' style='display: none;' />
|
<input type='submit' value='Find' style='display: none;' />
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
|
|
|
@ -98,7 +98,8 @@ class ViewPostTheme extends Themelet
|
||||||
{
|
{
|
||||||
$h_pin = $this->build_pin($image);
|
$h_pin = $this->build_pin($image);
|
||||||
$h_search = "
|
$h_search = "
|
||||||
<p><form action='".search_link()."' method='POST'>
|
<p><form action='".search_link()."' method='GET'>
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
<input type='search' name='search' placeholder='Search' class='autocomplete_tags'>
|
<input type='search' name='search' placeholder='Search' class='autocomplete_tags'>
|
||||||
<input type='submit' value='Find' style='display: none;'>
|
<input type='submit' value='Find' style='display: none;'>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -51,6 +51,7 @@ class CustomIndexTheme extends IndexTheme
|
||||||
return "
|
return "
|
||||||
<p><form action='$h_search_link' method='GET'>
|
<p><form action='$h_search_link' method='GET'>
|
||||||
<input name='search' type='text' value='$h_search_string' class='autocomplete_tags' placeholder='Search' />
|
<input name='search' type='text' value='$h_search_string' class='autocomplete_tags' placeholder='Search' />
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
<input type='submit' value='Find' style='display: none;' />
|
<input type='submit' value='Find' style='display: none;' />
|
||||||
</form>
|
</form>
|
||||||
<div id='search_completions'></div>";
|
<div id='search_completions'></div>";
|
||||||
|
|
|
@ -36,6 +36,7 @@ class CustomIndexTheme extends IndexTheme
|
||||||
<p><form action='$h_search_link' method='GET'>
|
<p><form action='$h_search_link' method='GET'>
|
||||||
<input name='search' type='text' value='$h_search_string' class='autocomplete_tags' placeholder='' style='width:75%'/>
|
<input name='search' type='text' value='$h_search_string' class='autocomplete_tags' placeholder='' style='width:75%'/>
|
||||||
<input type='submit' value='Go' style='width:20%'>
|
<input type='submit' value='Go' style='width:20%'>
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
</form>
|
</form>
|
||||||
<div id='search_completions'></div>";
|
<div id='search_completions'></div>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@ class CustomViewPostTheme extends ViewPostTheme
|
||||||
<form action='".search_link()."' method='POST'>
|
<form action='".search_link()."' method='POST'>
|
||||||
<input name='search' type='text' style='width:75%'>
|
<input name='search' type='text' style='width:75%'>
|
||||||
<input type='submit' value='Go' style='width:20%'>
|
<input type='submit' value='Go' style='width:20%'>
|
||||||
|
<input type='hidden' name='q' value='post/list'>
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
Reference in a new issue