Search comment/help/description update to include wildcards

This commit is contained in:
Savetheinternet 2011-03-30 01:36:19 +11:00
parent a013390352
commit 233cb44f18

View File

@ -111,7 +111,7 @@
'<input id="search" name="search" type="text" size="35" />' . '<input id="search" name="search" type="text" size="35" />' .
'<input type="submit" value="Search" />' . '<input type="submit" value="Search" />' .
'</form>' . '</form>' .
'<p class="unimportant">(Search is case-insensitive, and based on keywords. To match exact phrases, use "quotes". Use an asterisk ("*") for wildcard.)</p>' . '<p class="unimportant">(Search is case-insensitive, and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.)</p>' .
'</li>'; '</li>';
} }
@ -309,7 +309,7 @@
'/>' . '/>' .
'<input type="submit" value="Search" />' . '<input type="submit" value="Search" />' .
'</p></form>' . '</p></form>' .
'<p><span class="unimportant">(Search is case-insensitive, and based on keywords. To match exact phrases, use "quotes". Use an asterisk ("*") for wildcard.)</span></p>' . '<p><span class="unimportant">(Search is case-insensitive, and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.)</span></p>' .
'</div>'; '</div>';
if(isset($_POST['search']) && !empty($_POST['search'])) { if(isset($_POST['search']) && !empty($_POST['search'])) {