mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
b7d1b0e663
|
@ -1545,7 +1545,7 @@ class SeedDMS_Core_DMS {
|
|||
*/
|
||||
function createPasswordRequest($user) { /* {{{ */
|
||||
$hash = md5(uniqid(time()));
|
||||
$queryStr = "INSERT INTO tblUserPasswordRequest (userID, hash, `date`) VALUES (" . $user->getId() . ", " . $this->db->qstr($hash) .", ".$db->getCurrentDatetime().")";
|
||||
$queryStr = "INSERT INTO tblUserPasswordRequest (userID, hash, `date`) VALUES (" . $user->getId() . ", " . $this->db->qstr($hash) .", ".$this->db->getCurrentDatetime().")";
|
||||
$resArr = $this->db->getResult($queryStr);
|
||||
if (is_bool($resArr) && !$resArr) return false;
|
||||
return $hash;
|
||||
|
|
|
@ -53,6 +53,10 @@ ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wordbreak {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.btn-file {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -435,7 +435,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</td>\n";
|
||||
|
||||
print "<td><ul class=\"actions unstyled\">\n";
|
||||
print "<li>".$latestContent->getOriginalFileName() ."</li>\n";
|
||||
print "<li class=\"wordbreak\">".$latestContent->getOriginalFileName() ."</li>\n";
|
||||
print "<li>".getMLText('version').": ".$latestContent->getVersion()."</li>\n";
|
||||
|
||||
if ($file_exists)
|
||||
|
|
Loading…
Reference in New Issue
Block a user