@@ 105-110 (lines=6) @@ | ||
102 | } |
|
103 | $module = $moduleHelper->getModule(); |
|
104 | ||
105 | if (InstructionUtility::checkVerXoops($module, '2.5.9')) { |
|
106 | $mytree_select = $mytree->makeSelectElement('pid', 'title', '--', $this->getVar('pid'), true, 0, '', _AM_INSTRUCTION_PCATC); |
|
107 | $form->addElement($mytree_select); |
|
108 | } else { |
|
109 | $form->addElement(new XoopsFormLabel(_AM_INSTRUCTION_PCATC, $mytree->makeSelBox('pid', 'title', '--', $this->getVar('pid'), true))); |
|
110 | } |
|
111 | ||
112 | // Вес |
|
113 | $form->addElement(new XoopsFormText(_AM_INSTRUCTION_WEIGHTC, 'weight', 5, 5, $this->getVar('weight')), true); |
@@ 77-82 (lines=6) @@ | ||
74 | ||
75 | ||
76 | ||
77 | if (InstructionUtility::checkVerXoops($module, '2.5.9')) { |
|
78 | $mytree_select = $mytree->makeSelectElement('cid', 'title', '--', $this->getVar('cid'), true, 0, '', _AM_INSTRUCTION_CATC); |
|
79 | $form->addElement($mytree_select); |
|
80 | } else { |
|
81 | $form->addElement(new XoopsFormLabel(_AM_INSTRUCTION_CATC, $mytree->makeSelBox('cid', 'title', '--', $this->getVar('cid'), true))); |
|
82 | } |
|
83 | ||
84 | ||
85 | // Описание |
@@ 91-96 (lines=6) @@ | ||
88 | ||
89 | ||
90 | ||
91 | if (InstructionUtility::checkVerXoops($module, '2.5.9')) { |
|
92 | $mytree_select = $mytree->makeSelectElement('pid', 'title', '--', $this->getVar('pid'), true, 0, '', _AM_INSTRUCTION_PPAGEC); |
|
93 | $form->addElement($mytree_select); |
|
94 | } else { |
|
95 | $form->addElement(new XoopsFormLabel(_AM_INSTRUCTION_PPAGEC, $mytree->makeSelBox('pid', 'title', '--', $this->getVar('pid'), true))); |
|
96 | } |
|
97 | ||
98 | ||
99 | // Вес |