Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F804414
advanced_view.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, Feb 26, 10:36 AM
Size
5 KB
Mime Type
text/html
Expires
Fri, Feb 28, 10:36 AM (18 h, 13 m)
Engine
blob
Format
Raw Data
Handle
576964
Attached To
rINP In-Portal
advanced_view.tpl
View Options
<
inp2:m_RequireLogin
permissions
=
"in-portal:advanced_view.view"
system
=
"1"
ajax
=
"yes"
/>
<
inp2:m_include
t
=
"incs/header"
nobody
=
"yes"
noform
=
"yes"
/>
<
body
topmargin
=
"0"
leftmargin
=
"8"
marginheight
=
"0"
marginwidth
=
"8"
bgcolor
=
"#FFFFFF"
onload
=
"
$
Catalog.Init();"
>
<
inp2:m_RenderElement
name
=
"section_header"
prefix
=
"c"
icon
=
"icon46_advanced_view"
module
=
"in-portal"
title
=
"!la_title_AdvancedView!"
/>
<
inp2:m_RenderElement
name
=
"blue_bar"
prefix
=
"c"
title_preset
=
"advanced_view"
module
=
"in-portal"
/>
<!-- main kernel_form: begin -->
<
inp2:m_RenderElement
name
=
"kernel_form"
/>
<!-- ToolBar --->
<
table
class
=
"toolbar"
height
=
"30"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"100%"
border
=
"0"
>
<
tbody
>
<
tr
>
<
td
>
<
input
type
=
"hidden"
name
=
"m_cat_id"
value
=
"<inp2:m_get name="
m_cat_id
"
/>
"/>
<
link
rel
=
"stylesheet"
rev
=
"stylesheet"
href
=
"incs/nlsmenu.css"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
src
=
"js/nlsmenu.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"js/nlsmenueffect_1_2_1.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"js/ajax.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"js/catalog.js"
></
script
>
<
script
type
=
"text/javascript"
>
var
menuMgr
=
new
NlsMenuManager
(
"mgr"
);
menuMgr
.
timeout
=
500
;
menuMgr
.
flowOverFormElement
=
true
;
Request
.
progressText
=
'<inp2:m_phrase name="la_title_Loading" escape="1"/>'
;
Catalog
.
prototype
.
AfterInit
=
function
()
{
this
.
switchTab
();
}
var
$
Catalog
=
new
Catalog
(
'<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="ts,td" ts="showall" td="no" m_cat_id="#CATEGORY_ID#" no_amp="1"/>'
,
'advanced_view_'
,
0
);
var
a_toolbar
=
new
ToolBar
();
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'edit'
,
'<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>'
,
edit
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'delete'
,
'<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>'
,
function
()
{
var
$
template
=
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'view_template'
);
$
form_name
=
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'tab_id'
)
+
'_form'
;
set_hidden_field
(
'remove_specials['
+
$
Catalog
.
ActivePrefix
+
'.showall]'
,
1
);
std_delete_items
(
$
Catalog
.
ActivePrefix
,
$
template
,
1
);
}
)
);
<
inp2
:
m_ModuleInclude
template
=
"catalog_buttons"
main_template
=
"advanced_view"
/>
a_toolbar
.
AddButton
(
new
ToolBarSeparator
(
'sep2'
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'approve'
,
'<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>'
,
function
()
{
$
form_name
=
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'tab_id'
)
+
'_form'
;
set_hidden_field
(
'remove_specials['
+
$
Catalog
.
ActivePrefix
+
'.showall]'
,
1
);
$
Catalog
.
submit_event
(
$
Catalog
.
ActivePrefix
,
'OnMassApprove'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'decline'
,
'<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>'
,
function
()
{
$
form_name
=
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'tab_id'
)
+
'_form'
;
set_hidden_field
(
'remove_specials['
+
$
Catalog
.
ActivePrefix
+
'.showall]'
,
1
);
$
Catalog
.
submit_event
(
$
Catalog
.
ActivePrefix
,
'OnMassDecline'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarSeparator
(
'sep3'
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'view'
,
'<inp2:m_phrase label="la_ToolTip_View" escape="1"/>'
,
function
()
{
show_viewmenu
(
a_toolbar
,
'view'
);
}
)
);
a_toolbar
.
Render
();
function
edit
()
{
$
form_name
=
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'tab_id'
)
+
'_form'
;
var
$
kf
=
document
.
getElementById
(
$
form_name
);
var
$
prev_action
=
$
kf
.
action
;
$
kf
.
action
=
'<inp2:m_t pass="all" no_pass_through="1"/>'
;
set_hidden_field
(
'remove_specials['
+
$
Catalog
.
ActivePrefix
+
']'
,
1
);
std_edit_item
(
$
Catalog
.
ActivePrefix
,
$
Catalog
.
queryTabRegistry
(
'prefix'
,
$
Catalog
.
ActivePrefix
,
'edit_template'
));
$
kf
.
action
=
$
prev_action
;
}
</
script
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
inp2:m_RenderElement
name
=
"kernel_form_end"
/>
<!-- main kernel_form: end -->
<
br
/>
<!-- item tabs: begin -->
<
table
cellpadding
=
"0"
cellspacing
=
"0"
>
<
tr
>
<
inp2:m_DefineElement
name
=
"item_tab"
title
=
""
>
<
td
nowrap
=
"nowrap"
width
=
"140"
>
<
table
id
=
"<inp2:m_param name="
prefix
"
/>
.showall_tab" cellpadding="0" cellspacing="0" width="100%" class="catalog-tab-unselected" onclick="
$
Catalog.switchTab('
<
inp2:m_param
name
=
"prefix"
/>
.showall');">
<
tr
>
<
td
class
=
"catalog-tab-left"
>
<
img
src
=
"img/spacer.gif"
height
=
"22"
width
=
"9"
/>
</
td
>
<
td
class
=
"catalog-tab-middle"
width
=
"100%"
valign
=
"middle"
nowrap
=
"nowrap"
>
<
inp2:m_phrase
name
=
"
$
title"
/>
<
span
class
=
"cats_stats"
>
(
<
span
id
=
"<inp2:m_param name="
prefix
"
/>
.showall_item_count">?
</
span
>
)
</
span
>
</
td
>
<
td
class
=
"catalog-tab-right"
>
<
img
src
=
"img/spacer.gif"
height
=
"22"
width
=
"9"
/>
</
td
>
<
td
style
=
"background-color: #FFFFFF;"
>
<
img
src
=
"img/spacer.gif"
height
=
"1"
width
=
"5"
/>
</
td
>
</
tr
>
</
table
>
</
td
>
</
inp2:m_DefineElement
>
<
inp2:adm_ListCatalogTabs
render_as
=
"item_tab"
title_property
=
"ViewMenuPhrase"
replace_m
=
"yes"
/>
</
tr
>
</
table
>
<!-- item tabs: end -->
<
inp2:m_set
ts
=
"showall"
td
=
"no"
/>
<
inp2:m_ModuleInclude
template
=
"catalog_tab"
tab_init
=
"2"
/>
<
inp2:m_if
check
=
"m_get"
var
=
"SetTab"
>
<
script
type
=
"text/javascript"
>
$
Catalog
.
switchTab
(
'<inp2:m_get var="SetTab"/>.showall'
);
</
script
>
</
inp2:m_if
>
<
inp2:m_include
t
=
"incs/footer"
noform
=
"yes"
/>
Event Timeline
Log In to Comment