1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
| $action = array(
'new' => array('id'=>'new','name'=>'Nouveau'),
'action' => array('id'=>'action' ),
'view' => array('id'=>'view','name'=>'Voir'),
'cut' => array('id'=>'cut','name'=>'Couper','funct'=>'icons.cut'),
'copy' => array('id'=>'copy','name'=>'Copier','funct'=>'icons.copy'),
'paste' => array('id'=>'paste','name'=>'Coller','funct'=>'icons.paste'),
'rename' => array('id'=>'rename','name'=>'Renommer','funct'=>'pop.rename'),
'editproperty' => array('id'=>'editproperty','name'=>'Propriété','funct'=>'pop.editproperty'),
'edit' => array('id'=>'edit','name'=>'Editer','funct'=>'pop.edit'),
'edittheme' => array('id'=>'edittheme','name'=>'Editer','funct'=>'pop.edittheme'),
'edithtml' => array('id'=>'edithtml','name'=>'Editer','funct'=>'pop.edithtml'),
'editcss' => array('id'=>'editcss','name'=>'Editer','funct'=>'pop.editcss'),
'css' => array('id'=>'css','name'=>'Fichier Css' ,'title'=>'Fichier Css','funct'=>'new_css' ) ,
'new_user' => array('id'=>'new_user','name'=>'Utilisateur' ,'title'=>'Nouvel utilisateur','funct'=>'new_user' ),
'import_user' => array('id'=>'import_user','name'=>'Utilisateur' ,'title'=>'Importer un utilisateur','funct'=>'import_user' ),
'new_groupeUser' => array('id'=>'groupeUser','name'=>'Groupe' ,'title'=>'Nouveau groupe','funct'=>'new_simple' ),
'user_property' => array('id'=>'user_property','name'=>'Role','funct'=>'user_property' ),
'user_activity' => array('id'=>'user_activity','name'=>'Activités','funct'=>'user_activity' ),
'remove' => array('id'=>'remove','funct'=>'icons.remove' ,'name'=>'Supprimer','confirm'=>true),
'new_rub' => array('id'=>'new_rub','name'=>'Rubrique','title'=>'Nouvelle rubrique','funct'=>'pop.new_simple','type'=>'rub' ) ,
'new_projet' => array('id'=>'new_projet','name'=>'Projet','title'=>'Nouveau projet','funct'=>'pop.new_simple','type'=>'projet' ) ,
'new_path' => array('id'=>'new_path','name'=>'Répertoire' ,'title'=>'Nouveau Répertoire','funct'=>'pop.new_simple' ,'type'=>'path') ,
'new_site' => array('id'=>'new_site','name'=>'Site' ,'title'=>'Nouveau Site','funct'=>'pop.new_simple','type'=>'site' ),
'new_theme' => array('id'=>'new_theme','name'=>'Template' ,'title'=>'Nouveau Template','funct'=>'pop.new_simple', 'type'=>'theme' ),
'conf' => array('id'=>'galery','name'=>'Fichier conf.' ,'title'=>'Fichier conf.' ,'funct'=>'pop.new_simple','type'=>'conf' ) ,
'new_conf_site' => array('id'=>'new_conf_site','name'=>'Fichier conf.' ,'title'=>'Fichier conf.' ,'funct'=>'pop.new_simple' , 'type'=>'conf_site' ) ,
'editconfsite' => array('id'=>'editconfsite','name'=>'Editer','funct'=>'pop.editconfsite'),
'txt' => array('id'=>'txt','name'=>'Document texte' ,'title'=>'Nouveau doc .txt','funct'=>'new_simple' ),
'html' => array('id'=>'html','name'=>'Document html' ,'title'=>'Nouveau doc .html','funct'=>'pop.new_simple' , 'type'=>'html' ),
'css' => array('id'=>'css','name'=>'Document html' ,'title'=>'Nouveau doc .html','funct'=>'pop.new_simple', 'type'=>'css' ),
'csv' => array('id'=>'csv','name'=>'Document csv' ,'title'=>'Nouveau doc .csv','funct'=>'new_simple' ),
'img' => array('id'=>'img','name'=>'Document image' ,'title'=>'Nouveau doc .img','funct'=>'new_simple' ),
'agenda' => array('id'=>'agenda','name'=>'Agenda' ,'title'=>'Nouvel agenda','funct'=>'new_simple' ),
'planning' => array('id'=>'planning','name'=>'Planning projet' ,'title'=>'Nouveau planning','funct'=>'new_simple' ),
'upload_file' => array('id'=>'upload_file','name'=>'Importer' ,'title'=>'Importer' ),
'upload_bureau' => array('id'=>'upload_bureau','name'=>'Du bureau' ,'title'=>'Du bureau','funct'=>'pop.upload_bureau' ),
'upload_ftp' => array('id'=>'upload_ftp','name'=>'En FTP' ,'title'=>'En FTP' ),
'galery' => array('id'=>'galery','name'=>'Galerie' ,'title'=>'Galerie' ),
'css' => array('id'=>'css','name'=>'Fichier Css' ,'title'=>'Fichier Css','funct'=>'pop.new_simple' , 'type'=>'css' ) ,
'new_plugin' => array('id'=>'plugin','name'=>'Menu' ,'title'=>'Menu' ,'funct'=>'pop.new_simple' , 'type'=>'plugin' ) ,
);
$config = array(
"projet"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty' ),
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'paste'=>'action',
'planning' => array('view' ,'new'),
'new' => array( 'new_projet','new_rub','new_conf_site','new_path','new_site','new_groupeUser','import_user' )
)
),
"groupeUser"=>array(
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'new' => array('new_user' )
)
),
"site"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty'),
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'paste'=>'action',
'new' => array( 'new_plugin','new_path','new_conf_site','new_theme' ,'css' )
)
),
"rub"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty'),
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'paste'=>'action',
'new' => array( 'new_path','new_rub' )
)
),
"path"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty'),
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'paste'=>'action',
'new' => array( 'new_path','txt','html','img','csv' ),
'upload_file' => array( 'upload_bureau' ,'upload_ftp' )
)
),
"theme"=>array(
'contextmenu'=>array( 'copy', 'cut', 'paste','remove','rename','edittheme','editproperty'),
'dbclick'=>'explorer.opendir',
'explorer'=>array(
'new' => array( 'new_plugin','html' )
)
),
"css"=>array(
'contextmenu'=>array( 'copy', 'cut', 'paste','remove','rename','editcss','editproperty')//,
//'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
)
,
"Visiteur"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','user_property','agenda')
// ,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"Admin"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','user_property','user_activity')
/// ,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"html"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','edithtml' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"jpg"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"gif"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"pdf"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','editproperty' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"plugin"=>array(
'contextmenu'=>array( 'copy', 'cut', 'remove','rename','edit','editproperty' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"undefined"=>array(
'contextmenu'=>array( 'remove' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"conf"=>array(
'contextmenu'=>array( 'remove' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
),
"conf_site"=>array(
'contextmenu'=>array( 'remove','editconfsite' )
//,'dbclick'=>'explorer.opendir',
//'explorer'=>array(
// 'new' => array( 'html' )
// )
)
); |
Partager