You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
863 B
30 lines
863 B
<?php
|
|
|
|
if(!defined('OSTCLIENTINC') || !$thisclient || !$ticket || !$ticket->checkUserAccess($thisclient)) die('Access Denied!');
|
|
|
|
?>
|
|
|
|
<h1>
|
|
<?php echo sprintf(__('Editing Ticket #%s'), $ticket->getNumber()); ?>
|
|
</h1>
|
|
|
|
<form action="tickets.php" method="post">
|
|
<?php echo csrf_token(); ?>
|
|
<input type="hidden" name="a" value="edit"/>
|
|
<input type="hidden" name="id" value="<?php echo Format::htmlchars($_REQUEST['id']); ?>"/>
|
|
<table width="800">
|
|
<tbody id="dynamic-form">
|
|
<?php if ($forms)
|
|
foreach ($forms as $form) {
|
|
$form->render(['staff' => false]);
|
|
} ?>
|
|
</tbody>
|
|
</table>
|
|
<hr>
|
|
<p style="text-align: center;">
|
|
<input type="submit" value="Update"/>
|
|
<input type="reset" value="Reset"/>
|
|
<input type="button" value="Cancel" onclick="javascript:
|
|
window.location.href='index.php';"/>
|
|
</p>
|
|
</form>
|