![]() |
|---|
| [ Index ] |
Source Code Reference for V1.00 |
[Summary view] [Print] [Text view]
1 <?php /* $Id: projects_tab.view.files.php 40 2008-02-11 12:11:44Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/modules/files/projects_tab.view.files.php $ */ 2 if (!defined('W2P_BASE_DIR')) { 3 die('You should not access this file directly.'); 4 } 5 6 global $AppUI, $project_id, $deny, $canRead, $canEdit, $w2Pconfig; 7 require_once ($AppUI->getModuleClass('files')); 8 9 $cfObj = new CFileFolder(); 10 global $allowed_folders_ary; 11 $allowed_folders_ary = $cfObj->getAllowedRecords($AppUI->user_id); 12 global $denied_folders_ary; 13 $denied_folders_ary = $cfObj->getDeniedRecords($AppUI->user_id); 14 15 if (count($allowed_folders_ary) < $cfObj->countFolders()) { 16 $limited = true; 17 } 18 if (!$limited) { 19 $canEdit = true; 20 } elseif ($limited and array_key_exists($folder, $allowed_folders_ary)) { 21 $canEdit = true; 22 } else { 23 $canEdit = false; 24 } 25 $showProject = false; 26 require (W2P_BASE_DIR . '/modules/files/folders_table.php'); 27 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Jan 9 03:00:02 2009 | Cross-referenced by PHPXref 0.7 |