JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC4'));
JHtml::_('category.options', 'com_content');
JHtml::_('select.genericlist', $options, $name, $javascript, $value, $text, $default_value);
JHtml::_('select.booleanlist', $name, $javascript, $default_value);
JHtml::_('select.radiolist', $data, $name, $attribs, 'value', 'text', $default_value, $id);
JHtml::_('select.option', $value, $text);
$editor = & JFactory::getEditor();
$editor->display($name,  $data, '100%;', '350', '75', '20', array('pagebreak'));
JHtml::_('calendar', $data, $id, $name, '%Y-%m-%d', array('class'=>'short', 'size'=>'25',  'maxlength'=>'19'));

list page

JHtml::_('grid.id', $i, $item->id);
JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'articles.', $canCheckin);
JHtml::_('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down);
JHtml::_('contentadministrator.featured', $item->featured, $i, $canChange);
JHtml::_('jgrid.publishedOptions');
JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder);

media表单控件

<script language="javascript" type="text/javascript">
function jInsertFieldValue(tag, id){
    $(id).value = tag;
}
</script>
<div class="fltlft">
    <input type="text" name="imageurl" id="imageurl" value="" readonly="readonly" size="40"></div>
<div class="button2-left">
    <div class="blank">
        <a class="modal" title="Select" href="index.php?option=com_media&amp;view=images&amp;tmpl=component&amp;asset=com_banners&amp;author=&amp;fieldid=imageurl&amp;folder=banners" rel="{handler: 'iframe', size: {x: 800, y: 500}}">Select</a></div>
</div>
<div class="button2-left">
    <div class="blank">
        <a title="Clear" href="#" onclick="
        jInsertFieldValue('', 'imageurl');
        return false;
        ">Clear</a>
    </div>
</div>

猫之良品
2.5k 声望139 粉丝

资深Drupal, magento与Joomla