equal
deleted
inserted
replaced
59 { |
59 { |
60 $allowed = false; |
60 $allowed = false; |
61 $src = ''; |
61 $src = ''; |
62 } |
62 } |
63 |
63 |
64 $auth_edit = ( $session->get_permissions('edit_page') && ( $session->get_permissions('even_when_protected') || !$paths->page_protected ) ); |
64 $auth_edit = ( $session->get_permissions('edit_page') && ( $session->get_permissions('even_when_protected') || !$page->ns->page_protected ) ); |
65 $auth_wysiwyg = ( $session->get_permissions('edit_wysiwyg') ); |
65 $auth_wysiwyg = ( $session->get_permissions('edit_wysiwyg') ); |
66 |
66 |
67 $return = array( |
67 $return = array( |
68 'mode' => 'editor', |
68 'mode' => 'editor', |
69 'src' => $src, |
69 'src' => $src, |