Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
be04878d4d
@ -106,7 +106,7 @@ foreach($workflow as $child => $parents)
|
||||
{
|
||||
foreach($actions as $action)
|
||||
{
|
||||
$workflowcodes[$action] = $action;
|
||||
$workflowcodes[$child][] = $action;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -115,33 +115,36 @@ foreach($workflow as $child => $parents)
|
||||
|
||||
if (count($workflowcodes) > 0)
|
||||
{
|
||||
foreach($workflowcodes as $code)
|
||||
foreach($workflowcodes as $key => $actions)
|
||||
{
|
||||
$var = !$var;
|
||||
print "<tr ".$bc[$var].">\n";
|
||||
print "<td>".$langs->trans('desc'.$code)."</td>\n";
|
||||
print '<td align="center">';
|
||||
if ($conf->use_javascript_ajax)
|
||||
foreach($actions as $action)
|
||||
{
|
||||
print ajax_constantonoff($code);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! empty($conf->global->$code))
|
||||
$var = !$var;
|
||||
print "<tr ".$bc[$var].">\n";
|
||||
print "<td>".img_object('', $key).$langs->trans('desc'.$action)."</td>\n";
|
||||
print '<td align="center">';
|
||||
if ($conf->use_javascript_ajax)
|
||||
{
|
||||
print '<a href="'.$_SERVER['PHP_SELF'].'?action=del'.$code.'">';
|
||||
print img_picto($langs->trans("Activated"),'switch_on');
|
||||
print '</a>';
|
||||
print ajax_constantonoff($action);
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a href="'.$_SERVER['PHP_SELF'].'?action=set'.$code.'">';
|
||||
print img_picto($langs->trans("Disabled"),'switch_off');
|
||||
print '</a>';
|
||||
if (! empty($conf->global->$action))
|
||||
{
|
||||
print '<a href="'.$_SERVER['PHP_SELF'].'?action=del'.$action.'">';
|
||||
print img_picto($langs->trans("Activated"),'switch_on');
|
||||
print '</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a href="'.$_SERVER['PHP_SELF'].'?action=set'.$action.'">';
|
||||
print img_picto($langs->trans("Disabled"),'switch_off');
|
||||
print '</a>';
|
||||
}
|
||||
}
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
}
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
BIN
htdocs/theme/amarok/img/object_invoice.png
Normal file
BIN
htdocs/theme/amarok/img/object_invoice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
htdocs/theme/auguria/img/object_invoice.png
Executable file
BIN
htdocs/theme/auguria/img/object_invoice.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 394 B |
BIN
htdocs/theme/bureau2crea/img/object_invoice.png
Normal file
BIN
htdocs/theme/bureau2crea/img/object_invoice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
htdocs/theme/cameleo/img/object_invoice.png
Normal file
BIN
htdocs/theme/cameleo/img/object_invoice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
htdocs/theme/eldy/img/object_invoice.png
Normal file
BIN
htdocs/theme/eldy/img/object_invoice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 394 B |
Loading…
Reference in New Issue
Block a user