2013-07-06 17:12:55 +00:00
|
|
|
{block name=content}
|
|
|
|
<div class="row-fluid sortable ui-sortable">
|
2014-09-03 10:22:14 +00:00
|
|
|
<div class="box col-md-12">
|
2014-09-09 02:02:15 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading" data-original-title="">
|
|
|
|
<span class="icon-th"></span> Create a new Ticket
|
2013-07-06 17:12:55 +00:00
|
|
|
</div>
|
2014-09-09 02:02:15 +00:00
|
|
|
<div class="panel-body">
|
2013-07-06 17:12:55 +00:00
|
|
|
<div class="row-fluid">
|
2013-07-08 07:40:48 +00:00
|
|
|
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=createticket&id={$target_id}">
|
2013-07-06 17:12:55 +00:00
|
|
|
<legend>New ticket</legend>
|
2014-09-03 01:08:57 +00:00
|
|
|
|
2014-09-06 01:46:13 +00:00
|
|
|
<div class="control-group {if isset($TITLE_ERROR) and $TITLE_ERROR eq "TRUE"}error{/if}">
|
2013-07-06 17:12:55 +00:00
|
|
|
<label class="control-label">Title</label>
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-prepend">
|
2014-09-06 01:46:13 +00:00
|
|
|
<input type="text" class="span8" id="Title" name="Title" {if isset($Title)}value='{$Title}'{/if}>
|
|
|
|
{if isset($TITLE_ERROR) and $TITLE_ERROR eq "TRUE"}<span class="help-inline">{$TITLE_ERROR_MESSAGE}</span>{/if}
|
2013-07-06 17:12:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-03 01:08:57 +00:00
|
|
|
|
2013-07-06 17:12:55 +00:00
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">Category</label>
|
|
|
|
<div class="controls">
|
|
|
|
<select name="Category">
|
|
|
|
{foreach from=$category key=k item=v}
|
|
|
|
<option value="{$k}">{$v}</option>
|
|
|
|
{/foreach}
|
2014-09-03 01:08:57 +00:00
|
|
|
</select>
|
2013-07-06 17:12:55 +00:00
|
|
|
</div>
|
2014-09-03 01:08:57 +00:00
|
|
|
</div>
|
|
|
|
|
2014-09-06 01:46:13 +00:00
|
|
|
<div class="control-group {if isset($CONTENT_ERROR) and $CONTENT_ERROR eq "TRUE"}error{/if}">
|
2013-07-06 17:12:55 +00:00
|
|
|
<label class="control-label">Description</label>
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-prepend">
|
2014-09-06 01:46:13 +00:00
|
|
|
<textarea rows="12" class="span12" id="Content" name="Content">{if isset($Content)}{$Content}{/if}</textarea>
|
|
|
|
{if isset($CONTENT_ERROR) and $CONTENT_ERROR eq "TRUE"}<span class="help-inline">{$CONTENT_ERROR_MESSAGE}</span>{/if}
|
|
|
|
</div>
|
2013-07-06 17:12:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-07-06 20:38:57 +00:00
|
|
|
<input type="hidden" name="function" value="create_ticket">
|
2013-07-06 17:12:55 +00:00
|
|
|
<input type="hidden" name="target_id" value="{$target_id}">
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label"></label>
|
|
|
|
<div class="controls">
|
|
|
|
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Send Ticket</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-03 01:08:57 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2013-07-06 17:12:55 +00:00
|
|
|
</div>
|
2014-09-03 10:22:14 +00:00
|
|
|
</div>
|
2013-07-06 17:12:55 +00:00
|
|
|
</div><!--/span-->
|
|
|
|
</div><!--/row-->
|
|
|
|
{/block}
|
2014-09-03 01:08:57 +00:00
|
|
|
|