Example #1
0
        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>
	</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 {
                        </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>


		<?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();
}
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);