| ... | in user_nodes.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
|
<macro name="user_nodes" requires="servlet">
<n.user_page Macro Requires: servlet
Parameters:
do
♦ ♦
<n.html Macro Parameters:
body, head
♦ ♦
<head>
<n.user_nodes_meta Macro Requires: user_page
♦ ♦
<n.title Macro Parameters:
text
♦ ♦
<t>Profile of <t.author.page_user Binary Namespace: UserPageNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
<n.hide_if_equals Macro Parameters:
text, value1, value2
♦ ♦ Macro Requires: servlet
♦ ♦
| <t>Page <t.number.user_nodes_page_number Macro Requires: servlet
♦ ♦
</n.hide_if_equals.>
</n.title.>
<style type="text/css">
table.nodes {
width:100%;
border-collapse:collapse;
}
table.nodes td {
padding:.3em;
}
table.nodes td.header {
padding: .2em;
font-weight:bold;
}
div.table-title {
font-weight:bold;
font-size:120%;
margin: 1em .1em 1em;
}
</style>
</head>
<body>
<n.page_user Binary Namespace: UserPageNamespace
Parameters:
do
♦ ♦ Macro Requires: user
♦ ♦
<n.user_nodes_search_box Macro Requires: user_page
♦ ♦
<!-- If this is the profile of the visitor -->
<n.if Binary Namespace: BasicNamespace
Parameters:
else, condition, then
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
user
♦ ♦ Binary Namespace: UserPageNamespace
Parameters:
do
♦ ♦
<then>
<n.horizontal_tab_control Macro Parameters:
horizontal_tabs, is_live
♦ ♦
<n.add_horizontal_tab Macro Parameters:
selected, text, details, url
♦ ♦ Macro ♦ ♦ Macro ♦ ♦ Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.add_horizontal_tab Macro Parameters:
selected, text, details, url
♦ ♦ Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
</n.horizontal_tab_control.>
</then>
<else>
<div class="second-font table-title">
<t>Posts in <t.location.root_node Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
</div>
</else>
</n.if.visitor.equals.page_user>
<n.user_nodes_table Macro Parameters:
columns
♦ ♦
<n.date_column Macro Parameters:
title, width
♦ ♦
<n.subject_column Macro Parameters:
title, width
♦ ♦
<n.count_column Macro Parameters:
title, width
♦ ♦
<n.location_column Macro Parameters:
title, width
♦ ♦
</n.user_nodes_table.>
</body>
</n.html>
</n.user_page.>
</macro>
|
| Powered by Nabble | Edit this page |