Quote:
Originally Posted by Ldoppea
It's no important but do you know how to use the $show variable?
|
$show['whatever'] is simply a variable defined in the php code. They do the condition in the php and then set $show['whatever'] to true is the condition is met. So, instead of checking if the person is allowed to see the link by doing some condition on their permissions in the template, they do it in the php code and then set the $show variable based on that. So, if you think you may want to use it later, just put $show['yourvariablename'] equal to true in your php code and then use the conditional around your link in the USERCP_SHELL.