mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
use new method warningMsg() to display alert
This commit is contained in:
parent
7ffabcc758
commit
e81f19e714
|
@ -82,15 +82,12 @@ class LetoDMS_View_AddDocument extends LetoDMS_Bootstrap_Style {
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="alert alert-warning">
|
|
||||||
<?php echo getMLText("max_upload_size").": ".ini_get( "upload_max_filesize"); ?>
|
|
||||||
<?php
|
|
||||||
if($enablelargefileupload) {
|
|
||||||
printf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folderid."&showtree=".showtree());
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<?php
|
<?php
|
||||||
|
$msg = getMLText("max_upload_size").": ".ini_get( "upload_max_filesize");
|
||||||
|
if($enablelargefileupload) {
|
||||||
|
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folderid."&showtree=".showtree())."</p>";
|
||||||
|
}
|
||||||
|
$this->warningMsg($msg);
|
||||||
$this->contentHeading(getMLText("add_document"));
|
$this->contentHeading(getMLText("add_document"));
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user