CSUN#27310 -- Kenmerken aanpassen met alguse rechten.

svn path=/Website/trunk/; revision=18845
This commit is contained in:
Arthur Egberink
2013-08-23 07:34:43 +00:00
parent 3a6bb27eb0
commit dc5e00b696
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ oRs.Close();
buttons.push({title: L("lcl_photos"), icon: "camera.png", action: "alg_showphotos()"});
if (!loc_deleted)
{
if (this_alg.writeman || this_alg.writeman)
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: L("lcl_change"), action: "loc_change()", icon: "wijzigen.png"});
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: L("lcl_delete"), action: "loc_delete()", icon: "delete.png"});

View File

@@ -67,7 +67,7 @@ oRs.Close();
<% var buttons = [];
if (!reg_deleted)
{
if (this_alg.writeman || this_alg.writeman)
if (this_alg.writeman || this_alg.writeuse)
buttons.push({title: L("lcl_change"), action:"reg_change()", icon: "wijzigen.png" });
if (this_alg.writeman) // ALGMAN nodig
buttons.push({title: L("lcl_delete"), action:"reg_delete()", icon: "delete.png" });