[imp] login in imp (fwd)

Shyama Mandal shyama_mandal@yahoo.com
Sat, 31 Mar 2001 13:11:26 -0800 (PST)


Use JavaScript to translate your value.
Change imp/templates/login.inc
In the function submit_login

document.implogin.imapuser.value =
document.implogin.imapuser.value.replace( ...... ,
'-')
document.implogin.submit();

Use appropriate regular expression in the replace
function above. I think replace(/\./,'-') will work.

--- "Brent J. Nordquist" <bjn@horde.org> wrote:
> 
> ---------- Forwarded message ----------
> Date: Sat, 31 Mar 2001 16:51:29 +0200
> From: web <tzzzt@web.de>
> To: bjn@horde.org
> Subject: login in imp
> 
> hi folks
> 
> please help me. i have a problem with my login in
> imp.
> well, i must use to login 'vorname.nachname' but
> this does not work with my
> imap-server.
> i want to convert the login value 'vorname.nachname'
> to 'vorname-nachname'.
> 
> in the file ../templates/login.inc is the
> login-procedure and with the
> command
> 
> imapuser=imapuser.replace('.','-')    can i replace
> the . to -
> ================
> 
> but it doesn`t work. because the value is in
> 
> <tr>
>    <td align="right"><font size="2" face="<?php echo
> $default->font->face;
> ?>"><b><?php echo $lan
> g->user_name ?></b></font></td>
>    <td><input type="text" tabindex="1"
> name="imapuser" value="<?php echo
> getenv('REMOTE_USER') ?>
> 
> ===================================
> 
> 
> "></td>
>    <td align="left"><?php
> $help->link(LOGIN_HELP_USERNAME, $help_file,
> 'imp') ?></td>
> </tr>
> 
> and not in imapuser.
> 
> can you please help me.
> 
> karl wichmann germany
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail:
> imp-unsubscribe@lists.horde.org
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text