Template::Document->new({METADATA=>{'name'=>'/usr/local/cpanel/base/frontend/paper_lantern/webdav/listwebdisks.html.tt','modtime'=>'1526363475',},BLOCK=>sub {my$context=shift || die "template sub called without context\n";my$stash=$context->stash;my$output='';my$_tt_error;eval {BLOCK: {$stash->set('Api2',$context->plugin('Api2'));$stash->set('JSON',$context->plugin('JSON'));$stash->set('form_regex',$stash->get(['CPANEL',0,'get_raw_form',['searchregex' ]]));$stash->set('api_response',$stash->get(['Api2',0,'exec',['WebDisk','listwebdisks',{'regex'=>$stash->get('form_regex'),'no_expvar'=>1,'api2_paginate'=>1,'api2_paginate_start'=>$stash->get(['CPANEL',0,'FORM',0,'api2_paginate_start',0]),'api2_paginate_size'=>$stash->get(['CPANEL',0,'CPVAR',0,'itemsperpage',0])}]]));$output .= '
';if ($stash->get(['api_response',0,'size',0])){$output .= ' ';$stash->set('feature_webdisk',$stash->get(['CPANEL',0,'feature',['webdisk' ]]));$output .= ' ';$stash->set('feature_webprotect',$stash->get(['CPANEL',0,'feature',['webprotect' ]]));$output .= ' ';$stash->set('feature_filemanager',$stash->get(['CPANEL',0,'feature',['filemanager' ]]));$output .= '
';do {my ($_tt_value,$_tt_error,$_tt_oldloop);my$_tt_list=$stash->get('api_response');unless (UNIVERSAL::isa($_tt_list,'Template::Iterator')){$_tt_list=Template::Config->iterator($_tt_list)|| die$Template::Config::ERROR,"\n"}($_tt_value,$_tt_error)=$_tt_list->get_first();eval {$_tt_oldloop=$stash->get('loop')};$stash->set('loop',$_tt_list);eval {FOR1: while (!$_tt_error){$stash->{'webdisk'}=$_tt_value;$output .= '
';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'login',0]);&$_tt_filter($output)};$output .= ' |
';if ($stash->get('feature_filemanager')){$output .= '
'}$output .= ' /';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'reldir',0]);&$_tt_filter($output)};$output .= '
';if ($stash->get('feature_filemanager')){$output .= '
'}$output .= '
';if ($stash->get('feature_webdisk')){$stash->set('homedir_onclick','start_change_homedir(' .$stash->get(['webdisk',0,'login',0,'json',0]).',' .$stash->get(['webdisk',0,'reldir',0,'json',0]).'); return false;');$output .= ' get(['homedir_onclick',0,'html',0]);$output .= '\' title=\'';$output .= $stash->get(['locale',0,'maketext',['Click to change this account’s home directory.' ]]);$output .= '\'>
'}$output .= '
';if ($stash->get('feature_webprotect')){$output .= '
'}$output .= ' |
get(['webdisk',0,'login',0,'json',0]);$output .= ',';$output .= $stash->get(['webdisk',0,'domain',0,'json',0]);$output .= ',';$output .= $stash->get(['webdisk',0,'hasdigest',0,'json',0]);$output .= '); return false;\' href="webdavaccessdownload.html?domain=';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'domain',0]);&$_tt_filter($output)};$output .= '&sslport=';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'sslport',0]);&$_tt_filter($output)};$output .= '&mainport=';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'mainport',0]);&$_tt_filter($output)};$output .= '&hasdigest=';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'hasdigest',0]);&$_tt_filter($output)};$output .= '&user=';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get(['webdisk',0,'login',0]);&$_tt_filter($output)};$output .= '"
class="btn btn-link"
title="';$output .= $stash->get(['locale',0,'maketext',['Click to view configuration details for your operating system or device.' ]]);$output .= '">
';$output .= $stash->get(['locale',0,'maketext',['Configure Client Access' ]]);$output .= '
';if ($stash->get('feature_webdisk')){$output .= ' ';if (!$stash->get(['webdisk',0,'hasdigest',0])){$output .= '
get(['webdisk',0,'login',0,'json',0]);$output .= ',"enable",this); return false;\'
href="#"
class="btn btn-link"
title="';$output .= $stash->get(['locale',0,'maketext',['Click to enable Digest Authentication.' ]]);$output .= '">
';$output .= $stash->get(['locale',0,'maketext',['Enable Digest Authentication' ]]);$output .= '
'}else {$output .= '
get(['webdisk',0,'login',0,'json',0]);$output .= ',"disable",this); return false;\'
href="#"
title="';$output .= $stash->get(['locale',0,'maketext',['Click to disable Digest Authentication.' ]]);$output .= '"
class="btn btn-link">
';$output .= $stash->get(['locale',0,'maketext',['Disable Digest Authentication' ]]);$output .= '
'}$output .= '
';$output .= $stash->get(['locale',0,'maketext',['Change Password' ]]);$output .= '
';$output .= $stash->get(['locale',0,'maketext',['Delete' ]]);$output .= '
';if ($stash->get(['webdisk',0,'perms',0])eq 'ro'){$output .= '
get(['webdisk',0,'login',0,'json',0]);$output .= ',"rw",this); return false;\'
href="#"
title="';$output .= $stash->get(['locale',0,'maketext',['Click to enable read-write access.' ]]);$output .= '"
class="btn btn-link">
';$output .= $stash->get(['locale',0,'maketext',['Set Read-Write' ]]);$output .= '
'}else {$output .= '
get(['webdisk',0,'login',0,'json',0]);$output .= ',"ro",this); return false;\'
href="#" title="';$output .= $stash->get(['locale',0,'maketext',['Click to restrict access to read-only.' ]]);$output .= '"
class="btn btn-link">
';$output .= $stash->get(['locale',0,'maketext',['Set Read-Only' ]]);$output .= '
'}$output .= '
'}$output .= ' |
';;($_tt_value,$_tt_error)=$_tt_list->get_next()}};$stash->set('loop',$_tt_oldloop);die $@ if $@;$_tt_error=0 if$_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;die$_tt_error if$_tt_error}}else {$output .= ' ';$stash->set('err',$stash->get('form_regex')? $stash->get(['locale',0,'maketext',['No additional configured web disks match the search term “[_1]”.',$stash->get('form_regex')]]): $stash->get(['locale',0,'maketext',['No additional web disks configured.' ]]));$output .= ' ';$output .= do {my$output='';my$_tt_filter=$context->filter('html')|| $context->throw($context->error);$output .= $stash->get('err');&$_tt_filter($output)};$output .= ' |
'}}};if ($@){$_tt_error=$context->catch($@,\$output);die$_tt_error unless$_tt_error->type eq 'return'}return$output},DEFBLOCKS=>{},});#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.26
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'name' => '/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl',
'modtime' => '1470284710',
},
BLOCK => sub {
my $context = shift || die "template sub called without context\n";
my $stash = $context->stash;
my $output = '';
my $_tt_error;
eval { BLOCK: {
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
# USE
$stash->set('JSON',
$context->plugin('JSON'));
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
$stash->set('account_locale', $stash->get(['locale', 0, 'get_user_locale', 0]));
$stash->set('direction', $stash->get(['locale', 0, 'get_html_dir_attr', 0]));
$stash->set('lang_file_path_debug', '../../libraries/elfinder/source/js/i18n/elfinder.' . $stash->get('account_locale') . '.js');
$stash->set('supported_file_browser_locales', [ 'ar', 'bg', 'ca', 'cs', 'de', 'es', 'fr', 'hu', 'jp', 'LANG', 'nl', 'no', 'pl', 'pt_BR', 'ru', 'zh_CH' ]);
$stash->set('use_locale', 'false');
$stash->set('lang_file_path', '../../libraries/elfinder/optimized/js/i18n/elfinder.' . $stash->get('account_locale') . '.js');
$stash->set('security_token', $stash->get(['CPANEL', 0, 'ENV', 0, 'cp_security_token', 0]));
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
# FOREACH
do {
my ($_tt_value, $_tt_error, $_tt_oldloop);
my $_tt_list = $stash->get('supported_file_browser_locales');
unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {
$_tt_list = Template::Config->iterator($_tt_list)
|| die $Template::Config::ERROR, "\n";
}
($_tt_value, $_tt_error) = $_tt_list->get_first();
eval { $_tt_oldloop = $stash->get('loop') };
$stash->set('loop', $_tt_list);
eval {
FOR1: while (! $_tt_error) {
$stash->{'locale'} = $_tt_value;
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
if ($stash->get('account_locale') eq $stash->get('locale')) {
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
$stash->set('use_locale', 'true');
#line 2 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
last FOR1;
}
;
($_tt_value, $_tt_error) = $_tt_list->get_next();
}
};
$stash->set('loop', $_tt_oldloop);
die $@ if $@;
$_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
die $_tt_error if $_tt_error;
};
$output .= "\n\n\n\n\n\nget(['MagicRevision', [ '../../libraries/elfinder/optimized/jquery/ui-themes/smoothness/jquery-ui-1.10.1.custom.min.css' ]]);
$output .= "\">\nget(['MagicRevision', [ '../../libraries/elfinder/optimized/css/elfinder.min.css' ]]);
$output .= "\">\nget(['MagicRevision', [ '../../libraries/elfinder/optimized/css/theme.css' ]]);
$output .= "\">\nget(['MagicRevision', [ '../../elfinder_dependencies/css/elfinder.css' ]]);
$output .= "\">\n\n\n";
#line 108 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
if ($stash->get(['CPANEL', 0, 'FORM', 0, 'debug', 0]) || $stash->get(['CPANEL', 0, 'CPVAR', 0, 'debug', 0])) {
$output .= "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
#line 97 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
if ($stash->get('use_locale') eq 'true') {
$output .= "\n\n";
}
$output .= "\n\n";
}
else {
$output .= "\n\n\n\n\n";
#line 106 "/usr/local/cpanel/base/frontend/x3/filemanager/editors/image_link.tmpl"
if ($stash->get('use_locale') eq 'true') {
$output .= "\n\n";
}
$output .= "\n\n";
}
$output .= "\n\n\n\n
\n\n";
} };
if ($@) {
$_tt_error = $context->catch($@, \$output);
die $_tt_error unless $_tt_error->type eq 'return';
}
return $output;
},
DEFBLOCKS => {
},
});
1ELF > @ ! @ 8 @ @ @ @ 8 8 8 \ \ , @ T T T D D Ptd $ $ Qtd Rtd ( ( /lib64/ld-linux-x86-64.so.2 GNU GNU =#D8M t!Œ " ! )" # $ % &