equal
deleted
inserted
replaced
52 } |
52 } |
53 |
53 |
54 if(!$perms->get_permissions('read')) |
54 if(!$perms->get_permissions('read')) |
55 return 'Access denied ('.$paths->nslist[$namespace].$page_id.')'; |
55 return 'Access denied ('.$paths->nslist[$namespace].$page_id.')'; |
56 |
56 |
57 if($wiki == 0 || $render == false) |
57 if($namespace != 'Template' && ($wiki == 0 || $render == false)) |
58 { |
58 { |
59 if(!$perms->get_permissions('view_source')) |
59 if(!$perms->get_permissions('view_source')) |
60 { |
60 { |
61 return 'Access denied ('.$paths->nslist[$namespace].$page_id.')'; |
61 return 'Access denied ('.$paths->nslist[$namespace].$page_id.')'; |
62 } |
62 } |