コード例 #1
0
ファイル: default.php プロジェクト: thangredweb/redCORE
				<div class="control-label">
					<?php 
echo $this->form->getLabel('params');
?>
				</div>
				<div class="controls">
					<?php 
echo $this->form->getInput('params');
?>
				</div>
			</div>
			<?php 
$element = new RTranslationContentElement('com_plugins', '');
$element->name = 'plugins';
$column = array('name' => 'params', 'formname' => 'plugin');
echo RLayoutHelper::render('translation.params', array('form' => RTranslationHelper::loadParamsForm($column, $element, $this->item, 'plugin'), 'column' => $column, 'translationForm' => true));
?>
		</div>
	</div>

	<!-- hidden fields -->
	<input type="hidden" name="option" value="com_redcore">
	<input type="hidden" name="id" value="<?php 
echo $this->item->id;
?>
">
	<input type="hidden" name="task" value="">
	<?php 
echo JHTML::_('form.token');
?>
</form>
コード例 #2
0
ファイル: edit.php プロジェクト: thangredweb/redCORE
        ?>
</textarea>
							</div>
						</td>
					</tr>
					<tr>
						<td><?php 
        echo JText::_('COM_REDCORE_TRANSLATIONS_TRANSLATION');
        ?>
</td>
						<td id="translation_field_<?php 
        echo $columnKey;
        ?>
">
							<?php 
        echo RLayoutHelper::render('translation.params', array('form' => RTranslationHelper::loadParamsForm($column, $this->contentElement, $this->item->translation, 'translation'), 'original' => $this->item->original->{$columnKey}, 'translation' => $this->item->translation->{$columnKey}, 'name' => $columnKey, 'column' => $column, 'translationForm' => true));
        ?>
						</td>
					</tr>
				<?php 
    }
    ?>
			<?php 
}
?>
			<?php 
foreach ($this->noTranslationColumns as $columnKey => $column) {
    ?>
				<tr>
					<td colspan="2"><?php 
    echo JText::_('COM_REDCORE_TRANSLATIONS_FIELD') . ': <strong>' . $column['titleLabel'];