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,59 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<li class="<?php echo $this->additionalRowClass; ?>">
<div id="as-package-<?php echo $this->id; ?>" class="package-block">
<div class="package-icon">
<a href="#" onclick='<?php echo $this->detailsOnClick; ?>'><?php echo $this->packageIcon;?></a>
</div>
<div class="package-actions">
<?php if ($this->buyNowButtonAvailable): ?>
<?php echo $this->partial('partials/button.phtml', [
'id' => 'as-buy-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonBuy'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonBuyTooltip'),
'onclick' => 'Smb.ApsLicense.buy("' . Plesk_Base_Utils_String::safeForJs($this->purchaseCommandAction) . '"); return false;',
]); ?>
<br>
<?php endif; ?>
<?php if ($this->showInstallButton): ?>
<?php
if ($this->hideQuickInstall) {
echo $this->partial('partials/button.phtml', [
'id' => 'ad-advanced-install-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstall'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstallTooltip'),
'onclick' => $this->advancedInstallOnClick,
]);
} else {
echo $this->partial('partials/split-button.phtml', [
'id' => 'as-install-' . $this->id,
'renderTo' => new Zend_Json_Expr('document.querySelector("#as-package-' . $this->id . ' .package-actions")'),
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstall'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallTooltip'),
'onclick' => $this->installOnClick,
'items' => [[
'id' => 'as-advanced-install-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstall'),
'descriptions' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstallTooltip'),
'onclick' => $this->advancedInstallOnClick,
], [
'id' => 'as-install-old-version-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallOldVersion'),
'descriptions' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallOldVersionTooltip'),
'submenu' => new Zend_Json_Expr('function(submenu) {apsCatalog.showAppVersions(' . $this->appData . ', submenu);}'),
]],
'isMenuFlip' => true,
]);
} ?>
<?php endif; ?>
<?php if ($this->downloadUrl): ?>
<button class="btn" value="" type="submit" onclick="Jsw.redirect('<?php echo $this->downloadUrl; ?>'); return false;">
<span><?php echo $this->lmsg('smb.components.forms.aps.catalog.buttonDownload'); ?></span>
</button><br/>
<?php endif; ?>
</div>
<h4><a href="#" onclick='<?php echo $this->detailsOnClick; ?>'><?php echo $this->name; ?> <span>v<?php echo $this->version; ?></span></a></h4>
<div class="package-description"><?php echo $this->summary; ?></div>
</div>
</li>

View File

@@ -1,13 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<li class="ac-<?php echo $this->categoryGroupClass; ?>">
<div class="aps-category-block">
<h4><a href="#" onclick='apsCatalog.showCategory("<?php echo $this->categoryGroupName; ?>");'><?php echo $this->categoryGroupTitle; ?></a>
<?php if (false !== $this->categoryGroupCount): ?> <span>(<?php echo $this->categoryGroupCount; ?>)</span> <?php endif; ?>
</h4>
<div class="aps-category-items">
<?php echo $this->subcontent; ?>
</div>
</div>
</li>

View File

@@ -1,25 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<a href="#" onclick="apsCatalog.returnToHome()"><?php echo $this->lmsg('smb.components.forms.aps.catalog.gotoHome'); ?></a>
<b>&gt;</b>
<a href="#" onclick='apsCatalog.showCategory("<?php echo $this->categoryGroupName; ?>");'><?php echo $this->categoryGroupTitle; ?></a>
<b>&gt;</b>
<select id='navigation-category'>
<option value="<?php echo $this->categoryGroupName; ?>"><?php echo $this->lmsg('smb.components.forms.aps.catalog.all'); ?></option>
<option value="">--------</option>
<?php foreach($this->groupCategories as $category => $categoryData) { ?>
<option value="<?php echo $this->escape($category);?>" <?php echo ($categoryData['selected'] ? 'selected' : ''); ?>><?php echo $categoryData['display']; ?></option>
<?php } ?>
</select>
<script type="text/javascript">
//<![CDATA[
document.getElementById('navigation-category').addEventListener('change', function (event) {
var category = event.target.value;
if (category) {
apsCatalog.showCategory(category);
}
});
//]]>
</script>

View File

@@ -1,7 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<a href="#" onclick='apsCatalog.showCategory("<?php echo $this->categoryName; ?>");' >
<?php echo $this->categoryTitle; ?>
</a>
<?php if (false !== $this->categoryGroupCount): ?> <span>(<?php echo $this->categoryGroupCount; ?>)</span> <?php endif; ?>

View File

@@ -1,56 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<li class="<?php echo $this->additionalRowClass; ?>">
<div id="mas-package-<?php echo $this->id; ?>" class="package-block">
<div class="package-content clearfix">
<div class="package-icon">
<a href="#" onclick='<?php echo $this->detailsOnClick; ?>'><?php echo $this->packageIcon;?></a>
</div>
<div class="package-info">
<h4><a href="#" onclick='<?php echo $this->detailsOnClick; ?>'><?php echo $this->name; ?></a></h4>
<div class="package-description"><?php echo $this->summary; ?></div>
</div>
</div>
<div class="package-actions">
<?php if ($this->buyNowButtonAvailable): ?>
<?php echo $this->partial('partials/button.phtml', [
'id' => 'mas-buy-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonBuy'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonBuyTooltip'),
'onclick' => 'Smb.ApsLicense.buy("' . Plesk_Base_Utils_String::safeForJs($this->purchaseCommandAction) . '"); return false;',
]); ?>
<?php elseif ($this->showInstallButton): ?>
<?php
if ($this->hideQuickInstall) {
echo $this->partial('partials/button.phtml', [
'id' => 'ad-advanced-install-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstall'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstallTooltip'),
'onclick' => $this->advancedInstallOnClick,
]);
} else {
echo $this->partial('partials/split-button.phtml', [
'id' => 'mas-install-' . $this->id,
'renderTo' => new Zend_Json_Expr('document.querySelector("#mas-package-' . $this->id . ' .package-actions")'),
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstall'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallTooltip'),
'onclick' => $this->installOnClick,
'items' => [[
'id' => 'mas-advanced-install-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstall'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonAdvancedInstallTooltip'),
'onclick' => $this->advancedInstallOnClick,
], [
'id' => 'mas-install-old-version-' . $this->id,
'title' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallOldVersion'),
'description' => $this->lmsg('smb.components.forms.aps.catalog.buttonInstallOldVersionTooltip'),
'submenu' => new Zend_Json_Expr('function(submenu) {apsCatalog.showAppVersions(' . $this->appData . ', submenu);}'),
]],
'isMenuFlip' => $this->evenItem,
]);
} ?>
<?php endif; ?>
</div>
</div>
</li>

View File

@@ -1,23 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div id='<?php echo $this->element->getId(); ?>-form-row' class='form-row'>
<label class='field-name' for='<?php echo $this->element->getId(); ?>'>
<?php echo $this->element->getLabel(); ?>
<?= $this->requiredMark($this->element->isRequired()) ?>
</label>
<div class='field-value'>
<span>
<?php
echo $this->elementPart($this->element)->content() . '&nbsp;.';
if ($this->zoneName) {
echo $this->escape($this->zoneName) . '.';
}
?>
</span>
<span class="field-errors" style="display: none;"></span>
<?php if ($this->element->getDescription()): ?>
<span class="hint"><?php echo $this->element->getDescription(); ?></span>
<?php endif; ?>
</div>
</div>

View File

@@ -1,52 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php
$selectElement = $this->element->getElement($this->select);
$customElement = $this->element->getElement($this->custom);
?>
<div id='<?php echo $selectElement->getId(); ?>-form-row' class='form-row'>
<label class='field-name' for='<?php echo $this->element->getId(); ?>'>
<?php echo $selectElement->getLabel(); ?>
<?= $this->requiredMark($selectElement->isRequired()) ?>
</label>
<div class='field-value'>
<span>
<?php
echo $this->elementPart($selectElement)->content() . '&nbsp;' .
$this->elementPart($customElement)->content();
?>
</span>
<span class="field-errors" style="display: none;"></span>
<?php if ($selectElement->getDescription()): ?>
<span class="hint"><?php echo $selectElement->getDescription(); ?></span>
<?php endif; ?>
<?php if ($customElement->getDescription()): ?>
<span id='<?php echo $customElement->getId(); ?>-hint' class="hint" style="display: none;"><?php echo $customElement->getDescription(); ?></span>
<?php endif; ?>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
Jsw.onReady(function () {
var updateState = function () {
var customId = '<?php echo $customElement->getId(); ?>';
if ($F('<?php echo $selectElement->getId(); ?>') === 'custom') {
document.getElementById(customId).disabled = false;
} else {
document.getElementById(customId).disabled = true;
}
if ($F('<?php echo $selectElement->getId(); ?>') === document.getElementById('<?php echo $selectElement->getId(); ?>').querySelector('[selected]').value) {
document.getElementById(customId + '-hint').style.display = 'none';
} else {
document.getElementById(customId + '-hint').style.display = '';
}
}
updateState();
document.getElementById('<?php echo $selectElement->getId(); ?>').addEventListener('change', updateState);
});
//]]>
</script>

View File

@@ -1,24 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php
$ipElement = $this->element->getElement($this->ipElementName);
?>
<div id='<?php echo $ipElement->getId(); ?>-form-row' class='form-row'>
<label class='field-name' for='<?php echo $this->element->getId(); ?>'>
<?php echo $ipElement->getLabel(); ?>
<?= $this->requiredMark($ipElement->isRequired()) ?>
</label>
<div class='field-value'>
<span>
<?php
echo $this->elementPart($ipElement)->content() . '&nbsp;/&nbsp;' .
$this->elementPart($this->element->getElement($this->maskElementName))->content();
?>
</span>
<span class="field-errors" style="display: none;"></span>
<?php if ($ipElement->getDescription()): ?>
<span class="hint"><?php echo $ipElement->getDescription(); ?></span>
<?php endif; ?>
</div>
</div>

View File

@@ -1,34 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div id='<?php echo $this->element->getId(); ?>-form-row' class='form-row'>
<label class='field-name' for='<?php echo $this->element->getId(); ?>'>
<?php echo $this->element->getLabel(); ?>
<?= $this->requiredMark($this->element->isRequired()) ?>
</label>
<div class='field-value'>
<span>
<?php echo $this->elementPart($this->element)->content(); ?>
</span>
<span class="field-errors" style="display: none;"></span>
<?php if ($this->element->getDescription()): ?>
<span class="hint"><?php echo $this->element->getDescription(); ?></span>
<?php endif; ?>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
Jsw.onReady(function () {
var updateState = function () {
var elementToShow = 'typesForms-' + $F('<?php echo $this->element->getId(); ?>') + 'Type';
document.getElementById('typesForms-content-area').querySelectorAll('div.form-box').forEach(function (element) {
element.style.display = 'none';
});
document.getElementById(elementToShow).style.display = '';
}
updateState();
document.getElementById('<?php echo $this->element->getId(); ?>').addEventListener('change', updateState);
});
//]]>
</script>

View File

@@ -1,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div class="login-info">
<h3><?php echo $this->descriptionHeader;?></h3>
<?php echo $this->descriptionContent;?>
</div>

View File

@@ -1,46 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php if (!$this->doNotRenderRow):?>
<div class="form-row">
<?php endif?>
<?php
$title = $this->element->getAttrib('title');
if($title) {
?>
<div class="field-name">
<?php echo $title; ?>
</div>
<?php
}
?>
<?php if (!$this->doNotRenderRow):?>
<div class="field-value">
<?php endif?>
<div class="choice-block">
<?php foreach ($this->element->getMultiOptions() as $optionName => $optionTitle):?>
<?php $value = $this->element->getValue(); ?>
<span
<?php echo ($optionName == $this->element->getValue())
? ('class="selected' . (('0' == $optionName) ? ' no' : '') . '"')
: '';
?>
>
<label>
<input type="radio" class="radio"
value="<?php echo $optionName; ?>"
id="<?php echo $this->element->getId() . "-$optionName"; ?>"
name="<?php echo $this->element->getBelongsTo() . '[' . $this->element->getName() . ']'; ?>"
<?php echo ($optionName == $this->element->getValue()) ? 'checked="checked"' : ''; ?>
/>
<?php echo $optionTitle; ?>
</label>
</span>
<?php endforeach;?>
<?php if (!$this->doNotRenderRow):?>
</div>
<?php endif?>
</div>
<?php if (!$this->doNotRenderRow):?>
</div>
<?php endif?>