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_Gui_Edit_Tab_View extends Mage_Adminhtml_Block_Widget_Form
00035 {
00036 public function initForm()
00037 {
00038 $form = new Varien_Data_Form();
00039 $form->setHtmlIdPrefix('_view');
00040
00041 $model = Mage::registry('current_convert_profile');
00042
00043 $fieldset = $form->addFieldset('base_fieldset', array('legend'=>Mage::helper('adminhtml')->__('View Actions XML')));
00044
00045 $fieldset->addField('actions_xml', 'textarea', array(
00046 'name' => 'actions_xml_view',
00047 'label' => Mage::helper('adminhtml')->__('Actions XML'),
00048 'title' => Mage::helper('adminhtml')->__('Actions XML'),
00049 'style' => 'width:500px; height:400px',
00050 'readonly' => 'readonly',
00051 ));
00052
00053 $form->setValues($model->getData());
00054
00055 $this->setForm($form);
00056
00057 return $this;
00058 }
00059
00060 }
00061