Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1047608
categories.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
Mon, Jun 30, 4:27 AM
Size
5 KB
Mime Type
text/html
Expires
Wed, Jul 2, 4:27 AM (11 h, 30 m)
Engine
blob
Format
Raw Data
Handle
677411
Attached To
rINP In-Portal
categories.elm.tpl
View Options
<!--## CATEGORY ELEMENT ##-->
<
inp2:m_DefineElement
name
=
"category_element"
>
<
td
style
=
"width: <inp2:ColumnWidth/>"
>
<
table
>
<
tr
>
<
td
class
=
"directory-icon"
>
<
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/directory_icon.gif" width="22" height="17" alt="" />
<
br
/>
</
td
>
<
td
class
=
"directory-text"
>
<
inp2:m_if
check
=
"IsCurrent"
>
<
strong
><
inp2:Field
name
=
"Name"
/></
strong
>
(
<
inp2:m_phrase
name
=
"lu_SubCats"
/>
:
<
inp2:SubCatCount
/>
)
<
inp2:m_else
/>
<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
<
inp2:m_if
check
=
"IsCategorySymLink"
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="text-title">
<
i
><
inp2:Field
name
=
"Name"
/>
@
</
i
></
a
>
<
span
class
=
"item-statistics"
>
(
<!--## <inp2:m_phrase name="lu_SubCats"/>: ##-->
<
inp2:SubCatCount
/>
/
<
inp2:ItemCount
/>
)
</
span
>
<
inp2:m_else
/>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="text-title">
<
inp2:Field
name
=
"Name"
/></
a
>
<
span
class
=
"item-statistics"
>
(
<!--## <inp2:m_phrase name="lu_SubCats"/>: ##-->
<
inp2:SubCatCount
/>
/
<
inp2:ItemCount
/>
)
</
span
>
</
inp2:m_if
>
<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
</
inp2:m_if
>
<
inp2:m_if
check
=
"Field"
name
=
"IsNew"
><
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/icon_new.gif" alt="
<
inp2:m_phrase
name
=
"lu_New"
/>
"/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"IsEditorsPick"
><
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/icon_pick.gif" alt="
<
inp2:m_phrase
name
=
"lu_Pick"
/>
"/>
</
inp2:m_if
>
<
br
/>
<
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/s.gif" width="1" height="4" alt="" />
<
br
/>
<
inp2:Field
name
=
"Description"
first_chars
=
"200"
/>
</
td
>
</
tr
>
</
table
>
</
td
>
</
inp2:m_DefineElement
>
<!--## /CATEGORY ELEMENT ##-->
<!--## NO CATEGORIES ELEMENT ##-->
<
inp2:m_DefineElement
name
=
"no_categories"
>
<
inp2:m_phrase
name
=
"lu_NoCategories"
/>
</
inp2:m_DefineElement
>
<!--## /NO CATEGORIES ELEMENT ##-->
<!--## NO CATEGORIES ELEMENT ##-->
<
inp2:m_DefineElement
name
=
"related_category_element"
>
<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
<
li
>
<
inp2:m_if
check
=
"IsCategorySymLink"
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="text-title">
<
i
><
inp2:Field
name
=
"Name"
/>
@
</
i
></
a
>
<
inp2:m_else
/>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="text-title">
<
inp2:Field
name
=
"Name"
/></
a
>
</
inp2:m_if
>
</
li
>
<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
</
inp2:m_DefineElement
>
<!--## /NO CATEGORIES ELEMENT ##-->
<
inp2:m_DefineElement
name
=
"selector_category_element"
>
<
option
value
=
"<inp2:m_Param name="
category_id
"
/>
">
<
inp2:m_Param
name
=
"separator"
/><
inp2:m_Param
name
=
"category_name"
/>
</
option
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"more_category_element"
>
<
tr
id
=
"category_<inp2:m_Param name="
category_id
"
/>
">
<
td
>
<
inp2:m_Param
name
=
"category_name"
/>
</
td
>
<
td
>
<
input
type
=
"button"
class
=
"delete-button"
value
=
"<inp2:m_Phrase label="
lu_btn_Delete
"
no_editing
=
"1"
/>
" onclick="
$
ItemCategories.DeleteCategory(
<
inp2:m_Param
name
=
"category_id"
/>
);"/>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<!--## SITEMAP ELEMENTS ##-->
<
inp2:m_DefineElement
name
=
"more_link_elem"
>
<
li
>
<
a
href
=
"<inp2:c_CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="sub-category">
<
inp2:m_Phrase
label
=
"lu_more"
/>
...
</
a
>
</
li
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"sitemap_category_element3"
>
<
li
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="sub-category">
<
inp2:Field
name
=
"Name"
html_escape
=
"1"
/></
a
>
1
</
li
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"sitemap_category_element2"
>
<
li
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="sub-category">
<
inp2:Field
name
=
"Name"
html_escape
=
"1"
/></
a
>
<
inp2:InitList
requery
=
"1"
/>
<
inp2:m_if
check
=
"TotalRecords"
>
<
ul
>
<
inp2:ListCategories
render_as
=
"sitemap_category_element2"
more_link_render_as
=
"more_link_elem"
max_items
=
"50"
no_table
=
"1"
/>
</
ul
>
</
inp2:m_if
>
</
li
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"sitemap_category_element1"
>
<
li
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="sub-category">
<
inp2:Field
name
=
"Name"
html_escape
=
"1"
/></
a
>
<
inp2:InitList
requery
=
"1"
/>
<
inp2:m_if
check
=
"TotalRecords"
>
<
ul
>
<
inp2:ListCategories
render_as
=
"sitemap_category_element2"
max_items
=
"50"
more_link_render_as
=
"more_link_elem"
no_table
=
"1"
/>
</
ul
>
</
inp2:m_if
>
</
li
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"sitemap_category_element"
>
<
li
>
<
a
href
=
"<inp2:CategoryLink template="
__default__
"
m_cat_page
=
"1"
/>
" class="sub-category">
<
inp2:Field
name
=
"Name"
html_escape
=
"1"
/>
(level 2)
</
a
>
<
inp2:InitList
requery
=
"1"
max_items
=
"50"
/>
<
inp2:m_if
check
=
"TotalRecords"
>
<
ul
>
<
inp2:ListCategories
render_as
=
"sitemap_category_element1"
max_items
=
"100"
more_link_render_as
=
"more_link_elem"
no_table
=
"1"
/>
</
ul
>
</
inp2:m_if
>
</
li
>
</
inp2:m_DefineElement
>
<!--## //SITEMAP ELEMENTS ##-->
Event Timeline
Log In to Comment