<!--## CATEGORY ELEMENT ##-->
<inp2:m_DefineElement name="category_element">
	<td style="width: <inp2:ColumnWidth/>">

		<table>
			<tr>
				<td class="directory-icon">
					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
				</td>
				<td class="directory-text">
					<inp2:m_if check="IsCurrent">
						<strong><inp2:Field name="Name"/></strong> (<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)
					<inp2:m_else/>
						<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
						<inp2:m_if check="IsCategorySymLink">
							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a> <span class="item-statistics">(<!--## <inp2:m_phrase name="lu_SubCats"/>: ##--><inp2:SubCatCount/> / <inp2:ItemCount/>)</span>
						<inp2:m_else/>
							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><inp2:Field name="Name"/></a> <span class="item-statistics">(<!--## <inp2:m_phrase name="lu_SubCats"/>: ##--><inp2:SubCatCount/> / <inp2:ItemCount/>)</span>
						</inp2:m_if>
						<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
					</inp2:m_if>

					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>

					<br />
					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />

					<inp2:Field name="Description" first_chars="200"/>

					<inp2:m_if check="m_Param" name="show_relevance">
						<br/>

						<inp2:m_if check="Field" name="Description"><br/></inp2:m_if>
						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" />
					</inp2:m_if>
				</td>
			</tr>
		</table>

	</td>
</inp2:m_DefineElement>
<!--## /CATEGORY ELEMENT ##-->

<!--## NO CATEGORIES ELEMENT ##-->
<inp2:m_DefineElement name="no_categories">
	<inp2:m_phrase name="lu_NoCategories"/>
</inp2:m_DefineElement>
<!--## /NO CATEGORIES ELEMENT ##-->

<!--## NO CATEGORIES ELEMENT ##-->
<inp2:m_DefineElement name="related_category_element">
	<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
	<li>
	<inp2:m_if check="IsCategorySymLink">
		<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a>
	<inp2:m_else/>
		<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><inp2:Field name="Name"/></a>
	</inp2:m_if>
	</li>
	<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
</inp2:m_DefineElement>
<!--## /NO CATEGORIES ELEMENT ##-->

<inp2:m_DefineElement name="selector_category_element">
	<option value="<inp2:m_Param name="category_id"/>">
		<inp2:m_Param name="separator"/><inp2:m_Param name="category_name"/>
	</option>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="more_category_element">
	<tr id="category_<inp2:m_Param name="category_id"/>">
		<td>
			<inp2:m_Param name="category_name"/>
		</td>
		<td>
			<input type="button" class="delete-button" value="<inp2:m_Phrase label="lu_btn_Delete" no_editing="1"/>" onclick="$ItemCategories.DeleteCategory(<inp2:m_Param name="category_id"/>);"/>
		</td>
	</tr>
</inp2:m_DefineElement>


<!--## SITEMAP ELEMENTS ##-->
<inp2:m_DefineElement name="more_link_elem">
<li>
	<a href="<inp2:c_CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:m_Phrase label="lu_more"/>...</a>
</li>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="sitemap_category_element3">
<li>
	<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/></a>1
</li>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="sitemap_category_element2">
<li>
	<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/></a>
	<inp2:InitList requery="1"/>
	<inp2:m_if check="TotalRecords">
	<ul>
		<inp2:ListCategories render_as="sitemap_category_element2" more_link_render_as="more_link_elem" max_items="50" no_table="1"/>
	</ul>
	</inp2:m_if>
</li>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="sitemap_category_element1">
<li>
	<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/></a>
	<inp2:InitList requery="1"/>
	<inp2:m_if check="TotalRecords">
	<ul>
		<inp2:ListCategories render_as="sitemap_category_element2" max_items="50" more_link_render_as="more_link_elem" no_table="1"/>
	</ul>
	</inp2:m_if>
</li>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="sitemap_category_element">
	<li>
		<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/> (level 2)</a>
		<inp2:InitList requery="1" max_items="50" />
		<inp2:m_if check="TotalRecords">
		<ul>
			<inp2:ListCategories render_as="sitemap_category_element1" max_items="100" more_link_render_as="more_link_elem" no_table="1"/>
		</ul>
		</inp2:m_if>
	</li>
</inp2:m_DefineElement>


<!--## //SITEMAP ELEMENTS ##-->
