mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
fix output, add translations
This commit is contained in:
parent
b786e42bb3
commit
e2e52d61b1
|
@ -127,12 +127,13 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
if(is_string($txt))
|
||||
echo $txt;
|
||||
else
|
||||
echo $this->documentListRow($document, $previewer, false);
|
||||
echo $this->documentListRow($document, $previewer, true);
|
||||
echo "<td>".$object['msg'];
|
||||
if($repair)
|
||||
$document->repair();
|
||||
echo "</td>";
|
||||
$needsrepair = true;
|
||||
echo $this->documentListRowEnd($document);
|
||||
}
|
||||
} elseif($object['object']->isType('documentcontent')) {
|
||||
$document = $object['object']->getDocument();
|
||||
|
@ -184,7 +185,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
print "<thead>\n<tr>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("id")."</th>\n";
|
||||
print "<th>".getMLText("parent")."</th>\n";
|
||||
print "<th>".getMLText("parent_folder")."</th>\n";
|
||||
print "<th></th>\n";
|
||||
print "<th>".getMLText("error")."</th>\n";
|
||||
print "</tr>\n</thead>\n<tbody>\n";
|
||||
|
@ -194,7 +195,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
echo "<td>".$error['id']."</td>";
|
||||
echo "<td>".$error['parent']."</td>";
|
||||
echo "<td>".$error['msg']."</td>";
|
||||
echo "<td><a class=\"btn movefolder\" source=\"".$error['id']."\" dest=\"".$rootfolder->getID()."\" formtoken=\"".createFormKey('movefolder')."\">Move</a> </td>";
|
||||
echo "<td><a class=\"btn btn-primary btn-mini btn-sm movefolder\" source=\"".$error['id']."\" dest=\"".$rootfolder->getID()."\" formtoken=\"".createFormKey('movefolder')."\" title=\"".getMLText("move_into_rootfolder")."\">".getMLText('move')."</a> </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
print "</tbody></table>\n";
|
||||
|
@ -205,6 +206,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$folder = $this->params['folder'];
|
||||
$rootfolder = $this->params['rootfolder'];
|
||||
$unlinkeddocuments = $this->params['unlinkeddocuments'];
|
||||
|
||||
$this->contentHeading(getMLText("unlinked_documents"));
|
||||
|
@ -213,7 +215,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
print "<thead>\n<tr>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("id")."</th>\n";
|
||||
print "<th>".getMLText("parent")."</th>\n";
|
||||
print "<th>".getMLText("parent_folder")."</th>\n";
|
||||
print "<th>".getMLText("error")."</th>\n";
|
||||
print "<th></th>\n";
|
||||
print "</tr>\n</thead>\n<tbody>\n";
|
||||
|
@ -223,7 +225,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
echo "<td>".$error['id']."</td>";
|
||||
echo "<td>".$error['parent']."</td>";
|
||||
echo "<td>".$error['msg']."</td>";
|
||||
echo "<td><a class=\"btn movedocument\" source=\"".$error['id']."\" dest=\"".$rootfolder->getID()."\" formtoken=\"".createFormKey('movedocument')."\">Move</a> </td>";
|
||||
echo "<td><a class=\"btn btn-primary btn-mini btn-sm movedocument\" source=\"".$error['id']."\" dest=\"".$rootfolder->getID()."\" formtoken=\"".createFormKey('movedocument')."\" title=\"".getMLText("move_into_rootfolder")."\">".getMLText('move')."</a> </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
print "</tbody></table>\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user