Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F776720
menu.elm.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 7, 7:20 PM
Size
4 KB
Mime Type
text/html
Expires
Sun, Feb 9, 7:20 PM (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
559096
Attached To
rTADV Themes.Advanced
menu.elm.tpl
View Options
<
table
class
=
"menu-background fullwidth"
>
<
tr
>
<
td
align
=
"left"
>
<
table
style
=
"width: auto;"
>
<
tr
>
<
td
>
<
script
type
=
"text/javascript"
src
=
"<inp2:m_Compress files='
platform/inc/nlsmenu.js|
platform/inc/nlsmenueffect.js|
platform/inc/nlsmenuext_dyn.js|
platform/inc/nlsmenuext_xml.js
'/>"
></
script
>
<
link
rel
=
"StyleSheet"
href
=
"<inp2:m_Compress files='platform/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_Phrase
name
=
"lu_rootcategory_name"
/>
]]
><
/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"
/>
$
(
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_Link
template
=
"
$
template"
m_cat_id
=
"
$
cat_id"
m_cat_page
=
"1"
use_section
=
"
$
use_section"
result_to_var
=
"link"
/>
<
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_Phrase
name
=
"lu_rootcategory_name"
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
>
Event Timeline
Log In to Comment