[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php 2 // $Horde: imp/scripts/custom_login.php,v 1.6.10.3 2006/08/20 06:11:37 slusarz Exp $ 3 4 // CUSTOMIZE THIS 5 define('IMP_BASE', '..'); 6 7 define('AUTH_HANDLER', true); 8 $authentication = 'none'; 9 require_once IMP_BASE . '/lib/base.php'; 10 require_once IMP_BASE . '/config/servers.php'; 11 12 /* Set up the password encryption token. */ 13 Secret::setKey('imp'); 14 15 /* Use the first server defined in servers.php. */ 16 // CUSTOMIZE THIS 17 18 $server_key = 'localhost'; 19 20 $server_value = $servers[$server_key]['server']; 21 $port_value = $servers[$server_key]['port']; 22 $protocol_value = $servers[$server_key]['protocol']; 23 $smtphost_value = $servers[$server_key]['smtphost']; 24 $smtpport_value = $servers[$server_key]['smtpport']; 25 $url = '/'; 26 // $url = '/' . $registry->get('initial_page','horde'); 27 28 ?> 29 30 <!-- CUSTOMIZE THIS --> 31 <form action="<?php echo Horde::applicationUrl('redirect.php') ?>" method="post"> 32 User: <input name="imapuser" type="text" size="20" /><br /> 33 Pass: <input name="pass" type="password" size="20" /><br /> 34 <input type="hidden" name="server" value="<?php echo $server_value ?>" /> 35 <input type="hidden" name="port" value="<?php echo $port_value ?>" /> 36 <input type="hidden" name="protocol" value="<?php echo $protocol_value ?>" /> 37 <input type="hidden" name="smtphost" value="<?php echo $smtphost_value ?>" /> 38 <input type="hidden" name="smtpport" value="<?php echo $smtpport_value ?>" /> 39 <input type="hidden" name="url" value="<?php echo $url ?>" /> 40 <input type="submit" value="Log in" /> 41 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |