Op onchange van persoonselector al fac_user_info openen
svn path=/Website/trunk/; revision=31739
This commit is contained in:
@@ -44,6 +44,8 @@ function generateHeader()
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function setGlobalUser (prs_key, prs_naam) {
|
function setGlobalUser (prs_key, prs_naam) {
|
||||||
FcltMgr.setCaller({prs_key: prs_key, prs_naam: prs_naam});
|
FcltMgr.setCaller({prs_key: prs_key, prs_naam: prs_naam});
|
||||||
|
if (prs_key > 0)
|
||||||
|
FcltMgr.openDetail("appl/fac/fac_user.asp?prs_key=" + prs_key);
|
||||||
}
|
}
|
||||||
<%
|
<%
|
||||||
if (S("puo_loglevel") > 1 && user.has("WEB_FACTAB"))
|
if (S("puo_loglevel") > 1 && user.has("WEB_FACTAB"))
|
||||||
@@ -197,10 +199,9 @@ function generateHeaderFunctions (params)
|
|||||||
"json");
|
"json");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<div id="headerfunctions"><%
|
<div id="headerfunctions">
|
||||||
if (user_key != -1) {
|
<div id="loggedinuser"><%=L("lcl_loggedin_as") + '<span onclick="myInfo()">'+ safe.html(user.naam())+'</span>' + (user.alg_locatie_key({withcurrent:true})>-1 ? L("lcl_mobile_currentpos")+(new Locatie(user.alg_locatie_key({withcurrent:true})).locatie_string()) : "") %></div>
|
||||||
%><div id="loggedinuser"><%=L("lcl_loggedin_as") + '<span onclick="myInfo()">'+ safe.html(user.naam())+'</span>' + (user.alg_locatie_key({withcurrent:true})>-1 ? L("lcl_mobile_currentpos")+(new Locatie(user.alg_locatie_key({withcurrent:true})).locatie_string()) : "") %></div><%
|
<%
|
||||||
}
|
|
||||||
if (S("language_toggles").length > 1)
|
if (S("language_toggles").length > 1)
|
||||||
{
|
{
|
||||||
%><div id="langtoggle"><%
|
%><div id="langtoggle"><%
|
||||||
|
|||||||
Reference in New Issue
Block a user