mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 03:18:58 +00:00
allow to edit original filename
This commit is contained in:
parent
5dfd280ec5
commit
46594fa3bc
|
@ -747,7 +747,16 @@ $(document).ready( function() {
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->columnStart(5);
|
$this->columnStart(5);
|
||||||
print "<ul class=\"actions unstyled\">\n";
|
print "<ul class=\"actions unstyled\">\n";
|
||||||
print "<li style=\"overflow-wrap: break-word;\">".htmlspecialchars($latestContent->getOriginalFileName())."</li>\n";
|
print "<li style=\"overflow-wrap: break-word;\">";
|
||||||
|
if ($latestContent->getDocument()->getAccessMode($user) >= M_READWRITE) {
|
||||||
|
$this->printInlineEditOriginalName(htmlspecialchars($latestContent->getOriginalFileName()), $latestContent);
|
||||||
|
} else {
|
||||||
|
print htmlspecialchars($latestContent->getOriginalFileName());
|
||||||
|
}
|
||||||
|
if(!$latestContent->checkOriginalFileName()) {
|
||||||
|
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
||||||
|
}
|
||||||
|
print "</li>\n";
|
||||||
print "<li>".getMLText('version').": ".$latestContent->getVersion()."</li>\n";
|
print "<li>".getMLText('version').": ".$latestContent->getVersion()."</li>\n";
|
||||||
|
|
||||||
if ($file_exists) {
|
if ($file_exists) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user