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,26 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php
echo $this->form;
$typeElementId = $this->form->getElement('type')->getId();
?>
<script type="text/javascript">
//<![CDATA[
Jsw.namespace('Smb.Views.SslCertificate');
Smb.Views.SslCertificate.setType = function (type) {
document.getElementById('<?php echo $typeElementId ?>').value = type;
};
Smb.Views.SslCertificate.submitFilesForm = function (context) {
if ('' === document.getElementById('name').value) {
alert(<?php echo $this->jsLmsg('enterCertificateName'); ?>);
document.getElementById('name').focus();
return;
}
Smb.Views.SslCertificate.setType('sendFiles');
Jsw.submit(context);
};
//]]>
</script>

View File

@@ -1,38 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php
echo $this->form;
$typeElementId = $this->form->getElement('type')->getId();
?>
<script type="text/javascript">
//<![CDATA[
Jsw.namespace('Smb.Views.SslCertificate');
Smb.Views.SslCertificate.setType = function (type) {
document.getElementById('<?php echo $typeElementId ?>').value = type;
};
Smb.Views.SslCertificate.removeCaCertificate = function (button) {
Jsw.messageBox.show({
type: Jsw.messageBox.TYPE_YESNO,
subtype: Jsw.messageBox.SUBTYPE_DELETE,
text: <?php echo $this->jsLmsg('components.forms.ssl-certificate.add.removeCaCertificateConfirmation') ?>,
onYesClick: function () {
Smb.Views.SslCertificate.setType('removeCa');
Jsw.submit(button);
},
});
};
Smb.Views.SslCertificate.submitFilesForm = function (context) {
if ('' === document.getElementById('name').value) {
alert(<?php echo $this->jsLmsg('enterCertificateName'); ?>);
document.getElementById('name').focus();
return;
}
Smb.Views.SslCertificate.setType('sendFiles');
Jsw.submit(context);
};
//]]>
</script>

View File

@@ -1,35 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?= $this->form ?>
<?= $this->requireJs('app/ssl-certificate/list', [
'locale' => [
'currentCertificates' => $this->lmsg('currentCertificates'),
'currentCertificatesHint' => $this->lmsg('currentCertificatesHint'),
'certificatesList' => $this->lmsg('certificatesList'),
'certificatesListHint' => $this->lmsg('certificatesListHint'),
'pleskCertificate' => $this->lmsg('pleskCertificate'),
'mailServerCertificate' => $this->lmsg('mailServerCertificate'),
'change' => $this->lmsg('change'),
],
'showServerSections' => $this->showServerSections,
'pleskCertificateDescription' => $this->pleskCertificateDescription,
'mailServerCertificateDescription' => $this->mailServerCertificateDescription,
'sslCertificatesList' => [
'searchFilters' => $this->sslCertificatesList->getSearchFilterConfig(),
'data' => $this->sslCertificatesList->fetchData(),
'dataUrl' => "/ssl-certificate/list-data{$this->domIdSuffix}",
'locale' => $this->sslCertificatesList->getLocale(),
],
'urls' => [
'secure-panel' => '/ssl-certificate/secure-panel',
'secure-mail-server' => '/ssl-certificate/secure-mail-server',
'add' => "/ssl-certificate/add{$this->domIdSuffix}",
'edit' => "/ssl-certificate/edit{$this->domIdSuffix}/certificateId/%%id%%",
'download' => "/ssl-certificate/download{$this->domIdSuffix}/certificateId/%%id%%",
],
'isDemo' => $this->isDemo,
'domIdSuffix' => $this->domIdSuffix,
'webmailAvailable' => $this->webmailAvailable,
'mailAvailable' => $this->mailAvailable,
]) ?>

View File

@@ -1,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<p>
<?php echo $this->lmsg('hint'); ?>
</p>
<?php echo $this->form; ?>

View File

@@ -1,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<p>
<?php echo $this->lmsg('hint'); ?>
</p>
<?php echo $this->form; ?>