- 扫描 ID:
- 5db58d7a-6351-4350-b5c4-d2f74a51c43c已完成
- 提交的 URL:
- https://academy.sathapana.com.kh/learner/courseinfo/id:409.已重定向
- 报告完成时间:
链接 · 找到 0 个
从页面中识别出的传出链接
JavaScript 变量 · 找到 159 个
在页面窗口对象上加载的全局 JavaScript 变量是在函数外部声明的变量,可以从当前范围内的代码中的任何位置访问
名称 | 类型 |
---|---|
0 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
makeIframesElastic | function |
helpVideoItemTemplate | object |
getHelpVideoItemTemplate | function |
createHelpVideoItem | function |
getHelpVideos | function |
openHelpVideo | function |
控制台日志消息 · 找到 1 条
记录到 Web 控制台的消息
类型 | 类别 | 记录 |
---|---|---|
warning | dom |
|
HTML
页面的原始 HTML 正文
<!DOCTYPE html><html lang="en" style="--navbar-mobile-menu-color: #000000; --navbar-mobile-menu-bg-color: rgb(255, 255, 255);"><head>
<meta property="og:type" content="website">
<meta property="og:site_name" content="sathapanaacademy">
<meta property="og:title" content="Sathapana Academy">
<meta property="og:image" content="https://d3j0t7vrtr92dk.cloudfront.net/sathapanaacademy/1649239633_LOGO_academy_360x72.png">
<meta property="og:description" content="This is the learning portal for Sathapana Bank">
<base href="https://academy.sathapana.com.kh/">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta charset="utf-8">
<meta name="keywords" content="lms, elearning, learning platform, cloud, saas">
<meta name="description" content="This is the learning portal for Sathapana Bank">
<title>Sathapana Academy</title>
<link href="pages/themes/default/css/animate.min.css?v=563" rel="stylesheet" type="text/css">
<link href="https://academy.sathapana.com.kh/index/css/fmt:1733133469,tn:51,tv:36,ct:1,rtl:0" rel="stylesheet" type="text/css">
<link href="https://d3j0t7vrtr92dk.cloudfront.net/sathapanaacademy/1675312278_Logo-Sathapana-Academy_final-04.png" rel="shortcut icon">
<script src="pages/scripts/lib/login-563.min.js" type="text/javascript"></script>
<script async="" src="pages/scripts/lib/formenhancements-563.min.js" type="text/javascript"></script>
<link href="pages/themes/default/css/toastr.min.css?v=563" rel="stylesheet" type="text/css">
</head>
<body class="tl-body">
<div class="navbar navbar-fixed-top" id="navbar-cms">
<div class="navbar-inner">
<div class="container-fluid nav-container">
<a class="btn btn-navbar hamburger hamburger--slider hamburger--small hamburger--collapse" data-toggle="collapse" data-target=".nav-collapse">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</a>
<a class="brand" href="https://academy.sathapana.com.kh/index"><img src="https://d3j0t7vrtr92dk.cloudfront.net/sathapanaacademy/1649239632_LOGO_academy_360x72.png" class="avatar-square"></a>
<div id="tl-loading-pane" class="hide affix text-center"><p><img src="https://d3j0t7vrtr92dk.cloudfront.net/images/loading-small.gif" class="tl-loader-small"></p></div>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li class="tl-cms-page " style="" id="tl-cms-menu-entry-1"><a href="https://academy.sathapana.com.kh/index">Home</a></li>
<li class="tl-cms-page " style="" id="tl-cms-menu-entry-4"><a href="https://academy.sathapana.com.kh/privacy-policy">Privacy Policy</a></li>
<li class="dropdown" id="tl-cms-page-dropdown-more" style="display:none">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
</ul>
</li>
<li class="divider-vertical hidden-phone hidden-tablet " id="tl-cms-page-dropdown-more-divider"></li>
<li><a href="javascript:void(0)" id="tl-cms-nav-login">Login <i class="icon-signin"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="hidden-phone hidden-tablet" style="margin-top: 72px;"></div>
<div class="modal fade hide in" id="tl-cms-login-modal" style="outline: none; display: block;" tabindex="-1" aria-hidden="false">
<div class="modal-header text-center">
<a href="javascript:void(0)" class="close" data-dismiss="modal">×</a>
<h3 class="tl-auth-form--handle-display active" data-state-scope="auth_form_view" data-state-name="login">
Log in </h3>
<h3 class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="social_login">
Log in with social media </h3>
<h3 class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="social_signup">
Sign up with social media </h3>
<h3 class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="forgot_password">
Reset password </h3>
<h3 class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="ldap_login">
Log in with LDAP </h3>
<h3 class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="signup">
Sign up </h3>
</div>
<div class="modal-body">
<div class="tl-auth-form--handle-display active" data-state-scope="auth_form_view" data-state-name="login">
<div class="tl-auth-form">
<form name="login_form" method="post" action="https://academy.sathapana.com.kh/index" class="tl-form form-horizontal" id="tl-cms-login-form"><input type="hidden" name="_track_login_form" value="1733134631" class="" id="1042204498"><input type="hidden" name="_redirect_" value="" class="" id="_redirect_"><input type="hidden" name="_loginToken" value="2de222b376c43220281430609eadabca" class="" id="_loginToken"><input type="hidden" name="course-id" value="0" class="tl-catalog-course-id" id="course-id"><input type="hidden" name="category-id" value="0" class="tl-catalog-category-id" id="category-id"><input type="hidden" name="group-id" value="0" class="tl-catalog-group-id" id="group-id"><input type="hidden" name="catalog-get-subscription" value="0" class="tl-catalog-get-subscription" id="catalog-get-subscription"><input type="hidden" name="login-referrer" value="" class="" id="login-referrer"><input type="hidden" name="redirection_path" value="L2xlYXJuZXIvY291cnNlaW5mby9pZDo0MDku" class="" id="1939937943"> <div class="spacer"></div>
<div class="localsignup" style="display: none;"><div class="spacer">
<div class="control-group ">
<label>
Username or email </label>
<div class="controls">
<input type="text" name="login" value="" class="" id="tl-shared-username" placeholder="" autocomplete="on" tabindex=""> <span class="help-block"></span>
</div>
</div>
</div></div>
<div class="localsignup" style="display: none;"><div class="spacer">
<div class="control-group ">
<label>
Password </label>
<div class="controls">
<input type="password" name="password" value="" class=" tl-form-password-field" id="993256296" placeholder="" autocomplete="off" tabindex=""> <span class="help-block"></span>
</div>
</div>
</div></div>
<div class="localsignup" style="display: none;"><div class="spacer spacer--x2">
<div class="control-group">
<input type="submit" name="submit" value="Login" class="btn btn-primary btn-large" id="1113740600" data-loading-text="Logging in..." tabindex=""> </div>
</div></div>
<div class="spacer spacer--x2">
<div class="control-group" style="display: none;">
<div class="text-center" style="display: none;">
Forgot your <a href="javascript:void(0)" class="link-color" data-select-state="auth_form_view:forgot_password">password</a>? </div>
</div>
<div class="spacer text-center">
<a class="link-color btn btn-primary btn-large" href="https://academy.sathapana.com.kh/index/ssologin/service:saml,redirection_path:" style="width: 100%; background-color: rgb(61, 133, 198);">Tap here to log in with your<br>Sathapana Email</a>
</div><div width="60%" id="localmessage" style="text-align:center"><hr><br>NO SATHAPANA.COM.KH EMAIL?<br>USE LOCAL AUTHENTICATION BELOW</div>
</div>
<div id="localsignuptoggle" class="btn btn-large" style="background-color:grey; background-image:none; width:100%; text-align:center">Tap to log in with local authentication</div></form> </div>
</div>
<div class="tl-auth-form--handle-display" data-state-scope="auth_form_view" data-state-name="forgot_password">
<div class="tl-auth-form">
<form name="form" method="post" action="https://academy.sathapana.com.kh/index" class="tl-form form-horizontal hide" id="tl-cms-forgot-password-form"><input type="hidden" name="_track_form" value="1733134631" class="" id="1600541208"><input type="hidden" name="_redirect_" value="" class="" id="_redirect_"> <div class="spacer"></div>
<div class="spacer">
<h3 class="tl-auth-form_title">Reset password</h3>
<p>Enter your username or email address and we'll email you instructions on how to reset your password</p>
</div>
<div class="spacer">
<div class="control-group ">
<div class="controls">
<input type="text" name="username" value="" class="" id="610879178" placeholder="" autocomplete="off" data-lpignore="true" data-form-type="other" tabindex=""> <span class="help-block"></span>
</div>
</div>
</div>
<div class="spacer--x2">
<div class="control-group">
<input type="submit" name="submit_login" value="Send" class="btn btn-primary btn-large" id="1883586656" autocomplete="off" data-loading-text="Processing..." tabindex=""> </div>
</div>
<div class="spacer"></div>
<div class="spacer spacer--x2 text-center">
<a class="link-color" href="javascript:void(0)" data-select-state="auth_form_view:login">
Log in </a>
with your credentials </div>
</form> </div>
</div>
<script type="text/javascript">
$(document).on('state:change', function(e, data){
var stateScope = data.scope;
var stateName = data.name;
var transitionDelay = 50;
switch(stateScope){
case "auth_form_view":
switch(stateName){
case "login":
setTimeout(function(){
$('form input[name="login"]').focus();
}, transitionDelay);
break;
case "forgot_password":
setTimeout(function(){
$('form input[name="username"]').focus();
}, transitionDelay);
break;
case "ldap_login":
setTimeout(function(){
$('form input[name="ldap_login"]').focus();
$('.tl-form-password-field').trigger('keyup');
}, 10);
break;
case "signup":
setTimeout(function(){
$('form[name="signup_form"] input[name="name"]').focus();
}, transitionDelay);
break;
default:
}
break;
default:
}
});
$(document).ready(function(){
var initialScreen = "login";
var switchToForgotPassword = !!'';
var switchToLDAPLogin = !!'';
var switchToSignupForm = !!'';
if(switchToForgotPassword){
initialScreen = "forgot_password";
}
if(switchToLDAPLogin){
initialScreen = "ldap_login"
}
if(switchToSignupForm){
initialScreen = "signup"
}
setState("auth_form_view", initialScreen);
});
</script>
<script>
$(document).ready(function(){
/* LOGIN FORM */
$("#tl-cms-login-form").on('submit', function(e){
$("#tl-cms-login-form .error").removeClass('error');
$("#tl-cms-login-form .help-block").html('');
var url = 'https://academy.sathapana.com.kh/cms/login';
var formdata = $(this).serialize();
myportal.app.ajax(url, {
type: "post",
data: formdata,
dataType: 'json',
success: function(resp){
if(!resp.success){
if(resp.data){
$.each(resp.data, function(key, val){
$("#tl-cms-login-form input[name='" + key + "']").parents('.control-group').addClass('error');
$("#tl-cms-login-form input[name='" + key + "']").closest('.controls').find('.help-block:first').html('<span class="help-inline">' + val + '</span>');
});
}
else if(resp.exc){
myportal.app.notify({type: "error", message: resp.exc});
}
else if(resp.permissionError || resp.blockedByLevel){
$(location).attr('href', 'https://academy.sathapana.com.kh/dashboard');
}
$('#tl-cms-login-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Login");
}
else{
$(location).attr('href', resp.url);
}
},
error: function(jqXHR_obj){
var response = $.parseJSON(jqXHR_obj.responseText);
$('#tl-cms-login-modal').modal('hide');
$('#tl-cms-login-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Login");
myportal.app.notify({type: "error", message: decodeURIComponent(response.message)});
}
});
return false;
});
/* FORGOT PASSWORD FORM */
$("#tl-cms-forgot-password-form").on('submit', function(e){
$("#tl-cms-forgot-password-form .error").removeClass('error');
$("#tl-cms-forgot-password-form .help-block").html('');
var url = 'https://academy.sathapana.com.kh/cms/forgotpassword';
var formdata = $(this).serialize();
myportal.app.ajax(url, {
type: "post",
data: formdata,
dataType: 'json',
success: function(resp){
if(!resp.success){
if(resp.data){
$.each(resp.data, function(key, val){
$("#tl-cms-forgot-password-form input[name='" + key + "']").parents('.control-group').addClass('error');
$("#tl-cms-forgot-password-form input[name='" + key + "']").closest('.controls').find('.help-block:first').html('<span class="help-inline">' + val + '</span>');
});
}
else if(resp.exc){
myportal.app.notify({type: "error", message: resp.exc});
}
}
else{
$('#tl-cms-login-modal .modal-body:first').hide();
myportal.app.notify({
type: "success",
message: "A password reset email has been sent to your email account. If you did not receive an email in your inbox, please check your spam filter."
});
$('#tl-cms-login-modal').modal('hide');
}
$('#tl-cms-forgot-password-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Send");
},
error: function(jqXHR_obj){
var response = $.parseJSON(jqXHR_obj.responseText);
$('#tl-cms-login-modal').modal('hide');
$('#tl-cms-forgot-password-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Send");
myportal.app.notify({type: "error", message: decodeURIComponent(response.message)});
}
});
return false;
});
/* SIGNUP FORM */
function emailVerificationActivation() {
signUpformReplaceWithAlertBox("cms", message);
openAuthModalAt("login", "cms");
myportal.app.notify({type: "success", message: message, timeOut: 6000});
}
$("#tl-cms-signup-form").on('submit', function(e){
$("#tl-cms-signup-form .error").removeClass('error');
$("#tl-cms-signup-form .help-block").html('');
$('#tl-cms-signup-form .alert').remove();
var url = 'https://academy.sathapana.com.kh/cms/signup';
var formdata = $(this).serialize();
myportal.app.ajax(url, {
type: "post",
data: formdata,
dataType: 'json',
success: function(resp){
if(!resp.success){
if(resp.data){
$.each(resp.data, function(key, val){
$("#tl-cms-signup-form input[name='" + key + "']").parents('.control-group').addClass('error');
$("#tl-cms-signup-form input[name='" + key + "']").closest('.controls').find('.help-block:first').html('<span class="help-inline">' + val + '</span>');
$("#tl-cms-signup-form select[name='" + key + "']").parents('.control-group').addClass('error');
$("#tl-cms-signup-form select[name='" + key + "']").closest('.controls').find('.help-block:first').html('<span class="help-inline">' + val + '</span>');
if(key == 'signup_captcha'){
$('#captcha-control-group').addClass('error');
$('#captcha-help-block').html('<span class="help-inline">' + val + '</span>');
}
});
/* Will reset captcha on every validation(api) error user receives */
if ($("#captcha-control-group").length > 0) {
resetGrecaptcha();
}
$('.modal-body').scrollTop(0);
}
else if(resp.exc){
myportal.app.notify({type: "error", message: resp.exc});
}
else if(resp.permissionError || resp.blockedByLevel){
$(location).attr('href', 'https://academy.sathapana.com.kh/dashboard');
}
$('#tl-cms-signup-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Create account");
}
else{
if(resp.redirect){
$(location).attr('href', resp.url);
}
else{
$('#tl-cms-signup-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Create account");
emailVerificationActivation();
}
}
},
error: function(jqXHR_obj){
var response = $.parseJSON(jqXHR_obj.responseText);
$('#tl-cms-signup-modal').modal('hide');
$('#tl-cms-signup-form input[type=submit]').removeClass('disabled').removeAttr('disabled').val("Create account");
myportal.app.notify({type: "error", message: decodeURIComponent(response.message)});
}
});
return false;
});
});
</script></div>
<div class="modal-body forgot-message hide"></div>
</div>
<script type="text/javascript">
$(document).ready(function(){
var waitForFinalEvent = (function(){
var timers = {};
return function(callback, ms, uniqueId){
if(!uniqueId){
uniqueId = "uniqueId";
}
if(timers[uniqueId]){
clearTimeout(timers[uniqueId]);
}
timers[uniqueId] = setTimeout(callback, ms);
};
})();
$(window).resize(function(){
if($(window).width() > 980){
$('.nav-collapse li.tl-cms-page').hide();
}
$('#tl-cms-page-dropdown-more').hide();
waitForFinalEvent(function(){
buildCmsMenu();
}, 500, "...");
});
buildCmsMenu();
$('.nav-collapse li.tl-cms-page').show(100);
$(document).on('click', '#tl-cms-nav-login', function(){
$('#tl-cms-login-modal').modal();
});
$('#tl-cms-login-modal').on('show', function(){
$('#tl-cms-login-form .error').removeClass('error');
$('#tl-cms-login-modal .help-block').html('');
$('#tl-cms-login-modal .alert-error:not(.tl-cms-payment-alert):not(.tl-alert-success-signup)').remove(); // remove all .alert-error except from payment modal prerequisites alert and signup alert box after user signed up and waits for verification
});
$('#tl-cms-login-modal').on('hidden', function(){
$('#tl-cms-login-modal .modal-body:first').show();
$('#tl-cms-login-modal .forgot-message').hide();
setState("auth_form_view", "login");
$('#tl-cms-login-modal .error').removeClass('error');
$('#tl-cms-login-modal .help-block').html('');
$('#tl-cms-login-modal .alert:not(.tl-cms-payment-alert):not(.tl-alert-success-signup)').remove(); // remove all .alert except from payment modal prerequisites alert and signup alert box after user signed up and waits for verification
});
});
function buildCmsMenu(){
$('#tl-cms-page-dropdown-more .dropdown-menu li').each(function(){
$('#tl-cms-page-dropdown-more').before($(this));
});
$('#tl-cms-page-dropdown-more').hide();
if($(window).width() < 980){
$('.nav-collapse li.tl-cms-page').fadeIn(100);
return;
}
var availableNavSpace = $('.nav-collapse').width();
var cmsMenuEntriesSpace = 0;
$('.nav-collapse li:not(.tl-cms-page)').each(function(){ availableNavSpace -= $(this).outerWidth(true); });
availableNavSpace -= $('.brand').outerWidth(true);
$('.nav-collapse li.tl-cms-page').each(function(){ cmsMenuEntriesSpace += getWidthOfHidden($(this));});
if(cmsMenuEntriesSpace > availableNavSpace){
$('#tl-cms-page-dropdown-more').fadeIn(100);
availableNavSpace -= $('#tl-cms-page-dropdown-more').outerWidth(true);
$('#tl-cms-page-dropdown-more-divider').fadeIn(100);
availableNavSpace -= $('#tl-cms-page-dropdown-more-divider').outerWidth(true);
}
var firstIteration = true;
cmsMenuEntriesSpace = 0;
$('.nav-collapse li.tl-cms-page').each(function(index){
cmsMenuEntriesSpace += getWidthOfHidden($(this));
if(cmsMenuEntriesSpace > availableNavSpace){
var pageTitle = $(this).find('a').text();
if(pageTitle.length > 60){
var truncatedPageTitle = jQuery.trim(pageTitle).substring(0, 60) + '...';
$(this).find('a').text(truncatedPageTitle);
}
$(this).appendTo('#tl-cms-page-dropdown-more .dropdown-menu');
}
else{
if(firstIteration){
$(this).parent('.nav-collapse').prependTo('.nav-collapse ul[class!="dropdown-menu"]');
firstIteration = false;
}
else{
$(this).parent('.nav-collapse li.tl-cms-page').eq(index-1).after($(this));
}
}
});
$('.nav-collapse li.tl-cms-page').fadeIn(100);
}
function getWidthOfHidden(obj){
var clone = obj.clone().show().css({"visibility":"hidden", "display":"table"}).insertAfter(obj);
var width = clone.outerWidth(true);
clone.remove();
return width;
}
</script>
<div class="container ">
<div class="row">
<div class="span12"> <div class="cms-main-div">
<div class="hero-unit tl-external-announcement">We are excited to announce the release of Sathapana Academy where you can learn anywhere, anytime at your own pace.
<br>Sathapana Academy is specially designed for the busy professionals with little or no time to spend by attending physical or live classes.
<br>We believe that Sathapana Academy will help you enjoy your learning journey with us even more.</div>
<div class="tl-box tl-box-border ">
<div class="row">
<div class="span12">
<div class="tl-content-full" style="padding: 0px 0px 20px 0px;">
<div class="cms-home-image">
<img class="show" src="https://d3j0t7vrtr92dk.cloudfront.net/sathapanaacademy/1671002086_Academy_Banner.png"> </div>
<div class="clearfix tl-cms-no-divider"></div>
<div class="row">
<div class="span12 cms-page-title text-left">
<h1>Sathapana Bank is an exceptional destination for fostering a remarkable work experience.</h1>
<h3></h3>
<hr>
</div>
</div>
<div class="row">
<div class="span12 cms-page-only-media">
<div class="cms-page-only-media-wrapper text-center">
<iframe class="video-frame" src="https://academy.sathapana.com.kh/file/cmsvideo/id:2000" width="96%" height="192.375" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div>
</div>
</div>
<div class="clearfix tl-cms-no-divider"></div>
</div>
</div>
</div>
</div></div>
<script type="text/javascript">
$(document).ready(function(){
if('/learner/courseinfo/id:409.' !== ''){
$('#tl-cms-nav-login').trigger('click');
}
});
</script>
</div> </div>
<div id="tl-gamification-points-message" class="hide hidden-phone text-center tl-bold-item"></div>
<div id="tl-gamification-badges-message" class="hide hidden-phone">
<div class="tl-badge-image-message-wrapper">
<img class="tl-badge-image pull-left image60x60">
<div class="tl-badge-message text-center tl-bold-item"></div>
</div>
</div>
</div>
<div class="modal fade hide" id="tl-confirm" style="outline: none;" tabindex="-1">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal">×</a>
<h3 class="tl-modal-header">Notice</h3>
</div>
<div class="modal-body"><p id="tl-modal-body"></p></div>
<div class="modal-footer">
<a id="tl-confirm-submit" class="btn btn-danger"><i class="icon-trash"></i> Delete</a>
<a id="tl-confirm-continue" class="btn btn-danger hide"><i class="icon-trash"></i> Delete, don't keep asking</a>
<a class="btn" data-dismiss="modal">Cancel</a>
</div>
</div>
<div class="modal fade hide" id="tl-confirm-double" style="outline: none;" tabindex="-1">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal">×</a>
<h3 class="tl-modal-header-double">Notice</h3>
</div>
<div class="modal-body"><p id="tl-modal-body-double"></p></div>
<div class="modal-footer">
<a id="tl-confirm-submit-double" class="btn btn-danger"><i class="icon-trash"></i> Delete</a>
<a id="tl-confirm-submit-double2" class="btn btn-danger"></a>
<a class="btn" data-dismiss="modal">Cancel</a>
</div>
</div>
<div class="modal fade hide" id="tl_leavepage_confirm" style="outline: none;" tabindex="-1">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal">×</a>
<h3>Notice</h3>
</div>
<div class="modal-body"><p></p></div>
<div class="modal-footer">
<a id="tl-leavepage" class="btn btn-danger"><i class="icon-trash"></i> Discard changes</a>
<a class="btn" data-dismiss="modal">Cancel</a>
</div>
</div>
<script type="text/javascript">
$('body').on('touchstart.dropdown', '.dropdown-menu', function(e){ e.stopPropagation(); }); // Fix for https://github.com/twitter/bootstrap/issues/2975#issuecomment-6659992, should be removed if fixed in twitter bs 2.1.2 (or whenever)
myportal.app.translations['search'] = "Search";
myportal.app.translations['Completed'] = "Completed";
myportal.app.translations['cancel'] = "Cancel";
myportal.app.translations['ok'] = "Ok";
myportal.app.translations['save'] = "Save";
myportal.app.translations['save-as-new'] = "Save as new";
myportal.app.translations['more'] = "more";
myportal.app.translations['less'] = "less";
myportal.app.translations['remove'] = "Remove";
myportal.app.translations['reset'] = "Reset";
myportal.app.translations['refresh'] = "Refresh";
myportal.app.translations['notice'] = "Notice";
myportal.app.translations['reset-remove-certification'] = "Reset & remove certificate";
myportal.app.translations['activate'] = "activate";
myportal.app.translations['deactivate'] = "deactivate";
myportal.app.translations['search-courses'] = "Search courses";
myportal.app.translations['add-image'] = "Add image";
myportal.app.translations['change-image'] = "Change image";
myportal.app.translations['accepted-files'] = "Accepted files";
myportal.app.translations['max-file-size'] = "Max file size";
myportal.app.translations['switch-editor'] = "Switch between HTML and Source view";
myportal.app.translations['grid-more-results'] = "Show more results per page";
myportal.app.translations['grid-less-results'] = "Show less results per page";
myportal.app.translations['image-course-files'] = "Use an image from course files";
myportal.app.translations['use-image-url'] = "Use an image URL (http://...)";
myportal.app.translations['width'] = "Width";
myportal.app.translations['padding'] = "Padding";
myportal.app.translations['align-default'] = "Align (default)";
myportal.app.translations['align-left'] = "Align left";
myportal.app.translations['align-right'] = "Align right";
myportal.app.translations['make-changes'] = "Save changes";
myportal.app.translations['grid-start-end-total'] = "_START_ to _END_ of _TOTAL_";
myportal.app.translations['matrix-of-total'] = "of _TOTAL_";
myportal.app.translations['matrix-more-less-results'] = "Show more/less results per page";
myportal.app.translations['matrix-search-input-threshold'] = "Please use 3+ characters";
myportal.app.translations['search-users'] = "Search users";
myportal.app.translations['export'] = "Export";
myportal.app.translations['save-as-csv'] = "Save as CSV";
myportal.app.translations['active-file-upload'] = "There is an active file upload transfer";
myportal.app.translations['upload-leave-page'] = "Are you sure you want to leave this page? File upload will stop and you will lose all uploaded data.";
myportal.app.translations['unsaved-changes'] = "There are unsaved changes";
myportal.app.translations['changes-leave-page'] = "Are you sure you want to leave this page? You will lose all unsaved changes.";
myportal.app.translations['discard-draft'] = "Are you sure you want to delete the autosave? This action cannot be undone.";
myportal.app.translations['restore-draft'] = "Are you sure you want to restore the autosave? This action cannot be undone.";
myportal.app.translations['add'] = "Add";
myportal.app.translations['added'] = "Added";
myportal.app.translations['processing'] = "Processing...";
myportal.app.translations['validate'] = "Validate";
myportal.app.translations['click-to-start'] = "Start";
myportal.app.translations['reset-password'] = "Reset password";
myportal.app.translations['operation-completed-successfully'] = "Operation completed successfully";
myportal.app.translations['points'] = "points";
myportal.app.translations['badges'] = "badges";
myportal.app.translations['help-videos-unavailable'] = "Videos are not currently available";
myportal.app.translations['next'] = "Next";
myportal.app.translations['previous'] = "Previous";
myportal.app.translations['your-rating'] = "Your rating";
myportal.app.translations['reset-your-rating'] = "Reset your rating";
myportal.app.translations['creating-export'] = "Creating the export file. Please wait...";
myportal.app.translations['no-results-found'] = "No results were found. Please try again.";
myportal.app.translations['login'] = "Login";
myportal.app.translations['crop'] = "Crop";
myportal.app.translations['apply'] = "Apply";
myportal.app.translations['preview-certification-error'] = "An error occurred while generating the preview, try again later";
myportal.app.translations['preview'] = "Preview";
myportal.app.translations['wait-preview-generation'] = "Please wait while generating the preview";
myportal.app.translations['youtube'] = 'Youtube';
myportal.app.translations['uploaded-video'] = 'Uploaded video';
myportal.app.translations['days'] = 'days';
myportal.app.translations['pick-an-expiration-date'] = 'Pick an expiration date';
myportal.app.translations['duration'] = 'Duration';
myportal.app.translations['start-date'] = 'Start date';
myportal.app.translations['expiration-date'] = 'Expiration date';
myportal.app.translations['time-limit'] = 'Time limit';
myportal.app.translations['start-date-and-time-limit'] = 'Start date & Time limit';
myportal.app.translations['dtable-error'] = 'Failed to execute action (operation timed out)';
myportal.app.translations['generic-error'] = 'Oops, something went wrong! Please try reloading the page';
var isMobile = false;
var isRtl = false;
var general_css = 'https://academy.sathapana.com.kh/index/css/fmt:1733133469,tn:51,tv:36,ct:1';
var editorMaxUploadSize = '10485760';
var editorFormattedMaxUploadSize = '10 MB';
var editorAcceptedFileTypes = 'gif|jpg|jpeg|png';
var editorFormattedAcceptedFileTypes = 'gif, jpg, jpeg, png';
var imageAcceptedFileTypes = 'gif|jpg|jpeg|png';
var imageMaxUploadSize = '3145728';
var courseImageCanvasSizeWidth = '120';
var courseImageCanvasSizeHeight = '80';
var datepickerFormat = 'dd/mm/yyyy';
var showSelect2 = true;
var currentUserId = "";
var currentUserName = "";
var currentUserEmail = "";
var currentUserCreatedOn = "";
var currentUserIntercomHash = '';
var myToken = "";
var myEffectiveDomain = 'academy.sathapana.com.kh';
var myAdminDomain = '';
var gridExportChunkSize = 5000;
var gridExportProgressThreshold = 100;
var isDummy = false;
var sessionMaxLifeTime = 10800;
var checkSessionExpirationUrl = 'https://academy.sathapana.com.kh/index/checksessionexpiration';
var logourRedirectUrl = '';
var reloginRedirectUrl = 'https://academy.sathapana.com.kh/dashboard';
var enableRelogin = false;
var currency = '<span class="dollar-price">$</span>';
</script>
<script type="text/javascript">
$(document).ready(function () {
if($('.tl-title-link').length){
if(parseInt($('.tl-title').css('height')) < 50) {
$('.tl-title-link').addClass('tl-title-link-default');
}
$('.tl-title-link').show();
}
});
</script>
<script type="text/javascript">$(".span12.cms-home-title.text-center h1").html('Welcome to <span style="font-weight:800;">SATHAPANA</span> ACADEMY');
//function for multiline ability with JS
$(document).ready(function(){
$.fn.multiline = function(text){
this.text(text);
this.html(this.html().replace(/\n/g,'<br/>'));
return this;
};
var textForBtn = 'Tap here to log in with your\nSathapana Email';
$('.spacer.text-center > a[href*="ssologin/service:saml"]').multiline(textForBtn);//Change text on SSO login button
$('.spacer.text-center > a[href*="ssologin/service:saml"]').addClass('btn btn-primary btn-large').css({'width':'100%','background-color':'#3D85C6'});//Add button classes to make link more like login button, add CSS to change BG colour
$(function(){
if($('#tl-cms-login-form .spacer.text-center').length > 0 ){ //function to remove "with SAML 2.0"
var textToRep = $('#tl-cms-login-form .spacer.text-center').has('a[href*="ssologin/service:saml"]').html();
$('#tl-cms-login-form .spacer.text-center').has('a[href*="ssologin/service:saml"]').html(textToRep.replace("with SAML 2.0", ""));
}
});
let insertPoint = $('#tl-cms-login-form .spacer.text-center').last();
$('<div width="60%" id="localmessage" style="text-align:center"><hr><br>NO SATHAPANA.COM.KH EMAIL?<br>USE LOCAL AUTHENTICATION BELOW</div>').insertAfter(insertPoint);//Add new message to form
});
//Add class to username and password fields
$('input[name="login"]').parents('.spacer').wrap('<div class="localsignup"></div>');
$('input[name="password"]').parents('.spacer').wrap('<div class="localsignup"></div>');
$('input[name="submit"]').parents('.spacer').wrap('<div class="localsignup"></div>');
$('.localsignup').hide();//hide local login fields
//hide forgot_password link
let forgotpass = $('#tl-cms-login-form a[data-select-state="auth_form_view:forgot_password"]').parentsUntil('.spacer');
$(forgotpass).hide();
//Create login with local button and create click function
$(document).ready(function(){
$('<div id="localsignuptoggle" class="btn btn-large" style="background-color:grey; background-image:none; width:100%; text-align:center">Tap to log in with local authentication</div>').appendTo('#tl-cms-login-form');
$('#localsignuptoggle').click(function(){
$(this).hide();
$('.localsignup').show();//show local login fields
$('#localmessage').hide();//hide the Login with local message
$(forgotpass).show();//show forgot_password field for local login
});
});
//Hide fields and bring back button on modal close
$('#tl-cms-login-modal').on('hidden',function(){
$('#localsignuptoggle').show();
$('.localsignup').hide();
$('#localmessage').show();
$(forgotpass).hide();
});</script><script type="text/javascript">
window.getTestIdAttr = function () {
return window.testIDAttr || "";
};
window.printTestId = function ( testID ) {
if ( window.testEnvActive && ( typeof testID !== 'undefined' ) ) {
return window.getTestIdAttr() + '=' + testID;
} else {
return '';
}
};
jQuery.fn.printTestId = function ( testID ) {
var el = $(this[0]);
if ( window.testEnvActive && ( typeof testID !== 'undefined' ) ) {
el.attr(window.getTestIdAttr(), testID);
}
return this;
};
</script>
<script type="text/javascript">
myportal.app.notify({
type: "error",
message: "You need to be logged in to access this page" });
</script><div id="toast-container" class="toast-top-center"><div class="toast toast-error" aria-live="assertive" style=""><div class="toast-message">You need to be logged in to access this page</div></div></div>
<div class="modal-backdrop fade in"></div></body></html>