Page MenuHomeIn-Portal Phabricator

advanced
No OneTemporary

File Metadata

Created
Wed, Feb 12, 4:20 PM

advanced

Index: branches/1.2.x/in-news/articles/article_detail.tpl
===================================================================
--- branches/1.2.x/in-news/articles/article_detail.tpl (revision 15387)
+++ branches/1.2.x/in-news/articles/article_detail.tpl (revision 15388)
@@ -1,191 +1,192 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,NEWS.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Articles - Details Design</NAME>
<DESC>General design template for Article Details section</DESC>
<SECTION>Platform||Articles</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:n_Field name="Title"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_DefineElement name="additional_image_element">
<td>
<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="article-images" title="<inp2:m_param name="alt"/>">
<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
</a>
</td>
<inp2:m_if check="m_Param" name="not_last">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<!--## /ADDITIONAL IMAGE ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
</div>
<div class="movable-element">
<!--## article details ##-->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ArticleDetails"/>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr>
<td class="item-padding">
<table class="fullwidth">
<tr>
<td width="25" valign="top">
<img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" />
</td>
<td valign="top">
<!--## STANDARD ARTICLE TITLE ##-->
<inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1">
<span class="text-title"><inp2:n_Field name="Title"/></span>
<inp2:m_else/>
<!--## RSS ARTICLE TITLE WITH LINK ##-->
<span class="text-title"><a href="<inp2:n_Field name="cust_RssOriginalURL"/>" target="_blank"><inp2:n_Field name="Title"/></a></span>
</inp2:m_if>
<inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="n_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="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="n_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>
<inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:n_VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Added"/>: <inp2:n_Field name="CreatedOn" format="_regional_DateFormat"/>,
<inp2:m_phrase name="lu_Hits"/>: <inp2:n_Field name="Hits"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:n_Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Reviews"/>: <inp2:n_Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:n_Field name="CachedVotesQty"/>
</span>
</td>
</tr>
</table>
<table>
<tr>
<inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1">
<td class="picture-padding" style="padding-left:25px" valign="top">
<inp2:m_if check="n_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:n_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="article-images" title="<inp2:n_Field name='PrimaryImageAlt' html_escape='1'/>">
<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
</a>
<inp2:m_else/>
<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
</inp2:m_if>
</td>
</inp2:m_if>
<td class="text-padding" valign="top">
<inp2:n_Field name="Body" nl2br="1"/>
<br/>
<inp2:m_if check="n_IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:n_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:n_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
</inp2:m_if>
</td>
</tr>
</table>
<br />
<inp2:m_if check="n_HasAdditionalImages">
<inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
<table>
<tr>
<inp2:n_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/>
</tr>
</table>
</inp2:m_if>
<!--## LIST LINK FILES ##-->
<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
<inp2:m_Capture to_var="subsection_header">
<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
</inp2:m_Capture>
<table>
<inp2:n-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
</table>
<br /><br />
</inp2:m_RenderElement>
<!--## //LIST LINK FILES ##-->
</td>
</tr>
</table>
</inp2:m_RenderElement>
<!--## // article details ##-->
</div>
<div class="movable-element">
<!--## article reviews ##-->
<inp2:m_DefineElement name="no_reviews">
<inp2:m_phrase name="lu_NoReviews"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:n-rev_TotalRecords/>)
</inp2:m_Capture>
<table>
<inp2:n-rev_PrintList render_as="review_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="n-rev"/>
</inp2:m_RenderElement>
<!--## // article reviews ##-->
</div>
<div class="movable-element">
<!--## RELATED TO ARTICLE ITEMS ##-->
<inp2:m_RenderElement design="content_box" related_to="Article" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" />
</inp2:m_RenderElement>
<!--## // RELATED TO ARTICLE ITEMS ##-->
</div>
</div>
<!--## INCREASE HITS COUNTER ##-->
<inp2:n_RegisterHit/>
<!--## // INCREASE HITS COUNTER ##-->
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-news/designs/section.tpl
===================================================================
--- branches/1.2.x/in-news/designs/section.tpl (revision 15387)
+++ branches/1.2.x/in-news/designs/section.tpl (revision 15388)
@@ -1,124 +1,125 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,NEWS.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Articles - Section Template</NAME>
<DESC>Articles</DESC>
<SECTION>Platform||Articles</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_include template="platform/elements/title_bar.elm"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
<inp2:m_Cache key="prefix:n">
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
</div>
</inp2:m_Cache>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-element">
<!--## INCLUDE NAVIGATION BAR ##-->
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
<!--## //INCLUDE NAVIGATION BAR ##-->
</div>
<div class="movable-element">
<inp2:m_if check="n_IsModuleHome">
<inp2:m_include template="in-news/elements/content_boxes/site_lead_article.elm"/>
</inp2:m_if>
</div>
<div class="movable-element">
<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
</div>
<inp2:m_Cache key="prefix:n;guest_only">
<div class="movable-element">
<!-- category lead articles -->
<inp2:m_RenderElement design="content_box" data_exists="1">
<inp2:n_InitList list_name="category_lead" types="cat_lead" per_page="-1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_CategoryLeadStory"/>
</inp2:m_Capture>
<table class="table-gradient-grey" width="100%">
<inp2:n_ListArticles list_name="category_lead" render_as="category_lead_article_element" no_table="1"/>
</table>
</inp2:m_RenderElement>
<!-- // category lead articles -->
</div>
<div class="movable-element">
<!-- articles in category -->
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
<inp2:m_include template="in-news/elements/articles.elm"/>
<inp2:n_InitList list_name="items_in_current_cat" main_list="1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Articles"/> (<inp2:n_TotalRecords list_name="items_in_current_cat"/>)
</inp2:m_Capture>
<inp2:m_include template="in-news/elements/sorting.elm" list_name="items_in_current_cat"/>
<table class="fullwidth item-listing table-border">
<inp2:n_ListArticles list_name="items_in_current_cat" render_as="article_element" direction="H"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="items_in_current_cat"/>
<div align="left">
<a href="<inp2:c_CategoryLink template="in-news/elements/rss.xml" cat_id="current"/>"><inp2:m_Phrase name="lu_rss_feed"/></a>
</div>
</inp2:m_RenderElement>
<!-- // articles in category -->
</div>
</inp2:m_Cache>
<!--## LIST RELATED CATEGORIES ##-->
<!--##
<inp2:m_Cache key="prefix:c">
<div class="movable-element">
<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedCategories"/>
</inp2:m_Capture>
<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
</inp2:m_RenderElement>
</div>
</inp2:m_Cache>
##-->
<!--## //LIST RELATED CATEGORIES ##-->
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-link/links/link_paid.tpl
===================================================================
--- branches/1.2.x/in-link/links/link_paid.tpl (revision 15387)
+++ branches/1.2.x/in-link/links/link_paid.tpl (revision 15388)
@@ -1,490 +1,491 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,LINK.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Links - Details Design (paid)</NAME>
<DESC>General design template for Paid Link Details section</DESC>
<SECTION>Platform||Links</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:l_Field name="Name"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
</div>
<div class="movable-element">
<!-- link details -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<strong><inp2:l_Field name="Name"/></strong>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr>
<td class="item-padding">
<table class="fullwidth">
<tr>
<td width="25" valign="top">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
</td>
<td valign="top">
<span class="text-title">
<a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm" url_field="Url"/>" target="_blank"><inp2:l_Field name="Name"/></a>
</span>
<inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="l_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="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="l_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>
<inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:l_VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
<inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
</span>
</td>
</tr>
</table>
<table>
<tr>
<td class="picture-padding" style="padding-left:25px" valign="top">
<inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
</a>
<inp2:m_else/>
<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
</inp2:m_if>
</td>
<td class="text-padding" valign="top">
<inp2:l_Field name="Description" nl2br="1"/>
<br/><br/>
<inp2:m_if check="l_IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
</inp2:m_if>
</td>
</tr>
</table>
<br />
<!--## LIST LINK ADITIONAL IMAGES ##-->
<inp2:m_if check="l_HasAdditionalImages">
<!--## ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_DefineElement name="additional_image_element">
<td>
<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
</a>
</td>
<inp2:m_if check="m_Param" name="not_last">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<!--## /ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_RenderElement design="content_box_subsection">
<inp2:m_Capture to_var="subsection_header">
<strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
</inp2:m_Capture>
<table>
<tr>
<inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
</tr>
</table>
<br /><br />
</inp2:m_RenderElement>
</inp2:m_if>
<!--## //LIST LINK ADITIONAL IMAGES ##-->
<!--## LIST LINK FILES ##-->
<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
<inp2:m_Capture to_var="subsection_header">
<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
</inp2:m_Capture>
<table>
<inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
</table>
<br /><br />
</inp2:m_RenderElement>
<!--## //LIST LINK FILES ##-->
<br />
<table>
<tr>
<td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
<script language="JavaScript">
function tabLinkDetailPress(tab_name) {
if ( tab_name == "contact_information") {
document.getElementById("contact_information").style.display = '';
document.getElementById("request_information").style.display = 'none';
document.getElementById("tab_contact_information").className="active-tab";
document.getElementById("tab_request_information").className="inactive-tab";
}
if ( tab_name == "request_information") {
document.getElementById("contact_information").style.display = 'none';
document.getElementById("request_information").style.display = '';
document.getElementById("tab_contact_information").className="inactive-tab";
document.getElementById("tab_request_information").className="active-tab";
}
}
</script>
<table>
<tr>
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
<td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
<a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
<td width="8">&nbsp;</td>
</inp2:m_if>
<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
<inp2:m_if check="m_Get" name="ContactForm_HasErrors">
<td id="tab_request_information" class="active-tab">
<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
<inp2:m_else/>
<td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
</inp2:m_if>
<td width="8">&nbsp;</td>
</inp2:m_if>
</tr>
</table>
</td>
</tr>
<tr>
<td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
<div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>
<table width="375">
<tr>
<td class="item-padding" align="left">
<table class="fullwidth">
<tr>
<td width="100">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
</tr>
<inp2:m_if check="l_Field" name="cust_LinkAddress">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkAddress"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkAddress"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkCity">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkCity"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkCity"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkState">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkState"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkState"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkZipCode">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkZipCode"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkCountry">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkCountry"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkCountry"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkPhone">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkPhone"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkPhone"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
<tr>
<td colspan="2" class="field-name">
<div id="google_map_link">
<a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
</inp2:m_if>
</table>
<br />
<!--## Google Maps ##-->
<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
<script language="JavaScript">
function googleMapPress(){
if (document.getElementById("google_map").style.display == 'none') {
document.getElementById("google_map").style.display = '';
} else {document.getElementById("google_map").style.display = 'none';}}
</script>
<div id="google_map" style="display:none">
<script type="text/javascript"> addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
<div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
</div>
</inp2:m_if>
</inp2:m_if>
<!--## /Google Maps ##-->
</td>
</tr>
</table>
</div>
</inp2:m_if>
<!--## Contact Link Form ##-->
<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
<div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data" width="375">
<inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
<tr>
<td class="field-name" nowrap="nowrap">
<label for="<inp2:m_Param name="field"/>">
<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
<span class="field-required"> *</span>:
</label>
</td>
<td class="field-value">
<inp2:m_if check="m_Get" var="error_{$field}">
<span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
</inp2:m_if>
<inp2:m_if check="m_Param" name="multiline">
<textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
<inp2:m_else/>
<inp2:m_if check="m_Get" var="$field">
<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
<inp2:m_else/>
<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
</inp2:m_if>
</inp2:m_if>
<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="inp_custom_captcha" style="" field="" title="lu_fld_Captcha">
<tr>
<td class="field-name" nowrap="nowrap">
<label for="<inp2:m_Param name="field"/>">
<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
<span class="field-required"> *</span>:
</label>
</td>
<td class="field-value">
<inp2:m_if check="m_Get" var="error_{$field}">
<span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
</inp2:m_if>
<img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
<input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
</td>
</tr>
<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
<inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
<tr>
<td colspan="2" class="item-padding" align="right">
<input type="hidden" name="success_template" value="platform/thankyou"/>
<input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
<input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
<input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_Phrase label="lu_btn_Contact" no_editing="1"/>"/>
<input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
</td>
</tr>
</table>
</form>
</div>
</inp2:m_if>
<!--## //Contact Link Form ##-->
</td>
</tr>
</table>
</td>
</tr>
</table>
</inp2:m_RenderElement>
<!--## // link details ##-->
</div>
<div class="movable-element">
<!--## link reviews ##-->
<inp2:m_DefineElement name="no_reviews">
<inp2:m_phrase name="lu_NoReviews"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
</inp2:m_Capture>
<table>
<inp2:l-rev_PrintList render_as="review_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
</inp2:m_RenderElement>
<!--## // link reviews ##-->
</div>
<div class="movable-element">
<!--## RELATED TO LINK ITEMS ##-->
<inp2:m_RenderElement design="content_box" related_to="Link" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" skip_prefixes="c" />
</inp2:m_RenderElement>
<!--## // RELATED TO LINK ITEMS ##-->
</div>
</div>
<!--## INCREASE HITS COUNTER ##-->
<inp2:l_RegisterHit/>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1" related_to="$related_to" item_prefix="l"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-link/links/link_standard.tpl
===================================================================
--- branches/1.2.x/in-link/links/link_standard.tpl (revision 15387)
+++ branches/1.2.x/in-link/links/link_standard.tpl (revision 15388)
@@ -1,490 +1,491 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,LINK.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Links - Detail Design (standard)</NAME>
<DESC>General design template for Standard Link Details section</DESC>
<SECTION>Platform||Links</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:l_Field name="Name"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
</div>
<div class="movable-element">
<!-- link details -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<strong><inp2:l_Field name="Name"/></strong>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr>
<td class="item-padding">
<table class="fullwidth">
<tr>
<td width="25" valign="top">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
</td>
<td valign="top">
<span class="text-title">
<a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm" url_field="Url"/>" target="_blank"><inp2:l_Field name="Name"/></a>
</span>
<inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="l_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="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="l_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>
<inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:l_VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
<inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
</span>
</td>
</tr>
</table>
<table>
<tr>
<td class="picture-padding" style="padding-left:25px" valign="top">
<inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='PrimaryImageAlt' html_escape='1'/>">
<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
</a>
<inp2:m_else/>
<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
</inp2:m_if>
</td>
<td class="text-padding" valign="top">
<inp2:l_Field name="Description" nl2br="1"/>
<br/><br/>
<inp2:m_if check="l_IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
</inp2:m_if>
</td>
</tr>
</table>
<br />
<!--## LIST LINK ADITIONAL IMAGES ##-->
<inp2:m_if check="l_HasAdditionalImages">
<!--## ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_DefineElement name="additional_image_element">
<td>
<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
</a>
</td>
<inp2:m_if check="m_Param" name="not_last">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<!--## /ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_RenderElement design="content_box_subsection">
<inp2:m_Capture to_var="subsection_header">
<strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
</inp2:m_Capture>
<table>
<tr>
<inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
</tr>
</table>
<br /><br />
</inp2:m_RenderElement>
</inp2:m_if>
<!--## //LIST LINK ADITIONAL IMAGES ##-->
<!--## LIST LINK FILES ##-->
<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
<inp2:m_Capture to_var="subsection_header">
<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
</inp2:m_Capture>
<table>
<inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
</table>
<br /><br />
</inp2:m_RenderElement>
<!--## //LIST LINK FILES ##-->
<br />
<table>
<tr>
<td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
<script language="JavaScript">
function tabLinkDetailPress(tab_name) {
if ( tab_name == "contact_information") {
document.getElementById("contact_information").style.display = '';
document.getElementById("request_information").style.display = 'none';
document.getElementById("tab_contact_information").className="active-tab";
document.getElementById("tab_request_information").className="inactive-tab";
}
if ( tab_name == "request_information") {
document.getElementById("contact_information").style.display = 'none';
document.getElementById("request_information").style.display = '';
document.getElementById("tab_contact_information").className="inactive-tab";
document.getElementById("tab_request_information").className="active-tab";
}
}
</script>
<table>
<tr>
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
<td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
<a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
<td width="8">&nbsp;</td>
</inp2:m_if>
<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
<inp2:m_if check="m_Get" name="ContactForm_HasErrors">
<td id="tab_request_information" class="active-tab">
<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
<inp2:m_else/>
<td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
</inp2:m_if>
<td width="8">&nbsp;</td>
</inp2:m_if>
</tr>
</table>
</td>
</tr>
<tr>
<td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
<div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>>
<table width="375">
<tr>
<td class="item-padding" align="left">
<table class="fullwidth">
<tr>
<td width="100">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
</tr>
<inp2:m_if check="l_Field" name="cust_LinkAddress">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkAddress"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkAddress"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkCity">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkCity"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkCity"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkState">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkState"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkState"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkZipCode">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkZipCode"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkCountry">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkCountry"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkCountry"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="l_Field" name="cust_LinkPhone">
<tr>
<td class="field-name">
<inp2:m_Phrase name="lu_fld_LinkPhone"/>:
</td>
<td>
<inp2:l_Field name="cust_LinkPhone"/>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
<tr>
<td colspan="2" class="field-name">
<div id="google_map_link">
<a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
</inp2:m_if>
</inp2:m_if>
</table>
<br />
<!--## Google Maps ##-->
<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
<script language="JavaScript">
function googleMapPress(){
if (document.getElementById("google_map").style.display == 'none') {
document.getElementById("google_map").style.display = '';
} else {document.getElementById("google_map").style.display = 'none';}}
</script>
<div id="google_map" style="display:none">
<script type="text/javascript"> addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
<div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
</div>
</inp2:m_if>
</inp2:m_if>
<!--## /Google Maps ##-->
</td>
</tr>
</table>
</div>
</inp2:m_if>
<!--## Contact Link Form ##-->
<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
<div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data" width="375">
<inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
<tr>
<td class="field-name" nowrap="nowrap">
<label for="<inp2:m_Param name="field"/>">
<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
<span class="field-required"> *</span>:
</label>
</td>
<td class="field-value">
<inp2:m_if check="m_Get" var="error_{$field}">
<span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
</inp2:m_if>
<inp2:m_if check="m_Param" name="multiline">
<textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
<inp2:m_else/>
<inp2:m_if check="m_Get" var="$field">
<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
<inp2:m_else/>
<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
</inp2:m_if>
</inp2:m_if>
<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="inp_custom_captcha" style="" field="" is_last="0" title="lu_fld_Captcha">
<tr>
<td class="field-name" nowrap="nowrap">
<label for="<inp2:m_Param name="field"/>">
<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
<span class="field-required"> *</span>:
</label>
</td>
<td class="field-value">
<inp2:m_if check="m_Get" var="error_{$field}">
<span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
</inp2:m_if>
<img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
<input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
</td>
</tr>
<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
<inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
<tr>
<td colspan="2" class="item-padding" align="right">
<input type="hidden" name="success_template" value="platform/thankyou"/>
<input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
<input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
<input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_Phrase label="lu_btn_Contact" no_editing="1"/>"/>
<input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
</td>
</tr>
</table>
</form>
</div>
</inp2:m_if>
<!--## //Contact Link Form ##-->
</td>
</tr>
</table>
</td>
</tr>
</table>
</inp2:m_RenderElement>
<!--## // link details ##-->
</div>
<div class="movable-element">
<!--## link reviews ##-->
<inp2:m_DefineElement name="no_reviews">
<inp2:m_phrase name="lu_NoReviews"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
</inp2:m_Capture>
<table>
<inp2:l-rev_PrintList render_as="review_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
</inp2:m_RenderElement>
<!--## // link reviews ##-->
</div>
<div class="movable-element">
<!--## RELATED TO LINK ITEMS ##-->
<inp2:m_RenderElement design="content_box" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="Link" skip_prefixes="c" />
</inp2:m_RenderElement>
<!--## // RELATED TO LINK ITEMS ##-->
</div>
</div>
<!--## INCREASE HITS COUNTER ##-->
<inp2:l_RegisterHit/>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1" item_prefix="l"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-link/designs/section.tpl
===================================================================
--- branches/1.2.x/in-link/designs/section.tpl (revision 15387)
+++ branches/1.2.x/in-link/designs/section.tpl (revision 15388)
@@ -1,103 +1,104 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,LINK.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Links - Section Template</NAME>
<DESC>Links</DESC>
<SECTION>Platform||Links</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_include template="platform/elements/title_bar.elm"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/related_searches.elm" design="blue_box" data_exists="1"/>
</div>
<inp2:m_Cache key="prefix:l">
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
</div>
</inp2:m_Cache>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
</div>
<div class="movable-element">
<!--## SUB-CATEGORIES ##-->
<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
<!--## /SUB-CATEGORIES ##-->
</div>
<inp2:m_Cache key="prefix:l;guest_only">
<div class="movable-element">
<!--## links in category ##-->
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
<inp2:l_InitList list_name="items_in_current_cat" main_list="1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Links"/> (<inp2:l_TotalRecords list_name="items_in_current_cat"/>)
</inp2:m_Capture>
<inp2:m_include template="in-link/elements/links.elm"/>
<inp2:m_include template="in-link/elements/sorting.elm" list_name="items_in_current_cat"/>
<table class="fullwidth item-listing table-border">
<inp2:l_ListLinks list_name="items_in_current_cat" render_as="link_element" direction="H"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="items_in_current_cat"/>
</inp2:m_RenderElement>
<!--## // links in category ##-->
</div>
</inp2:m_Cache>
</div>
<!--## RELATED CATEGORIES ##-->
<!--##
<inp2:m_Cache key="prefix:c">
<div class="movable-element">
<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedCategories"/>
</inp2:m_Capture>
<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
</inp2:m_RenderElement>
</div>
</inp2:m_Cache>
##-->
<!--## // RELATED CATEGORIES ##-->
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-bulletin/topics/topic_detail.tpl
===================================================================
--- branches/1.2.x/in-bulletin/topics/topic_detail.tpl (revision 15387)
+++ branches/1.2.x/in-bulletin/topics/topic_detail.tpl (revision 15388)
@@ -1,148 +1,149 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,TOPIC.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Topics - Details Design</NAME>
<DESC>General design template for Topic Details</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:bb_Field name="TopicText"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box" item_actions="1"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_TopicPosts" templates="__default__,in-bulletin/topics/topic_detail" show_category="1"/>
</div>
<div class="movable-element">
<!-- posts in topic -->
<inp2:m_RenderElement design="content_box">
<inp2:bb-post_InitList list_name="posts_in_topic"/>
<inp2:m_Capture to_var="header">
<inp2:m_if check="bb_IsLocked">
[<inp2:m_phrase name="lu_LockedTopic"/>]&nbsp;
</inp2:m_if>
<inp2:bb_Field name="TopicText"/> - <inp2:m_phrase name="lu_title_TopicPosts"/> (<inp2:bb-post_TotalRecords list_name="posts_in_topic"/>)
</inp2:m_Capture>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.VIEW">
<inp2:m_include template="in-bulletin/elements/categories.elm"/>
<inp2:m_include template="in-bulletin/elements/topics.elm"/>
<inp2:m_include template="in-bulletin/elements/posts.elm"/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
<table class="fullwidth">
<tr>
<td align="left">
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.ADD">
<inp2:m_RenderElement design="big_button" title="lu_btn_Reply" icon="btn_reply">
<inp2:bb_TopicLink template="in-bulletin/topics/new_topic_reply"/>
</inp2:m_RenderElement>
</inp2:m_if>
</td>
<td align="right">
<table>
<tr>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
<td>
<inp2:m_RenderElement design="big_button" title="lu_btn_Modify" icon="btn_modify">
<inp2:bb_TopicLink template="in-bulletin/topics/modify_topic"/>
</inp2:m_RenderElement>
</td>
</inp2:m_if>
<td>
<inp2:m_if check="bb_IsFavorite">
<inp2:m_RenderElement design="big_button" title="lu_btn_RemoveFromFavorites" icon="btn_remove_favorites">
<inp2:bb_FavoriteToggleLink/>
</inp2:m_RenderElement>
<inp2:m_else/>
<inp2:m_RenderElement design="big_button" title="lu_btn_AddToFavorites" icon="btn_add_favorites">
<inp2:bb_FavoriteToggleLink/>
</inp2:m_RenderElement>
</inp2:m_if>
</td>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.LOCK">
<td>
<inp2:m_if check="bb_IsLocked">
<inp2:m_RenderElement design="big_button" title="lu_btn_UnlockTopic" icon="btn_no_icon">
<inp2:bb_LockToggleLink/>
</inp2:m_RenderElement>
<inp2:m_else/>
<inp2:m_RenderElement design="big_button" title="lu_btn_LockTopic" icon="btn_no_icon">
<inp2:bb_LockToggleLink/>
</inp2:m_RenderElement>
</inp2:m_if>
</td>
</inp2:m_if>
</tr>
</table>
</td>
</tr>
</table>
<br />
<table width="100%">
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
<tr class="forums-header">
<td style="width: 200px;">
<inp2:m_phrase name="lu_col_Author"/>
</td>
<td>
<inp2:m_phrase name="lu_col_Message"/>
</td>
</tr>
<inp2:bb-post_ListPosts list_name="posts_in_topic" render_as="post_element" no_table="1"/>
</table>
<br />
<inp2:m_include template="platform/elements/pagination.elm" prefix="bb-post" list_name="posts_in_topic"/>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoTopicReplyViewPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
<!-- // posts in topic -->
</div>
<div class="movable-element">
<!--## RELATED TO POST ITEMS ##-->
<inp2:m_RenderElement design="content_box" related_to="Topic" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" />
</inp2:m_RenderElement>
<!--## // RELATED TO POST ITEMS ##-->
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-bulletin/designs/section.tpl
===================================================================
--- branches/1.2.x/in-bulletin/designs/section.tpl (revision 15387)
+++ branches/1.2.x/in-bulletin/designs/section.tpl (revision 15388)
@@ -1,110 +1,111 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,TOPIC.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Topics - Section Template</NAME>
<DESC>Topics</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_include template="platform/elements/title_bar.elm"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/polls.elm" design="blue_box" data_exists="1"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
</div>
<div class="movable-element">
<!-- categories -->
<inp2:m_RenderElement design="content_box" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Categories"/> (<inp2:c_TotalRecords />)
</inp2:m_Capture>
<inp2:m_include template="in-bulletin/elements/categories.elm"/>
<table>
<tr>
<td class="category-statistics">
<inp2:bb-post_ItemCount/> <inp2:m_Phrase name="lu_posts"/> <inp2:m_Phrase name="lu_in"/> <inp2:bb_ItemCount/> <inp2:m_Phrase name="lu_topics"/> &nbsp;|&nbsp; <inp2:m_Phrase name="lu_AddedToday"/>: <inp2:bb_ItemCount today="1"/> <inp2:m_Phrase name="lu_topics"/>, <inp2:bb-post_ItemCount today="1"/> <inp2:m_Phrase name="lu_posts"/>
</td>
</tr>
</table>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
<table class="forums-icon-description">
<tr>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_new_post.gif" width="20" height="23" alt="" /><br />
</td>
<td>
<inp2:m_Phrase name="lu_new_posts" />
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_no_new_post.gif" width="21" height="24" alt="" /><br />
</td>
<td>
<inp2:m_Phrase name="lu_no_new_posts" />
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_locked.gif" width="25" height="23" alt="" /><br />
</td>
<td>
<inp2:m_Phrase name="lu_forum_locked_for_posting" />
</td>
</tr>
</table>
<table class="fullwidth">
<tr>
<td colspan="4">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
<tr class="forums-header">
<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Forums"/></td>
<td width="90"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
<td width="80"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Posts"/></td>
<td width="130"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_LastUpdate"/></td>
</tr>
<inp2:c_ListCategories render_as="category_element" columns="1"/>
</table>
<br />
<inp2:m_include template="platform/elements/pagination.elm" prefix="c"/>
</inp2:m_RenderElement>
<!-- // categories -->
</div>
<div class="movable-element">
<inp2:m_if check="c_TotalRecords" inverse="inverse">
<inp2:m_include template="in-bulletin/elements/content_boxes/category_topics.elm"/>
</inp2:m_if>
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-commerce/products/product_detail.tpl
===================================================================
--- branches/1.2.x/in-commerce/products/product_detail.tpl (revision 15387)
+++ branches/1.2.x/in-commerce/products/product_detail.tpl (revision 15388)
@@ -1,307 +1,308 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,PRODUCT.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Products - Details Design</NAME>
<DESC>General design template for Product Details section</DESC>
<SECTION>Platform||Products</SECTION>
##-->
<inp2:p_AddToRecent /> <!--## ADD CURRENT PRODUCT TO RECENTLY VIEWED PRODUCTS ##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:p_Field name="Name"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" data_exists="1" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
</div>
<div class="movable-element">
<!-- Product Details -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ProductDetails"/>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr>
<td class="item-padding">
<!--##
<inp2:m_RenderElement name="prev_next_element" prefix="p" id_field="ProductId" title_field="Name" special="product-navigation" item_name="Product" main_list="1"/>
<br/>
##-->
<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/> <span class="text-title"><inp2:p_Field name="Name"/></span>
<inp2:m_if check="p_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="p_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="p_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="p_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>
<inp2:m_if check="p_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:p_VotesIndicator render_as="rating_element"/>
<br />
<br />
<table>
<tr>
<td style="text-align: center; padding-right: 10px;" valign="top">
<!--## Check if image exists ##-->
<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:p_ImageSrc DefaultImage="platform/img/no_picture.gif" format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:p_Field name='PrimaryImageAlt' html_escape='1'/>">
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
</a>
<!--## Check if image exists ##-->
<inp2:m_else/>
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
</inp2:m_if>
<br />
<inp2:m_if check="p_HasAdditionalImages">
<a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_btn_MoreImages"/></a>
<br /><br />
</inp2:m_if>
<span class="product-price-large"><inp2:p_Field name="Price" currency="selected"/></span><br /><br />
<inp2:m_if check="p_Available">
<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
<input class="button" onclick=" window.location.href='<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" />
</inp2:m_if>
<inp2:m_else />
<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
</inp2:m_if>
</td>
<td valign="top">
<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
<strong><inp2:m_phrase label="lu_Hits"/>:</strong> <inp2:p_field field="Hits"/><br />
<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_field field="CachedReviewsQty"/>
<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a><br />
<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:m_phrase label="lu_Votes"/>: <inp2:p_field field="CachedVotesQty"/>)
<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_RateThisProduct"/></a><br />
<br />
<inp2:m_if check="p_Field" name="SKU">
<strong><inp2:m_Phrase label="lu_fld_SKU"/>:</strong> <inp2:p_field name="SKU"/><br />
</inp2:m_if>
<inp2:m_if check="p_Field" name="ManufacturerId">
<strong><inp2:m_Phrase label="lu_fld_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
</inp2:m_if>
<inp2:m_if check="p_Field" name="MSRP">
<strong><inp2:m_Phrase label="lu_fld_MSRP"/>:</strong> <span class="product-price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
</inp2:m_if>
<strong><inp2:m_Phrase label="lu_fld_OurPrice"/>: <span class="product-price"><inp2:p_Field name="Price" currency="selected"/></span></strong> <br />
<inp2:m_if check="p_Savings">
<strong><inp2:m_Phrase label="lu_fld_YouSave"/>: <span class="product-price"><inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)</span></strong><br/>
</inp2:m_if>
<br />
<inp2:m_if check="p_CustomField" name="Availability">
<strong><inp2:p_CustomFieldLabel field="Availability"/>:</strong>
<inp2:p_CustomField name="Availability"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="p_HasQuantityPricing">
<inp2:m_if check="p_IsTangible">
<table>
<tr>
<td colspan="2" class="block-header">
<inp2:m_Phrase label="lu_comm_QuantityPricing"/>
</td>
</tr>
<tr class="cart-header">
<td>
<inp2:m_Phrase label="lu_comm_Quantity"/>
</td>
<td>
<inp2:m_Phrase label="lu_comm_Price"/>
</td>
</tr>
<inp2:m_DefineElement name="price_bracket">
<tr class="cart-item-small">
<td>
<inp2:Field name="MinQty"/> - <inp2:Field name="MaxQty"/>
</td>
<td>
<inp2:m_if check="Field" name="Negotiated">
<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>
<inp2:m_else/>
<inp2:Field name="Price" currency="selected"/>
</inp2:m_if>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:p_ListPriceBrackets render_as="price_bracket"/>
</table>
<br />
</inp2:m_if>
<inp2:m_if check="p_IsSubscription">
<table>
<tr>
<td colspan="3" class="block-header">
<inp2:m_Phrase label="lu_comm_Pricing"/>
</td>
</tr>
<tr class="cart-header">
<td>
<inp2:m_Phrase label="lu_comm_AccessDuration"/>
</td>
<td>
<inp2:m_Phrase label="lu_comm_Price"/>
</td>
<td>&nbsp;
</td>
</tr>
<inp2:m_DefineElement name="access_price_bracket">
<tr class="cart-item-small">
<td>
<inp2:Field name="AccessDuration"/> <inp2:Field name="AccessUnit"/>
<br />
<small><inp2:Field name="Description"/></small>
</td>
<td>
<inp2:Field name="Price" currency="selected"/>
</td>
<td>
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" /></a>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:p_ListPriceBrackets render_as="access_price_bracket"/>
</table>
<br />
</inp2:m_if>
</inp2:m_if>
<inp2:m_include template="in-commerce/elements/form_options.elm"/>
<inp2:m_if check="p_Field" name="Description">
<strong><inp2:m_Phrase label="lu_fld_Description"/>:</strong> <inp2:p_Field name="Description"/> <br />
</inp2:m_if>
<br />
<inp2:m_if check="p_CustomField" name="Features">
<strong><inp2:p_CustomFieldLabel field="Features"/>:</strong>
<inp2:p_CustomField name="Features"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="p_IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:p_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:p_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
</inp2:m_if>
</td>
</tr>
</table>
<br />
<inp2:m_if check="p_HasAdditionalImages">
<!--## ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_DefineElement name="additional_image_element">
<td>
<a href="<inp2:ImageSrc format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:m_param name="alt"/>">
<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
</a>
</td>
<inp2:m_if check="m_Param" name="not_last">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<!--## /ADDITIONAL IMAGE ELEMENT ##-->
<a name="images"></a>
<inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
<table>
<tr>
<inp2:p_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/>
</tr>
</table>
</inp2:m_if>
</td>
</tr>
</table>
</inp2:m_RenderElement>
<!-- // Product Details -->
</div>
<div class="movable-element">
<!-- Product Reviews -->
<inp2:m_DefineElement name="no_reviews">
<inp2:m_phrase name="lu_NoReviews"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:p-rev_TotalRecords/>)
</inp2:m_Capture>
<table>
<inp2:p-rev_PrintList render_as="review_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="p-rev"/>
</inp2:m_RenderElement>
<!-- // Product Reviews -->
</div>
<div class="movable-element">
<a name="related"></a>
<inp2:m_include template="in-commerce/elements/content_boxes/related_products.elm"/>
<!--## RELATED TO PRODUCT ITEMS ##-->
<inp2:m_RenderElement design="content_box" related_to="Product" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" skip_prefixes="p" />
</inp2:m_RenderElement>
<!--## // RELATED TO PRODUCT ITEMS ##-->
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.2.x/in-commerce/designs/section.tpl
===================================================================
--- branches/1.2.x/in-commerce/designs/section.tpl (revision 15387)
+++ branches/1.2.x/in-commerce/designs/section.tpl (revision 15388)
@@ -1,116 +1,117 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,PRODUCT.VIEW" login_template="platform/login/register"/>
<!--##
<NAME>Products - Section Template</NAME>
<DESC>Products</DESC>
<SECTION>Platform||Products</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_include template="platform/elements/title_bar.elm"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<inp2:m_Cache>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/credit_cards.elm" design="blue_box"/>
</div>
</inp2:m_Cache>
<inp2:m_Cache key="prefix:p;currency;guest_only">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/pick_products.elm" design="blue_box" data_exists="1"/>
</div>
</inp2:m_Cache>
</div>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
</div>
<!--## IF IN-COMMERCE HOME PAGE ##-->
<inp2:m_if check="p_IsModuleHome">
<inp2:m_Cache key="prefix:p;currency;guest_only">
<div class="movable-element">
<inp2:m_include template="in-commerce/elements/content_boxes/featured_products.elm"/>
</div>
<div class="movable-element">
<inp2:m_include template="in-commerce/elements/content_boxes/new_products.elm"/>
</div>
<div class="movable-element">
<inp2:m_include template="in-commerce/elements/content_boxes/pick_products.elm"/>
</div>
</inp2:m_Cache>
<inp2:m_else/>
<!--## /IF IN-COMMERCE HOME PAGE ##-->
<div class="movable-element">
<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
</div>
<inp2:m_Cache key="prefix:p;currency;guest_only">
<div class="movable-element">
<!-- Category Products List -->
<inp2:m_RenderElement design="content_box" block_no_data="no_products">
<inp2:p_InitList list_name="products_in_category" main_list="1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Products"/> (<inp2:p_TotalRecords list_name="products_in_category"/>)
</inp2:m_Capture>
<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="products_in_category"/>
<inp2:m_include template="in-commerce/elements/products.elm"/>
<table class="fullwidth table-border">
<inp2:p_ListProducts list_name="products_in_category" render_as="product_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="products_in_category"/>
</inp2:m_RenderElement>
<!-- // Category Products List -->
</div>
</inp2:m_Cache>
<!--## RELATED CATEGORIES ##-->
<!--##
<inp2:m_Cache key="prefix:c">
<div class="movable-element">
<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedCategories"/>
</inp2:m_Capture>
<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
</inp2:m_RenderElement>
</div>
</inp2:m_Cache>
##-->
<!--## // RELATED CATEGORIES ##-->
</inp2:m_if>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file

Event Timeline