BUG 0000 improving the documents option (add, delete folders and docuemnts)
improving Code add, remove folder and documents
This commit is contained in:
@@ -9,7 +9,7 @@ if(isset($_GET['action'])){
|
||||
}
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
|
||||
global $RBAC;
|
||||
switch($page){
|
||||
case "startCase":
|
||||
|
||||
@@ -30,7 +30,10 @@ switch($page){
|
||||
$Config['pageSize'] = isset($configPage['pageSize']) ? $configPage['pageSize'] : 20;
|
||||
$oHeadPublisher->assign('CONFIG', $Config);
|
||||
$oHeadPublisher->assign('FORMATS',$c->getFormats());
|
||||
|
||||
|
||||
$oHeadPublisher->assign('permitodelete' ,$RBAC->userCanAccess('PM_FOLDERS_DELETE') );
|
||||
$oHeadPublisher->assign('permitoaddfile' ,$RBAC->userCanAccess('PM_FOLDERS_ADD_FILE') );
|
||||
$oHeadPublisher->assign('permitoaddfolder',$RBAC->userCanAccess('PM_FOLDERS_ADD_FOLDER'));
|
||||
|
||||
$oHeadPublisher->usingExtJs('ux.locationbar/Ext.ux.LocationBar');
|
||||
$oHeadPublisher->usingExtJs('ux.statusbar/ext-statusbar');
|
||||
@@ -46,4 +49,4 @@ switch($page){
|
||||
}
|
||||
|
||||
|
||||
G::RenderPage('publish', 'extJs');
|
||||
G::RenderPage('publish', 'extJs');
|
||||
|
||||
Reference in New Issue
Block a user