[Serusers] serweb tunning :)

Karel Kozlik karel at iptel.org
Wed Apr 12 14:56:56 CEST 2006


Yes, I agree and it is possible in new version. There is timezone stored 
in attribute.

Karel

Jan Janak napsal(a):
> Actually I think that it would be useful to have the possibility to set
> default timezone without changing serweb code, i.e. on per-domain basis ?
> 
>   Jan.
> 
> Karel Kozlik wrote:
>>
>> 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
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
> 




More information about the sr-users mailing list