Author Topic: Login page: server input?  (Read 4209 times)

Offline dennism

  • Newbie
  • *
  • Posts: 2
Login page: server input?
« on: September 10, 2007, 06:03:49 AM »
I've this login page for my roundcube:
http://demaweb.dk/webmail/

How can I remove the server inputfield from this login page?

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Login page: server input?
« Reply #1 on: September 15, 2007, 11:48:36 AM »
In the main.inc.php file you have to specify what servers are available.

For one server, just use the name of the server, and the input box will go away.

For multiple servers, define them as an array and instead of an input box, a drop-down will show listing all the servers available.

Alternatively you can modify the template to make the server input a hidden field and just set the value to whatever server you want.