Unverified Commit b1af4c2b by ProThoughts Committed by GitHub

Added placeholder "Search..." for search box

parent c2da0046
...@@ -742,4 +742,14 @@ class qa_html_theme extends qa_html_theme_base ...@@ -742,4 +742,14 @@ class qa_html_theme extends qa_html_theme_base
'</div>' . '</div>' .
'</div>'; '</div>';
} }
/**
* Adds placeholder "Search..." for search box
*
* @since Snow 1.4
*/
public function search_field($search)
{
$this->output('<input type="text" ' .'placeholder="' . $search['button_label'] . '..." ' . $search['field_tags'] . ' value="' . @$search['value'] . '" class="qa-search-field"/>');
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment