This topic is locked

PHPRunner 31 question

8/28/2006 11:33:03 AM
PHPRunner General questions
F
frocco author

Hello,
Where is the {if $allow_add} defined?

I want to add my own conditions.
Are templates gone from 30 to 31?
Thanks
Frank

Alexey admin 8/30/2006

Frank,
here is the line in ..._list.php that defines allow_add variable.

$smarty->assign("allow_add",CheckSecurity(@$_SESSION["OwnerID"],"Add"));


The CheckSecurity function is defined in include/commonfunctions.php file.