[imp] how to add domain name in the login window?

Eric Rostetter eric.rostetter at physics.utexas.edu
Sat Feb 15 18:03:43 PST 2003


Quoting gao junhua <junhua_gao at hotmail.com>:

> who can tell me how to add a domain name after the username (such as
> @test.com) in the login window.

First, you need to know which version of Horde/IMP you are using.  If a new
enough version, you can just define a hook to do all this for you.  If an
older version, you need to edit a file.  To edit files, you need to know
which login you use.  Normally you would use horde login, but maybe you
setup horde to use IMP authentication?

If Horde auth, you want to edit horde/templates/login/login.inc
If IMP auth,   you want to edit horde/imp/templates/login/login.inc

Find the part where it defines the Username: prompt.  After it, and
after the the <td> defining the input field but before the next <tr>,
add the text you want.  But I can't be more specific without versions, 
etc.

> Notice:just a layout,also input test,not
> input test at test.com.

This you can do with hooks in any version.

> revise which file?

Depends on versions.  There isn't enough info in your message to help.

> thanks.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the imp mailing list