[Serusers] serweb tunning :)

Karel Kozlik karel at iptel.org
Mon Mar 27 08:53:46 CEST 2006



Joao Pereira napsal(a):
> Hello to all
> 
> in the subscription page of serweb ( serweb/user/reg/index.php ) the 
> users can choose their timezone from a list.
> But 95% of my users have the "Europe/Lisbon" timezone.
> How can I put as default timezone "Europe/Lisbon", instead of the " - 
> select your timezone -" ?

Hi,
unfortunately only by change in source. But the change is easy.
Change file application_layer/apu_registration.php line 236 to this:

$this->f->add_element(array("type"=>"select",
		 "name"=>"timezone",
		 "options"=>$options,
		 "size"=>1,
                  "valid_e"=>$lang_str['fe_not_choosed_timezone'],
		 "value"=>"Europe/Lisbon",
		 "extrahtml"=>"style='width:250px;'"));


Karel




More information about the sr-users mailing list