rfe: TimeZone for the User Profiles displays incorrectly after installation

This commit is contained in:
JT Smith 2008-09-16 15:59:38 +00:00
parent 5a61d60c15
commit d41625dc40
2 changed files with 9 additions and 0 deletions

View file

@ -1,6 +1,7 @@
7.6.0
- rfe: Town Hall: Menu title in search results
- rfe: Process Macros in HTTP Proxy's URL
- rfe: TimeZone for the User Profiles displays incorrectly after installation
- rewrite macro parser, improving speed and making parameter parsing more sane
- Made the charset metatag the highest thing in the head block.
- fixed: AssetProxy allows proxying content in the trash or clipboard

View file

@ -122,7 +122,10 @@ sub handler {
my $u = WebGUI::User->new($session,"3");
$u->username($session->form->process("username","text","Admin"));
$u->profileField("email",$session->form->email("email"));
$u->profileField("timeZone",$session->form->timeZone("timeZone"));
$u->identifier(Digest::MD5::md5_base64($session->form->process("identifier","password","123qwe")));
$u = WebGUI::User->new($session,"1");
$u->profileField("timeZone",$session->form->timeZone("timeZone"));
my $f = WebGUI::HTMLForm->new($session,action=>$session->url->gateway());
$f->hidden( name=>"step", value=>"3");
$f->text(
@ -501,6 +504,11 @@ a:visited { color: '.$form->get("visitedLinkColor").'; }
-label=>$i18n->get(56),
-hoverHelp=>$i18n->get('56 description'),
);
$f->timeZone(
-name=>"timeZone",
-value=>$u->profileField("timeZone"),
-label=>$i18n->get('timezone','DateTime'),
);
$f->submit;
$output .= $f->print;
}