FSN#35817 Autorisaties via API2/Scaffolding
svn path=/Website/trunk/; revision=28654
This commit is contained in:
@@ -217,10 +217,15 @@ function radioTD(name, LOV, val)
|
||||
if (!advanced)
|
||||
{
|
||||
Response.Write("<input type='hidden' name='simple_mode' value='1'>");
|
||||
var cparams = {};
|
||||
Response.Write("<input type='hidden' name='allread' value='" + (algread==9?'on':'off') + "'>");
|
||||
var desc = api2.splitLOV(L("fac_functie_min_levelLOV"))[flevel];
|
||||
if (flevel > 1)
|
||||
cparams.posthtml = " <label for='allread'>({0})</label>".format(api2.splitLOV(L("fac_functie_min_levelLOV"))[flevel]);
|
||||
RWCHECKBOXTR("allread", "fldcheck", L("fac_gebruiker_toegang"), algread==9?0:1, cparams)
|
||||
{
|
||||
if (algread == 9)
|
||||
ROFIELDTR("fldtxt", L("fac_gebruiker_toegang"), L("fac_gebruiker_kies_toegang").format(L("fac_gebruiker_toegang"), desc));
|
||||
else
|
||||
ROFIELDTR("fldtxt", L("fac_gebruiker_toegang"), desc);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -283,7 +288,10 @@ function radioTD(name, LOV, val)
|
||||
else
|
||||
buttons.push ( {title: L("lcl_auth_advanced"), action:"auth_advanced(1)" } );
|
||||
}
|
||||
buttons.push({ title: L("lcl_submit"), action: "grp_submit()" });
|
||||
var label = (prsread == 9?L("fac_gebruiker_toegang"):L("fac_gebruiker_geen_toegang"));
|
||||
if (advanced)
|
||||
var label = L("lcl_submit");
|
||||
buttons.push({ title: label, action: "grp_submit()" });
|
||||
buttons.push({ title: L("lcl_cancel"), action: "gen_cancel()" });
|
||||
|
||||
CreateButtons(buttons);
|
||||
|
||||
Reference in New Issue
Block a user