Submit
Path:
~
/
/
opt
/
psa
/
admin
/
application
/
default
/
views
/
scripts
/
partials
/
File Content:
editable-select-element.phtml
<?php // Copyright 1999-2025. WebPros International GmbH. All rights reserved. $defaultText = ' (' . $this->defaultText . ')'; ?> <div class='form-row'> <div class='field-name'> <?php echo $this->element->getLabel(); ?> </div> <div class='field-value'> <div class='combobox'><!-- + combobox-open + dropup --> <input type='text' class='combobox-input input-text <?php if ($this->element->getAttrib('isLongLength')): ?>f-big-size<?php endif; ?>' <?php echo $this->element->getAttrib('disabled'); ?> value='<?php echo $this->value; ?>' id='<?php echo $this->element->getId(); ?>'> <?php echo $this->defaultElementContent; ?> <?php echo $this->realElementContent; ?> <?php echo $this->options; ?> <input type='hidden' value='<?=$defaultText?>' id='<?=$this->element->getId()?>-default-text' /> </div> <?php echo $this->restoreToDefaultElementContent; ?> <?php echo $this->description; ?> <span class='field-errors'></span> </div> </div> <script type='text/javascript'> //<![CDATA[ (function () { var mainElement = document.getElementById(<?php echo $this->jsEscape($this->element->getId()); ?>); var defaultElement = document.getElementById(mainElement.id + '-default'); var resetElement = document.getElementById(mainElement.id + '-reset-to-default'); var realValueElement = document.getElementById(mainElement.id + '-real'); var defaultText = '<?=$defaultText?>'; if (!mainElement || !defaultElement || !resetElement || !realValueElement) { return; } var cleanupTextValue = function () { if (-1 < this.value.indexOf(defaultText)) { this.value = this.value.replace(defaultText, ''); } }; var tempValue = mainElement.value.replace(defaultText, ''); if (tempValue === defaultElement.value) { resetElement.style.display = 'none'; } resetElement.addEventListener('click', function (event) { event.preventDefault(); if (mainElement.disabled) { return; } mainElement.value = defaultElement.value; realValueElement.value = defaultElement.value; if (mainElement.value == defaultElement.value && '' != defaultElement.value) { mainElement.value = mainElement.value + defaultText; } resetElement.style.display = 'none'; }); mainElement.addEventListener('change', function (event) { realValueElement.value = this.value; cleanupTextValue.apply(realValueElement); if (realValueElement.value === defaultElement.value) { resetElement.style.display = 'none'; } else { resetElement.style.display = ''; } }); var editableSelectButton = document.getElementById(mainElement.id + '-button'); if (editableSelectButton) { var optionList = editableSelectButton.parentNode.nextElementSibling; optionList.querySelectorAll('li').forEach(function (item) { item.addEventListener('mousedown', function (event) { var comboBox = this.parentNode.parentNode; comboBox.classList.toggle('combobox-open'); realValueElement.value = this.dataset.value; mainElement.value = realValueElement.value; }); }); editableSelectButton.addEventListener('click', function (event) { event.preventDefault(); event.stopPropagation(); if (mainElement.disabled) { return; } var combobox = this.parentNode.parentNode; document.querySelectorAll('.combobox').forEach(function (item) { if (combobox === item) { combobox.classList.toggle('combobox-open'); mainElement.focus(); } else { item.classList.remove('combobox-open'); } }); }); } mainElement.addEventListener('focusin', cleanupTextValue); mainElement.addEventListener('focus', cleanupTextValue); mainElement.addEventListener('blur', function (event){ if (editableSelectButton) { optionList.parentNode.classList.remove('combobox-open'); } if (this.value === defaultElement.value) { this.value = this.value + defaultText; resetElement.style.display = 'none'; } else if (this.value != defaultElement.value + defaultText) { resetElement.style.display = ''; } }); })(); //]]> </script>
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
apscatalog
---
0755
backup
---
0755
forms
---
0755
hosting-settings
---
0755
button.phtml
539 bytes
0644
cgroups-limit-element-handler.phtml
1923 bytes
0644
context_header.phtml
384 bytes
0644
database-user-acl-element.phtml
2970 bytes
0644
database-user-name-element.phtml
1618 bytes
0644
database-user-remote-access-rules-element.phtml
2340 bytes
0644
domain-name.phtml
1266 bytes
0644
editable-select-element.phtml
4628 bytes
0644
extended-select-element.phtml
1984 bytes
0644
gauge.phtml
619 bytes
0644
google-tag-manager-noscript.phtml
282 bytes
0644
google-tag-manager.phtml
666 bytes
0644
icp-permit-classic.phtml
1320 bytes
0644
iis-app-pool-buttons.phtml
4247 bytes
0644
iis-app-pool-perf-section.phtml
2284 bytes
0644
iis-app-pool-settings.phtml
367 bytes
0644
im-number.phtml
597 bytes
0644
logrotation.phtml
2830 bytes
0644
newsletter-subscription.phtml
290 bytes
0644
period.phtml
6281 bytes
0644
permissions-overview.phtml
2977 bytes
0644
php-fpm-settings.phtml
3448 bytes
0644
post_redirect.phtml
521 bytes
0644
resource-component.phtml
1017 bytes
0644
resources-overview.phtml
3567 bytes
0644
secure-passwords-disabled.phtml
491 bytes
0644
secure-passwords-enabled.phtml
1323 bytes
0644
sidebar-panel.phtml
1310 bytes
0644
split-button.phtml
248 bytes
0644
subdomain.phtml
2171 bytes
0644
subscription-info.phtml
1958 bytes
0644
tabs.phtml
856 bytes
0644
N4ST4R_ID | Naxtarrr