golden hour
/home/doctorbruno/public_html/taeionline.com/support/include/staff
⬆️ Go Up
Upload
File/Folder
Size
Actions
apikey.inc.php
4.69 KB
Del
OK
apikeys.inc.php
7.6 KB
Del
OK
banlist.inc.php
8.71 KB
Del
OK
banrule.inc.php
2.96 KB
Del
OK
cannedresponse.inc.php
6.09 KB
Del
OK
cannedresponses.inc.php
8.47 KB
Del
OK
categories.inc.php
7.03 KB
Del
OK
category.inc.php
6.51 KB
Del
OK
dashboard.inc.php
6.35 KB
Del
OK
department.inc.php
22.78 KB
Del
OK
departments.inc.php
10.42 KB
Del
OK
directory.inc.php
5.95 KB
Del
OK
dynamic-form.inc.php
15.2 KB
Del
OK
dynamic-forms.inc.php
5.26 KB
Del
OK
dynamic-list.inc.php
11.12 KB
Del
OK
dynamic-lists.inc.php
4.62 KB
Del
OK
email.inc.php
10.47 KB
Del
OK
emails.inc.php
7.03 KB
Del
OK
faq-categories.inc.php
7.13 KB
Del
OK
faq-category.inc.php
3.52 KB
Del
OK
faq-view.inc.php
3.52 KB
Del
OK
faq.inc.php
10.31 KB
Del
OK
filter.inc.php
18.98 KB
Del
OK
filters.inc.php
9.47 KB
Del
OK
footer.inc.php
3.87 KB
Del
OK
header.inc.php
6.02 KB
Del
OK
helptopic.inc.php
20.78 KB
Del
OK
helptopics.inc.php
9.93 KB
Del
OK
index.php
37 B
Del
OK
login.header.php
1.37 KB
Del
OK
login.tpl.php
6.76 KB
Del
OK
org-view.inc.php
4.45 KB
Del
OK
orgs.inc.php
8.57 KB
Del
OK
page.inc.php
7.87 KB
Del
OK
pages.inc.php
7.64 KB
Del
OK
plugin-add.inc.php
1.84 KB
Del
OK
plugin-instance.inc.php
1.31 KB
Del
OK
plugin.inc.php
4.67 KB
Del
OK
plugins.inc.php
5.81 KB
Del
OK
profile.inc.php
20.72 KB
Del
OK
pwreset.login.php
1.77 KB
Del
OK
pwreset.php
1.7 KB
Del
OK
pwreset.sent.php
1.59 KB
Del
OK
queue.inc.php
15.59 KB
Del
OK
queues-ticket.inc.php
4.56 KB
Del
OK
role.inc.php
4.91 KB
Del
OK
roles.inc.php
5.5 KB
Del
OK
schedule.inc.php
4.53 KB
Del
OK
schedules.inc.php
5.34 KB
Del
OK
settings-agents.inc.php
13.15 KB
Del
OK
settings-alerts.inc.php
10.68 KB
Del
OK
settings-autoresp.inc.php
2.48 KB
Del
OK
settings-emails.inc.php
9.88 KB
Del
OK
settings-kb.inc.php
2.18 KB
Del
OK
settings-pages.inc.php
15.32 KB
Del
OK
settings-system.inc.php
22.99 KB
Del
OK
settings-tasks.inc.php
14.99 KB
Del
OK
settings-tickets.inc.php
13.7 KB
Del
OK
settings-users.inc.php
9.36 KB
Del
OK
slaplan.inc.php
5.96 KB
Del
OK
slaplans.inc.php
7.99 KB
Del
OK
staff.inc.php
21.42 KB
Del
OK
staffmembers.inc.php
12.63 KB
Del
OK
syslogs.inc.php
8.58 KB
Del
OK
system.inc.php
7.82 KB
Del
OK
task-view.inc.php
93 B
Del
OK
tasks.inc.php
17.99 KB
Del
OK
team.inc.php
8.76 KB
Del
OK
teams.inc.php
8.14 KB
Del
OK
template.inc.php
7.21 KB
Del
OK
templates
-
Del
OK
templates.inc.php
8.25 KB
Del
OK
ticket-edit.inc.php
8.62 KB
Del
OK
ticket-open.inc.php
23.7 KB
Del
OK
ticket-relations.inc.php
1.27 KB
Del
OK
ticket-tasks.inc.php
7.32 KB
Del
OK
ticket-view.inc.php
70.54 KB
Del
OK
tickets.inc.php
25.45 KB
Del
OK
tpl.inc.php
5.77 KB
Del
OK
user-view.inc.php
9.22 KB
Del
OK
users.inc.php
12.88 KB
Del
OK
Edit: login.tpl.php
<?php include_once(INCLUDE_DIR.'staff/login.header.php'); $info = ($_POST && $errors)?Format::htmlchars($_POST):array(); if ($thisstaff && $thisstaff->is2FAPending()) $msg = "2FA Pending"; ?> <div id="brickwall"></div> <div id="loginBox"> <div id="blur"> <div id="background"></div> </div> <h1 id="logo"><a href="index.php"> <span class="valign-helper"></span> <img src="logo.php?login" alt="osTicket :: <?php echo __('Staff Control Panel');?>" /> </a></h1> <h3 id="login-message"><?php echo Format::htmlchars($msg); ?></h3> <div class="banner"><small><?php echo ($content) ? Format::display($content->getLocalBody()) : ''; ?></small></div> <div id="loading" style="display:none;" class="dialog"> <h1><i class="icon-spinner icon-spin icon-large"></i> <?php echo __('Verifying');?></h1> </div> <form action="login.php" method="post" id="login" onsubmit="attemptLoginAjax(event)"> <?php csrf_token(); if ($thisstaff && $thisstaff->is2FAPending() && ($bk=$thisstaff->get2FABackend()) && ($form=$bk->getInputForm($_POST))) { // Render 2FA input form include STAFFINC_DIR . 'templates/dynamic-form-simple.tmpl.php'; ?> <fieldset style="padding-top:10px;"> <input type="hidden" name="do" value="2fa"> <button class="submit button pull-center" type="submit" name="submit"><i class="icon-signin"></i> <?php echo __('Verify'); ?> </button> </fieldset> <?php } else { ?> <input type="hidden" name="do" value="scplogin"> <fieldset> <input type="text" name="userid" id="name" value="<?php echo $info['userid'] ?? null; ?>" placeholder="<?php echo __('Email or Username'); ?>" autofocus autocorrect="off" autocapitalize="off"> <input type="password" name="passwd" id="pass" maxlength="128" placeholder="<?php echo __('Password'); ?>" autocorrect="off" autocapitalize="off"> <h3 style="display:inline"><a id="reset-link" class="<?php if (!$show_reset || !$cfg->allowPasswordReset()) echo 'hidden'; ?>" href="pwreset.php"><?php echo __('Forgot My Password'); ?></a></h3> <button class="submit button pull-right" type="submit" name="submit"><i class="icon-signin"></i> <?php echo __('Log In'); ?> </button> </fieldset> <?php } ?> </form> <?php if (($bks=StaffAuthenticationBackend::getExternal())) { ?> <div class="or"> <hr/> </div><?php foreach ($bks as $bk) { ?> <div class="external-auth"><?php $bk->renderExternalLink(); ?></div><br/><?php } } ?> <div id="company"> <div class="content"> <?php echo __('Copyright'); ?> © <?php echo Format::htmlchars($ost->company) ?: date('Y'); ?> </div> </div> </div> <div id="poweredBy"><?php echo __('Powered by'); ?> <a href="http://www.osticket.com" target="_blank"> <img alt="osTicket" src="images/osticket-grey.png" class="osticket-logo"> </a> </div> <script> document.addEventListener('DOMContentLoaded', function() { if (undefined === window.getComputedStyle(document.documentElement).backgroundBlendMode) { document.getElementById('loginBox').style.backgroundColor = 'white'; } }); function attemptLoginAjax(e) { $('#loading').show(); var objectifyForm = function(formArray) { //serialize data function var returnArray = {}; for (var i = 0; i < formArray.length; i++) { returnArray[formArray[i]['name']] = formArray[i]['value']; } return returnArray; }; if ($.fn.effect) { // For some reason, JQuery-UI shake does not considere an element's // padding when shaking. Looks like it might be fixed in 1.12. // Thanks, https://stackoverflow.com/a/22302374 var oldEffect = $.fn.effect; $.fn.effect = function (effectName) { if (effectName === "shake") { $('#loading').hide(); var old = $.effects.createWrapper; $.effects.createWrapper = function (element) { var result; var oldCSS = $.fn.css; $.fn.css = function (size) { var _element = this; var hasOwn = Object.prototype.hasOwnProperty; return _element === element && hasOwn.call(size, "width") && hasOwn.call(size, "height") && _element || oldCSS.apply(this, arguments); }; result = old.apply(this, arguments); $.fn.css = oldCSS; return result; }; } return oldEffect.apply(this, arguments); }; } var form = $(e.target), data = objectifyForm(form.serializeArray()) data.ajax = 1; $('button[type=submit]', form).attr('disabled', 'disabled'); $.ajax({ url: form.attr('action'), method: 'POST', data: data, cache: false, success: function(json) { $('button[type=submit]', form).removeAttr('disabled'); if (!typeof(json) === 'object' || !json.status) return; switch (json.status) { case 401: if (json && json.redirect) document.location.href = json.redirect; if (json && json.message) $('#login-message').text(json.message) if (json && json.show_reset) $('#reset-link').show() if ($.fn.effect) { $('#loginBox').effect('shake') } // Clear the password field $('#pass').val('').focus(); break case 302: if (json && json.redirect) document.location.href = json.redirect; break } }, }); e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); return false; } </script> <!--[if IE]> <style> #loginBox:after { background-color: white !important; } </style> <![endif]--> <script type="text/javascript" src="<?php echo ROOT_PATH; ?>js/jquery-ui-1.13.2.custom.min.js?53339df"></script> </body> </html>
Save