Add html files
This commit is contained in:
206
modules/EditCustomFields/EditView.html
Executable file
206
modules/EditCustomFields/EditView.html
Executable file
@@ -0,0 +1,206 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: popup -->
|
||||
<html>
|
||||
<head><title>Custom Field</title></head>
|
||||
<body>
|
||||
{header}
|
||||
<script>
|
||||
var height = 280;
|
||||
if(typeof( window.outerHeight ) == 'number'){
|
||||
var height = window.outerHeight;
|
||||
}
|
||||
function typeChanged(obj)
|
||||
{
|
||||
|
||||
if(obj.options[obj.selectedIndex].value == 'enum')
|
||||
{
|
||||
document.getElementById('enum').style.display = 'inline';
|
||||
updatedroplist('listiframe');
|
||||
|
||||
window.resizeTo(340, 510);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
window.resizeTo(320, height);
|
||||
document.getElementById('enum').style.display = 'none';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
window.resizeTo(320, height);
|
||||
function updatedroplist(name){
|
||||
document.getElementById(name).src = 'index.php?module=EditCustomFields&action=DisplayDropDownValues&to_pdf=true&list=' + document.getElementById('ext1').options[document.getElementById('ext1').selectedIndex].value;
|
||||
}
|
||||
function handle_cancel(){
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
<!-- END: popup -->
|
||||
|
||||
<!-- BEGIN: embeded -->
|
||||
<script>
|
||||
function typeChanged(obj)
|
||||
{
|
||||
|
||||
if(obj.options[obj.selectedIndex].value == 'enum')
|
||||
{
|
||||
document.getElementById('enum').style.display = 'inline';
|
||||
updatedroplist('listiframe');
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById('enum').style.display = 'none';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function updatedroplist(name){
|
||||
document.getElementById(name).src = 'index.php?module=EditCustomFields&action=DisplayDropDownValues&to_pdf=true&list=' + document.getElementById('ext1').options[document.getElementById('ext1').selectedIndex].value;
|
||||
}
|
||||
function handle_cancel(){
|
||||
document.location = 'index.php?module={RETURN_MODULE}&action={RETURN_ACTION}&module_name={custom_module}';
|
||||
}
|
||||
function handle_duplicate(){
|
||||
document.popup_form.action.value = 'EditView';
|
||||
document.popup_form.duplicate.value = 'true';
|
||||
document.popup_form.submit();
|
||||
}
|
||||
</script>
|
||||
<!-- END: embeded -->
|
||||
|
||||
<!-- BEGIN: body -->
|
||||
|
||||
<form action="index.php" method="post" name="popup_form">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td>
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom: 2px;">
|
||||
<input type="hidden" name="id" value="{custom_field_id}" />
|
||||
<input type="hidden" name="module" value="EditCustomFields" />
|
||||
<input type="hidden" name="action" value="Save"/>
|
||||
<input type="hidden" name="duplicate" value=""/>
|
||||
<input type="hidden" name="style" value="{STYLE}"/>
|
||||
<input type="hidden" name="form" value="{form}" />
|
||||
<input type="hidden" name="style" value="{STYLE}"/>
|
||||
<input type="hidden" name="module_name" value="{custom_module}"/>
|
||||
<input type="hidden" name="return_module" value="{RETURN_MODULE}" />
|
||||
<input type="hidden" name="return_action" value="{RETURN_ACTION}" />
|
||||
<input type="hidden" name="file_type" value="{FILE_TYPE}" />
|
||||
<input type="hidden" name="field_count" value="{FIELD_COUNT}" />
|
||||
<!-- BEGIN: topsave -->
|
||||
<input type="submit" name="button" value="{APP.LBL_SAVE_BUTTON_LABEL}"
|
||||
title="{APP.LBL_SAVE_BUTTON_TITLE}" accesskey="{APP.LBL_SAVE_BUTTON_KEY}"
|
||||
class="button" onclick="return check_form('popup_form')"/>
|
||||
<!-- END: topsave -->
|
||||
<!-- BEGIN: cancel -->
|
||||
<input type="button" value="{APP.LBL_CANCEL_BUTTON_LABEL}"
|
||||
title="{APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{APP.LBL_CANCEL_BUTTON_KEY}"
|
||||
class="button" onclick="handle_cancel();" />
|
||||
<!-- END: cancel -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_NAME}:</td><td width="50%"><input type="text" maxlength={NAMEMAXLENGTH} name="name" value="{name}" {NOEDIT}/></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_LABEL}:</td><td><input type="text" name="label" value="{label}" {NOEDIT}/></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_DATA_TYPE}:</td><td><select name="data_type" id='data_type' onchange="typeChanged(this);" {NOEDIT}>{data_type_options}</select></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_MAX_SIZE}:</td><td><input type="text" name="max_size" value="{max_size}" /></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_REQUIRED_OPTION}:</td><td><input type="checkbox" name="required_option" value="{required_option}" {REQUIRED_CHECKED}/></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_DEFAULT_VALUE}:</td><td><input type="text" name="default_value" value="{default_value}" /></td></tr>
|
||||
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_AUDIT}:</td><td><input type="checkbox" name="audited" value="1" {AUDIT_CHECKED}/></td></tr>
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_MASS_UPDATE}:</td><td><input type="checkbox" name="mass_update" value="1" {MASS_UPDATE_CHECKED}/></td></tr>
|
||||
<tr><td nowrap="nowrap">{MOD.COLUMN_TITLE_DUPLICATE_MERGE}:</td><td><select name="duplicate_merge" id='duplicate_merge' >{duplicate_merge_options}</select></td></tr>
|
||||
|
||||
<tr><td colspan='2'>
|
||||
<div id='enum' style='display:none'>
|
||||
|
||||
<table cellpadding="0" cellspacing="2" border="0" width="100%" class="edit view">
|
||||
<tr>
|
||||
<td nowrap="nowrap">{MOD.LBL_DROP_DOWN_LIST}</td>
|
||||
<td><select id='ext1' name='ext1' onchange="updatedroplist('listiframe');" {NOEDIT}>{ENUM_OPTIONS}</select></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td colspan = '2'> <iframe id='listiframe' frameborder="0" width='280' marginwidth="0" marginheight="0" style="border: 1px solid #000000;" ></iframe></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td></tr>
|
||||
<!-- BEGIN: botsave -->
|
||||
<tr><td><br>
|
||||
<input type="submit" name="button" value="{APP.LBL_SAVE_BUTTON_LABEL}"
|
||||
title="{APP.LBL_SAVE_BUTTON_TITLE}" accesskey="{APP.LBL_SAVE_BUTTON_KEY}"
|
||||
class="button" onclick="return check_form('popup_form')"/>
|
||||
</td><tr>
|
||||
<!-- END: botsave --></table></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap="nowrap">{MOD.COLUMN_TITLE_EXT2}</td>
|
||||
<td><input type="text" name="ext2" value="{ext2}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{MOD.COLUMN_TITLE_EXT3}</td>
|
||||
<td><input type="text" name="ext3" value="{ext3}" /></td>
|
||||
</tr>
|
||||
-->
|
||||
|
||||
<script>
|
||||
typeChanged(document.getElementById('data_type'));
|
||||
</script>
|
||||
|
||||
</form>
|
||||
<!-- END: body -->
|
||||
|
||||
64
modules/EditCustomFields/Forms.html
Executable file
64
modules/EditCustomFields/Forms.html
Executable file
@@ -0,0 +1,64 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
<form action="index.php" method="post" name="quick_save">
|
||||
<input type="hidden" name="module" value="EditCustomFields" />
|
||||
<input type="hidden" name="action" value="Save" />
|
||||
<input type="hidden" name="return_action" value="index" />
|
||||
<input type="hidden" name="return_module" value="EditCustomFields" />
|
||||
<input type="hidden" name="return_module_select" value="{return_module_select}" />
|
||||
<input type="hidden" name="custom_module" value="{return_module_select}" />
|
||||
<p>
|
||||
{mod.COLUMN_TITLE_NAME}<br />
|
||||
<input type="text" name="name" value="" /><br />
|
||||
{mod.COLUMN_TITLE_LABEL}<br />
|
||||
<input type="text" name="label" value="" /><br />
|
||||
{mod.COLUMN_TITLE_DATA_TYPE}<br />
|
||||
<select name="data_type">{data_type_options}</select><br />
|
||||
{mod.COLUMN_TITLE_MAX_SIZE}<br />
|
||||
<input type="text" name="max_size" value="" /><br />
|
||||
{mod.COLUMN_TITLE_REQUIRED_OPTION}<br />
|
||||
<input type="checkbox" name="required_option" value="1" /><br />
|
||||
{mod.COLUMN_TITLE_DEFAULT_VALUE}
|
||||
<input type="text" name="default_value" value="" /><br />
|
||||
</p>
|
||||
<p><input class="button" title="{app.LBL_SAVE_BUTTON_TITLE}"
|
||||
type="submit" name="button" value="{app.LBL_SAVE_BUTTON_LABEL}"
|
||||
accessKey="{app.LBL_SAVE_BUTTON_KEY}" /></p>
|
||||
</form>
|
||||
<!-- END: main -->
|
||||
79
modules/EditCustomFields/ListView.html
Executable file
79
modules/EditCustomFields/ListView.html
Executable file
@@ -0,0 +1,79 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
|
||||
<table width="100%" border="0" cellspacing=0 cellpadding="0" class="list view">
|
||||
<!-- BEGIN: list_nav_row -->
|
||||
{PAGINATION}
|
||||
<!-- END: list_nav_row -->
|
||||
<tr height="20">
|
||||
<td scope="col" ><a href="{ORDER_BY}name" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_NAME}{arrow_start}{name_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" ><a href="{ORDER_BY}label" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_LABEL}{arrow_start}{label_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" ><a href="{ORDER_BY}data_type" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_DATA_TYPE}{arrow_start}{data_type_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" ><a href="{ORDER_BY}max_size" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_MAX_SIZE}{arrow_start}{max_size_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" ><a href="{ORDER_BY}required_option" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_REQUIRED_OPTION}{arrow_start}{required_option_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" ><a href="{ORDER_BY}default_value" class="listViewThLinkS1"
|
||||
>{MOD.COLUMN_TITLE_DEFAULT_VALUE}{arrow_start}{default_value_arrow}{arrow_end}</a></td>
|
||||
<td scope="col" > </td>
|
||||
</tr>
|
||||
<!-- BEGIN: row -->
|
||||
<tr height="20" class="{ROW_COLOR}S1">
|
||||
<td><a href='{URL_PREFIX}index.php?module=EditCustomFields&action=EditView&record={FIELDS_META_DATA.ID}' >{FIELDS_META_DATA.NAME}</a></td>
|
||||
<td>{FIELDS_META_DATA.LABEL}</td>
|
||||
<td>{FIELDS_META_DATA.DATA_TYPE}</td>
|
||||
<td>{FIELDS_META_DATA.MAX_SIZE}</td>
|
||||
<td>{FIELDS_META_DATA.REQUIRED_OPTION}</td>
|
||||
<td>{FIELDS_META_DATA.DEFAULT_VALUE}</td>
|
||||
<td><a class="listViewTdToolsS1"
|
||||
onclick="return confirm('{MOD.MSG_DELETE_CONFIRM}');"
|
||||
href="{URL_PREFIX}index.php?module=EditCustomFields&action=Delete&record={FIELDS_META_DATA.ID}&module_name={return_module_name}"
|
||||
>{DELETE_INLINE_PNG}</a> <a class="listViewTdToolsS1"
|
||||
onclick="return confirm('{MOD.MSG_DELETE_CONFIRM}');"
|
||||
href="{URL_PREFIX}index.php?module=EditCustomFields&action=Delete&record={FIELDS_META_DATA.ID}&module_name={return_module_name}"
|
||||
>{APP.LNK_DELETE}</a></td>
|
||||
</tr>
|
||||
<tr><td colspan="7" class="listViewHRS1"></td></tr>
|
||||
<!-- END: row -->
|
||||
{PAGINATION}
|
||||
</table>
|
||||
<!-- END: main -->
|
||||
117
modules/EditCustomFields/Popup.html
Executable file
117
modules/EditCustomFields/Popup.html
Executable file
@@ -0,0 +1,117 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
<html>
|
||||
<head><title>Custom Field</title></head>
|
||||
<body>
|
||||
{header}
|
||||
<form action="index.php" method="post" name="popup_form">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom: 2px;">
|
||||
<input type="hidden" name="id" value="{custom_field_id}" />
|
||||
<input type="hidden" name="module" value="EditCustomFields" />
|
||||
<input type="hidden" name="action" value="Save"/>
|
||||
<input type="hidden" name="form" value="{form}" />
|
||||
<input type="hidden" name="custom_module" value="{custom_module}" />
|
||||
<input type="submit" name="button" value="{app.LBL_SAVE_BUTTON_LABEL}"
|
||||
title="{app.LBL_SAVE_BUTTON_TITLE}" accesskey="{app.LBL_SAVE_BUTTON_KEY}"
|
||||
class="button" />
|
||||
<input type="button" value="{app.LBL_CANCEL_BUTTON_LABEL}"
|
||||
title="{app.LBL_CANCEL_BUTTON_TITLE}" accesskey="{app.LBL_CANCEL_BUTTON_KEY}"
|
||||
class="button" onclick="window.close();" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding="0" cellspacing="2" border="0" width="100%" class="edit view">
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_NAME}</td>
|
||||
<td width="50%"><input type="text" name="name" value="{name}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_LABEL}</td>
|
||||
<td><input type="text" name="label" value="{label}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_DATA_TYPE}</td>
|
||||
<td><select name="data_type">{data_type_options}</select></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_MAX_SIZE}</td>
|
||||
<td><input type="text" name="max_size" value="{max_size}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_REQUIRED_OPTION}</td>
|
||||
<td><input type="checkbox" name="required_option" value="{required_option}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_DEFAULT_VALUE}</td>
|
||||
<td><input type="text" name="default_value" value="{default_value}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_AUDIT}</td>
|
||||
<td><input type="checkbox" name="audited" value="{audited}" /></td>
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_EXT1}</td>
|
||||
<td><input type="text" name="ext1" value="{ext1}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_EXT2}</td>
|
||||
<td><input type="text" name="ext2" value="{ext2}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">{mod.COLUMN_TITLE_EXT3}</td>
|
||||
<td><input type="text" name="ext3" value="{ext3}" /></td>
|
||||
</tr>
|
||||
-->
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<!-- END: main -->
|
||||
56
modules/EditCustomFields/SearchForm.html
Executable file
56
modules/EditCustomFields/SearchForm.html
Executable file
@@ -0,0 +1,56 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN:main -->
|
||||
{header}
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
|
||||
<tr>
|
||||
<td><form method="get" name="module_selection_form">
|
||||
<input type="hidden" name="module" value="EditCustomFields" />
|
||||
<input type="hidden" name="action" value="index"/>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td scope="row">{mod.LBL_MODULE_SELECT} <select name="module_name">{module_options}</select></td>
|
||||
<td align="right">
|
||||
<input title="{app.LBL_SELECT_BUTTON_TITLE}" accessKey="{app.LBL_SELECT_BUTTON_KEY}" class="button" type="submit" name="button" value="{app.LBL_SELECT_BUTTON_LABEL}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<!-- END:main -->
|
||||
Reference in New Issue
Block a user