From: Coleman Watts Date: Wed, 27 Aug 2014 08:32:06 +0000 (+0100) Subject: CRM_Contact_Form_Test - delete unused/obsolete form X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=10d1a93cf3c21c1f60c8be6e9e0d76ec79411449;p=civicrm-core.git CRM_Contact_Form_Test - delete unused/obsolete form --- diff --git a/CRM/Contact/Form/Test.php b/CRM/Contact/Form/Test.php deleted file mode 100644 index 31c04c7040..0000000000 --- a/CRM/Contact/Form/Test.php +++ /dev/null @@ -1,85 +0,0 @@ -addElement('text', "state", ts('State / Province'), 'onkeyup="getState(this,event, false);" onblur="getState(this,event, false);" autocomplete="off"'); - - $this->addElement('text', "state_id", ts('State / Province Id')); - //$this->addElement('text', "country", ts('Country')); - // $this->addElement('text', "country_id", ts('Country Id')); - $this->addElement('select', "country", ts('Country'), array('' => ts('- select -')), 'onblur="getState(this,event, true);"'); - } - - /** - * Form submission of new/edit contact is processed. - * - * @access public - * - * @return void - */ - public function postProcess() {} -} - diff --git a/templates/CRM/Contact/Form/Test.tpl b/templates/CRM/Contact/Form/Test.tpl deleted file mode 100644 index bb1c3d4fb5..0000000000 --- a/templates/CRM/Contact/Form/Test.tpl +++ /dev/null @@ -1,48 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM 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 and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* test template for testing ajax *} - - - -
- -{$form.state.label} {$form.state.html}
-{$form.state_id.label} {$form.state_id.html}
-{$form.country.label} {$form.country.html}
- - - - - -