Browse files

search users use wildcards as default

  • Loading branch information...
1 parent b44d4de commit fb0586c9d8118629fd79d9e9f109e310c10a863c @Peetra committed Oct 26, 2011
Showing with 2 additions and 4 deletions.
  1. +1 −1 adm/functions.php
  2. +0 −2 adm/usersDelete.php
  3. +1 −1 lang/en.php
View
2 adm/functions.php
@@ -6,7 +6,7 @@ function search_user_form($lang,$searchuser)
{
global $lang;
?>
- <div class="per85"><fieldset class="products">
+ <div class="per85"><fieldset class="pages">
<legend><?=$lang['SEARCH_USER']?></legend>
<form method="get" action="">
<p><?=$lang['SEARCH_USER_EXPLAIN']?></p>
View
2 adm/usersDelete.php
@@ -9,8 +9,6 @@
mysql_query($sql);
$searchuser = (isset($_GET['searchuser'])) ? $_GET['searchuser'] : '';
-// $wildcard = array('?', '*');
-// $searchuser = str_replace($wildcard, "\%", "\%");
if ($searchuser == '')
search_user_form('SEARCH_USER', '');
else
View
2 lang/en.php
@@ -105,7 +105,7 @@
'' => '',
'SEARCH_USER' => 'Search user',
- 'SEARCH_USER_EXPLAIN' => 'Search by name or adress. Use %,* OR ? as wildcards.',
+ 'SEARCH_USER_EXPLAIN' => 'Search by name or adress. The search function automagically uses wildcards.',
'' => '',
'' => '',
'' => '',

0 comments on commit fb0586c

Please sign in to comment.