Example #1
0
} else {
    $content .= '
			<strong>' . $typeObject->getObjectLabel($cms_language) . '</strong>
			<input type="hidden" name="type" value="' . $field->getValue("type") . '" />';
}
if (is_object($typeObject)) {
    $content .= '<br /><br /><strong>' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_DESCRIPTION) . '</strong> : ' . $typeObject->getDescription($cms_language) . '
			</td>
		</tr>
		<tr>
			<td class="admin" align="right" valign="top"><span class="admin_text_alert">*</span> ' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_TITLE) . '</td>
			<td class="admin" width="80%">' . $label->getHTMLAdmin('label') . '</td>
		</tr>
		<tr>
			<td class="admin" align="right" valign="top">' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_DESCRIPTION) . '</td>
			<td class="admin" width="80%">' . $description->getHTMLAdmin('description', true) . '</td>
		</tr>';
    if ($parametersHTML) {
        $content .= '
			<tr>
				<td class="admin" align="right" valign="top"><span class="admin_text_alert">*</span> ' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_PARAMS) . '</td>
				<td class="admin">' . $parametersHTML . '</td>
			</tr>';
    }
    $content .= '
		<tr>
			<td class="admin" align="right" valign="top">&nbsp;</td>
			<td class="admin"><label for="required"><input type="checkbox" id="required" name="required" value="1"' . $required . ' />&nbsp;' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_REQUIRED) . '</label></td>
		</tr>
		<tr>
			<td class="admin" align="right" valign="top">&nbsp;</td>