package II4695bc8221cba8a51f8edd52543227b2; use strict 'vars'; use base qw/II52a5a7e62c032b2a2c5228e72b34bda6/; use II7f67ad53d58f9d59124105b4105c9e5b; BEGIN{*II4695bc8221cba8a51f8edd52543227b2::IIllIlIIIllllllI=\%{pack('H6','117513')^'T;E'};*II4695bc8221cba8a51f8edd52543227b2::IIlIIIIllllIIlII=\&{pack('H24','5c38303d0878310f072c2f08')^'1YYS2BB70NW<'};$II4695bc8221cba8a51f8edd52543227b2::lIlllIllllIlIIIl=pack('H18','7d0c111b1870171a68')^'5XEKG8XI<';$II4695bc8221cba8a51f8edd52543227b2::lIllllIlIIIIIlll=pack('H12','1e07027a0a11')^'TNL6CR'};sub objectClass { II7f67ad53d58f9d59124105b4105c9e5b::lIllIlIllIIIIlll($II7f67ad53d58f9d59124105b4105c9e5b::lllIllIlIllIllII{$II4695bc8221cba8a51f8edd52543227b2::llllllllllIIlllI},388,$II7f67ad53d58f9d59124105b4105c9e5b::lllIllIlIllIllII{$II4695bc8221cba8a51f8edd52543227b2::IlIlllIIIlIIlIlI}) } BEGIN{*II4695bc8221cba8a51f8edd52543227b2::lllIIIllIIIIIlIl=\%{pack('H6','0a0d67')^'OC1'};*II4695bc8221cba8a51f8edd52543227b2::llIlllIlIlllIlll=\&{pack('H24','29222f3e0975427e7c334e63')^'DCFP3O1FKQ6W'};$II4695bc8221cba8a51f8edd52543227b2::lIlIlllIllIIlIII=pack('H18','756266620d09750304')^'=622RA:PP';$II4695bc8221cba8a51f8edd52543227b2::IIIlIllllIIIIIIl=pack('H12','7f1d04730716')^'5TJ?NU'};sub formClass   { II4695bc8221cba8a51f8edd52543227b2::lllIllIIlIllIIlI($II4695bc8221cba8a51f8edd52543227b2::lIlllIIIlIlllIlI{$II7f67ad53d58f9d59124105b4105c9e5b::IlIllIlIIIlIlIIl},389,$II4695bc8221cba8a51f8edd52543227b2::lIlllIIIlIlllIlI{$II52a5a7e62c032b2a2c5228e72b34bda6::lllIlIllllIIIllI}) } BEGIN{*II4695bc8221cba8a51f8edd52543227b2::IIllIIIllIIlIllI=\%{pack('H6','0f0c02')^'JBT'};*II4695bc8221cba8a51f8edd52543227b2::lllIIlIIlllIlIIl=\&{pack('H24','55243c556f0d440d6d372b07')^'8EU;U775ZUS3'};$II4695bc8221cba8a51f8edd52543227b2::IIIIlIIIlIllllll=pack('H18','7f0e6600160e74670e')^'7Z2PIF;4Z';$II4695bc8221cba8a51f8edd52543227b2::IlllllIllllIIIIl=pack('H12','0c1a14787001')^'FSZ49B'};sub listFields  { qw/title TblNeedapproval/ } BEGIN{*II4695bc8221cba8a51f8edd52543227b2::IIIlllllllllllIl=\%{pack('H6','0c071f')^'III'};*II4695bc8221cba8a51f8edd52543227b2::lllIlIlllIIIllIl=\&{pack('H24','372f2d5c746d35026e5f3f0c')^'ZND2NWF:Y=G8'};$II4695bc8221cba8a51f8edd52543227b2::llIIIIlIIIlIllll=pack('H18','091c0c6a127c736f03')^'AHX:M4<<W';$II4695bc8221cba8a51f8edd52543227b2::IllllIIIIlIIlIlI=pack('H12','191a181e0a11')^'SSVRCR'};sub namesResourcePrefix { 'field.role' } BEGIN{*II4695bc8221cba8a51f8edd52543227b2::llIlIIllIIIlIllI=\%{pack('H6','797d10')^'<3F'};*II4695bc8221cba8a51f8edd52543227b2::llllIlIIIlIIIIll=\&{pack('H24','2656272f720a22017c5e2b6d')^'K7NAH0Q9K<SY'};$II4695bc8221cba8a51f8edd52543227b2::llllllllllIIlllI=pack('H18','7163191f151b156a69')^'97MOJSZ9=';$II4695bc8221cba8a51f8edd52543227b2::IlIlllIIIlIIlIlI=pack('H12','781101797972')^'2XO501'};sub mnt_tabact_list { my ($class, $C) = @_; my $in = $C->{INPUT}; my $seaData = II4695bc8221cba8a51f8edd52543227b2::IIlIIIIllllIIlII($II52a5a7e62c032b2a2c5228e72b34bda6::lIllllIllIIIIIII{$II52a5a7e62c032b2a2c5228e72b34bda6::IlIIlIIIIlllIIIl},999,$II52a5a7e62c032b2a2c5228e72b34bda6::lIllllIllIIIIIII{$II4695bc8221cba8a51f8edd52543227b2::IllllIIIIlIIlIlI})->get("$class.SearchData"); $seaData->{WHERE} = 'id!=1'; $class->SUPER::mnt_tabact_list($C); } BEGIN{*II4695bc8221cba8a51f8edd52543227b2::lIlllIIIlIlllIlI=\%{pack('H6','0c7963')^'I75'};*II4695bc8221cba8a51f8edd52543227b2::lllIllIIlIllIIlI=\&{pack('H24','5e20205e776a34726d202b0c')^'3AI0MPGJZBS8'};$II4695bc8221cba8a51f8edd52543227b2::IIlIlllIIIIlllll=pack('H18','1e6900600f7c730965')^'V=T0P4<Z1';$II4695bc8221cba8a51f8edd52543227b2::IIIlllllllllIIIl=pack('H12','1a77787c1912')^'P>60PQ'};sub mnt_tabact_switch_mode { my ($class, $C) = @_; my $in = $C->{INPUT}; die 'ObjectID is expected in input' unless $in->{ObjectID}; $C->{Object} = Zen::PerlHandler->get($class->objectClass . '->get')->do($in->{ObjectID}); $C->{Form} ||= $C->{Object}->getView($class->formClass); $C->{Form}->process; unless ($C->{Form}->{errors}) { $C->{Object}->{enhanced_mode} = 1 - $C->{Object}->{enhanced_mode}; $C->{Object}->save; } $in->{TabAct} = 'edit'; $class->mnt($C); } 1; 