Update doc_generic_proposal_odt.modules.php

This commit is contained in:
Frédéric FRANCE 2019-12-31 14:20:39 +01:00 committed by GitHub
parent 3d19e1321b
commit 57a5416cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
$texte .= '</table>';
}
}
// Add select to upload a new template file. TODO Copy this feature on other admin pages.
// Add input to upload a new template file.
$texte .= '<div>'.$langs->trans("UploadNewTemplate").' <input type="file" name="uploadfile">';
$texte .= '<input type="hidden" value="PROPALE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
$texte .= '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans("Upload")).'" name="upload">';