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,13 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div id="<?php echo $this->element->getId();?>">
<?php echo $this->content; ?>
</div>
<?= $this->requireJs('app/email-address/aliases-dynamic', [
'applyTo' => $this->element->getId(),
'addButtonId' => 'aliases-aliasesSection-aliasesForm-buttonAddAlias',
'removeButtonId' => 'remove-alias-button-wrapper',
'domainName' => $this->domainName,
'allowRemoveFirstElement' => true,
]) ?>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->partial('partials/forms/radio-controls.phtml', null, $this); ?>

View File

@@ -1,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div id="av-promo"></div>
<?= $this->requireJs('app/server-mail-antivirus-promo', [
'renderTo' => 'av-promo',
'isOnDomainEmailPage' => true,
]) ?>

View File

@@ -1,69 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div class='form-row'>
<div class='field-name'>
<?php echo $this->elementPart($this->element->getElement($this->emailElementName))->label(); ?>
</div>
<div class='field-value'>
<span>
<?php
echo $this->element->getElement($this->emailElementName)->readonly
? $this->escape($this->element->getElement($this->emailElementName)->getValue())
: $this->elementPart($this->element->getElement($this->emailElementName))->content();
if($this->domainName) {
$domainElementId = str_replace('-name', '-domainName', $this->element->getElement($this->emailElementName)->getId());
$domainName = "<span id=\"{$domainElementId}\">{$this->domainName}</span>";
} else {
$domainName = $this->elementPart($this->element->getElement($this->domainElementName))->content();
}
if ($this->isNewMail) {
$domainName = '<b> @ ' . $domainName . '</b>';
} else {
$domainName = '@' . $domainName;
}
echo $domainName;
?>
</span>
<span class="field-errors" style="display: none;"></span>
</div>
</div>
<?php if (isset($this->loginAsUserElementName)):?>
<?php $element = $this->element->getElement($this->loginAsUserElementName); ?>
<div class='form-row'>
<div class="field-name" style="width: 100%;">
<?php echo $this->elementPart($element)->content()?>
<?php echo $this->elementPart($element)->label()?>
<?php echo $this->elementPart($element)->inlineDescription()?>
</div>
</div>
<?php if ($this->usernameIsChangeable):?>
<script type="text/javascript">
//<![CDATA[
document.getElementById('general-generalSection-name').addEventListener('change', function () {
<?php if (1 < $this->domainsCount):?>
var domainName = Jsw.escapeHtml(this.value) + '@' + document.getElementById('general-generalSection-domain')[document.getElementById('general-generalSection-domain').selectedIndex].text;
<?php else: ?>
var domainName = Jsw.escapeHtml(this.value) + '@' + '<?php echo $this->domainName;?>';
<?php endif; ?>
var username = <?php echo $this->jsLmsg('smb.components.forms.email-address.loginAsUserDescription')?>.replace('%%username%%', domainName);
if (!this.value.length) {
username = '';
}
document.getElementById('<?php echo $element->getId() ?>').parentNode.querySelector('.hint-inline').innerHTML = username;
});
<?php if (1 < $this->domainsCount):?>
document.getElementById('general-generalSection-domain').addEventListener('change', function () {
var domainName = document.getElementById('general-generalSection-name').value + '@' + this.options[this.selectedIndex].text;
var username = <?php echo $this->jsLmsg('smb.components.forms.email-address.loginAsUserDescription')?>.replace('%%username%%', domainName);
if (!document.getElementById('general-generalSection-name').value) {
username = '';
}
document.getElementById('<?php echo $element->getId() ?>').parentNode.querySelector('.hint-inline').innerHTML = username;
});
<?php endif; ?>
//]]>
</script>
<?php endif; ?>
<?php endif; ?>

View File

@@ -1,8 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<p>
<?php echo $this->escape($this->element->getDescription()); ?>
<a href="<?php echo $this->baseUrl('/help/redirect/controller-name/email-address/action-name/learn-more');?>" target="_blank">
<?php echo $this->lmsg('smb.components.forms.email-address.antispamLearnMore'); ?></a>
</p>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->element->getElement('mboxOutgoingMessages')->render($this); ?>

View File

@@ -1,18 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div class="form-row">
<div class="field-name">
<?php echo $this->element->getLabel();?>
</div>
<div class="field-value">
<div class="text-value">
<div class="progress-box f-middle-size">
<div class="progress progress-sm">
<div class="progress-bar" style="width: <?php echo $this->usagePercent;?>%;"></div>
</div>
<div class="progress-label"><?php echo $this->element->getValue();?></div>
</div>
</div>
</div>
</div>

View File

@@ -1,67 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
$mailboxQuotaElement = $this->element->getElement('mboxQuotaValue');
?>
<div class="form-row">
<div class="field-name">
<?php echo $this->elementPart($this->element->getElement('postbox'))->content()?>
<?php echo $this->elementPart($this->element->getElement('postbox'))->label()?>
</div>
<div class="field-value">
<div class="text-value">
<?php echo $this->elementPart($mailboxQuotaElement)->content(); ?>
<span><label>
<input type="radio" class="radio" value="default"
id="<?php echo $mailboxQuotaElement->getId(); ?>-default"
name="<?php echo $mailboxQuotaElement->getId(); ?>-selector"
<?php echo $this->isDefault ? 'checked="checked"' : ''; ?>
/>
<span id="general-generalSection-text-default">
<?php echo $this->lmsg('smb.components.forms.email-address.mailBoxQuotaDomainDefaultNew'); ?>
</span>
</label>
</span><br />
<span><label>
<input type="radio" class="radio" value="specific"
id="<?php echo $mailboxQuotaElement->getId(); ?>-specific"
name="<?php echo $mailboxQuotaElement->getId(); ?>-selector"
<?php echo $this->isDefault ? '' : 'checked="checked"'; ?>
/>
<?php echo $this->lmsg('smb.components.forms.email-address.mailBoxQuotaDomainSpecific'); ?>
</label>
<input type="text" class="input-text" size="10"
id="<?php echo $mailboxQuotaElement->getId()?>-specific-input"
aria-label="<?php echo $this->lmsg('smb.components.forms.email-address.mailBoxQuotaDomainSpecificValue'); ?>"
>
<select id="<?php echo $mailboxQuotaElement->getId() ?>-specific-multiplier" aria-label="<?php echo $this->lmsg('smb.components.forms.email-address.mailBoxQuotaDomainSpecificMultiplier'); ?>">
<?php foreach($this->quotaValueUnits as $multiplier => $multiplierDescription): ?>
<option value="<?php echo $multiplier?>">
<?php echo $this->escape($multiplierDescription)?>
</option>
<?php endforeach;?>
</select>
</span><br />
<span class="hint"><?php echo $this->lmsg('smb.components.forms.email-address.maxCustomSizeDesc');?></span>
<span style="display: none;" class="field-errors"></span>
</div>
</div>
</div>
<div class="form-row" style="display:none;">
<div class="field-name">
<?php echo $this->elementPart($this->element->getElement('reason'))->label() ?>
</div>
<div class="field-value">
<div class='text-value'>
<?php echo $this->elementPart($this->element->getElement('reason'))->content() ?>
<?php echo $this->elementPart($this->element->getElement('reason'))->description() ?>
</div>
</div>
</div>
<?= $this->requireJs('app/email-address/postbox', [
'domainLimits' => $this->domainLimits,
'units' => array_keys($this->quotaValueUnits),
'quotaValue' => $this->quotaValue,
'isDefault' => $this->isDefault,
]) ?>

View File

@@ -1,11 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<div id="attachments">
<?php echo $this->content; ?>
</div>
<?= $this->requireJs('app/email-address/responder-attachments-dynamic', [
'applyTo' => 'attachments',
'addButtonId' => 'autoResponder-autoResponderSection-attachments-buttonAddAttachment',
'removeButtonId' => 'remove-responder-attachment-button-wrapper',
]) ?>

View File

@@ -1,18 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php
$enabledElement = $this->element->getElement('endDateEnabled');
$dateElement = $this->element->getElement('endDate');
?>
<div id="<?php echo $dateElement->getId(); ?>-form-row" class='form-row'>
<div class='field-name'>
<?php echo $this->elementPart($enabledElement)->content(); ?>
<?php echo $this->elementPart($enabledElement)->label(); ?>
</div>
<div class='field-value'>
<?php echo $this->elementPart($dateElement)->content(); ?>
<span class="field-errors" style="display: none;"></span>
<span class="hint"><?php echo $this->elementPart($dateElement)->description(); ?></span>
</div>
</div>

View File

@@ -1,4 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->form; ?>

View File

@@ -1,21 +0,0 @@
<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php echo $this->partial('outgoing-mail/_warning-messages.phtml', null, $this); ?>
<?php echo $this->form; ?>
<?php if ($this->isUnix): ?>
<script type="text/javascript">
//<![CDATA[
(function() {
const forwardingNoDelivery = document.getElementById('redirect-redirectSection-remove') &&
document.getElementById('redirect-redirectSection-remove').checked &&
document.getElementById('redirect-redirectSection-enabled').checked;
if (forwardingNoDelivery) {
Jsw.addStatusMessage('warning', "<?= $this->lmsg('smb.components.forms.email-address.antispamSettingsMoveWarning') ?>", {
renderTo: 'antispam-mainSection-content-area',
});
}
})();
//]]>
</script>
<?php endif; ?>