Clean code

This commit is contained in:
Laurent Destailleur 2018-01-24 13:08:09 +01:00
parent 64f6e9e5c0
commit 6e906ac0e3
4 changed files with 8 additions and 7 deletions

View File

@ -1066,12 +1066,6 @@ function top_httphead($contenttype='text/html')
// default-src https://cdn.example.net; object-src 'none'
header("Content-Security-Policy: ".$conf->global->MAIN_HTTP_CONTENT_SECURITY_POLICY);
}
// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
/*if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) {
ob_start("ob_gzhandler");
}*/
}
/**

View File

@ -205,7 +205,8 @@ class Projects extends DolibarrApi
}
/**
* Get tasks of a project
* Get tasks of a project.
* See also API /tasks
*
* @param int $id Id of project
* @param int $includetimespent 0=Return only list of tasks. 1=Include a summary of time spent, 2=Include details of time spent lines (2 is no implemented yet)

View File

@ -2985,6 +2985,9 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
float: left;
padding-left: 5px;
}
.boxstats130 {
width: 148px;
}
.boxstats {
width: 100px;
}

View File

@ -3057,6 +3057,9 @@ div .tdtop {
float: left;
padding-left: 5px;
}
.boxstats130 {
width: 148px;
}
.boxstats {
width: 100px;
}