This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,27 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php if (!Domain::isIcpSupported()) return ?>
{
header: <?php echo $this->jsLmsg('components.icp-permit.icpPermit') ?>,
sortable: true,
dataIndex: 'icpStatus',
renderer: function(item) {
var description = 1 == item.icpStatus
? <?php echo $this->jsLmsg('components.icp-permit.icpStatusAllowedDescription') ?>
: <?php echo $this->jsLmsg('components.icp-permit.icpStatusNotAllowedDescription') ?>;
var icon = 1 == item.icpStatus
? '<?php echo $this->skinUrl('/icons/16/plesk/subscription-status-ok.png') ?>'
: '<?php echo $this->skinUrl('/icons/16/plesk/att-tr.png') ?>';
var link = <?php echo $this->link ? $this->jsEscape($this->link) : 'null' ?>;
var permit = item.icpPermit
? Jsw.escapeHtml(item.icpPermit)
: (1 == item.icpStatus ? ''
: <?php echo $this->jsLmsg('components.icp-permit.icpStatusNotAllowed') ?>);
return '<span class="tooltipData">' + description + '</span>'
+ '<img src="' + icon + '" alt=""/>' + "\n"
+ (link ? '<a href="' + link + '" target="_blank">': '')
+ permit
+ (link ? '</a>' : '') + "\n";
}
},