00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 class Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Edit extends Mage_Adminhtml_Block_Widget_Form
00035 {
00036 public function initForm()
00037 {
00038 $form = new Varien_Data_Form();
00039 $form->setHtmlIdPrefix('_edit');
00040
00041 $model = Mage::registry('current_convert_profile');
00042
00043 $fieldset = $form->addFieldset('base_fieldset', array('legend'=>Mage::helper('adminhtml')->__('General Information')));
00044
00045 $fieldset->addField('name', 'text', array(
00046 'name' => 'name',
00047 'label' => Mage::helper('adminhtml')->__('Profile Name'),
00048 'title' => Mage::helper('adminhtml')->__('Profile Name'),
00049 'required' => true,
00050 ));
00051
00052 $fieldset->addField('actions_xml', 'textarea', array(
00053 'name' => 'actions_xml',
00054 'label' => Mage::helper('adminhtml')->__('Actions XML'),
00055 'title' => Mage::helper('adminhtml')->__('Actions XML'),
00056 'style' => 'width:500px; height:400px',
00057 'required' => true,
00058 ));
00059
00060
00061 $form->setValues($model->getData());
00062
00063 $this->setForm($form);
00064
00065 return $this;
00066 }
00067 }