本文整理汇总了PHP中VmHTML::editor方法的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML::editor方法的具体用法?PHP VmHTML::editor怎么用?PHP VmHTML::editor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmHTML
的用法示例。
在下文中一共展示了VmHTML::editor方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo $editlink;
?>
"><?php
echo $row->faq_name;
?>
</a>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::editor('answer', $row->answer);
?>
<?php
} else {
?>
<a href="<?php
echo $editlink;
?>
"><?php
echo TSMUtility::truncate($row->answer);
?>
</a>
<?php
}
?>
</td>
示例2: toggleDisable
</div>
</fieldset>
<div class="accordion">
<?php
$this->manufacturer->images[0]->addHidden('virtuemart_vendor_id', $this->virtuemart_vendor_id);
echo $this->manufacturer->images[0]->displayFilesHandler($this->manufacturer->virtuemart_media_id, 'manufacturer');
?>
</div>
<fieldset>
<legend><?php
echo JText::_('COM_VIRTUEMART_DESCRIPTION');
?>
</legend>
<div>
<?php
echo VmHTML::editor('mf_desc', $this->manufacturer->mf_desc, '100%', null, null, false);
?>
</div>
</fieldset>
<input type="hidden" name="virtuemart_manufacturer_id" value="<?php
echo $this->manufacturer->virtuemart_manufacturer_id;
?>
" />
<?php
echo $this->addStandardHiddenToForm();
?>
</form>
<script type="text/javascript">
function toggleDisable( elementOnChecked, elementDisable, disableOnChecked ) {
try {
示例3:
</div>
</div>
<div class="row-fluid ">
<div class="span12">
<h3 class="">Tour highlight</h3>
<?php
echo VmHTML::editor('highlights', $this->product->highlights, '100%', '40px');
?>
</div>
</div>
<div class="row-fluid ">
<div class="span12">
<h3 class="">Add private policy</h3>
<?php
echo VmHTML::editor('private_policy', $this->product->private_policy);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
示例4:
<?php
echo VmHTML::row('raw', 'COM_VIRTUEMART_VENDOR', $this->lists['vendors']);
?>
<?php
echo VmHTML::row('booleanlist', 'COM_VIRTUEMART_PUBLISHED', 'published', $this->orderStatus->published);
?>
<?php
echo VmHTML::row('raw', 'COM_VIRTUEMART_ORDERING', $this->ordering);
?>
<?php
echo VmHTML::row('raw', 'COM_VIRTUEMART_DESCRIPTION', '');
?>
</table>
<div>
<?php
echo VmHTML::editor('order_status_description', $this->orderStatus->order_status_description, '100%;', '250', false);
?>
</div>
</fieldset>
<input type="hidden" name="virtuemart_orderstate_id" value="<?php
echo $this->orderStatus->virtuemart_orderstate_id;
?>
" />
<?php
echo $this->addStandardHiddenToForm();
?>
</form>
<?php
AdminUIHelper::endAdminArea();
示例5:
}
if ($this->category->virtuemart_media_id) {
echo $this->category->images[0]->displayFilesHandler($this->category->virtuemart_media_id, 'category');
} else {
echo $this->category->images[0]->displayFilesHandler(null, 'category');
}
?>
</div>
<fieldset>
<legend><?php
echo JText::_('COM_VIRTUEMART_DESCRIPTION');
?>
</legend>
<div>
<?php
echo VmHTML::editor('category_description', $this->category->category_description);
?>
</div>
</fieldset>
<div class="row-fluid">
<fieldset class="span6">
<legend><?php
echo JText::_('COM_VIRTUEMART_DETAILS');
?>
</legend>
<table>
<?php
echo VmHTML::row('raw', 'COM_VIRTUEMART_ORDERING', ShopFunctions::getEnumeratedCategories(true, true, $this->parent->virtuemart_category_id, 'ordering', '', 'ordering', 'category_name', $this->category->ordering));
?>
<?php
echo VmHTML::row('input', 'COM_VIRTUEMART_CATEGORY_FORM_PRODUCTS_PER_ROW', 'products_per_row', $this->category->products_per_row);