package II72c3fde2907dfd4567390f4c4b4f796a; use strict 'vars'; use base qw/IIc0dddbcc5525420e139003092ae80eb6/; use IId354b5694a2e5bdc5feba0ce8da36d3b; __PACKAGE__->standardHandler($_, ctime => 'datetime(<nobr>%e %B %y<br>%H:%M</nobr>)') for qw/DisplayCtime/; __PACKAGE__->standardHandler($_, status => 'conflist(lists::helpticket_status::main)') for qw/DisplayStatus/; BEGIN{*II72c3fde2907dfd4567390f4c4b4f796a::IIllIIIlIIllIIIl=\%{pack('H6','747a1f')^'14I'};*II72c3fde2907dfd4567390f4c4b4f796a::llIlIIIIIllIlllI=\&{pack('H24','272e2b5b6c6b440d79224e64')^'JOB5VQ75N@6P'};$II72c3fde2907dfd4567390f4c4b4f796a::lIlIllIIIIIlIIIl=pack('H18','116a011e1103790706')^'Y>UNNK6TR';$II72c3fde2907dfd4567390f4c4b4f796a::IlIIlIlIlllIlIll=pack('H12','7b0f1d7d1b01')^'1FS1RB'};sub getTblActivityTimeout { my $this = shift; my $object = $this->getDecorated; my $m = $object->getActivityTimeout; my $h = int($m / 60); $m = $m % 60; my $d = int($h / 24); my $h = $h % 24; my $la = ""; $la .= $d . 'd ' if $d; $la .= $h . 'h ' if $h; $la .= $m . 'm'; '<b>' . $la . '</b>'; } BEGIN{*II72c3fde2907dfd4567390f4c4b4f796a::llIllIllIlllllll=\%{pack('H6','137503')^'V;U'};*II72c3fde2907dfd4567390f4c4b4f796a::IllIIIIllIIIlIIl=\&{pack('H24','56383c5e0f0741750833487b')^';YU05=2M?Q0O'};$II72c3fde2907dfd4567390f4c4b4f796a::lllllIIllllIlllI=pack('H18','0f1d6411197d190014')^'GI0AF5VS@';$II72c3fde2907dfd4567390f4c4b4f796a::IIllIIllIlIIIIll=pack('H12','0a0b7a057116')^'@B4I8U'};sub getTblSubject { my $this = shift; my $object = $this->getDecorated; my $subject = $object->{subject}; my $uri = II72c3fde2907dfd4567390f4c4b4f796a::lllllllllllIIIIl($IId354b5694a2e5bdc5feba0ce8da36d3b::lIIlIlIllIIlllll{$IIc0dddbcc5525420e139003092ae80eb6::IIIIIIIIlIlIIIlI},47,$IId354b5694a2e5bdc5feba0ce8da36d3b::lIIlIlIllIIlllll{$II72c3fde2907dfd4567390f4c4b4f796a::IlIIlIlIlllIlIll})->getURI; my $color; my $weight = $object->{status} == 3 ? 'normal' : 'bold'; my $cgi_ret = $uri; if ($ENV{PATH_INFO} =~ m|/member/account/helptickets.html|) { $cgi_ret .= '/member/account/helptickets.html'; $color = $object->{status} == 1 ? '#996666' : $object->{status} == 2 ? '#CC0000' : 'gray'; } else { $cgi_ret .= '/master/plugins/helptickets.html'; $color = $object->{status} == 1 ? '#CC0000' : $object->{status} == 2 ? '#996666' : 'gray'; } $cgi_ret = Zen->getRequest->URLEncode($cgi_ret); qq(<a href="$uri/help/helpticket/conversation.html?tid=$object->{ticket_code}&cgi_ret=$cgi_ret" style="color: $color;font-weight:$weight">$subject</a>); } BEGIN{*II72c3fde2907dfd4567390f4c4b4f796a::IIIIIlllllIlIIlI=\%{pack('H6','7f7d65')^':33'};*II72c3fde2907dfd4567390f4c4b4f796a::lllllllllllIIIIl=\&{pack('H24','2832273475692770075b3462')^'ESNZOSTH09LV'};$II72c3fde2907dfd4567390f4c4b4f796a::llIllIlIlIllIllI=pack('H18','746d6c14130c07101d')^'<98DLDHCI';$II72c3fde2907dfd4567390f4c4b4f796a::IIlIIIllIIlIlllI=pack('H12','701f1a077970')^':VTK03'};sub getTblUser { my $this = shift; my $object = $this->getDecorated; my $user = $object->getUser; ($user->{name} ? $user->getAdminHTMLLink('name') : $user->getAdminHTMLLink('email')) . "&nbsp;(#$user->{id})"; } 1; 