Ejemplo n.º 1
0
    public static function renderMetaEdit($obj)
    {
        $options = array('' => vmText::_('JGLOBAL_INDEX_FOLLOW'), 'noindex, follow' => vmText::_('JGLOBAL_NOINDEX_FOLLOW'), 'index, nofollow' => vmText::_('JGLOBAL_INDEX_NOFOLLOW'), 'noindex, nofollow' => vmText::_('JGLOBAL_NOINDEX_NOFOLLOW'), 'noodp, noydir' => vmText::_('COM_VIRTUEMART_NOODP_NOYDIR'), 'noodp, noydir, nofollow' => vmText::_('COM_VIRTUEMART_NOODP_NOYDIR_NOFOLLOW'));
        $html = '<table>
					' . VmHTML::row('input', 'COM_VIRTUEMART_CUSTOM_PAGE_TITLE', 'customtitle', $obj->customtitle) . '
					' . VmHTML::row('textarea', 'COM_VIRTUEMART_METAKEY', 'metakey', $obj->metakey, 'class="inputbox"', 80) . '
					' . VmHTML::row('textarea', 'COM_VIRTUEMART_METADESC', 'metadesc', $obj->metadesc, 'class="inputbox"', 80) . '
					' . VmHtml::row('selectList', 'COM_VIRTUEMART_METAROBOTS', 'metarobot', $obj->metarobot, $options) . '
					' . VmHTML::row('input', 'COM_VIRTUEMART_METAAUTHOR', 'metaauthor', $obj->metaauthor) . '
				</table>';
        return $html;
    }