Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1373492
relations_edit.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, Jan 31, 6:05 PM
Size
2 KB
Mime Type
text/html
Expires
Mon, Feb 2, 6:05 PM (4 h, 48 m)
Engine
blob
Format
Raw Data
Handle
881736
Attached To
rINP In-Portal
relations_edit.tpl
View Options
<
inp2:m_RequireLogin
permissions
=
"CATEGORY.VIEW"
/>
<
inp2:m_include
t
=
"incs/header"
nobody
=
"yes"
/>
<
body
topmargin
=
"0"
leftmargin
=
"8"
marginheight
=
"0"
marginwidth
=
"8"
bgcolor
=
"#FFFFFF"
>
<
inp2:m_ParseBlock
name
=
"section_header"
prefix
=
"c"
icon
=
"icon46_catalog"
module
=
"in-portal"
title
=
"!la_title_Categories!"
/>
<
inp2:m_ParseBlock
name
=
"blue_bar"
prefix
=
"c"
title_preset
=
"relations_edit"
module
=
"in-portal"
icon
=
"icon46_catalog"
/>
<!-- ToolBar --->
<
table
class
=
"toolbar"
height
=
"30"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"100%"
border
=
"0"
>
<
tbody
>
<
tr
>
<
td
>
<
script
type
=
"text/javascript"
>
a_toolbar
=
new
ToolBar
();
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'select'
,
'<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>'
,
function
()
{
submit_event
(
'c-rel'
,
'<inp2:c-rel_SaveEvent/>'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarButton
(
'cancel'
,
'<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>'
,
function
()
{
submit_event
(
'c-rel'
,
'OnCancel'
);
}
)
);
a_toolbar
.
AddButton
(
new
ToolBarSeparator
(
'sep2'
)
);
a_toolbar
.
Render
();
<
inp2
:
m_if
prefix
=
"c-rel"
function
=
"IsSingle"
/>
a_toolbar
.
HideButton
(
'prev'
);
a_toolbar
.
HideButton
(
'next'
);
a_toolbar
.
HideButton
(
'sep1'
);
a_toolbar
.
HideButton
(
'sep2'
);
<
inp2
:
m_else
/>
<
inp2
:
m_if
prefix
=
"c-rel"
function
=
"IsLast"
/>
a_toolbar
.
DisableButton
(
'next'
);
<
inp2
:
m_endif
/>
<
inp2
:
m_if
prefix
=
"c-rel"
function
=
"IsFirst"
/>
a_toolbar
.
DisableButton
(
'prev'
);
<
inp2
:
m_endif
/>
<
inp2
:
m_endif
/>
</
script
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
<
inp2:m_include
t
=
"categories/ci_blocks"
/>
<
table
width
=
"100%"
border
=
"0"
cellspacing
=
"0"
cellpadding
=
"4"
class
=
"tableborder"
>
<
inp2:m_RenderElement
name
=
"subsection"
title
=
"!la_section_Relation!"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_hidden"
prefix
=
"c-rel"
field
=
"SourceId"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_hidden"
prefix
=
"c-rel"
field
=
"SourceType"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_hidden"
prefix
=
"c-rel"
field
=
"TargetId"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_hidden"
prefix
=
"c-rel"
field
=
"TargetType"
/>
<
inp2:m_RenderElement
name
=
"inp_id_label"
prefix
=
"c-rel"
field
=
"RelationshipId"
title
=
"!la_fld_RelationshipId!"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_relation"
prefix
=
"c-rel"
field
=
"TargetId"
title
=
"!la_fld_TargetId!"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_radio"
prefix
=
"c-rel"
field
=
"Type"
title
=
"!la_fld_RelationshipType!"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_checkbox"
prefix
=
"c-rel"
field
=
"Enabled"
title
=
"!la_fld_Enabled!"
/>
<
inp2:m_RenderElement
name
=
"inp_edit_box"
prefix
=
"c-rel"
field
=
"Priority"
title
=
"!la_fld_Priority!"
size
=
"4"
/>
</
table
>
<
inp2:m_include
t
=
"incs/footer"
/>
Event Timeline
Log In to Comment