mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
Minor look fix, fix into ecm module when dir does not exists
This commit is contained in:
@@ -141,9 +141,10 @@ $type='directory';
|
||||
// This test if file exists should be useless. We keep it to find bug more easily
|
||||
if (! dol_is_dir($upload_dir))
|
||||
{
|
||||
$langs->load("install");
|
||||
// dol_mkdir($upload_dir);
|
||||
/* $langs->load("install");
|
||||
dol_print_error(0,$langs->trans("ErrorDirDoesNotExists",$upload_dir));
|
||||
exit;
|
||||
exit;*/
|
||||
}
|
||||
|
||||
print '<!-- TYPE='.$type.' -->'."\n";
|
||||
|
||||
@@ -152,7 +152,7 @@ if( file_exists($fullpathselecteddir) )
|
||||
print '</td>';
|
||||
|
||||
// Edit link
|
||||
print '<td align="right" width="18"><a href="'.DOL_URL_ROOT.'/ecm/docmine.php?section='.$val['id'].'&relativedir='.urlencode($val['fullrelativename']).'">'.img_view().'</a></td>';
|
||||
print '<td align="right" width="18"><a href="'.DOL_URL_ROOT.'/ecm/docmine.php?section='.$val['id'].'&relativedir='.urlencode($val['fullrelativename']).'">'.img_view('',$langs->trans("Edit").' - '.$langs->trans("View")).'</a></td>';
|
||||
|
||||
// Add link
|
||||
//print '<td align="right"><a href="'.DOL_URL_ROOT.'/ecm/docdir.php?action=create&catParent='.$val['id'].'">'.img_edit_add().'</a></td>';
|
||||
|
||||
Reference in New Issue
Block a user