Ejemplo n.º 1
0
?>
	<?php 
echo panel_textarea('attrDescription', $obj, array('labelname' => 'Description', 'model' => 'Gallery', 'size' => '50x5', 'richtext' => 'true', 'class' => 'mceEditor'), 'getDescription');
?>

	<?php 
echo panel_separator('hr', array('class' => 'brake'));
?>
	<?php 
if (count($tags) > 0) {
    echo panel_tags($tags, $obj);
    echo panel_separator('hr', array('class' => 'brake'));
}
?>

	<?php 
if ($obj) {
    echo panel_gallery($obj->getId(), array('labelname' => 'Images gallery', 'path' => 'galleries'));
}
?>

	<?php 
echo panel_save_button(array('div' => 'buttons', 'class' => 'submit', 'value' => 'Save changes'));
?>
	<?php 
echo panel_modal_images();
?>
	</fieldset>
</form>
<div class='clear'></div>
<!-- END CONTENT -->
Ejemplo n.º 2
0
	<?php 
echo panel_keywords('attrKeywords', $obj, array('labelname' => 'Keywords', 'model' => 'News', 'btnLabel' => 'Add keyword', 'size' => 70), 'getKeywords');
?>

	<?php 
echo panel_separator('hr', array('class' => 'brake'));
?>
	<?php 
if (count($tags) > 0) {
    echo panel_tags($tags, $obj);
    echo panel_separator('hr', array('class' => 'brake'));
}
?>

	<?php 
if ($obj) {
    echo panel_gallery($obj->getId(), array('labelname' => 'Images gallery', 'width' => '600', 'thumb_width' => '80', 'path' => 'news'));
}
?>

	<?php 
echo panel_save_button(array('div' => 'buttons', 'class' => 'submit', 'value' => 'Save changes'));
?>
	<?php 
echo panel_modal_images();
?>
	</fieldset>
</form>
<div class='clear'></div>
<!-- END CONTENT -->
Ejemplo n.º 3
0
	<?php 
echo panel_input('attrShortDescription', $obj, array('labelname' => 'Short description', 'model' => 'Product', 'maxlength' => 100, 'class' => 'large'), 'getShortDescription');
?>
	<?php 
echo panel_textarea('attrDescription', $obj, array('labelname' => 'Description', 'model' => 'Product', 'size' => '50x5', 'richtext' => 'true', 'class' => 'mceEditor'), 'getDescription');
?>
	<?php 
echo panel_input('attrPrice', $obj, array('labelname' => 'Price', 'model' => 'Product', 'class' => 'short'), 'getPrice');
?>
	<?php 
echo panel_select('attrCurrency', $obj, Lists::getListitemsForSelect('currency'), array('labelname' => 'Currency', 'model' => 'Product', 'required' => 'true', 'class' => 'short'), 'getCurrency');
?>

	<?php 
if ($obj) {
    echo panel_gallery($obj->getId(), array('labelname' => 'Images gallery', 'width' => '800', 'crop_width' => '800', 'crop_height' => '600', 'thumb_width' => '120', 'path' => 'galleries_products'));
}
?>

	<?php 
echo panel_separator('hr', array('class' => 'brake'));
?>
	<?php 
if (count($tags) > 0) {
    echo panel_tags($tags, $obj);
    echo panel_separator('hr', array('class' => 'brake'));
}
?>
	<?php 
echo panel_save_button(array('div' => 'buttons', 'class' => 'submit', 'value' => 'Save changes'));
?>