view src/nabble/modules/naml/banhax.naml @ 0:7ecd1a4ef557

add content
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 Mar 2019 19:15:52 -0600
parents
children
line wrap: on
line source

<override_macro name="gallery_cell">
	<n.cell_thumbnail/>
	<n.cell_link_and_star/>
</override_macro>

<override_macro name="subapp_section_extra_row" parameters="has_more"></override_macro>

<override_macro name="news_page_layout" requires="app_namespace">
	<n.column_layout.>
		<n.column. width="75%">
			<n.news_sidebar_widget/>
		</n.column.>
		<n.column. width="25%">
			<n.sidebar_widget/>
	   </n.column.>
	</n.column_layout.>
</override_macro>

<!--
http://forums.animeron.info/
Disabled "Remove my account" option
-->

<override_macro name="message_as_html" requires="message">
	<n.if.is_deleted>
		<then>
			<b><t>CONTENTS DELETED</t></b>
			<div class="weak-color"><t>The author has deleted this message.</t></div>
		</then>
		<else>
			<n.set_var. name="output">
				<n.as_html_list.process_message_html />
			</n.set_var.>
			<n.if.is_imported_mail>
				<then.set_var. name="output">
					<n.remove_unsubscription_link.var name="output" />
				</then.set_var.>
			</n.if.is_imported_mail>
			<n.var name="output" />
		</else>
	</n.if.is_deleted>
</override_macro>

<!-- Remove option to deactivate account -->
<override_macro name="profile_options">
	<n.put_in_head.>
		<style type="text/css">
			table.profile {
				border-collapse:collapse;
				width:100%;
				margin-top:.5em;
			}
			table.profile td {
				padding:.7em .3em;
			}
			table.profile td.title-row {
				background: transparent;
				padding:.2em .4em;
				border-bottom-width:2px;
				border-bottom-style:solid;
				font-weight:bold;
			}
		</style>
	</n.put_in_head.>
	<table class="profile">
		<n.profile_table_header.>
			My Settings
		</n.profile_table_header.>

		<n.profile_option>
			<link><a href="[n.visitor.edit_profile_path/]">Edit Personal Information</a></link>
			<hint>Change your registered email address, password, and your user name.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.edit_signature_path/]">Edit Your Signature</a></link>
			<hint>Change the signature text that is displayed at the bottom of your posts.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.change_avatar_path/]">Change Your Picture</a></link>
			<hint>Change or remove your avatar image.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.advanced_settings_path/]">Advanced Settings</a></link>
			<hint>Change viewing preferences and your alert settings (when posting a message).</hint>
		</n.profile_option>
	</table>
</override_macro>


<override_macro name="nabble_footer">
	<style type="text/css">
		table.footer-table td.footer-right img {
			vertical-align:-45%;
		}
	</style>
	<table class="footer-table shaded-bg-color">
		<tr>
			<td class="footer-left">
				Powered by
				<a href="[n.nabble_homepage/]" target="_top">Nabble</a>
			</td>
			<td class="footer-right">
				<a href="http://www.e-kavkaz.com/" target="_blank">Кавказ</a> &copy; 2011
				<!--Openstat-->
					<span id="openstat2189752"></span>
					<script type="text/javascript">
						var openstat = { counter: 2189752, image: 5045, next: openstat, track_links: "ext" };
						(function(d, t, p) {
						var j = d.createElement(t); j.async = true; j.type = "text/javascript";
						j.src = ("https:" == p ? "https:" : "http:") + "//openstat.net/cnt.js";
						var s = d.getElementsByTagName(t)[0]; s.parentNode.insertBefore(j, s);
						})(document, "script", document.location.protocol);
					</script>
				<!--/Openstat-->
				<!-- begin of Top100 code -->
					<script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2505501"></script>
					<noscript>
						<a href="http://top100.rambler.ru/navi/2505501/" target="_blank" rel="nofollow" link="external">
							<img src="http://counter.rambler.ru/top100.cnt?2505501" alt="Rambler's Top100" border="0" />
						</a>
					</noscript>
				<!-- end of Top100 code -->
				&nbsp;
				<n.macro_viewer_page_link/>
			</td>
		</tr>
	</table>
</override_macro>