D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
mfa
/
views
/
scripts
/
index
/
Filename :
auth.phtml
back
Copy
<?php // Copyright 1999-2024. WebPros International GmbH. All rights reserved. ?> <?php echo $this->form ?> <script> Jsw.onReady(function() { new Jsw.Popup({ title: '<?php echo $this->pageTitle ?>', content: '<div id="auth-form"></div>', hideOnBgClick: false, }); $('auth-form').insert({top: $('<?php echo $this->form->getId() ?>')}); if (document.getElementById('page')) { document.getElementById('page').style.display = 'none'; } document.getElementById('verifyCode').focus(); // Auto submit after 6 characters have been entered document.getElementById('verifyCode').addEventListener('input', function (e) { if (e.target.value.length >= 6) { document.getElementById('btn-send').click(); } }); }); // prohibit other actions for onReady event Jsw.onReady = function() {}; </script> <style> .popup-panel .popup-wrapper { -webkit-align-self: center; -ms-flex-item-align: center; align-self: center; } <?php if (version_compare(pm_ProductInfo::getVersion(), '17.0') < 0) : ?> #modalDialogBox .popup-panel { top: 200px !important; } <?php endif; ?> </style>