<& /Elements/Header, Title=>"Preferences" &> <& /Elements/Tabs &> %if ($session{CurrentUser} && ($session{CurrentUser}->Id == $id)) { <& /Elements/TitleBoxStart, title => 'Signature' &>
> TODO edit password and email address.

<& /Elements/TitleBoxEnd &> > Open tickets (from listing) in seperate window
> Display each ticket in its own window <& /Elements/Submit &>
%} <%ARGS> $id => $session{CurrentUser} ? $session{CurrentUser}->Id : 0 $Signature => undef <%INIT> my $u=RT::User->new($session{CurrentUser}); $u->Load($id) || die "Couldn't load that user ($id)"; if ($Signature) { my ($val, $msg)=$u->SetSignature($Signature); $RT::Logger->log(level=>($val ? 'info' : 'error'), message=>$msg); } if ($ARGS{NewWindowSetting}) { if ($ARGS{NewWindowOption}) { $session{NewWindowOption}=1; } else { delete $session{NewWindowOption}; } if ($ARGS{AlwaysNewWindowOption}) { $session{NewWindowOption}=1; $session{AlwaysNewWindowOption}=1; } else { delete $session{AlwaysNewWindowOption}; } }