Thanks Chuck. For #2, I have two section containing that code. Do I change both occurrences?
Section 1:
Quote:
if ( $CatPerms['thumbs'][$subid] == "yes" && ($template == -1 || $CatPerms['template'][$subid] == $template) )
{
if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}
|
And section 2,
Quote:
if ( $subid == $selected )
{
$selecttext = "selected=\"selected\"";
}
if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}
|