mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
use errorMsg() instead of plain html
This commit is contained in:
parent
d67e85be06
commit
13f0f6aafb
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Implementation of CategoryChooser view
|
* Implementation of DropFolderChooser view
|
||||||
*
|
*
|
||||||
* @category DMS
|
* @category DMS
|
||||||
* @package SeedDMS
|
* @package SeedDMS
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
require_once("SeedDMS/Preview.php");
|
require_once("SeedDMS/Preview.php");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class which outputs the html page for CategoryChooser view
|
* Class which outputs the html page for DropFolderChooser view
|
||||||
*
|
*
|
||||||
* @category DMS
|
* @category DMS
|
||||||
* @package SeedDMS
|
* @package SeedDMS
|
||||||
|
@ -156,7 +156,7 @@ $('.folderselect').click(function(ev) {
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo '<script src="../out/out.DropFolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n";
|
echo '<script src="../out/out.DropFolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n";
|
||||||
} else {
|
} else {
|
||||||
echo "<div class=\"alert alert-danger\">".getMLText('invalid_dropfolder_folder')."</div>";
|
echo $this->errorMsg(getMLText('invalid_dropfolder_folder'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user