Utilice otros métodos de autenticación:
-
|
Una vez que se haya autenticado, no será necesario identificarse de nuevo para acceder a otros recursos.
Para desconectarse, recomendamos que cierre su navegador (cerrando todas las ventanas).
Para poder autenticarse es necesario tener configurado un certificado válido en el navegador o tener introducida correctamente en el lector de certificados la tarjeta correspondiente. Pulse "Aceptar" para seguir.
';
if ($(".bloque .error_msg").length == 0) {
$(".bloque").prepend(error_msg);
} else {
$(".bloque .error_msg #text_span_error").html('
' + textos[$("#langs .highlight_lang").attr("id")][error_id] + '');
}
}
}
$(document).ready(function() {
//$("button, input:submit, .own-button").button();
if ($('.ui-state-error').length < 1) {
$('.notes_texts').show();
}
$('#holder').sweetPages({perPage: 4});
var controls = $('.swControls').detach();
$('#number-links').html(controls);
$('a.http_authn_module').click(function() {
if ($(this).attr("disabled") != "disabled") {
$('#panelhttp').hide();
$('#externalauth').load("https://identidad.usal.es/adas/authn/httpauth/js-httpauth.php", function(response, status, xhr) {
checkError(response, status, xhr, "error_httpauth");
});
}
});
$("#x509_module").click(function(e) {
e.preventDefault();
if ($(this).attr("disabled") != "disabled") {
$("#confirm_tls_dialog").dialog({
resizable: false,
height: 'auto',
//width: 'auto',
modal: false,
closeText: 'hide',
buttons: {
"Aceptar": function() {
$(this).dialog("close");
window.location = $("#x509_module").attr('href');
$('#background_wayf').hide();
}
},
open: function(event, ui) {
var button = $(this).parent().find(".ui-button-text");
button.html("
" + button.html() + "");
var theme_lang = $("#adAS_i18n_theme").val();
if(theme_lang!=undefined){
translate_to(theme_lang);
}
$('#background_wayf').height($(document).height() * 1.20).show();
}
})
var dialog = $("#confirm_tls_dialog").parent();
dialog.css('font', '14px arial,helvetica,verdana,sans-serif');
dialog.find("p").css('padding', '20px');
dialog.find("button").css('background', '#D22020').css('color', '#fff').css('font', '14px arial,helvetica,verdana,sans-serif');
dialog.find(".ui-dialog-titlebar").css('background', '#D22020').css('color', '#fff');
dialog.find("a").hide();
}
});
$('.return_to_userpassword').click(function(event) {
event.preventDefault();
$('#panelhttp').hide();
$('#userpass').show();
});
activate_translation();
activate_translation_extra();
$("#wayf_button").click(function() {
$('#background_wayf').show();
$('#wayfotherlogin').fadeIn('slow', function() {
$('#background_wayf').height($(document).height() * 1.20);
});
});
$("#wayf_button_close2").click(function() {
$('#wayfotherlogin').fadeOut();
$('#background_wayf').hide();
});
$("#formulario1").submit(function() {
$("#formulario1").find("input:submit").attr('disabled', 'disabled');
setTimeout(function() {
$("#formulario1").find("input:submit").removeAttr('disabled');
}, 5000);
return true;
});
if((navigator.platform.indexOf('iPhone') != -1) || (navigator.platform.indexOf('iPod') != -1) || (navigator.platform.indexOf('iPad') != -1)){
$('.text-field').css('height','17px');
}
});
function activate_translation_extra() {
var texts = {
};
$(langs).each(function () {
$("#" + this).click(function () {
var id_lang_cl = this.id;
$(".button-text").each(function (i, elem) {
var classes = $(elem).attr("class");
var sml_id = classes.match(/mod\_name\_(.*)$/);
if(sml_id!==undefined && sml_id[1]!==undefined && texts[sml_id[1]]!==undefined){
if(texts[sml_id[1]][id_lang_cl]!==undefined){
$(elem).text(texts[sml_id[1]][id_lang_cl]);
}else if(texts[sml_id[1]][default_lang]!==undefined){
$(elem).text(texts[sml_id[1]][default_lang]);
}
}
});
});
});
}