mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
always sort folders/documents in ѕequence chooser by ѕequence
This commit is contained in:
parent
fe3f351f24
commit
7901fa28b8
|
@ -139,7 +139,7 @@ function addFiles()
|
|||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("sequence");?>:</td>
|
||||
<td><?php $this->printSequenceChooser($folder->getDocuments());?></td>
|
||||
<td><?php $this->printSequenceChooser($folder->getDocuments('s'));?></td>
|
||||
</tr>
|
||||
<?php
|
||||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_document, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||
|
|
|
@ -87,7 +87,7 @@ function checkForm()
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="inputDescription"><?php printMLText("sequence");?>:</td>
|
||||
<td><?php $this->printSequenceChooser($folder->getSubFolders());?></td>
|
||||
<td><?php $this->printSequenceChooser($folder->getSubFolders('s'));?></td>
|
||||
</tr>
|
||||
<?php
|
||||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||
|
|
|
@ -136,7 +136,7 @@ function checkForm()
|
|||
print "<tr>";
|
||||
print "<td class=\"inputDescription\">" . getMLText("sequence") . ":</td>";
|
||||
print "<td>";
|
||||
$this->printSequenceChooser($folder->getDocuments(), $document->getID());
|
||||
$this->printSequenceChooser($folder->getDocuments('s'), $document->getID());
|
||||
print "</td></tr>";
|
||||
}
|
||||
if($attrdefs) {
|
||||
|
|
|
@ -95,7 +95,7 @@ function checkForm()
|
|||
print "<tr>";
|
||||
print "<td>" . getMLText("sequence") . ":</td>";
|
||||
print "<td>";
|
||||
$this->printSequenceChooser($parent->getSubFolders(), $folder->getID());
|
||||
$this->printSequenceChooser($parent->getSubFolders('s'), $folder->getID());
|
||||
print "</td></tr>\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user