faq_manage_questions_list.htm 2.68 KB
Newer Older
1
<h2>{tmpl_var name="faq_faq_questions_txt"}</h2>
2
<div class="panel panel_support_message">
3
4
5
6
    
    <div class="pnl_toolsarea">
        <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
            <div class="buttons">
7
                <button class="button iconstxt icoAdd" type="button" onclick="loadContent('help/faq_edit.php');">
8
9
10
11
12
                    <span>{tmpl_var name="faq_new_question_txt"}</span>
                </button>
            </div>
        </fieldset>
    </div>
13

14
15
16
17
    <div class="pnl_listarea">
        <fieldset><legend><tmpl_var name="faq_sections_txt"></legend>
            <table class="list">
                <thead>
18
                    <tr class="caption">
19
                        <th class="tbl_col_active" scope="col">{tmpl_var name="faq_question_txt"}</th>
cfoe's avatar
cfoe committed
20
21
22
                        <th class="tbl_col_section_name" scope="col">{tmpl_var name="faq_section_name_txt"}</th>
                        <th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_delete_txt"}</th>
                        <th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_edit_txt"}</th>
23
24
                    </tr>
                </thead>
25
				<tbody>
26
                <tmpl_loop name="records">
cfoe's avatar
cfoe committed
27
                    <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
28
29
30
                        <td width="60%">{tmpl_var name='hf_question'}</td>
                        <td width="30%">{tmpl_var name='hf_section'}</td>
                        <td class="tbl_col_buttons" width="5%">
31
                            <a class="button icons16 icoDelete" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name="faq_delete_txt"}</span></a>
32
                        </td>
33
                        <td class="tbl_col_buttons" width="5%">
cfoe's avatar
cfoe committed
34
                            <a class="button icons16 icoEdit" href="javascript: loadContent('help/faq_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name="faq_edit_txt"}</span></a>
35
36
37
                        </td>
                    </tr>
                </tmpl_loop>
38
39
40
41
42
                <tmpl_unless name="records">
                    <tr class="tbl_row_noresults tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
                        <td colspan="4">{tmpl_var name='globalsearch_noresults_text_txt'}</td>
                    </tr>
                </tmpl_unless>
43
44
45
46
47
48
				</tbody>
				<tfoot>
                    <tr>
                        <td class="tbl_footer tbl_paging" colspan="4"><tmpl_var name="paging"></td>
                    </tr>
                </tfoot>
49
50
51
52
            </table>
        </fieldset>
    </div>
    
53
</div>