Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Prep view for search input
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Dec 28, 2010
1 parent e2b725c commit bc7a810
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/search/controllers/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function Ask ( $pView = null, $pData = null ) {
$this->Ask->Find ( '[name=search]', 0 )->disabled = true;
} else {
$this->Ask->Find ( '#search-global', 0 )->action = 'http://' . $this->_Current->Domain . '/search/';
$this->Ask->Synchronize();
}

$this->Ask->Display();
Expand Down
2 changes: 1 addition & 1 deletion components/search/views/global.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<form id="search-global">
<input type="text" name="keywords" placeholder="Search Placeholder Text" class="keywords"><input type="submit" value="" class="search-submit">
<input type="text" name="k" placeholder="Search Placeholder Text" class="keywords"><input type="submit" value="" class="search-submit">
</form>
2 changes: 1 addition & 1 deletion components/search/views/local.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<input type="text" disabled="disabled" name="search" placeholder="Search..." class="search local"><input type="submit" name="search" value="" class="search-submit local">
<input type="text" disabled="disabled" name="keywords" placeholder="Search..." class="keywords local"><input type="submit" name="search" value="" class="search-submit local">

0 comments on commit bc7a810

Please sign in to comment.