mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add llxHeader body css for resource (#29924)
This commit is contained in:
parent
4d0e252294
commit
c604c005d3
|
|
@ -136,7 +136,8 @@ if ($object->id > 0) {
|
|||
if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/productnameonly/', getDolGlobalString('MAIN_HTML_TITLE')) && $object->name) {
|
||||
$title = $object->ref." - ".$title;
|
||||
}
|
||||
llxHeader('', $title);
|
||||
$help_url = '';
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_agenda');
|
||||
|
||||
if (isModEnabled('notification')) {
|
||||
$langs->load("mails");
|
||||
|
|
|
|||
|
|
@ -217,7 +217,8 @@ if (empty($reshook)) {
|
|||
*/
|
||||
|
||||
$title = $langs->trans($action == 'create' ? 'AddResource' : 'ResourceSingular');
|
||||
llxHeader('', $title, '');
|
||||
$help_url = '';
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card');
|
||||
|
||||
$form = new Form($db);
|
||||
$formresource = new FormResource($db);
|
||||
|
|
|
|||
|
|
@ -109,7 +109,8 @@ $formcompany = new FormCompany($db);
|
|||
$contactstatic = new Contact($db);
|
||||
$userstatic = new User($db);
|
||||
|
||||
llxHeader('', $langs->trans("Resource"));
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans("Resource"), $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_contact');
|
||||
|
||||
// View and edit mode
|
||||
|
||||
|
|
|
|||
|
|
@ -95,8 +95,8 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
|
|||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
llxHeader('', $langs->trans("Resource"));
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans("Resource"), $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_documents');
|
||||
|
||||
if ($object->id > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
|
|
|
|||
|
|
@ -301,7 +301,8 @@ if ($reshook < 0) {
|
|||
$form = new Form($db);
|
||||
|
||||
$pagetitle = $langs->trans('ResourceElementPage');
|
||||
llxHeader('', $pagetitle, '');
|
||||
$help_url = '';
|
||||
llxHeader('', $pagetitle, $help_url, '', 0, 0, '', '', '', 'mod-resource page-element_resource');
|
||||
|
||||
$now = dol_now();
|
||||
$delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60;
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && !$
|
|||
|
||||
// Output page
|
||||
|
||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
|
||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-resource page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
|
||||
|
||||
$arrayofselected = is_array($toselect) ? $toselect : array();
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,9 @@ if (empty($reshook)) {
|
|||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
$title = '';
|
||||
$help_url = '';
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_notes');
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user