~porten-deactivatedaccount/eventum/devel

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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{include file="header.tpl.html" bgcolor="$dark_color"}

{literal}
<script type="text/javascript">
<!--
function clearFilters(f)
{
    f.keywords.value = '';
    f.users.selectedIndex = 0;
    f.status.selectedIndex = 0;
    f.category.selectedIndex = 0;
    f.release.selectedIndex = 0;
    f.priority.selectedIndex = 0;
    // now for the fields that are only available through the advanced search page
    setHiddenFieldValue(f, 'created_date[Year]', '');
    setHiddenFieldValue(f, 'created_date[Month]', '');
    setHiddenFieldValue(f, 'created_date[Day]', '');
    setHiddenFieldValue(f, 'created_date[filter_type]', '');
    setHiddenFieldValue(f, 'updated_date[Year]', '');
    setHiddenFieldValue(f, 'updated_date[Month]', '');
    setHiddenFieldValue(f, 'updated_date[Day]', '');
    setHiddenFieldValue(f, 'updated_date[filter_type]', '');
    setHiddenFieldValue(f, 'last_response_date[Year]', '');
    setHiddenFieldValue(f, 'last_response_date[Month]', '');
    setHiddenFieldValue(f, 'last_response_date[Day]', '');
    setHiddenFieldValue(f, 'last_response_date[filter_type]', '');
    setHiddenFieldValue(f, 'first_response_date[Year]', '');
    setHiddenFieldValue(f, 'first_response_date[Month]', '');
    setHiddenFieldValue(f, 'first_response_date[Day]', '');
    setHiddenFieldValue(f, 'first_response_date[filter_type]', '');
    setHiddenFieldValue(f, 'closed_date[Year]', '');
    setHiddenFieldValue(f, 'closed_date[Month]', '');
    setHiddenFieldValue(f, 'closed_date[Day]', '');
    setHiddenFieldValue(f, 'closed_date[filter_type]', '');
    setHiddenFieldValue(f, 'show_authorized_issues', '');
    setHiddenFieldValue(f, 'show_notification_list_issues', '');
    f.submit();
}
//-->
</script>
{/literal}
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <form target="_main" action="list.php" method="get">
  <input type="hidden" name="cat" value="search">
  <input type="hidden" name="pagerRow" value="0">
  <input type="hidden" name="created_date[Year]" value="{$options.created_date.Year}">
  <input type="hidden" name="created_date[Month]" value="{$options.created_date.Month}">
  <input type="hidden" name="created_date[Day]" value="{$options.created_date.Day}">
  <input type="hidden" name="created_date[filter_type]" value="{$options.created_date.filter_type}">
  <input type="hidden" name="updated_date[Year]" value="{$options.updated_date.Year}">
  <input type="hidden" name="updated_date[Month]" value="{$options.updated_date.Month}">
  <input type="hidden" name="updated_date[Day]" value="{$options.updated_date.Day}">
  <input type="hidden" name="updated_date[filter_type]" value="{$options.updated_date.filter_type}">
  <input type="hidden" name="last_response_date[Year]" value="{$options.last_response_date.Year}">
  <input type="hidden" name="last_response_date[Month]" value="{$options.last_response_date.Month}">
  <input type="hidden" name="last_response_date[Day]" value="{$options.last_response_date.Day}">
  <input type="hidden" name="last_response_date[filter_type]" value="{$options.last_response_date.filter_type}">
  <input type="hidden" name="first_response_date[Year]" value="{$options.first_response_date.Year}">
  <input type="hidden" name="first_response_date[Month]" value="{$options.first_response_date.Month}">
  <input type="hidden" name="first_response_date[Day]" value="{$options.first_response_date.Day}">
  <input type="hidden" name="first_response_date[filter_type]" value="{$options.first_response_date.filter_type}">
  <input type="hidden" name="closed_date[Year]" value="{$options.closed_date.Year}">
  <input type="hidden" name="closed_date[Month]" value="{$options.closed_date.Month}">
  <input type="hidden" name="closed_date[Day]" value="{$options.closed_date.Day}">
  <input type="hidden" name="closed_date[filter_type]" value="{$options.closed_date.filter_type}">
  <input type="hidden" name="show_authorized_issues" value="{$options.show_authorized_issues}">
  <input type="hidden" name="show_notification_list_issues" value="{$options.show_notification_list_issues}">
  <tr>
    <td class="default">
      <span style="font-size: 25px; color: black; font-weight: bold;">{t}Quick Search{/t}</span>
    </td>
  </tr>
</table>
<hr size="1" noshade color="{$cell_color}">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td>
      <span class="default">{t}Keyword(s):{/t}</span><br />
      <input class="default" type="text" name="keywords" size="15" value="{$options.keywords|escape:"html"}">
    </td>
  </tr>
  <tr>
    <td>
      <span class="default">{t}Assigned:{/t}</span><br />
      <select name="users" class="default">
        <option value="">{t}any{/t}</option>
        {html_options options=$users selected=$options.users}
      </select>
    </td>
  </tr>
  <tr>
    <td>
      <span class="default">{t}Status:{/t}</span><br />
      <select name="status" class="default">
        <option value="">{t}any{/t}</option>
        {foreach key=sta_id item=sta_title from=$status}
        <option value="{$sta_id}" {if $sta_id == $options.status}selected{/if}>{$sta_title}</option>
        {/foreach}
      </select>
    </td>
  </tr>
  <tr>
    <td>
      <span class="default">{t}Category:{/t}</span><br />
      <select name="category" class="default">
        <option value="">{t}any{/t}</option>
        {html_options options=$categories selected=$options.category}
      </select>
    </td>
  </tr>
  <tr>
    <td>
      <span class="default">{t}Priority:{/t}</span><br />
      <select name="priority" class="default">
        <option value="">{t}any{/t}</option>
        {section name="i" loop=$priorities}
        <option value="{$priorities[i].pri_id}" {if $priorities[i].pri_id == $options.priority}selected{/if}>{$priorities[i].pri_title}</option>
        {/section}
      </select>
    </td>
  </tr>
  <tr>
    <td>
      <input class="button" type="submit" value="{t}Search{/t}">
      <input class="button" type="button" value="{t}Clear{/t}" onClick="clearFilters(this.form);">
    </td>
  </tr>
  </form>
</table>

<br />
{include file="app_info.tpl.html"}
{include file="footer.tpl.html"}