Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F772466
user_item_tab.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
Sat, Feb 1, 10:32 AM
Size
2 KB
Mime Type
text/html
Expires
Mon, Feb 3, 10:32 AM (17 h, 15 m)
Engine
blob
Format
Raw Data
Handle
555564
Attached To
rMINN Modules.In-News
user_item_tab.tpl
View Options
<
inp2:m_RequireLogin
permissions
=
"in-portal:user_list.view"
system
=
"1"
/>
<
inp2:m_DefineElement
name
=
"catalog_tab"
>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_init"
value
=
""
inverse
=
"inverse"
>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_init"
value
=
"1"
>
<
div
id
=
"articles_div"
prefix
=
"<inp2:m_param name="
prefix
"
/>
" view_template="in-news/user_item_tab" edit_template="in-news/articles/articles_edit" dep_buttons="new_article" category_id="-1" class="catalog-tab">
<!-- IE minimal height problem fix -->
</
div
>
<
script
type
=
"text/javascript"
>
$
Catalog
.
registerTab
(
'articles'
);</
script
>
</
inp2:m_if
>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_init"
value
=
"2"
>
<
inp2:adm_CatalogTab
render_as
=
"item_tab"
prefix
=
"
$
prefix"
title_property
=
"
$
title_property"
/>
</
inp2:m_if
>
<
inp2:m_else
/>
<
inp2:m_include
t
=
"incs/blocks"
/>
<
inp2:m_include
t
=
"incs/in-portal"
/>
<
inp2:m_include
t
=
"categories/ci_blocks"
/>
<
inp2:
$
prefix_InitList
grid
=
"
$
grid_name"
/>
$
Catalog.setItemCount('
<
inp2:m_param
name
=
"prefix"
/>
', '
<
inp2:
{$
prefix
}
_CatalogItemCount
/>
');
$
Catalog.setCurrentCategory('
<
inp2:m_param
name
=
"prefix"
/>
',
<
inp2:m_get
name
=
"m_cat_id"
/>
);
$
Catalog.saveSearch('
<
inp2:m_Param
name
=
"prefix"
/>
', '
<
inp2:
$
prefix_SearchKeyword
js_escape
=
"1"
/>
', '
<
inp2:m_Param
name
=
"grid_name"
/>
');
<
inp2:m_DefineElement
name
=
"article_expire_td"
no_special
=
""
>
<
inp2:m_if
check
=
"Field"
name
=
"
$
fi
eld"
>
<
inp2:Field
field
=
"
$
fi
eld"
grid
=
"
$
grid"
no_special
=
"
$
no_special"
format
=
"
$
format"
/>
<
inp2:m_else
/>
<
inp2:m_phrase
name
=
"la_Never"
/>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_RenderElement
name
=
"grid_js"
PrefixSpecial
=
"
$
prefix"
IdField
=
"NewsId"
grid
=
"
$
grid_name"
menu_filters
=
"yes"
/>
Grids['
<
inp2:m_param
name
=
"prefix"
/>
'].SetDependantToolbarButtons( new Array('edit','delete'));
$
Catalog.setViewMenu('
<
inp2:m_param
name
=
"prefix"
/>
');
#separator#
<!-- articles tab: begin -->
<
inp2:m_RenderElement
name
=
"kernel_form"
form_name
=
"articles_form"
/>
<
inp2:m_RenderElement
name
=
"grid"
ajax
=
"1"
PrefixSpecial
=
"
$
prefix"
IdField
=
"NewsId"
grid
=
"
$
grid_name"
menu_filters
=
"yes"
/>
<
inp2:m_RenderElement
name
=
"kernel_form_end"
/>
<!-- articles tab: end -->
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:n_InitCatalogTab
render_as
=
"catalog_tab"
default_grid
=
"Default"
radio_grid
=
"Radio"
/>
Event Timeline
Log In to Comment