Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing New User Profile attributes visible on source #583

Draft
wants to merge 1 commit into
base: snickers
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions WebRoot/public/launchZCS.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,17 @@
pageContext.setAttribute("csrfToken", authResult.getCsrfToken());
pageContext.setAttribute("langId", langId);
pageContext.setAttribute("showUserProfile", showUserProfile);
pageContext.setAttribute("user_initials", user_initials);
pageContext.setAttribute("user_givenName", user_givenName);
pageContext.setAttribute("user_sn", user_sn);
pageContext.setAttribute("user_telephoneNumber", user_telephoneNumber);
pageContext.setAttribute("user_mobile", user_mobile);
pageContext.setAttribute("user_postalAddress", user_postalAddress);
pageContext.setAttribute("user_legacyDateOfBirth", user_legacyDateOfBirth);
pageContext.setAttribute("user_legacyAccountExpDate", user_legacyAccountExpDate);
pageContext.setAttribute("user_legacyDateOfRetirement", user_legacyDateOfRetirement);
pageContext.setAttribute("user_legacyEmployee", user_legacyEmployee);
pageContext.setAttribute("user_legacyEmployeeNum", user_legacyEmployeeNum);
//pageContext.setAttribute("user_initials", user_initials);
//pageContext.setAttribute("user_givenName", user_givenName);
//pageContext.setAttribute("user_sn", user_sn);
//pageContext.setAttribute("user_telephoneNumber", user_telephoneNumber);
//pageContext.setAttribute("user_mobile", user_mobile);
//pageContext.setAttribute("user_postalAddress", user_postalAddress);
//pageContext.setAttribute("user_legacyDateOfBirth", user_legacyDateOfBirth);
//pageContext.setAttribute("user_legacyAccountExpDate", user_legacyAccountExpDate);
//pageContext.setAttribute("user_legacyDateOfRetirement", user_legacyDateOfRetirement);
//pageContext.setAttribute("user_legacyEmployee", user_legacyEmployee);
//pageContext.setAttribute("user_legacyEmployeeNum", user_legacyEmployeeNum);
%>
<c:set var="lang" value="${fn:substring(pageContext.request.locale, 0, 2)}"/>
<html class="user_font_size_normal" lang="${lang}">
Expand Down Expand Up @@ -284,17 +284,6 @@
window.appLang = "${lang}";
window.loginHistoryTimeout = ${loginHistoryTimeout};
window.showUserProfile = ${showUserProfile};
window.user_initials = "${user_initials}";
window.user_givenName = "${user_givenName}";
window.user_sn = "${user_sn}";
window.user_telephoneNumber = "${user_telephoneNumber}";
window.user_mobile = "${user_mobile}";
window.user_postalAddress = "${user_postalAddress}";
window.user_legacyDateOfBirth = "${user_legacyDateOfBirth}";
window.user_legacyAccountExpDate = "${user_legacyAccountExpDate}";
window.user_legacyDateOfRetirement = "${user_legacyDateOfRetirement}";
window.user_legacyEmployee = ${user_legacyEmployee};
window.user_legacyEmployeeNum = "${user_legacyEmployeeNum}";
</script>
<noscript>
<meta http-equiv="Refresh" content="0;url=public/noscript.jsp" >
Expand Down
3 changes: 2 additions & 1 deletion WebRoot/skins/_base/base3/splash.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
});
}
window.onload = function() {
document.getElementById("div_nicemployeenumber").style.display = "none";
/* document.getElementById("div_nicemployeenumber").style.display = "none";
document.getElementById("form_givenName").value = window.user_givenName != "NODATA" ? window.user_givenName : "";
document.getElementById("form_sn").value = window.user_sn != "NODATA" ? window.user_sn : "";
document.getElementById("form_telephoneNumber").value = window.user_telephoneNumber != "NODATA" ? window.user_telephoneNumber : "";
Expand All @@ -124,6 +124,7 @@
document.getElementById("form_legacyEmployeeNO").checked = true;
showHideEmployee('none');
}
*/

var showUserProfile = window.showUserProfile ? window.showUserProfile : false;
if(showUserProfile && (showUserProfile == true || showUserProfile == "TRUE")) {
Expand Down