Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_EventOrganizer_suggest
This commit is contained in:
commit
83555da795
@ -155,7 +155,7 @@ print '<strong>'.$langs->trans("PermissionsOnFilesInWebRoot").'</strong>: ';
|
|||||||
$arrayoffilesinroot = dol_dir_list(DOL_DOCUMENT_ROOT, 'all', 1, '', array('\/custom'), 'name', SORT_ASC, 4, 1, '', 1);
|
$arrayoffilesinroot = dol_dir_list(DOL_DOCUMENT_ROOT, 'all', 1, '', array('\/custom'), 'name', SORT_ASC, 4, 1, '', 1);
|
||||||
$fileswithwritepermission = array();
|
$fileswithwritepermission = array();
|
||||||
foreach ($arrayoffilesinroot as $fileinroot) {
|
foreach ($arrayoffilesinroot as $fileinroot) {
|
||||||
// Test permission on file
|
// Test if there is at least one write permission file. If yes, add the entry into array $fileswithwritepermission
|
||||||
if ($fileinroot['perm'] & 0222) {
|
if ($fileinroot['perm'] & 0222) {
|
||||||
$fileswithwritepermission[] = $fileinroot['relativename'];
|
$fileswithwritepermission[] = $fileinroot['relativename'];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -96,9 +96,9 @@ if (!isset($conf->global->MAIN_AGENDA_EXPORT_PAST_DELAY)) {
|
|||||||
$format = 'ical';
|
$format = 'ical';
|
||||||
$type = 'event';
|
$type = 'event';
|
||||||
if (GETPOST("format", 'alpha')) {
|
if (GETPOST("format", 'alpha')) {
|
||||||
$format = GETPOST("format", 'apha');
|
$format = GETPOST("format", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("type", 'apha')) {
|
if (GETPOST("type", 'alpha')) {
|
||||||
$type = GETPOST("type", 'alpha');
|
$type = GETPOST("type", 'alpha');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,20 +115,20 @@ if (GETPOST("idfrom", 'int')) {
|
|||||||
if (GETPOST("idto", 'int')) {
|
if (GETPOST("idto", 'int')) {
|
||||||
$filters['idto'] = GETPOST("idto", 'int');
|
$filters['idto'] = GETPOST("idto", 'int');
|
||||||
}
|
}
|
||||||
if (GETPOST("project", 'apha')) {
|
if (GETPOST("project", 'alpha')) {
|
||||||
$filters['project'] = GETPOST("project", 'apha');
|
$filters['project'] = GETPOST("project", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("logina", 'apha')) {
|
if (GETPOST("logina", 'alpha')) {
|
||||||
$filters['logina'] = GETPOST("logina", 'apha');
|
$filters['logina'] = GETPOST("logina", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("logint", 'apha')) {
|
if (GETPOST("logint", 'alpha')) {
|
||||||
$filters['logint'] = GETPOST("logint", 'apha');
|
$filters['logint'] = GETPOST("logint", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("notactiontype", 'apha')) {
|
if (GETPOST("notactiontype", 'alpha')) {
|
||||||
$filters['notactiontype'] = GETPOST("notactiontype", 'apha');
|
$filters['notactiontype'] = GETPOST("notactiontype", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("actiontype", 'apha')) {
|
if (GETPOST("actiontype", 'alpha')) {
|
||||||
$filters['actiontype'] = GETPOST("actiontype", 'apha');
|
$filters['actiontype'] = GETPOST("actiontype", 'alpha');
|
||||||
}
|
}
|
||||||
if (GETPOST("notolderthan", 'int')) {
|
if (GETPOST("notolderthan", 'int')) {
|
||||||
$filters['notolderthan'] = GETPOST("notolderthan", "int");
|
$filters['notolderthan'] = GETPOST("notolderthan", "int");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user