>> Hello all,
>> after a long time i write to mailling list that i want to change my own
>> login page.
>> I see that i need to add 3-4 lines in login.php but every time when i
>> added it i recive error.
>> What i trying to make:
>> --------
>> First define array $domains
>> $domains = ("first.net","second.net","other.com");
>> After this i add these lines:
>>   html_tag( 'tr',
>>    html_tag( 'td',
>>      addSelect( "mailserv",$domains, "-1", TRUE))) . "\n" .
>>        html_tag( 'tr',
>> without last line etc.
>> in file redirect.php i added line:
>> $login_username = $login_username."@".$mailserv;
>>
>> Every time i recive error, i see sorce code of sq for help how to use
>> AddSelect but unable to understad.
>> Do any body can help me to add this in lofin.php to user can select in
>> what domain to logging in.
>
> If you have added only one line into redirect.php, $mailserv variable is
> not extracted from POST variables.
>
> addSelect function is part of squirrelmail functions/forms.php. It is
> included only in 1.4.3cvs and 1.5.1cvs. Some comments that explain usage
> of this function are included in that file. Why are you using negative
> number in order to set default value? Your array data does not have such
> key.
>
> arrays are created with $name=array(some..array..data). without it your
> code can't be parsed.
>
> --
> Tomas
>
>

I change $domains to $domains = array .. and now it's show in index page
but have i litte problem :(
The value in variable $mailserv is in numerc etc. first.com value="0"
but i need value in page to be domain name etc first.com value="fisrt.com"
How i change this ?

Regards,
Condor



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to