Clean code
This commit is contained in:
parent
64f6e9e5c0
commit
6e906ac0e3
@ -1066,12 +1066,6 @@ function top_httphead($contenttype='text/html')
|
|||||||
// default-src https://cdn.example.net; object-src 'none'
|
// default-src https://cdn.example.net; object-src 'none'
|
||||||
header("Content-Security-Policy: ".$conf->global->MAIN_HTTP_CONTENT_SECURITY_POLICY);
|
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");
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -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 $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)
|
* @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)
|
||||||
|
|||||||
@ -2985,6 +2985,9 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
|
|||||||
float: left;
|
float: left;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
.boxstats130 {
|
||||||
|
width: 148px;
|
||||||
|
}
|
||||||
.boxstats {
|
.boxstats {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3057,6 +3057,9 @@ div .tdtop {
|
|||||||
float: left;
|
float: left;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
.boxstats130 {
|
||||||
|
width: 148px;
|
||||||
|
}
|
||||||
.boxstats {
|
.boxstats {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user