Skip to content
Snippets Groups Projects
Commit 4c6686c7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Navigation in ECM module is done like in a file manager.

parent 6264f6c3
Branches
No related tags found
No related merge requests found
...@@ -229,7 +229,7 @@ $head = ecm_prepare_head_fm($fac); ...@@ -229,7 +229,7 @@ $head = ecm_prepare_head_fm($fac);
dolibarr_fiche_head($head, $selected, '', 1); dolibarr_fiche_head($head, $selected, '', 1);
print '<table class="border" width="100%"><tr><td width="40%">'; print '<table class="border" width="100%"><tr><td width="40%" valign="top">';
// Left area // Left area
print '<table class="nobordernopadding" width="100%"><tr><td valign="top">'; print '<table class="nobordernopadding" width="100%"><tr><td valign="top">';
...@@ -301,7 +301,7 @@ if (empty($action) || $action == 'file_manager' || eregi('refresh',$action) || $ ...@@ -301,7 +301,7 @@ if (empty($action) || $action == 'file_manager' || eregi('refresh',$action) || $
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td class="liste_titre" align="left">'.$langs->trans("ECMSections").'</td>'; print '<td class="liste_titre" align="left">'.$langs->trans("ECMSections").'</td>';
print '<td class="liste_titre" colspan="4" align="right">'; print '<td class="liste_titre" colspan="4" align="right">';
print '<a href="'.$_SERVER["PHP_SELF"].'?action=refreshmanual">'.$langs->trans("Refresh").' '.img_picto($langs->trans("Refresh"),'refresh').'</a>'; print '<a href="'.$_SERVER["PHP_SELF"].'?action=refreshmanual'.($section?'&amp;section='.$section:'').'">'.$langs->trans("Refresh").' '.img_picto($langs->trans("Refresh"),'refresh').'</a>';
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
...@@ -537,7 +537,7 @@ print '</td></tr>'; ...@@ -537,7 +537,7 @@ print '</td></tr>';
// Actions buttons // Actions buttons
print '<tr height="22"><td align="center">'; print '<tr height="22"><td align="center">';
if (empty($action) || $action == 'file_manager') if (empty($action) || $action == 'file_manager' || eregi('refresh',$action))
{ {
if ($user->rights->ecm->setup) if ($user->rights->ecm->setup)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment