Ejemplo n.º 1
0
				<div class="form-horizontal">
					<fieldset>
						<legend><?php 
    echo JText::_('COM_CHPANEL_TRANSLATION_IMAGES');
    ?>
</legend>
						<?php 
    foreach ($this->item->images as $i => $image) {
        $field = "image_" . $image->id;
        $label = JText::_('COM_CHPANEL_ANY_IMAGE') . ' #' . ($i + 1);
        CHPanelHelper::renderTranslateText($field, $image->title, @$this->translation->data->{$field}, $label, $gtranslate);
        if ($image->info) {
            echo '<div class="chpanel-translate-image-info">';
            $field = "image_info_" . $image->id;
            $label = ' ';
            CHPanelHelper::renderTranslateTextArea($field, $image->info, @$this->translation->data->{$field}, $label, $gtranslate);
            echo '</div>';
        }
    }
    ?>
					</fieldset>
				</div>

			<?php 
}
?>

        </div>

    </div>
    <!--/main -->