%#============================================================================ %# ePortal - WEB Based daily organizer %# Author - S.Rusakov %# %# Copyright (c) 2000-2004 Sergey Rusakov. All rights reserved. %# This program is open source software %# %# %#----------------------------------------------------------------------------   <% $dlg->dialog_start( title => pick_lang(rus => "Редактор пользователей", eng => "Users editor"), width => "450") %> % foreach my $field (qw/username fullname department title password enabled ext_user email/) { <% $dlg->field($field) %> % } % foreach my $field (qw/last_login last_checked/) { <% $dlg->field($field, RO => 1) %> % } <% $dlg->buttons %> <% $dlg->dialog_end %>   %#=== @METAGS attr ========================================================= <%attr> Title => {rus => "Редактор пользователей", eng => "Users editor"} Layout => 'Dialog' %#=== @METAGS onStartRequest ==================================================== <%method onStartRequest><%perl> $dlg = new ePortal::HTML::Dialog( obj => new ePortal::epUser); my $location = try { $dlg->handle_request( ); } catch ePortal::Exception::DataNotValid with { my $E = shift; $session{ErrorMessage} = $E->text; ''; }; return $location if $location; %#=== @metags once ========================================================= <%once> my ($dlg, $obj); %#=== @metags cleanup ========================================================= <%cleanup> ($dlg, $obj) = ();