-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1825 [Control] add: custom color for controls #1955
#1825 [Control] add: custom color for controls #1955
Conversation
admin/control.php
Outdated
@@ -86,6 +86,18 @@ | |||
exit; | |||
} | |||
|
|||
if ($action == 'update_theme_color') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pas ouf le nom
admin/control.php
Outdated
@@ -86,6 +86,18 @@ | |||
exit; | |||
} | |||
|
|||
if ($action == 'update_theme_color') { | |||
$digiqualiPassedTimeColor = GETPOST('passedTime'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pas ouf le nom
admin/control.php
Outdated
dolibarr_set_const($db, 'DIGIQUALI_PASSED_TIME_COLOR', $digiqualiPassedTimeColor, 'chaine', 0, '', $conf->entity); | ||
dolibarr_set_const($db, 'DIGIQUALI_URGENT_TIME_COLOR', $digiqualiUrgentTimeColor, 'chaine', 0, '', $conf->entity); | ||
dolibarr_set_const($db, 'DIGIQUALI_MEDIUM_TIME_COLOR', $digiqualiMediumTimeColor, 'chaine', 0, '', $conf->entity); | ||
dolibarr_set_const($db, 'DIGIQUALI_PERFECT_TIME_COLOR', $digiqualiPerfectTimeColor, 'chaine', 0, '', $conf->entity); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manque le seteventmessages
admin/control.php
Outdated
// Theme dashboard time spent. | ||
print load_fiche_titre($langs->transnoentities('ControlColorParam'), '', ''); | ||
|
||
$parameters = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overkill ce tableau juste le spéc
admin/control.php
Outdated
print '<td>' . $langs->transnoentities('Value') . '</td>'; | ||
print '</tr>'; | ||
|
||
for ($i = 0; $i < 4; $i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
foreach ou count dynamique pour le for
437031a
to
9cbf598
Compare
9cbf598
to
e135f19
Compare
No description provided.