" }) } else { iNettuts.addWidget("#column3", { id: "widget"+i, color: "color-red", title: "widget "+i }) } } function resizeWidgetIframe(obj) { var margin = 0; if(obj.contentWindow.document) { if(Number(obj.contentWindow.document.body.scrollHeight) < 1000) margin = 0; else margin = Number(obj.contentWindow.document.body.scrollHeight)*0.04; obj.style.height = (obj.contentWindow.document.body.scrollHeight + margin) + 'px'; // obj.style.width = (obj.contentWindow.document.body.scrollWidth) + 'px'; } } function recoverToogle(elem) { jElem = $(elem); if(jElem.attr('value')=='login_elem') { var appear = "recv_elem"; var desappear = "login_elem"; var message = "Back to Login Area"; } else if(jElem.attr('value')=='recv_elem') { var desappear = "recv_elem"; var appear = "login_elem"; var message = "Recover/Reset Password"; } $("."+desappear).fadeOut(600, function(){ $("."+appear).fadeIn(600, function(){ jElem.fadeOut(300, function(){ jElem.html(message); jElem.fadeIn(300); }) }); }); $("."+appear).attr("disabled", false); jElem.attr('value', appear); } $(document).ready(function(){ $("#recv_send").click(function(){ $("#loading_recv").show(300); $.getJSON("index.php?process=intranet_recover_password", {email:$("input[name=username]").val()}, function(data){ $("#loading_recv").hide(300); if(!data) { $(".error_messages").css("color", 'red'); showMessage($("input[name=username]").siblings(".error_messages"), 'The provided email was not found on the database', true); } else { $(".error_messages").css("color", 'green'); $("input[type=button]").attr("disabled", true); showMessage($("input[name=username]").siblings(".error_messages"), 'Request sucessfully submitted, you will shortly receive an email with the password redefinition instructions', true); } }); }); }); function showMessage(Jelem, message, hide) { Jelem.css('display', 'none'); Jelem.html(message); setTimeout(function(){ Jelem.slideDown(600, function(){ if(hide) { hideMessage(Jelem); } }); }, 500); } function hideMessage(Jelem) { setTimeout(function(){Jelem.slideUp('slow');}, 3500); }
In order to recover/reset you password please insert your email address above and soon you'll receive a email with all necessary instructions to fulfill this action.
Recover/Reset Password