RoundCube generates the login forum, you should be able to fully edit it useing css, if you want to create a forum to login to RoundCube from else where try using the Autologin plugin Plugin_Repository ? Roundcube Webmail
Hey,
I want make my own login page,
I found only this in skins/default/templates/login.html, but it isn't normal form. Can u help me with creating login page?
I want to delete server form and add my ownPHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><roundcube:object name="pagetitle" /></title>
<meta name="Robots" content="noindex,nofollow" />
<roundcube:include file="/includes/links.html" />
</head>
<body>
<img src="/images/roundcube_logo.png" border="0" alt="<roundcube:object name='productname' />" style="margin:0 11px" />
<roundcube:object name="message" id="message" />
<div id="login-form">
<div class="boxtitle"><roundcube:label name="welcome" /></div>
<div class="boxcontent">
<form name="form" action="./" method="post">
<roundcube:object name="loginform" form="form" autocomplete="off" />
<p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p>
</form>
</div>
</div>
</body>
</html>
RoundCube generates the login forum, you should be able to fully edit it useing css, if you want to create a forum to login to RoundCube from else where try using the Autologin plugin Plugin_Repository ? Roundcube Webmail
I found this:How to change it to html <select>(...)?PHP Code:// add host selection row
if (is_object($input_host)) {
$table->add('title', html::label('rcmloginhost', Q(rcube_label('server'))));
$table->add(null, $input_host->show(get_input_value('_host', RCUBE_INPUT_POST)));
}
are you trying to make a select box for the imap server? this can be done from the config ([rc root]/config/main.inc.php)
otherwise if you look in rcube_tamplate.php, a little above where you got the bit of code from you'll see$rcmail_config['default_host'] = array("host" => "name");
this creates an html select object and adds options to it$input_host = new html_select(array('name' => '_host', 'id' => 'rcmloginhost'));
foreach ($default_host as $key => $value) {
if (!is_array($value)) {
$input_host->add($value, (is_numeric($key) ? $value : $key));
}
else {
$input_host = null;
break;
}
}
Last edited by JohnDoh; 02-27-2010 at 12:10 PM.
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
I have next question. I must write in login usermame@host.com, and select the same host. I want do write only username
I want somethink else
Login = username@host.com
<input(...) name="1"> value = username
<select name="2"> option = host.com
Login = $_POST['1']."@".$_POST['2'];
and host = $_POST['2'];
There are currently 1 users browsing this thread. (0 members and 1 guests)