php tickets_table_tpl END span id tickets_table_block class btn btn_a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
$tickets_table_tpl = <<<END
<span id="tickets_table_block">
<a class="btn btn_a fl sepV_a" id="new_ticket" type="mod_tickets">{$GLOBALS['lang']('btn_new_ticket')}</a>
<table class="display" id="tickets_table">
<thead>
<tr>
<th><div class="th_wrapp">{$GLOBALS['lang']('field_date')}</div></th>
<th><div class="th_wrapp">{$GLOBALS['lang']('field_category')}</div></th>
<th><div class="th_wrapp">{$GLOBALS['lang']('field_them')}</div></th>
<th><div class="th_wrapp">{$GLOBALS['lang']('field_priority')}</div></th>
<th><div class="th_wrapp">{$GLOBALS['lang']('field_status')}</div></th>
</tr>
</thead>
<tbody>
<tr><td colspan="5">&nbsp;</td></tr>
</tbody>
</table>
</span>
<style type="text/css">
#tickets_table_block {display:}
#tickets_table td {text-align:center}
#tickets_table th {text-align:center;height:25px;}
</style>
END;
$tickets_new_tpl = <<<END
<div class="formEl_b">
<fieldset>
<legend>{$GLOBALS['lang']('field_new_ticket')}</legend>
<div class="sepH_c">
<label class="lbl_a" for="category" style="width:80px">{$GLOBALS['lang']('field_category')}</label>
<select id="category" name="category" style="width:327px">
</select>
</div>
<div class="sepH_c">
<label class="lbl_a" for="priority" style="width:80px">{$GLOBALS['lang']('field_priority')}</label>
<select id="priority" name="priority" style="width:327px">
</select>
</div>
<div class="sepH_c">
<label class="lbl_a" for="them" style="width:80px">{$GLOBALS['lang']('field_them')}</label>
<input type="text" class="inpt_b" name="them" id="them" style="width:310px">
</div>
<div class="sepH_c">
<label class="lbl_a" for="message" style="width:80px">{$GLOBALS['lang']('field_message')}</label>
<textarea name="b_textarea" rows="10" cols="30" id="message" style="width:310px;height:94px"></textarea>
</div>
<a type="mod_tickets" id="cancel_ticket" class="btn btn_a fr">{$GLOBALS['lang']('btn_cancel')}</a>
<a id="new_ticket_send" class="btn btn_a fr sepV_a">{$GLOBALS['lang']('btn_send')}</a>
</fieldset>
</div>
END;
$tickets_add_tpl = <<<END
<div class="formEl_b">
<fieldset>
<legend>{$GLOBALS['lang']('msg_op_add_msg')}</legend>
<div class="sepH_c">
<label class="lbl_a" for="message" style="width:80px">{$GLOBALS['lang']('field_message')}</label>
<textarea name="b_textarea" rows="10" cols="30" id="message" style="width:310px;height:94px"></textarea>
</div>
<a type="mod_tickets" id="cancel_ticket" class="btn btn_a fr">{$GLOBALS['lang']('btn_cancel')}</a>
<a type="mod_tickets" id="ticket_send" class="btn btn_a fr sepV_a">{$GLOBALS['lang']('btn_send')}</a>
</fieldset>
</div>
END;
?>