Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F776575
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
Fri, Feb 7, 7:17 PM
Size
4 KB
Mime Type
text/html
Expires
Sun, Feb 9, 7:17 PM (1 d, 14 h)
Engine
blob
Format
Raw Data
Handle
558997
Attached To
rTADV Themes.Advanced
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"
no_editing
=
"1"
/>
"/>
</
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"
no_editing
=
"1"
/>
"/>
</
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"
/>
<
inp2:m_if
check
=
"m_Param"
name
=
"show_relevance"
>
<
br
/>
<
inp2:m_if
check
=
"Field"
name
=
"Description"
><
br
/></
inp2:m_if
>
<
inp2:RelevanceIndicator
on_color
=
"Red"
off_color
=
"White"
relevance_normal_render_as
=
"search_relevance_normal"
relevance_full_render_as
=
"search_relevance_full"
/>
</
inp2:m_if
>
</
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'/>"
full_path
=
"<inp2:m_Param name='full_path' html_escape='1'/>"
>
<
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
=
"full_path"
/>
</
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_element"
level_var
=
"sitemap_level"
max_levels
=
"0"
>
<
li
>
<
a
href
=
"<inp2:CategoryLink template='__default__' m_cat_page='1'/>"
class
=
"sub-category"
><
inp2:Field
name
=
"Name"
html_escape
=
"1"
/></
a
>
<
inp2:m_ifnot
check
=
"m_Get"
name
=
"
$
level_var"
equals_to
=
"
$
max_levels"
>
<
inp2:InitList
requery
=
"1"
per_page
=
"50"
/>
<
inp2:m_if
check
=
"TotalRecords"
>
<
ul
>
<
inp2:m_Inc
param
=
"
$
level_var"
by
=
"1"
/>
<
inp2:PrintList
render_as
=
"sitemap_category_element"
max_levels
=
"
$
max_levels"
more_link_render_as
=
"more_link_elem"
/>
</
ul
>
</
inp2:m_if
>
</
inp2:m_ifnot
>
</
li
>
</
inp2:m_DefineElement
>
<!--## //SITEMAP ELEMENTS ##-->
Event Timeline
Log In to Comment