~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/php/phpBB3/adm/style/acp_search.html

  • Committer: William Grant
  • Date: 2009-02-23 23:47:02 UTC
  • mfrom: (1099.1.211 new-dispatch)
  • Revision ID: grantw@unimelb.edu.au-20090223234702-db4b1llly46ignwo
Merge from lp:~ivle-dev/ivle/new-dispatch.

Pretty much everything changes. Reread the setup docs. Backup your databases.
Every file is now in a different installed location, the configuration system
is rewritten, the dispatch system is rewritten, URLs are different, the
database is different, worksheets and exercises are no longer on the
filesystem, we use a templating engine, jail service protocols are rewritten,
we don't repeat ourselves, we have authorization rewritten, phpBB is gone,
and probably lots of other things that I cannot remember.

This is certainly the biggest commit I have ever made, and hopefully
the largest I ever will.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- INCLUDE overall_header.html -->
2
 
 
3
 
<a name="maincontent"></a>
4
 
 
5
 
<!-- IF S_SETTINGS -->
6
 
        <h1>{L_ACP_SEARCH_SETTINGS}</h1>
7
 
 
8
 
        <p>{L_ACP_SEARCH_SETTINGS_EXPLAIN}</p>
9
 
 
10
 
        <form id="acp_search" method="post" action="{U_ACTION}">
11
 
 
12
 
        <fieldset>
13
 
                <legend>{L_GENERAL_SEARCH_SETTINGS}</legend>
14
 
        <dl>
15
 
                <dt><label for="load_search">{L_YES_SEARCH}:</label><br /><span>{L_YES_SEARCH_EXPLAIN}</span></dt>
16
 
                <dd><label><input type="radio" class="radio" id="load_search" name="config[load_search]" value="1"<!-- IF S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
17
 
                        <label><input type="radio" class="radio" name="config[load_search]" value="0"<!-- IF not S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
18
 
        </dl>
19
 
        <dl>
20
 
                <dt><label for="search_interval">{L_SEARCH_INTERVAL}:</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
21
 
                <dd><input id="search_interval" type="text" size="4" maxlength="4" name="config[search_interval]" value="{SEARCH_INTERVAL}" /> {L_SECONDS}</dd>
22
 
        </dl>
23
 
        <dl>
24
 
                <dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}:</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
25
 
                <dd><input id="search_anonymous_interval" type="text" size="4" maxlength="4" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /> {L_SECONDS}</dd>
26
 
        </dl>
27
 
        <dl>
28
 
                <dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}:</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
29
 
                <dd><input id="limit_search_load" type="text" size="4" maxlength="4" name="config[limit_search_load]" value="{LIMIT_SEARCH_LOAD}" /></dd>
30
 
        </dl>
31
 
        <dl>
32
 
                <dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}:</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
33
 
                <dd><input id="min_search_author_chars" type="text" size="4" maxlength="4" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
34
 
        </dl>
35
 
        <dl>
36
 
                <dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}:</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
37
 
                <dd><input id="search_store_results" type="text" size="4" maxlength="6" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
38
 
        </dl>
39
 
        </fieldset>
40
 
 
41
 
        <fieldset>
42
 
                <legend>{L_SEARCH_TYPE}</legend>
43
 
        <dl>
44
 
                <dt><label for="search_type">{L_SEARCH_TYPE}:</label><br /><span>{L_SEARCH_TYPE_EXPLAIN}</span></dt>
45
 
                <dd><select id="search_type" name="config[search_type]">{S_SEARCH_TYPES}</select></dd>
46
 
        </dl>
47
 
        </fieldset>
48
 
 
49
 
        <!-- BEGIN backend -->
50
 
 
51
 
                <fieldset>
52
 
                        <legend>{backend.NAME}</legend>
53
 
                {backend.SETTINGS}
54
 
                </fieldset>
55
 
 
56
 
        <!-- END backend -->
57
 
 
58
 
        <fieldset class="submit-buttons">
59
 
                <legend>{L_SUBMIT}</legend>
60
 
                <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
61
 
                <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
62
 
                {S_FORM_TOKEN}
63
 
        </fieldset>
64
 
        </form>
65
 
 
66
 
<!-- ELSEIF S_INDEX -->
67
 
 
68
 
        <script type="text/javascript">
69
 
        // <![CDATA[
70
 
                /**
71
 
                * Popup search progress bar
72
 
                */
73
 
                function popup_progress_bar(progress_type)
74
 
                {
75
 
                        close_waitscreen = 0;
76
 
                        // no scrollbars
77
 
                        popup('{UA_PROGRESS_BAR}&amp;type=' + progress_type, 400, 240, '_index');
78
 
                }
79
 
        // ]]>
80
 
        </script>
81
 
 
82
 
        <h1>{L_ACP_SEARCH_INDEX}</h1>
83
 
 
84
 
        <!-- IF S_CONTINUE_INDEXING -->
85
 
                <p>{L_CONTINUE_EXPLAIN}</p>
86
 
 
87
 
                <form id="acp_search_continue" method="post" action="{U_CONTINUE_INDEXING}">
88
 
                        <fieldset class="submit-buttons">
89
 
                                <legend>{L_SUBMIT}</legend>
90
 
                                <input class="button1" type="submit" id="continue" name="continue" value="{L_CONTINUE}" onclick="popup_progress_bar('{S_CONTINUE_INDEXING}');" />&nbsp;
91
 
                                <input class="button2" type="submit" id="cancel" name="cancel" value="{L_CANCEL}" />
92
 
                                {S_FORM_TOKEN}
93
 
                        </fieldset>
94
 
                </form>
95
 
        <!-- ELSE -->
96
 
 
97
 
                <p>{L_ACP_SEARCH_INDEX_EXPLAIN}</p>
98
 
 
99
 
                <!-- BEGIN backend -->
100
 
 
101
 
                        <!-- IF backend.S_STATS -->
102
 
 
103
 
                        <form id="acp_search_index_{backend.NAME}" method="post" action="{U_ACTION}">
104
 
 
105
 
                                <fieldset class="tabulated">
106
 
 
107
 
                                {backend.S_HIDDEN_FIELDS}
108
 
 
109
 
                                <legend>{L_INDEX_STATS}: {backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></legend>
110
 
 
111
 
                                <table cellspacing="1">
112
 
                                        <caption>{backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></caption>
113
 
                                        <col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
114
 
                                <thead>
115
 
                                <tr>
116
 
                                        <th>{L_STATISTIC}</th>
117
 
                                        <th>{L_VALUE}</th>
118
 
                                        <th>{L_STATISTIC}</th>
119
 
                                        <th>{L_VALUE}</th>
120
 
                                </tr>
121
 
                                </thead>
122
 
                                <tbody>
123
 
                                <!-- BEGIN data -->
124
 
                                        <tr>
125
 
                                                <td>{backend.data.STATISTIC_1}:</td>
126
 
                                                <td>{backend.data.VALUE_1}</td>
127
 
                                                <td>{backend.data.STATISTIC_2}<!-- IF backend.data.STATISTIC_2 -->:<!-- ENDIF --></td>
128
 
                                                <td>{backend.data.VALUE_2}</td>
129
 
                                        </tr>
130
 
                                <!-- END data -->
131
 
                                </tbody>
132
 
                                </table>
133
 
                        
134
 
                        <!-- ENDIF -->
135
 
                        
136
 
                        <p class="quick">
137
 
                        <!-- IF backend.S_INDEXED -->
138
 
                                <input class="button2" type="submit" name="action[delete]" value="{L_DELETE_INDEX}" onclick="popup_progress_bar('delete');" />
139
 
                        <!-- ELSE -->
140
 
                                <input class="button2" type="submit" name="action[create]" value="{L_CREATE_INDEX}" onclick="popup_progress_bar('create');" />
141
 
                        <!-- ENDIF -->
142
 
                        </p>
143
 
                        {S_FORM_TOKEN}
144
 
                        </fieldset>
145
 
                        
146
 
                        </form>
147
 
                <!-- END backend -->
148
 
 
149
 
        <!-- ENDIF -->
150
 
 
151
 
<!-- ENDIF -->
152
 
 
153
 
<!-- INCLUDE overall_footer.html -->