Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F772628
tree_categories.tpl
No One
Temporary
Actions
View 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
Sat, Feb 1, 1:07 PM
Size
1004 B
Mime Type
text/plain
Expires
Mon, Feb 3, 1:07 PM (22 h, 59 m)
Engine
blob
Format
Raw Data
Handle
555956
Attached To
rINP In-Portal
tree_categories.tpl
View Options
<
inp2:m_XMLTemplate
/>
<
inp2:m_DefineElement
name
=
"category"
>
<
inp2:m_if
check
=
"Field"
field
=
"CachedDescendantCatsQty"
>
<
folder
name
=
"<inp2:Field name='Name'/>"
href
=
"<inp2:CategoryLink template='catalog/catalog' direct_link='1' pass='m' m_opener='r'/>"
icon
=
"<inp2:c_ModulePath module='core'/>img/icons/<inp2:ItemIcon grid='Default' icon_prefix='icon24_'/>"
onclick
=
"checkCatalog(<inp2:Field name='CategoryId' db="
db
"
/>
, '
<
inp2:GetModulePrefix
/>
')"
load_url="
<
inp2:CategoryLink
direct_link
=
"1"
pass
=
'm'
/>
">
</
folder
>
<
inp2:m_else
/>
<
item
href
=
"<inp2:CategoryLink template='catalog/catalog' direct_link='1' pass='m' m_opener='r'/>"
icon
=
"<inp2:c_ModulePath module='core'/>img/icons/<inp2:ItemIcon grid='Default' icon_prefix='icon24_'/>"
onclick
=
"checkCatalog(<inp2:Field name='CategoryId' db="
db
"
/>
, '
<
inp2:GetModulePrefix
/>
')">
<
inp2:Field
name
=
"Name"
/></
item
>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
tree
>
<
inp2:c.tree_PrintList
render_as
=
"category"
per_page
=
"-1"
/>
</
tree
>
Event Timeline
Log In to Comment