Page MenuHomeIn-Portal Phabricator

advanced
No OneTemporary

File Metadata

Created
Wed, Feb 12, 9:10 AM

advanced

Index: platform/designs/default_design.des.tpl
===================================================================
--- platform/designs/default_design.des.tpl (revision 12297)
+++ platform/designs/default_design.des.tpl (revision 12298)
@@ -1,123 +1,123 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<inp2:m_CheckSSL/>
<inp2:m_include template="platform/elements/side_boxes.elm" strip_nl="1"/>
<inp2:m_include template="platform/elements/content_boxes.elm" strip_nl="1"/>
<inp2:m_include template="platform/elements/forms.elm" strip_nl="1"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<inp2:m_DefineElement name="cms_page_title">
<inp2:st_PageInfo type="htmlhead_title"/>
</inp2:m_DefineElement>
<title><inp2:m_GetConfig name="Site_Name"/> :: <inp2:m_RenderElement name="page_title" default_element="cms_page_title" no_editing="1"/></title>
<!--## Include module specific HEADER (META INFORMATION inside) template ##-->
<inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="platform/elements/html_head.elm"/>
<inp2:st_EditingScripts/>
<!--## /Include module specific HEADER template ##-->
</head>
<body>
<inp2:st_EditPage mode="start"/>
<div align="left">
<div align="left" style="width:100%">
<table class="fullwidth">
<tr>
<td>
<inp2:m_include template="platform/elements/header.elm"/>
</td>
</tr>
<tr>
<td>
<inp2:m_include template="platform/elements/menu.elm"/>
</td>
</tr>
</table>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt=""/><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt=""/><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt=""/><br />
<table class="fullwidth">
<tr>
<!-- SIDEBAR -->
<td style="width: 200px;" valign="top">
<inp2:m_DefineElement name="cms_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>
</inp2:m_DefineElement>
- <inp2:m_RenderElement name="sidebar" default_element="cms_sidebar" layout_view="1"/>
+ <inp2:m_RenderElement name="sidebar" default_element="cms_sidebar"/>
</td>
<!-- /SIDEBAR -->
<!-- SEPARATOR -->
<td width="3" class="vertical-separator" style="width: 3px;">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
<!-- /SEPARATOR -->
<!-- CONTENT -->
<td style="width: auto;" valign="top">
<inp2:m_DefineElement name="cms_content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:st_PageInfo type="title"/>
</inp2:m_Capture>
<inp2:st_ContentBlock num="1"/>
</inp2:m_RenderElement>
</div>
</div>
</inp2:m_DefineElement>
- <inp2:m_RenderElement name="content" default_element="cms_content" layout_view="1"/>
+ <inp2:m_RenderElement name="content" default_element="cms_content"/>
<br />
</td>
<!-- /CONTENT -->
<!--## REMOVE THIS LINE TO UNCOMMENT
<!-- SEPARATOR -->
<td width="3" class="vertical-separator">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
</td>
<!-- /SEPARATOR -->
<!-- RIGHT-SIDEBAR WITH BANNER -->
<td style="width: 200px;" valign="top">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/banners/banner_right.elm"/>
</div>
</div>
</td>
<!-- /RIGHT-SIDEBAR WITH BANNER -->
REMOVE THIS LINE TO UNCOMMENT ##-->
</tr>
</table>
<table class="fullwidth">
<tr>
<td >
<inp2:m_include template="platform/elements/footer.elm"/>
</td>
</tr>
</table>
</div>
</div>
<inp2:st_EditPage mode="end"/>
</body>
</html>
\ No newline at end of file
Index: platform/elements/side_boxes/search.elm.tpl
===================================================================
--- platform/elements/side_boxes/search.elm.tpl (revision 12297)
+++ platform/elements/side_boxes/search.elm.tpl (revision 12298)
@@ -1,51 +1,51 @@
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_SearchBox"/>
</inp2:m_Capture>
<form method="post" action="<inp2:m_Link template="platform/search/search_results" pass_category="1"/>">
<inp2:m_GetFormHiddens template="platform/search/search_results"/>
<table>
<tr>
<td colspan="2">
<input type="text" name="keywords" id="keywords" style="width: 155px;" class="input-text" value="" />
</td>
</tr>
<!--## Show only when not on home ##-->
<inp2:m_if check="m_GetEquals" var="m_cat_id" value="0" inverse="1">
<tr>
<td>
<input type="radio" name="search_scope" id="search_scope_any" value="any" checked />
</td>
<td>
<label for="search_scope_any"><inp2:m_Phrase name="lu_AllWebsite"/></label>
</td>
</tr>
<tr>
<td>
<input type="radio" name="search_scope" id="search_scope_category" value="category"/>
</td>
<td>
<label for="search_scope_category"><inp2:m_Phrase name="lu_ThisCategory"/></label>
</td>
</tr>
</inp2:m_if>
<!--## // Show only when not on home ##-->
</table>
<br />
- <input class="button" type="submit" value="<inp2:m_Phrase label="lu_btn_FindIt"/>!" />
+ <input class="button" type="submit" value="<inp2:m_Phrase label='lu_btn_FindIt' no_editing='1'/>!" />
<!--##
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
<table>
<tr>
<td width="10">
<input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go"/>!" />
</td>
<td align="left">
<a href="<inp2:m_Link template="platform/search/advanced_search" />" class="more-link"><inp2:m_Phrase label="lu_btn_AdvancedSearch"/></a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
</td>
</tr>
</table>
##-->
</form>
\ No newline at end of file
Index: platform/elements/side_boxes/login.elm.tpl
===================================================================
--- platform/elements/side_boxes/login.elm.tpl (revision 12297)
+++ platform/elements/side_boxes/login.elm.tpl (revision 12298)
@@ -1,125 +1,125 @@
<!-- LOGIN BOX TITLE -->
<inp2:m_Capture to_var="header">
<table class="fullwidth">
<tr>
<td class="side-box-title" align="left">
<inp2:m_phrase name="lu_title_LoginBox"/>
</td>
<td align="right" class="login-status">
<!-- IF LOGGED IN SHOW NAME -->
<inp2:m_if check="m_LoggedIn">
<a href="<inp2:m_Link template="platform/my_account/my_profile" m_cat_id="0" m_cat_page="1"/>"><inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/></a><br />
<!-- /IF LOGGED IN SHOW NAME -->
<inp2:m_else/>
<table>
<tr>
<td width="11">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/not_logged.gif" alt="" width="11" height="11" border="0" /><br />
</td>
<td class="login-status">
&nbsp;<inp2:m_Phrase label="lu_NotLoggedIn"/>
</td>
</tr>
</table>
</inp2:m_if>
</td>
</tr>
</table>
</inp2:m_Capture>
<!-- /LOGIN BOX TITLE -->
<!-- IF LOGGED! -->
<inp2:m_if check="m_LoggedIn">
<table width="100%" style="border-width: 0px;">
<tr>
<td colspan="2"><strong><inp2:m_phrase name="lu_section_MyAccount"/></strong></td>
</tr>
<!-- SHOW MY PROFILE -->
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_profile" title="lu_MyProfile"/>
<!-- /SHOW MY PROFILE -->
<!-- SHOW MY FAVORITES -->
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_favorites" title="lu_MyFavorites"/>
<!-- /SHOW MY FAVORITES -->
<!-- SHOW MY PREFERENCES -->
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_preferences" title="lu_MyPreferences"/>
<!-- /SHOW MY PREFERENCES -->
<!-- INCLUDE "themes/default2007/[MODULE_NAME]/my_account/my_items.elm.tpl" FOR EACH INSTALLED MODULE -->
<inp2:m_ModuleInclude template="my_account/my_items.elm" place="sidebox" section="1"/>
<!-- /INCLUDE "themes/[MODULE_NAME]/my_account/my_items.elm.tpl" FOR EACH INSTALLED MODULE -->
<tr>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
</td>
<td>
<a href="<inp2:u_LogoutLink template="index" />"><inp2:m_Phrase label="lu_logout"/></a>
</td>
</tr>
<tr>
<td colspan="2">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="7" border="0" /><br />
</td>
</tr>
<tr>
<td colspan="2">
<strong><inp2:m_phrase name="lu_section_MyItems"/></strong>
</td>
</tr>
<inp2:m_ModuleInclude template="my_account/my_items.elm" place="sidebox" section="2"/>
</table>
<!-- /IF LOGGED -->
<inp2:m_else/>
<!-- IF NOT LOGGED IN! -->
<form method="post" action="<inp2:m_FormAction />">
<inp2:m_if check="u_UseUsernames">
<inp2:m_phrase label="lu_username"/><br />
<input class="input-text" type="text" name="login" style="width:155px" /><br />
<inp2:m_else/>
<inp2:m_phrase label="lu_email"/><br />
<input class="input-text" type="text" name="email" style="width:155px" /><br />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
<inp2:m_Phrase label="lu_Password"/><br />
<input type="password" class="input-text" name="password" style="width:155px" /><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
<table>
<tr>
<td width="10">
- <input class="button" name="events[u][OnLogin]" type="submit" value="<inp2:m_Phrase label="lu_Login"/>" /><br />
+ <input class="button" name="events[u][OnLogin]" type="submit" value="<inp2:m_Phrase label='lu_Login' no_editing='1'/>" /><br />
</td>
<td align="left">
<input type="checkbox" name="cb_remember_login" value="1"/> <span class="remember-login"><inp2:m_Phrase label="lu_remember_login"/></span>
</td>
</tr>
</table>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="5" height="5" border="0" /><br />
<inp2:m_if check="u_HasError" field="any">
<span class="field-error"><inp2:u_Error field="ValidateLogin"/></span><br />
</inp2:m_if>
<inp2:m_if check="u_RegistrationEnabled">
<a href="<inp2:m_Link template="platform/login/register" m_cat_id="0" m_cat_page="1"/>" class="more-link" ><inp2:m_Phrase label="lu_Register"/></a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
</inp2:m_if>
<a href="<inp2:m_Link template="platform/login/forgot_password" m_cat_id="0" m_cat_page="1"/>" class="more-link" ><inp2:m_Phrase label="lu_ForgotPassword"/>?</a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" />
<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
<input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" />
</form>
</inp2:m_if>
<!-- /IF NOT LOGGED IN -->
Index: platform/elements/side_boxes/mailing_list.elm.tpl
===================================================================
--- platform/elements/side_boxes/mailing_list.elm.tpl (revision 12297)
+++ platform/elements/side_boxes/mailing_list.elm.tpl (revision 12298)
@@ -1,21 +1,21 @@
-<inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_MailingList"/>
-</inp2:m_Capture>
-
-<inp2:m_Phrase label="lu_EnterEmailToSubscribe"/><br />
-<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
-
-<form method="POST" action="<inp2:m_FormAction />" name="mailing_list_form">
- <input type="text" name="subscriber_email" class="input-text" style="width: 155px;"/><br />
- <inp2:m_if check="u_HasError" field="any">
- <span class="field-error"><inp2:u_Error field="SubscribeEmail"/></span><br />
- </inp2:m_if>
-
- <br />
- <input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label="lu_btn_Subscribe"/>" />
- <input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label="lu_btn_Unsubscribe" />" />
- &nbsp;
- <input type="text" style="display: none" />
- <input type="hidden" name="subscribe_template" value="platform/mailing_list/subscribe"/>
- <input type="hidden" name="unsubscribe_template" value="platform/mailing_list/unsubscribe"/>
-</form>
+<inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_MailingList"/>
+</inp2:m_Capture>
+
+<inp2:m_Phrase label="lu_EnterEmailToSubscribe"/><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
+
+<form method="POST" action="<inp2:m_FormAction />" name="mailing_list_form">
+ <input type="text" name="subscriber_email" class="input-text" style="width: 155px;"/><br />
+ <inp2:m_if check="u_HasError" field="any">
+ <span class="field-error"><inp2:u_Error field="SubscribeEmail"/></span><br />
+ </inp2:m_if>
+
+ <br />
+ <input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label='lu_btn_Subscribe' no_editing='1'/>" />
+ <input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label='lu_btn_Unsubscribe' no_editing='1'/>" />
+ &nbsp;
+ <input type="text" style="display: none" />
+ <input type="hidden" name="subscribe_template" value="platform/mailing_list/subscribe"/>
+ <input type="hidden" name="unsubscribe_template" value="platform/mailing_list/unsubscribe"/>
+</form>
Index: platform/elements/side_boxes/recommend_site.elm.tpl
===================================================================
--- platform/elements/side_boxes/recommend_site.elm.tpl (revision 12297)
+++ platform/elements/side_boxes/recommend_site.elm.tpl (revision 12298)
@@ -1,16 +1,16 @@
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_RecommendSite"/>
</inp2:m_Capture>
<inp2:m_Phrase label="lu_EnterEmailToRecommend"/><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
<form method="POST" action="<inp2:m_FormAction />">
<input type="text" class="input-text" name="friend_email" value="" style="width: 155px;" /><br />
<inp2:m_if check="u_HasError" field="any">
<span class="field-error"><inp2:u_Error field="Email"/></span><br />
</inp2:m_if>
<br />
- <input class="button" name="events[u][OnRecommend]" type="submit" value="<inp2:m_Phrase label="lu_btn_Recommend"/>" />
+ <input class="button" name="events[u][OnRecommend]" type="submit" value="<inp2:m_Phrase label='lu_btn_Recommend' no_editing='1'/>" />
<input type="hidden" name="template_success" value="platform/recommend/recommend" />
</form>
\ No newline at end of file
Index: platform/elements/html_head.elm.tpl
===================================================================
--- platform/elements/html_head.elm.tpl (revision 12297)
+++ platform/elements/html_head.elm.tpl (revision 12298)
@@ -1,31 +1,31 @@
<!--## Meta Info (Keywords and Description) ##-->
<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
<meta name="Description" content="<inp2:st_PageInfo type="meta_description"/>" />
<meta name="Keywords" content="<inp2:st_PageInfo type="meta_keywords"/>" />
<!--## /Meta Keywords and Description ##-->
<inp2:theme.current_StylesheetFile/>
<link rel="stylesheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/thickbox/thickbox.css" type="text/css" media="screen" />
<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/styles.css" type="text/css" />
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/script.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/ajax.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/calendar.js"></script>
<script type="text/javascript">var inportalBase = '<inp2:m_TemplatesBase module="In-Portal"/>';</script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/jquery.pack.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/thickbox/thickbox.js"></script>
<script type="text/javascript">
var aRatingManager = new RatingManager('<inp2:m_Link template="index" events[#PREFIX#]="OnMakeVote" rating="#VOTE#" id="#ID#" no_amp="1" size="#SIZE#"/>');
<inp2:m_DefineElement name="ml_selector_language_element">
<inp2:Field name="LanguageId"/>: {'on': '<inp2:Field name="IconURL" js_ecape="1"/>', 'off': '<inp2:Field name="IconDisabledURL" js_ecape="1"/>'}
<inp2:m_ifnot check="m_Param" name="is_last">,</inp2:m_ifnot>
</inp2:m_DefineElement>
- var aMultiLanguageSelector = new MultiLanguageSelector({<inp2:lang.enabled_PrintList render_as="ml_selector_language_element" per_page="-1" strip_nl="2"/>}, <inp2:m_Get name="m_lang"/>);
+ var aMultiLanguageSelector = new MultiLanguageSelector({<inp2:lang.enabled_PrintList render_as="ml_selector_language_element" per_page="-1" no_editing="1" strip_nl="2"/>}, <inp2:m_Get name="m_lang"/>);
</script>
Index: platform/elements/menu.elm.tpl
===================================================================
--- platform/elements/menu.elm.tpl (revision 12297)
+++ platform/elements/menu.elm.tpl (revision 12298)
@@ -1,104 +1,109 @@
<table class="menu-background fullwidth">
<tr>
<td align="left">
<table style="width: auto;">
<tr>
<td>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenu.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenueffect.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_dyn.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_xml.js"></script>
<link rel="StyleSheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/dmenu.css" type="text/css" />
<div id="xmlMenuDiv"></div>
<script type="text/javascript">
<inp2:m_DefineElement name="menu_xml" no_editing="1">
<menumgr id="mgr" flowoverformelement="false" defaulteffect="aoslide" icpath="">
<!--## USE droponclick="false" TO OPEN MENU ONMOUSE-OVER ##-->
<menubar id="menubar" orient="H" showicon="true" showsubicon="false" stlprf="horz_" droponclick="true" >
<items>
<item id="sub-elem0" url="<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1"/>" ico="['<inp2:m_TemplatesBase module="In-portal"/>img/menu_home.gif']" enb="true" title=""><![CDATA[<inp2:m_RootCategoryName/>]]></item>
<inp2:m_Include template="platform/elements/menu_sections.xml" />
</items>
</menubar>
</menumgr>
</inp2:m_DefineElement>
<inp2:m_get name="m_cat_id" result_to_var="current_category"/>
- addLoadEvent(
+ $(document).ready(
function() {
var menu_mgr = NlsMenuUtil.createFromXMLString('<inp2:m_RenderElement name="menu_xml" js_escape="1"/>');
// menu_mgr.renderMenus();
menu_mgr.renderMenubar('xmlMenuDiv');
+
+ <inp2:m_if check="m_GetConst" name="EDITING_MODE" equals_to="2">
+ // make all spans with phrases clickable inside menus, that were just created
+ aTemplateManager.setupEditTranslationButtons('#xmlMenuDiv');
+ </inp2:m_if>
}
);
</script>
<noscript>
<inp2:m_DefineElement name="static_top_menu_element">
<inp2:m_if check="m_Param" name="external_url">
<inp2:m_Param name="external_url" result_to_var="link"/>
<inp2:m_else/>
<inp2:m_Link template="$template" m_cat_id="$cat_id" m_cat_page="1" result_to_var="link"/>
</inp2:m_if>
<inp2:m_if check="m_Param" name="menu_icon">
<inp2:m_TemplatesBase result_to_var="module_path"/>
<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}{$menu_icon}"/>
<inp2:m_else/>
<inp2:m_TemplatesBase module="In-Portal" result_to_var="module_path"/>
<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}img/menu_inedit.gif"/>
</inp2:m_if>
</inp2:m_DefineElement>
<table>
<tr>
<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1" result_to_var="link"/>
<inp2:m_RootCategoryName result_to_var="title"/>
<inp2:m_TemplatesBase module="In-portal" result_to_var="module_path"/>
<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}img/menu_home.gif"/>
<inp2:st_CachedMenu level="0" category_id="0" render_as="static_top_menu_element"/>
</tr>
</table>
</noscript>
<inp2:m_Set m_cat_id="$current_category"/>
<inp2:c_Field requery="1" name="Name" result_to_var="category_name"/>
</td>
</tr>
</table>
</td>
<td align="right">
<table style="width: auto;">
<tr>
<!-- menu: My Account -->
<inp2:m_RenderElement design="menu_element">
<inp2:m_Capture to_var="menu_href">
<inp2:m_Link template="platform/my_account/my_account" m_cat_id="0" m_cat_page="1"/>
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_icon">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_my_account.gif" alt="" /><br />
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_title">
<inp2:m_Phrase name="lu_title_MyAccount"/>
</inp2:m_Capture>
<inp2:m_IsActive template=".*/my_account" result_to_var="current"/>
</inp2:m_RenderElement>
<!-- // menu: My Account -->
<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
<!-- menu: ShoppingCart -->
<inp2:m_Include t="in-commerce/elements/menu_element.elm"/>
<!-- // menu: ShoppingCart -->
</inp2:m_if>
</tr>
</table>
</td>
</tr>
</table>
\ No newline at end of file
Index: index.tpl
===================================================================
--- index.tpl (revision 12297)
+++ index.tpl (revision 12298)
@@ -1,58 +1,58 @@
-<!--##
-<NAME>Home</NAME>
-<DESC>Welcome page</DESC>
-<SECTION></SECTION>
-##-->
-
-<!--## PAGE TITLE ELEMENT ##-->
-<inp2:m_DefineElement name="page_title">
- <inp2:m_phrase name="lu_title_WelcomeTitle"/>
-</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="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
- </div>
- <div class="movable-element">
- <inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" 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"/>
- </div>
- <div class="movable-element">
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_WelcomeTitle"/>
- </inp2:m_Capture>
-
- <inp2:st_ContentBlock num="1"/>
- </inp2:m_RenderElement>
- </div>
- <div class="movable-element">
- <!--## INCLUDE HOME PAGE ELEMENTS FOR EACH MODULE ##-->
- <inp2:m_ModuleInclude template="elements/content_boxes/home_page_items.elm" data_exists="1"/>
- <!--## /HOME PAGE ELEMENTS ##-->
- </div>
- </div>
-</inp2:m_DefineElement>
-<!--## /MAIN CONTENT ##-->
-
-<!--## DESIGN TEMPLATE ##-->
-<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--##
+<NAME>Home</NAME>
+<DESC>Welcome page</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_WelcomeTitle" no_editing="1"/>
+</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="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" 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"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_WelcomeTitle"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+ </inp2:m_RenderElement>
+ </div>
+ <div class="movable-element">
+ <!--## INCLUDE HOME PAGE ELEMENTS FOR EACH MODULE ##-->
+ <inp2:m_ModuleInclude template="elements/content_boxes/home_page_items.elm" data_exists="1"/>
+ <!--## /HOME PAGE ELEMENTS ##-->
+ </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

Event Timeline