22c22 < function workspace_menu($may_cache) { --- > function workspace_menu() { 27,30c27 < < if ($may_cache) { < $items[] = array( < 'path' => 'workspace', --- > $items['workspace'] = array( 32,33c29,31 < 'callback' => 'workspace_admin', < 'access' => $access); --- > 'page callback' => 'workspace_admin', > 'access arguments' => array ('administer own workspace'), > ); 35,36c33 < $items[] = array( < 'path' => 'workspace/list', --- > $items['workspace/list'] = array( 41,42c38 < $items[] = array( < 'path' => 'workspace/configure', --- > $items['workspace/configure'] = array( 44,45c40,41 < 'callback' => 'workspace_configure', < 'access' => user_access('administer own workspace'), --- > 'page callback' => 'workspace_configure', > 'access arguments' => array ('administer own workspace'), 48,49c44 < $items[] = array( < 'path' => 'workspace/delete', --- > $items['workspace/delete'] = array( 51c46 < 'callback' => 'workspace_delete', --- > 'page callback' => 'workspace_delete', 54c49 < } --- > 80c75 < if (node_access('create', $type, $user->uid)) { --- > if (node_access('create', $type, $user)) { 295c290 < $result = pager_query("SELECT n.nid, f.filemime, f.filename, f.filesize FROM {files} f, {node} n WHERE n.uid = $user->uid AND n.nid = f.nid" . tablesort_sql($header), $maxfilenames, 2); --- > $result = pager_query("SELECT n.nid, f.filemime, f.filename, f.filesize FROM {files} f, {node} n, {upload} u WHERE n.uid = $user->uid AND n.nid = u.nid and u.fid = f.fid" . tablesort_sql($header), $maxfilenames, 2); 359c354 < } \ В конце файла нет новой строки --- > }