/** * @inheritdoc */ public function showBasicEditField($isPKField) { if (!\CModule::IncludeModule('fileman')) { parent::showBasicEditField($isPKField); } else { $title = $this->getSettings('TITLE'); if ($this->getSettings('REQUIRED') === true) { $title = '<b>' . $title . '</b>'; } print '<tr class="heading"><td colspan="2">' . $title . '</td></tr>'; print '<tr><td colspan="2">'; $readOnly = $this->getSettings('READONLY'); if (!$readOnly) { print $this->getEditHtml(); } else { print $this->getValueReadonly(); } print '</td></tr>'; } }