projects
/
mirror
/
userdir-ldap-cgi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cf8361c
)
Only display the vacation information if the user has logged in with a
author
joey
<>
Thu, 18 Nov 2004 13:32:00 +0000
(13:32 +0000)
committer
joey
<>
Thu, 18 Nov 2004 13:32:00 +0000
(13:32 +0000)
valid authtoken
search.cgi
patch
|
blob
|
history
diff --git
a/search.cgi
b/search.cgi
index
7cd0c13
..
79586f3
100755
(executable)
--- a/
search.cgi
+++ b/
search.cgi
@@
-1,6
+1,6
@@
#!/usr/bin/perl
#!/usr/bin/perl
-# $Id: search.cgi,v 1.
8 2004/11/18 14:30:06
joey Exp $
+# $Id: search.cgi,v 1.
9 2004/11/18 14:32:00
joey Exp $
# (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
use lib '.';
# (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
use lib '.';
@@
-166,8
+166,8
@@
if (!$dosearch) {
$login = $data->{uid}->[0]."\@debian.org";
$login = "<a href=\"mailto:$login\">$login</a>";
$login = $data->{uid}->[0]."\@debian.org";
$login = "<a href=\"mailto:$login\">$login</a>";
- # See if the user has a vacation message
- $vacation = $data->{onvacation}->[0];
+ # See if the user has a vacation message
, non-public
+ $vacation = $data->{onvacation}->[0]
if ($authtoken && $id)
;
# OK, now generate output... (i.e. put the output into the buffer )
$outsub{searchresults} .= '<table border=2 cellpadding=2 cellspacing=0 bgcolor="#DDDDDD" width="80%">';
# OK, now generate output... (i.e. put the output into the buffer )
$outsub{searchresults} .= '<table border=2 cellpadding=2 cellspacing=0 bgcolor="#DDDDDD" width="80%">';