ajax.php
changeset 1102 faef5e62e1e0
parent 1068 4bcefa85649c
child 1103 90225c988124
equal deleted inserted replaced
1080:6358f769ecb1 1102:faef5e62e1e0
    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,