global $group_id; // id of the group
global $dirid; // id of the doc_group
-
if (!forge_check_perm('docman', $group_id, 'submit')) {
$return_msg= _('Document Manager Access Denied');
session_redirect('/docman/?group_id='.$group_id.'&warning_msg='.urlencode($return_msg));
echo '<div class="docman_div_include" id="zipinject">';
echo '<form id="injectzip" name="injectzip" method="post" action="?group_id='.$group_id.'&action=injectzip&dirid='.$dirid.'" enctype="multipart/form-data">';
echo '<p>';
- echo '<label>' . _('Upload archive:') . ' </label><input type="file" name="uploaded_zip" size="30" />'.sprintf(_('(max upload size: %1$s)'),human_readable_bytes(util_get_maxuploadfilesize()));
+ echo '<label>' . _('Upload archive:') . ' </label><input type="file" name="uploaded_zip" size="30" />'.sprintf(_('(max upload size: %s)'),human_readable_bytes(util_get_maxuploadfilesize()));
echo '<input id="submitinjectzip" type="button" value="'. _('Inject Tree') .'" />';
echo '</p>';
echo '</form>';