Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1216628
reviews_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
Wed, Nov 12, 7:08 PM
Size
2 KB
Mime Type
text/html
Expires
Fri, Nov 14, 7:08 PM (31 m, 34 s)
Engine
blob
Format
Raw Data
Handle
795194
Attached To
rINP In-Portal
reviews_tab.tpl
View Options
<
inp2:m_DefineElement
name
=
"catalog_tab"
>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_init"
value
=
""
>
<
inp2:lang.current_Field
name
=
"Charset"
result_to_var
=
"charset"
/>
<
inp2:m_Header
data
=
"Content-type: text/plain; charset=
$
charset"
/>
<
inp2:m_include
t
=
"incs/blocks"
/>
<
inp2:m_include
t
=
"incs/grid_blocks"
/>
$
Catalog.setItemCount('
<
inp2:m_param
name
=
"prefix"
/>
', '
<
inp2:
{$
prefix
}
_CatalogItemCount
/>
');
$
Catalog.setCurrentCategory('
<
inp2:m_param
name
=
"prefix"
/>
', 0);
<
inp2:m_RenderElement
name
=
"grid_js"
selected_class
=
"selected_div"
tag_name
=
"tr"
PrefixSpecial
=
"
$
prefix"
IdField
=
"ReviewId"
grid
=
"ReviewsSection"
menu_filters
=
"yes"
/>
<
inp2:m_RenderElement
name
=
"grid_search_buttons"
PrefixSpecial
=
"
$
prefix"
grid
=
"Default"
ajax
=
"1"
/>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_dependant"
value
=
"yes"
>
Grids['
<
inp2:m_param
name
=
"prefix"
/>
'].AddAlternativeGrid('
<
inp2:m_param
name
=
"cat_prefix"
/>
', true);
</
inp2:m_if
>
Grids['
<
inp2:m_param
name
=
"prefix"
/>
'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','sep3','cut','copy','move_up','move_down','sep6'));
$
Catalog.reflectPasteButton(
<
inp2:c_HasClipboard
/>
);
$
Catalog.setViewMenu('
<
inp2:m_param
name
=
"prefix"
/>
');
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"tab_mode"
value
=
"single"
>
Grids['
<
inp2:m_param
name
=
"prefix"
/>
'].EnableRadioMode();
Grids['
<
inp2:m_param
name
=
"prefix"
/>
'].DblClick = function() {return false};
</
inp2:m_if
>
#separator#
<!-- products tab: begin -->
<
inp2:m_RenderElement
name
=
"kernel_form"
form_name
=
"{
$
tab_name}_form"
/>
<
inp2:m_DefineElement
name
=
"grid_reviewtext_td"
>
<
td
valign
=
"top"
class
=
"text"
>
<
inp2:Field
field
=
"
$
fi
eld"
cut_first
=
"100"
/>
<
br
/>
<
span
class
=
"cats_stats"
>
<
a
href
=
"<inp2:ItemEditLink/>"
><
inp2:Field
field
=
"CatalogItemName"
/></
a
>
</
span
>
</
td
>
</
inp2:m_DefineElement
>
<
inp2:m_RenderElement
name
=
"grid"
ajax
=
"1"
PrefixSpecial
=
"
$
prefix"
IdField
=
"ReviewId"
grid
=
"ReviewsSection"
no_toolbar
=
"no_toolbar"
menu_filters
=
"yes"
/>
<
inp2:m_RenderElement
name
=
"kernel_form_end"
/>
<!-- products tab: end -->
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_Get
name
=
"item_prefix"
result_to_var
=
"prefix"
/>
<
inp2:
{$
prefix
}
_InitCatalogTab
render_as
=
"catalog_tab"
/>
Event Timeline
Log In to Comment