Skip to content

Commit

Permalink
#221 [IMG] add: clean img
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Apr 7, 2023
1 parent 1901798 commit 34940c7
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss);

// Subheader
print load_fiche_titre($title, '', 'dolisirh_red@dolisirh');
print load_fiche_titre($title, '', 'dolisirh_color@dolisirh');

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'about', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'about', $title, -1, 'dolisirh_color@dolisirh');

print $modDoliSIRH->getDescLong();

Expand Down
2 changes: 1 addition & 1 deletion admin/certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'certificate', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'certificate', $title, -1, 'dolisirh_color@dolisirh');

print load_fiche_titre($langs->trans("CertificateManagement"), '', 'object_'.$object->picto);
print '<hr>';
Expand Down
4 changes: 2 additions & 2 deletions admin/dolisirhdocuments.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@
}
$selectorAnchor .= '</select>';

print load_fiche_titre($title, $selectorAnchor, 'dolisirh_red.png@dolisirh');
print load_fiche_titre($title, $selectorAnchor, 'dolisirh_color.png@dolisirh');

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'dolisirhdocuments', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'dolisirhdocuments', $title, -1, 'dolisirh_color@dolisirh');

foreach ($types as $type => $documentType) {
print load_fiche_titre($langs->trans($type), '', 'object_'.strtolower($type).'@dolisirh', 0, $langs->trans($type));
Expand Down
4 changes: 2 additions & 2 deletions admin/project.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss);

// Subheader
print load_fiche_titre($title, '', 'dolisirh_red@dolisirh');
print load_fiche_titre($title, '', 'dolisirh_color@dolisirh');

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'projecttasks', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'projecttasks', $title, -1, 'dolisirh_color@dolisirh');

// Project
print load_fiche_titre($langs->transnoentities("HRProject"), '', 'project');
Expand Down
4 changes: 2 additions & 2 deletions admin/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@
// Subheader
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1'.'">'.$langs->trans("BackToModuleList").'</a>';

print load_fiche_titre($title, $linkback, "dolisirh_red@dolisirh");
print load_fiche_titre($title, $linkback, "dolisirh_color@dolisirh");

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'settings', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'settings', $title, -1, 'dolisirh_color@dolisirh');

// Setup page goes here
echo '<span class="opacitymedium">'.$langs->trans("DoliSIRHSetupPage").'</span><br><br>';
Expand Down
2 changes: 1 addition & 1 deletion admin/timesheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

// Configuration header
$head = dolisirhAdminPrepareHead();
print dol_get_fiche_head($head, 'timesheet', $title, -1, 'dolisirh_red@dolisirh');
print dol_get_fiche_head($head, 'timesheet', $title, -1, 'dolisirh_color@dolisirh');

print load_fiche_titre($langs->trans("TimeSheetManagement"), '', 'object_'.$object->picto);
print '<hr>';
Expand Down
2 changes: 1 addition & 1 deletion class/actions_dolisirh.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ function getDiffTimestampEvent() {
<?php }

if ($parameters['currentcontext'] == 'userihm') {
$pictopath = dol_buildpath('/custom/dolisirh/img/dolisirh_red.png', 1);
$pictopath = dol_buildpath('/custom/dolisirh/img/dolisirh_color.png', 1);
$picto = img_picto('', $pictopath, '', 1, 0, 0, '', 'pictoModule');

$out = '<tr class="oddeven"><td>' . $picto . $langs->trans('TimeSpentDatasetOrder') . '</td>';
Expand Down
2 changes: 2 additions & 0 deletions documents/temp/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
//Silence is golden
File renamed without changes
Binary file removed img/object_certificate.png
Binary file not shown.
Binary file removed img/object_certificate_small.png
Binary file not shown.
File renamed without changes
Binary file removed img/object_timesheet.png
Binary file not shown.
Binary file removed img/object_timesheet_small.png
Binary file not shown.

0 comments on commit 34940c7

Please sign in to comment.