Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F860344
custom
No One
Temporary
Actions
View 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
Thu, May 1, 4:26 AM
Size
4 KB
Mime Type
text/x-diff
Expires
Sat, May 3, 4:26 AM (7 h, 16 m)
Engine
blob
Format
Raw Data
Handle
612019
Attached To
rMCUS Modules.Custom
custom
View Options
Index: branches/RC/custom/admin_templates/tests/test_edit.tpl
===================================================================
--- branches/RC/custom/admin_templates/tests/test_edit.tpl (revision 11709)
+++ branches/RC/custom/admin_templates/tests/test_edit.tpl (revision 11710)
@@ -1,88 +1,90 @@
<inp2:adm_SetPopupSize width="750" height="570"/>
<inp2:m_include t="incs/header"/>
<inp2:m_RenderElement name="combined_header" section="custom:tests" prefix="test" title_preset="test_edit"/>
<!-- 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('test','<inp2:test_SaveEvent/>');
}
));
a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
cancel_edit('test','OnCancelEdit','<inp2:test_SaveEvent/>','<inp2:m_Phrase label="la_FormCancelConfirmation" escape="1"/>');
}
));
a_toolbar.AddButton( new ToolBarButton('reset_edit', '<inp2:m_phrase label="la_ToolTip_Reset" escape="1"/>', function() {
reset_form('test', 'OnReset', '<inp2:m_Phrase label="la_FormResetConfirmation" escape="1"/>');
}
));
a_toolbar.AddButton( new ToolBarSeparator('sep1') );
a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
go_to_id('test', '<inp2:test_PrevId/>');
}
));
a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
go_to_id('test', '<inp2:test_NextId/>');
}
));
a_toolbar.Render();
<inp2:m_if check="test_IsSingle" >
a_toolbar.HideButton('prev');
a_toolbar.HideButton('next');
a_toolbar.HideButton('sep1');
<inp2:m_else/>
<inp2:m_if check="test_IsLast" >
a_toolbar.DisableButton('next');
</inp2:m_if>
<inp2:m_if check="test_IsFirst" >
a_toolbar.DisableButton('prev');
</inp2:m_if>
</inp2:m_if>
</script>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/uploader.js"></script>
</td>
+
+ <inp2:m_RenderElement name="ml_selector" prefix="test"/>
</tr>
</tbody>
</table>
<inp2:test_SaveWarning name="grid_save_warning"/>
<inp2:test_ErrorWarning name="form_error_warning"/>
<div id="scroll_container">
<table class="edit-form">
<inp2:m_RenderElement name="subsection" title="!la_section_Page!"/>
<inp2:m_RenderElement name="inp_id_label" prefix="test" field="TestId" title="!la_fld_Id!"/>
<inp2:m_RenderElement name="inp_edit_box_ml" prefix="test" field="Title" title="!la_fld_Title!" style="width: 100px"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="test" field="Good" title="!la_fld_Good!"/>
<inp2:m_RenderElement name="inp_edit_fck" prefix="test" field="Description" title="!la_fld_Description!"/>
<inp2:m_RenderElement name="inp_edit_radio" prefix="test" field="Status" title="la_fld_Status"/>
<inp2:m_RenderElement name="inp_edit_options" prefix="test" field="Type" title="la_fld_Type" has_empty="1"/>
<!-- <inp2:m_RenderElement name="inp_edit_date" prefix="test" field="CreatedOn" title="la_fld_CreatedOn"/>-->
<!-- <inp2:m_RenderElement name="inp_edit_time" prefix="test" field="BirthTime" title="la_fld_BirthTime"/>-->
<!-- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="test" field="IsSystem" title="!la_fld_IsSystemTemplate!" onchange="OnSystemClick()"/>-->
<inp2:m_RenderElement name="inp_edit_box" prefix="test" field="Qty" title="!la_fld_Qty!" style="width: 50px"/>
<inp2:m_RenderElement name="inp_edit_textarea" prefix="test" field="Phone" title="!la_fld_Phone!"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="test" field="Email" title="!la_fld_Email!" style="width: 200px"/>
<inp2:m_RenderElement name="inp_edit_swf_upload" prefix="test" field="Image" title="!la_fld_Image!"/>
<inp2:m_RenderElement name="inp_edit_swf_upload" prefix="test" field="DataFile" title="!la_fld_DataFile!"/>
<inp2:m_RenderElement name="inp_edit_filler"/>
</table>
</div>
<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/RC/custom/admin_templates/tests/test_edit.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.6.2.5
\ No newline at end of property
+1.6.2.6
\ No newline at end of property
Event Timeline
Log In to Comment