]> git.sur5r.net Git - contagged/commitdiff
All filter added
authorAndreas Gohr <gohr@cosmocode.de>
Wed, 7 Dec 2005 10:41:46 +0000 (11:41 +0100)
committerAndreas Gohr <gohr@cosmocode.de>
Wed, 7 Dec 2005 10:41:46 +0000 (11:41 +0100)
darcs-hash:20051207104146-6e07b-4b6021f9a6fb661526a8a616501c30468b1911e8.gz

index.php
templates/list_filter.tpl

index e90d846b47bbdeb92e66610271eb8c0929ea4b04..7ff0f0761287e736a7700499ea5eadf1648de527 100644 (file)
--- a/index.php
+++ b/index.php
         $other .= '(!(sn='.chr($i).'*))';
       }
       $ldapfilter = "(&(objectClass=inetOrgPerson)$other)";
+    }elseif($filter=='*'){
+      $ldapfilter = "(objectClass=inetOrgPerson)";
     }else{
       $filter = utf8_encode($filter);
       $ldapfilter = "(&(objectClass=inetOrgPerson)(sn=$filter*))";
index 1b9f714cd3f89993eccc4770673efcb9f3776596..1cecd9263e792b6831e6d57f523c44836ce377fb 100644 (file)
@@ -28,6 +28,7 @@
   <a href="index.php?filter=y">Y</a>
   <a href="index.php?filter=z">Z</a>
   <a href="index.php?filter=other">#</a>
+  <a href="index.php?filter=*">*</a>
 </td>
 {if $conf.extended}
 <td class="filterrow" align="right">