pin_column

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 "pin_column".
... in pin_column.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
<override_macro name="pin_column">
    <n.table_column>
        <head>
            <td class="[n.column_default_border/] pin-column nowrap" style="width:24px"></td>
        </head>
        <body>
            <n.current_node.>
                <td class="[n.column_default_border/]" style="padding-left:.2em">
                    <n.if.is_app>
                        <then>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/forum_pin.png" width="29" height="23" title="[t]Pinned sub-forum[/t]" alt="[t]Pinned sub-forum[/t]"/></then>
                                <else><img src="http://i307.photobucket.com/albums/nn308/ab_vortex/forum/newpost.png" width="25" height="23" title="[t]Floating sub-forum[/t]" alt="[t]Floating sub-forum[/t]"/></else>
                            </n.if.is_pinned_in_loop>
                        </then>
                        <else>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/pin.png" width="20" height="21" alt="pin"/></then>
                            </n.if.is_pinned_in_loop>
                        </else>
                    </n.if.is_app>
                </td>
            </n.current_node.>
        </body>
    </n.table_column>
</override_macro>
Overrides default macro
... in columns.naml
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<macro name="pin_column">
    <n.table_column>
        <head>
            <td class="[n.column_default_border/] pin-column nowrap" style="width:24px"></td>
        </head>
        <body>
            <n.current_node.>
                <td class="[n.column_default_border/] pin-column" style="padding-left:.2em">
                    <n.if.is_app>
                        <then>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/forum_pin.png" width="29" height="23" title="[t]Pinned sub-forum[/t]" alt="[t]Pinned sub-forum[/t]"/></then>
                                <else><img src="/images/forum.png" width="25" height="23" title="[t]Floating sub-forum[/t]" alt="[t]Floating sub-forum[/t]"/></else>
                            </n.if.is_pinned_in_loop>
                        </then>
                        <else>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/pin.png" width="20" height="21" alt="pin"/></then>
                            </n.if.is_pinned_in_loop>
                        </else>
                    </n.if.is_app>
                </td>
            </n.current_node.>
        </body>
    </n.table_column>
</macro>