joomla2.5常用HTML控件
JHtml::_('date', $this->item->publishup, JText::('DATE_FORMATLC4'));
JHtml::('category.options', 'comcontent');
JHtml::('select.genericlist', $options, $name, $javascript, $value, $text, $defaultvalue);
JHtml::('select.booleanlist', $name, $javascript, $defaultvalue);
JHtml::('select.radiolist', $data, $name, $attribs, 'value', 'text', $defaultvalue, $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_outtime, 'articles.', $canCheckin);
JHtml::('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publishdown);
JHtml::('contentadministrator.featured', $item->featured, $i, $canChange);
JHtml::('jgrid.publishedOptions');
JHtml::('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder);
图片上传
function jInsertEditorText(tag, id){
tag = tag.replace("
关键字:joomla, jhtml, #item-# name
版权声明
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处。如若内容有涉嫌抄袭侵权/违法违规/事实不符,请点击 举报 进行投诉反馈!