adv_search_page

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "adv_search_page".
... in adv_search.naml
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
<macro name="adv_search_page" requires="servlet">
    <n.node_page.>
        <n.catch_exception. id="set-block">
            <n.if.is_submitted_form>
                <then>
                    <n.redirect_to.page_node.>
                        <n.search_path>
                            <query>
                                <n.compress.>
                                    <n.set_message_text_contains_group/>
                                    <n.set_message_subject_contains_group/>
                                    <n.set_author_name_group/>
                                    <n.set_any_message_part_contains_group/>
                                </n.compress.>
                            </query>
                            <days>
                                <n.get_int. default="0" exception="days_field_not_integer">
                                    <n.get_parameter name="days" />
                                </n.get_int.>
                            </days>
                        </n.search_path>
                    </n.redirect_to.page_node.>
                </then>
            </n.if.is_submitted_form>
        </n.catch_exception.>
        <n.html>
            <head>
                <meta name="robots" content="noindex,nofollow"/>
                <n.title.><t>Advanced Search</t></n.title.>
                <style type="text/css">
                    div.group-header {
                        padding: .2em;
                        margin-top:1em;
                        font-size: 120%;
                        font-weight: bold;
                    }
                    td.form-label {
                        white-space: nowrap;
                    }
                </style>
            </head>
            <body>
                <n.adv_search_exceptions/>
                <h1><t>Advanced Search</t></h1>
 
                <p><t>Use the options below to precisely specify your search criteria.</t></p>
 
                <n.form.>
                    <table class="advanced-search-table">
                        <n.message_text_contains_group/>
                        <n.message_subject_contains_group/>
                        <n.author_name_group/>
                        <n.any_message_part_contains_group/>
                        <n.message_date_group/>
                        <n.submit_button/>
                    </table>
                </n.form.>
            </body>
        </n.html>
    </n.node_page.>
</macro>