... | in new_topic_forbidden_page.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
|
<override_macro name="new_topic_forbidden_page">
<n.set_var name="has_descendants_where_can_reply" value="[n.false/]" />
<n.page_node.descendant_apps_list.loop.>
<n.if.visitor.can_create_topic_in.current_node>
<then>
<n.set_var name="has_descendants_where_can_reply" value="[n.true/]" />
<n.break/>
</then>
</n.if.visitor.can_create_topic_in.current_node>
</n.page_node.descendant_apps_list.loop.>
<n.html>
<head>
<META NAME="robots" CONTENT="noindex,nofollow"/>
<n.title.>
<n.if.var name="has_descendants_where_can_reply">
<then><t>Choose a Subcategory</t></then>
<else><t>Authorized Users Only</t></else>
</n.if.var>
</n.title.>
</head>
<body>
<div style="font-size:140%;margin:.5em 0 1em">
<n.if.var name="has_descendants_where_can_reply">
<then><t>Choose a subcategory to post your message</t></then>
<else><t>You Cannot Post Here<br />(new registrants, see <a href="http://radishrain.321.s1.nabble.com/Getting-started-td600.html">Getting started</a>)</t></else>
</n.if.var>
</div>
<n.if.var name="has_descendants_where_can_reply">
<then>
<n.page_node.descendant_apps_list.loop.>
<n.if.visitor.can_create_topic_in.current_node>
<then>
<div style="margin:.3em"><n.current_node.new_topic_link text="[n.subject/]" /></div>
</then>
</n.if.visitor.can_create_topic_in.current_node>
</n.page_node.descendant_apps_list.loop.>
</then>
<else>
<t>Sorry, but you can't create new topics here.<br/>Note that you may still be able to reply to posts.</t>
<br/><br/>
<n.if.visitor.is_site_admin>
<then><t><b>Note</b>: Since you are an administrator, you can <n.page_node.change_permissions_link.>change the permissions of <t.location.page_node.subject/></n.page_node.change_permissions_link.> and make sure you can create new topics here.</t></then>
<else><t>You may <n.page_node.unauthorized_link.>request permission to post</n.page_node.unauthorized_link.> here or contact <n.root_node.owner.send_email_link.><n.root_node.owner.name/></n.root_node.owner.send_email_link.> if you have questions.</t></else>
</n.if.visitor.is_site_admin>
</else>
</n.if.var>
</body>
</n.html>
<n.exit/>
</override_macro>
|
... | in reply.naml |
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
|
<macro name="new_topic_forbidden_page">
<n.set_var name="has_descendants_where_can_reply" value="[n.false/]" />
<n.page_node.descendant_apps_list.loop.>
<n.if.visitor.can_create_topic_in.current_node>
<then>
<n.set_var name="has_descendants_where_can_reply" value="[n.true/]" />
<n.break/>
</then>
</n.if.visitor.can_create_topic_in.current_node>
</n.page_node.descendant_apps_list.loop.>
<n.html>
<head>
<META NAME="robots" CONTENT="noindex,nofollow"/>
<n.title.>
<n.if.var name="has_descendants_where_can_reply">
<then><t>Choose a Subcategory</t></then>
<else><t>Authorized Users Only</t></else>
</n.if.var>
</n.title.>
</head>
<body>
<div style="font-size:140%;margin:.5em 0 1em">
<n.if.var name="has_descendants_where_can_reply">
<then><t>Choose a subcategory to post your message</t></then>
<else><t>You Cannot Post Here</t></else>
</n.if.var>
</div>
<n.if.var name="has_descendants_where_can_reply">
<then>
<n.page_node.descendant_apps_list.loop.>
<n.if.visitor.can_create_topic_in.current_node>
<then>
<div style="margin:.3em"><n.current_node.new_topic_link text="[n.subject/]" /></div>
</then>
</n.if.visitor.can_create_topic_in.current_node>
</n.page_node.descendant_apps_list.loop.>
</then>
<else>
<t>Sorry, but you can't create new topics here.<br/>Note that you may still be able to reply to posts.</t>
<br/><br/>
<n.if.visitor.is_site_admin>
<then><t><b>Note</b>: Since you are an administrator, you can <n.page_node.change_permissions_link.>change the permissions of <t.location.page_node.subject/></n.page_node.change_permissions_link.> and make sure you can create new topics here.</t></then>
<else><t>You may <n.page_node.unauthorized_link.>request permission to post</n.page_node.unauthorized_link.> here or contact <n.root_node.owner.send_email_link.><n.root_node.owner.name/></n.root_node.owner.send_email_link.> if you have questions.</t></else>
</n.if.visitor.is_site_admin>
</else>
</n.if.var>
</body>
</n.html>
<n.exit/>
</macro>
|
Free forum by Nabble | Edit this page |