mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-16 06:16:45 +00:00
show preview of document
This commit is contained in:
parent
10e3e1cb60
commit
442ad8c58e
|
|
@ -73,6 +73,8 @@ $(document).ready( function() {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
|
||||
$this->rowStart();
|
||||
$this->columnStart(6);
|
||||
$this->contentHeading(getMLText("edit_document_props"));
|
||||
|
||||
if($document->expires())
|
||||
|
|
@ -228,6 +230,13 @@ $(document).ready( function() {
|
|||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
|
||||
$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
|
||||
|
|
@ -235,4 +244,3 @@ $(document).ready( function() {
|
|||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user