當前位置: 首頁>>代碼示例>>PHP>>正文


PHP VmHTML::editor方法代碼示例

本文整理匯總了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>
開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:31,代碼來源:default.php

示例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 {
開發者ID:denis1001,項目名稱:Virtuemart-2-Joomla-3-Bootstrap,代碼行數:31,代碼來源:edit.php

示例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>


開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:28,代碼來源:product_edit_information.php

示例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();
開發者ID:denis1001,項目名稱:Virtuemart-2-Joomla-3-Bootstrap,代碼行數:31,代碼來源:edit.php

示例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);
開發者ID:denis1001,項目名稱:Virtuemart-2-Joomla-3-Bootstrap,代碼行數:31,代碼來源:edit.php


注:本文中的VmHTML::editor方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。