Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Mon, Aug 11, 2:56 AM

in-portal

Index: trunk/kernel/admin_templates/custom_fields/custom_fields_list.tpl
===================================================================
--- trunk/kernel/admin_templates/custom_fields/custom_fields_list.tpl (revision 8563)
+++ trunk/kernel/admin_templates/custom_fields/custom_fields_list.tpl (nonexistent)
@@ -1,69 +0,0 @@
-<inp2:m_RequireLogin perm_event="cf:OnLoad" system="1"/>
-<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="cf" icon="icon46_settings_custom" title="!la_tab_ConfigCustom!"/>
-
-<inp2:m_ParseBlock name="blue_bar" prefix="cf" title_preset="custom_fields_list" icon="icon46_settings_custom"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- //do not rename - this function is used in default grid for double click!
- function edit()
- {
- std_edit_item('cf', 'in-portal/custom_fields/custom_fields_edit');
- }
-
- var a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('new_item', '<inp2:m_phrase label="la_ToolTip_New_CustomField" escape="1"/>',
- function() {
- std_precreate_item('cf', 'in-portal/custom_fields/custom_fields_edit')
- } ) );
-
- 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() {
- std_delete_items('cf')
- } ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
- <inp2:m_if check="m_isDebugMode">
-
- a_toolbar.AddButton( new ToolBarButton('clone', '<inp2:m_phrase label="la_ToolTip_Clone" escape="1"/>',
- function() {
- submit_event('cf', 'OnMassClone')
- } ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
- </inp2:m_if>
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_block name="cf_grid_data_td" />
- <td valign="top" class="text"><inp2:$PrefixSpecial_field field="$field" grid="$grid" no_special="no_special" as_label="1" /></td>
-<inp2:m_blockend />
-
-
-<inp2:m_block name="preview" />
- <inp2:m_ParseBlock name="preview_td" PrefixSpecial="$PrefixSpecial" field="$field" type="auto" max_width="100" max_height="100"/>
-<inp2:m_blockend />
-
-<inp2:m_ParseBlock name="grid" PrefixSpecial="cf" IdField="CustomFieldId" grid="Default" header_block="grid_column_title" data_block="grid_data_td" search="on"/>
-<script type="text/javascript">
- Grids['cf'].SetDependantToolbarButtons( new Array('edit','delete', 'clone') );
-</script>
-
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: trunk/kernel/admin_templates/custom_fields/custom_fields_list.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/kernel/admin_templates/custom_fields/custom_fields_edit.tpl
===================================================================
--- trunk/kernel/admin_templates/custom_fields/custom_fields_edit.tpl (revision 8563)
+++ trunk/kernel/admin_templates/custom_fields/custom_fields_edit.tpl (nonexistent)
@@ -1,86 +0,0 @@
-<inp2:m_RequireLogin perm_event="cf:OnLoad" system="1"/>
-<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="cf" icon="icon46_settings_custom" title="!la_title_CustomFields!"/>
-
-<inp2:m_ParseBlock name="blue_bar" prefix="cf" title_preset="custom_fields_edit" module="in-portal" icon="icon46_settings_custom"/>
-
-<!-- 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('cf','<inp2:cf_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('cf','OnCancelEdit');
- }
- ) );
-
- 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('cf', '<inp2:cf_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('cf', '<inp2:cf_NextId/>');
- }
- ) );
-
-
- a_toolbar.Render();
-
- <inp2:m_if prefix="cf" function="IsSingle"/>
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if prefix="cf" function="IsLast"/>
- a_toolbar.DisableButton('next');
- <inp2:m_endif/>
- <inp2:m_if prefix="cf" function="IsFirst"/>
- a_toolbar.DisableButton('prev');
- <inp2:m_endif/>
- <inp2:m_endif/>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<script src="js/calendar.js"></script>
-
-
-
-
-
-<inp2:m_ParseBlock name="inp_edit_hidden" prefix="cf" field="Type" db="db"/>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
- <inp2:m_ParseBlock name="inp_id_label" prefix="cf" field="CustomFieldId" title="!la_prompt_FieldId!"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="FieldName" title="!la_prompt_FieldName!" size="40"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="FieldLabel" title="!la_prompt_FieldLabel!" size="40"/>
- <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="cf" field="MultiLingual" title="!la_fld_MultiLingual!"/>
-
- <inp2:m_ParseBlock name="subsection" title="!la_tab_AdminUI!"/>
- <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="cf" field="OnGeneralTab" title="!la_prompt_showgeneraltab!"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="Heading" title="!la_prompt_heading!" size="40"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="Prompt" title="!la_prompt_FieldPrompt!" size="40"/>
- <inp2:m_ParseBlock name="inp_edit_options" prefix="cf" field="ElementType" title="!la_prompt_InputType!" size="20" use_phrases="1"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="ValueList" title="!la_prompt_valuelist!" size="40"/>
- <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="DisplayOrder" title="!la_field_displayorder!" size="10"/>
-
- <inp2:m_if check="m_IsDebugMode">
- <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="cf" field="IsSystem" title="!la_fld_IsSystem!"/>
- </inp2:m_if>
-
-</table>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/kernel/admin_templates/custom_fields/custom_fields_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.7
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property

Event Timeline