mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
- check for _enableLargeFileUpload and disable links if not set
This commit is contained in:
parent
9177ba39eb
commit
a94d45b111
|
@ -107,9 +107,15 @@ $docAccess = $document->getApproversList();
|
||||||
<tr>
|
<tr>
|
||||||
<td class="warning"><?php echo getMLText("max_upload_size")." : ".ini_get( "upload_max_filesize"); ?></td>
|
<td class="warning"><?php echo getMLText("max_upload_size")." : ".ini_get( "upload_max_filesize"); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php
|
||||||
|
if($settings->_enableLargeFileUpload) {
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php printf(getMLText('link_alt_updatedocument'), "out.UpdateDocument2.php?documentid=".$documentid); ?></td>
|
<td><?php printf(getMLText('link_alt_updatedocument'), "out.UpdateDocument2.php?documentid=".$documentid); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
</table><br>
|
</table><br>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user