mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
- set version propperly
This commit is contained in:
parent
e9806fe8d0
commit
f37cd17b5d
|
@ -105,7 +105,7 @@ function checkGrpForm()
|
||||||
print "</tr></tbody></table><br>\n";
|
print "</tr></tbody></table><br>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form method="POST" action="../op/op.ApproveDocument.php" name="form1" onsubmit="return checkIndForm();">
|
<form method="post" action="../op/op.ApproveDocument.php" name="form1" onsubmit="return checkIndForm();">
|
||||||
<?php echo createHiddenFieldWithKey('approvedocument'); ?>
|
<?php echo createHiddenFieldWithKey('approvedocument'); ?>
|
||||||
<table>
|
<table>
|
||||||
<tr><td><?php printMLText("comment")?>:</td>
|
<tr><td><?php printMLText("comment")?>:</td>
|
||||||
|
@ -120,7 +120,7 @@ function checkGrpForm()
|
||||||
</td></tr><tr><td></td><td>
|
</td></tr><tr><td></td><td>
|
||||||
<input type='hidden' name='approvalType' value='ind'/>
|
<input type='hidden' name='approvalType' value='ind'/>
|
||||||
<input type='hidden' name='documentid' value='<?php echo $document->getId() ?>'/>
|
<input type='hidden' name='documentid' value='<?php echo $document->getId() ?>'/>
|
||||||
<input type='hidden' name='version' value='<?php echo $version ?>'/>
|
<input type='hidden' name='version' value='<?php echo $latestContent->getVersion() ?>'/>
|
||||||
<input type='submit' class="btn" name='indApproval' value='<?php printMLText("submit_approval")?>'/>
|
<input type='submit' class="btn" name='indApproval' value='<?php printMLText("submit_approval")?>'/>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user