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,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div class="form-row">
<div class="single-row">
<?php echo $this->escape($this->summary); ?>
</div>
</div>

View File

@@ -1,32 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
$cuctomizeSubForm = $this->element;
$customizeElements = $cuctomizeSubForm->getElements();
$customizeElementId = $cuctomizeSubForm->getElementsBelongTo();
if (strstr($customizeElementId, ']')) {
$customizeElementId = trim($customizeElementId, ']');
$customizeElementId = str_replace('][', '-', $customizeElementId);
$customizeElementId = str_replace('[', '-', $customizeElementId);
}
?>
<div id="<?php echo $customizeElementId; ?>">
<div id="<?php echo $customizeElementId; ?>-content-area" class="aps-customize-content">
<?php
foreach ($customizeElements as $element) {
echo $element->render();
}
?>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
Jsw.onReady(function() {
new Jsw.CollapsibleBlock({
applyTo: '<?php echo Plesk_Base_Utils_String::safeForJs($customizeElementId); ?>',
title: '<?php echo Plesk_Base_Utils_String::safeForJs($cuctomizeSubForm->getLegend()); ?>',
cls: 'aps-customize'
});
});
////]]>
</script>

View File

@@ -1,81 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php $additionalColumns = $this->subserviceInstancesList->getAdditionalColumns(); ?>
new Jsw.Panel({
cls: 'list-box',
title: <?php echo $this->jsLmsg('subserviceTitle', array('service' => $this->serviceName)); ?>,
items: [
new Jsw.Hint({
hint: <?php echo $this->jsLmsg('subserviceHint'); ?>
}),
new Jsw.List({
id: 'subservice-instances-list-<?php echo $this->apsMetaId; ?>',
searchOveral: 'id',
data: <?php echo Zend_Json::encode($this->subserviceInstancesList->fetchData()); ?>,
dataUrl: '/subservice/instances-list-data/resourceId/<?php echo $this->registryResourceId; ?>/metaId/<?php echo $this->apsMetaId; ?>',
columns: [
Jsw.list.COLUMN_SELECTION,
{
header: <?php echo $this->subserviceInstancesList->jsLmsg('serviceName');?>,
renderer: function(item) {
return '<a href="' + Jsw.prepareUrl('/service/index/resourceId/' + item.registryResourceId) + '">'
+ <?php echo $this->jsEscape($this->serviceName); ?> + '</a>';
}
} <?php if (!isset($additionalColumns['_email'])): ?>, {
header: <?php echo $this->subserviceInstancesList->jsLmsg('userName');?>,
cls: 'minor',
sortable: true,
dataIndex: 'userName',
renderer: function(item, isDisabled) {
if (item.userId) {
return '<a href="' + Jsw.prepareUrl('/user/edit/id/' + item.userId) + '">'
+ Jsw.escapeHtml(item.userName) + '</a>';
} else {
return '';
}
}
} <?php endif; ?> <?php foreach ($additionalColumns as $column): ?>, {
header: <?php echo $this->jsEscape($column) ?>,
dataIndex: <?php echo $this->jsEscape($column) ?>
} <?php endforeach; ?>
],
operations: [
{
componentType: 'Jsw.SmallButton',
title: <?php echo $this->jsLmsg('buttonAddNewSubserviceInstance', array('name' => $this->serviceName));?>,
description: <?php echo $this->jsLmsg('hintAddNewSubserviceInstance', array('name' => $this->serviceName)); ?>,
addCls: 'sb-add-subservice-instance',
href: '/service/install/resourceId/<?php echo $this->registryResourceId; ?>/metaId/<?php echo $this->apsMetaId; ?>'
}, {
componentType: 'Jsw.bar.Separator'
}, {
componentType: 'Jsw.SmallButton',
title: <?php echo $this->jsLmsg('buttonCustomizeColumns');?>,
description: <?php echo $this->jsLmsg('hintCustomizeColumns'); ?>,
addCls: 'sb-customize-columns',
href: '/subservice/customize-list-columns/resourceId/<?php echo $this->registryResourceId; ?>/metaId/<?php echo $this->apsMetaId; ?>'
}, {
componentType: 'Jsw.bar.Separator'
}, {
componentType: 'Jsw.SmallButton',
id: 'buttonRemoveSubserviceInstance',
title: <?php echo $this->subserviceInstancesList->jsLmsg('remove');?>,
description: <?php echo $this->subserviceInstancesList->jsLmsg('hintRemove'); ?>,
addCls: 'sb-remove-selected',
handler: function(event) {
Jsw.getComponent('subservice-instances-list-<?php echo $this->apsMetaId; ?>').execGroupOperation({
url: '/subservice/delete-instance',
subtype: 'delete',
mouseEvent: event,
locale: {
confirmOnGroupOperation: <?php echo $this->subserviceInstancesList->jsLmsg('confirmOnDelete'); ?>
}
});
}
}
]
})
]
})