ispman/ispman-web/cgi-bin/tmpl menu.tmpl,1.49,1.50
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9049
Modified Files:
menu.tmpl
Log Message:
Fixing searchUsers. Instead of passing DN, we now pass domain name etc.
Index: menu.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/menu.tmpl,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- menu.tmpl 28 Dec 2004 18:43:27 -0000 1.49
+++ menu.tmpl 12 Apr 2005 12:03:27 -0000 1.50
@@ -28,7 +28,12 @@
}
function doThis(mode,param){
- top.content.location=cgiurl+"?mode="+mode+cgidomain+"&"+param
+ url=cgiurl+"?mode="+mode+cgidomain;
+ if (param){
+ url+="&"+param;
+ }
+
+ top.content.location=url
}
function editUser(user){
@@ -38,7 +43,7 @@
}
function searchUsers(dn){
- top.content.location=cgiurl+"?mode=searchUsers&dn="+escape(dn);
+ doThis("searchUsers");
}
function editMailGroup(dn){
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click