Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Sat, Feb 1, 10:50 AM
Index: branches/unlabeled/unlabeled-1.3.2/custom/admin_templates/tests/test_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.3.2/custom/admin_templates/tests/test_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.3.2/custom/admin_templates/tests/test_edit.tpl (revision 7919)
@@ -0,0 +1,95 @@
+<inp2:adm_SetPopupSize width="750" height="570"/>
+<inp2:m_include t="incs/header" body_properties="" />
+
+<inp2:m_RenderElement name="combined_header" section="custom:tests" prefix="test" title_preset="test_edit" pagination="0"/>
+
+<!-- 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('st','OnCancelEdit','<inp2:st_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 prefix="test" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="test" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="test" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="ml_selector" prefix="test"/>
+ </tr>
+</tbody>
+</table>
+
+<script src="incs/calendar.js"></script>
+
+<inp2:test_SaveWarning name="grid_save_warning"/>
+<inp2:test_ErrorWarning name="form_error_warning"/>
+<div id="scroll_container">
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder" style="border-collapse: separate;">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_Page!"/>
+
+ <inp2:m_ParseBlock name="inp_id_label" prefix="test" field="TestId" title="!la_fld_Id!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box_ml" prefix="test" field="Title" title="!la_fld_Title!" size="40"/>
+
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="test" field="Good" title="!la_fld_Good!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_textarea" prefix="test" field="Description" title="!la_fld_Description!" cols="50" rows="5"/>
+
+ <inp2:m_ParseBlock name="inp_edit_radio" prefix="test" field="Status" title="la_fld_Status" size="63"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="test" field="Type" title="la_fld_Type" size="63"/>
+
+ <inp2:m_ParseBlock name="inp_edit_date" prefix="test" field="CreatedOn" title="la_fld_CreatedOn"/>
+ <inp2:m_ParseBlock name="inp_edit_time" prefix="test" field="BirthTime" title="la_fld_BirthTime"/>
+
+<!-- <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="test" field="IsSystem" title="!la_fld_IsSystemTemplate!" onchange="OnSystemClick()"/>-->
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="test" field="Qty" title="!la_fld_Qty!" size="5"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="test" field="Phone" title="!la_fld_Phone!" size="15"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="test" field="Email" title="!la_fld_Email!" size="35"/>
+
+
+
+</table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
+
+
Property changes on: branches/unlabeled/unlabeled-1.3.2/custom/admin_templates/tests/test_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.2/custom/install/install_schema.sql
===================================================================
--- branches/unlabeled/unlabeled-1.3.2/custom/install/install_schema.sql (nonexistent)
+++ branches/unlabeled/unlabeled-1.3.2/custom/install/install_schema.sql (revision 7919)
@@ -0,0 +1,14 @@
+CREATE TABLE Tests (
+ TestId int(11) NOT NULL auto_increment,
+ Title varchar(255) NOT NULL default '',
+ Description text,
+ Email varchar(255) NOT NULL default '',
+ `Type` tinyint(4) NOT NULL default '1',
+ Phone varchar(50) NOT NULL default '',
+ Qty double NOT NULL default '0',
+ `Status` tinyint(4) NOT NULL default '2',
+ CreatedOn int(11) NOT NULL default '0',
+ Good tinyint(4) NOT NULL default '0',
+ BirthTime int(10) unsigned default NULL,
+ PRIMARY KEY (TestId)
+);
Property changes on: branches/unlabeled/unlabeled-1.3.2/custom/install/install_schema.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property

Event Timeline