This topic is locked

Admin Area(Permissions)

6/16/2009 3:00:48 PM
ASPRunnerPro General questions
R
RASM author

Hi,
In Admin Area Permissions have Tables names

example
articles (kbarticles)

comments (kbcomments)
How shows just articles table name,but does not appear in parenthesis, just articles,comments.
thanks.

J
Jane 6/18/2009

Hi,
edit generated admin_rights_list.asp file for this purpose.

Find this code:

if IsEqual(tbl(0),tbl(1)) then

doArrayAssignment row,"tablename",htmlspecialchars(tbl(0))

else

row("tablename") = CSmartStr(htmlspecialchars(tbl(1))) & " (" & CSmartStr(htmlspecialchars(tbl(0))) & ")"

end if



and replace it with this one:

doArrayAssignment row,"tablename",htmlspecialchars(tbl(0))

R
RASM author 6/18/2009

But, if i click in button build in project, the file admin_rights_list.asp lost information changed.
In resume: I never could re-build project?

J
Jane 6/19/2009

Hi,
you can apply these changes in the ASPRunnerPro6.1/source/ug_rights.asp file