mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
show preview of document next to form for attributes
This commit is contained in:
parent
e5b60df503
commit
1a8a614359
|
@ -44,6 +44,8 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
|
||||
$this->rowStart();
|
||||
$this->columnStart(6);
|
||||
$this->contentHeading(getMLText("edit_attributes"));
|
||||
?>
|
||||
<form class="form-horizontal" action="../op/op.EditAttributes.php" name="form1" method="POST">
|
||||
|
@ -79,6 +81,13 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
|
|||
} else {
|
||||
$this->warningMsg(getMLText('no_attributes_defined'));
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->columnStart(6);
|
||||
?>
|
||||
<div class="ajax" data-view="ViewDocument" data-action="preview" <?php echo ($document ? "data-query=\"documentid=".$document->getID()."\"" : "") ?>></div>
|
||||
<?php
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
?>
|
||||
</form>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue
Block a user