Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F804758
menu.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
Wed, Feb 26, 4:58 PM
Size
5 KB
Mime Type
text/html
Expires
Fri, Feb 28, 4:58 PM (13 h, 2 m)
Engine
blob
Format
Raw Data
Handle
577171
Attached To
rINP In-Portal
menu.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_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
=
"dmenu_element"
>
<
inp2
:
m_ModuleInfo
key
=
"Name"
value
=
"
$
module"
return
=
"RootCat"
result_to_var
=
"root_cat"
/>
<
inp2
:
m_Random
result_to_var
=
"rand"
/>
<
inp2
:
m_Set
m_cat_id
=
"
$
root_cat"
/>
<
inp2
:
conf_ConfigValue
name
=
"CategoriesRebuildSerial"
result_to_var
=
"serial"
/>
<
item
id
=
"sub-elem<inp2:m_Param name="
root_cat
"/>"
url
=
"<inp2:c_CategoryLink template="
__default__
" module="
$
module
" cat_id="
Root
"/>"
ico
=
"['<inp2:m_TemplatesBase module="
$
module
"/>img/<inp2:m_Param name="
icon
"/>']"
enb
=
"true"
title
=
""
subid
=
"sub<inp2:m_Param name="
root_cat
"/>"
suburl
=
"<inp2:m_link __NO_REWRITE__="
1
" template="
platform
/
elements
/
subcats
.
xml
"
m_cat_id="
$
root_cat
"
c_menu_Page="
1
" pass="
m
,
c
.
menu
"
level="
0
" max_level="
4
" serial="
$
serial
"
/>"
><!
[
CDATA
[
<
inp2
:
c_Field
requery
=
"1"
name
=
"Name"
/>
]]
><
/item>
<
/inp2:m_DefineElement>
<
inp2
:
m_DefineElement
name
=
"menu_xml"
>
<
menumgr
id
=
"mgr"
flowoverformelement
=
"false"
defaulteffect
=
"aoslide"
icpath
=
""
>
<
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
"/>"
ico
=
"['<inp2:m_TemplatesBase module="
In
-
portal
"/>img/menu_home.gif']"
enb
=
"true"
title
=
""
><!
[
CDATA
[
<
inp2
:
m_RootCategoryName
/>
]]
><
/item>
<
inp2
:
m_ModuleInclude
template
=
"elements/menu.xml"
/>
<
/items>
<
/menubar>
<
/menumgr>
<
/inp2:m_DefineElement>
<
inp2
:
m_get
name
=
"m_cat_id"
result_to_var
=
"current_category"
/>
window
.
onload
=
function
()
{
var
menu_mgr
=
NlsMenuUtil
.
createFromXMLString
(
'<inp2:m_RenderElement name="menu_xml" js_escape="1"/>'
);
// menu_mgr.renderMenus();
menu_mgr
.
renderMenubar
(
'xmlMenuDiv'
);
};
</
script
>
<
noscript
>
<
inp2:m_DefineElement
name
=
"static_menu_element"
>
<
inp2:m_ModuleInfo
key
=
"Name"
value
=
"
$
module"
return
=
"RootCat"
result_to_var
=
"root_cat"
/>
<
inp2:m_Random
result_to_var
=
"rand"
/>
<
inp2:m_Set
m_cat_id
=
"
$
root_cat"
/>
<
inp2:c_CategoryLink
template
=
"__default__"
module
=
"
$
module"
cat_id
=
"Root"
result_to_var
=
"link"
/>
<
inp2:m_TemplatesBase
module
=
"
$
module"
result_to_var
=
"module_path"
/>
<
inp2:c_Field
requery
=
"1"
name
=
"Name"
result_to_var
=
"title"
/>
<
inp2:m_RenderElement
name
=
"menu_element"
menu_href
=
"
$
link"
menu_title
=
"
$
title"
menu_icon_src
=
"{
$
module_path}img/{
$
icon}"
/>
</
inp2:m_DefineElement
>
<
table
>
<
tr
>
<
inp2:m_Link
template
=
"index"
m_cat_id
=
"0"
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:m_ModuleInclude
template
=
"elements/static_menu"
/>
</
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"
/>
</
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_RenderElement
design
=
"menu_element"
>
<
inp2:m_Capture
to_var
=
"menu_href"
>
<
inp2:m_Link
template
=
"in-commerce/checkout/shop_cart"
m_cat_id
=
"0"
/>
</
inp2:m_Capture
>
<
inp2:m_Capture
to_var
=
"menu_icon"
>
<
img
src
=
"<inp2:m_TemplatesBase module="
In-Commerce
"
/>
img/menu_shopping_cart.gif" alt="" />
</
inp2:m_Capture
>
<
inp2:m_Capture
to_var
=
"menu_title"
>
<
inp2:m_Phrase
name
=
"lu_title_ShoppingCart"
/>
<
inp2:m_if
check
=
"ord_ItemsInCart"
>
(
<
inp2:ord_ItemsInCart
/>
)
</
inp2:m_if
>
</
inp2:m_Capture
>
<
inp2:m_IsActive
template
=
"in-commerce/checkout/shop_cart"
result_to_var
=
"current"
/>
</
inp2:m_RenderElement
>
<!-- // menu: ShoppingCart -->
</
inp2:m_if
>
</
tr
>
</
table
>
</
td
>
</
tr
>
</
table
>
Event Timeline
Log In to Comment