コード例 #1
0
ファイル: edit.php プロジェクト: jputz12/OneNow-Vshop
							<div class="controls">
							<?php 
echo $this->form->getInput('id');
?>
							</div>
						</div>
					</div>

					<div class="tab-pane" id="images">
					<?php 
echo DJCatalog2ImageHelper::renderInput('item', JFactory::getApplication()->input->getInt('id', null), (bool) JComponentHelper::getParams('com_djcatalog2')->get('multiple_image_upload', true));
?>
					</div>
					<div class="tab-pane" id="files">
					<?php 
echo DJCatalog2FileHelper::renderInput('item', JFactory::getApplication()->input->getInt('id', null), (bool) JComponentHelper::getParams('com_djcatalog2')->get('multiple_file_upload', true));
?>
					</div>
					
					<div class="tab-pane" id="location">
					<?php 
foreach ($this->form->getGroup('location') as $field) {
    ?>
						<div class="control-group">
							<div class="control-label"><?php 
    echo $field->label;
    ?>
</div>
							<div class="controls"><?php 
    echo $field->input;
    ?>
コード例 #2
0
ファイル: default.php プロジェクト: jputz12/OneNow-Vshop
    echo JHtml::_('tabs.panel', JText::_('COM_DJCATALOG2_FORM_FILES'), 'product-files');
    ?>
			<p class="djc_fileupload_tip">
				<?php 
    $file_count_limit = (int) $this->params->get('fed_max_files', 6);
    $file_size_limit = (int) $this->params->get('fed_max_file_size', 2048);
    ?>
				<?php 
    echo JText::sprintf('COM_DJCATALOG2_FILE_MAX_COUNT', $file_count_limit);
    if ($img_size_limit > 0) {
        echo ' | ' . JText::sprintf('COM_DJCATALOG2_FILE_MAX_SIZE', DJCatalog2FileHelper::formatBytes($file_size_limit * 1024));
    }
    ?>
			</p>
			<?php 
    echo DJCatalog2FileHelper::renderInput('item', JFactory::getApplication()->input->getInt('id', null), (bool) $this->params->get('fed_multiple_file_upload', true));
    ?>
			<?php 
}
?>
			
			<?php 
if ((int) $this->params->get('fed_meta', '0') > 0) {
    ?>
			<?php 
    echo JHtml::_('tabs.panel', JText::_('COM_DJCATALOG2_META_DETAILS'), 'product-meta');
    ?>
			<div class="control-group formelm">
				<div class="control-label">
					<?php 
    echo $this->form->getLabel('metatitle');