<?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'News', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_input('attrShortDescription', $obj, array('labelname' => 'Short description', 'model' => 'News', 'maxlength' => 255, 'class' => 'large'), 'getShortDescription'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Main picture', 'model' => 'News', 'allowed' => 'images'), 'getImage'); ?> <?php echo panel_date('attrStartDate', $obj, array('labelname' => 'Date', 'model' => 'News', 'withtime' => true), 'getStartDate'); ?> <?php //echo panel_date('attrEndDate', $obj, array('labelname' => 'End date' , 'model' => 'News'), 'getEndDate'); ?> <?php echo panel_textarea('attrContent', $obj, array('labelname' => 'Content', 'model' => 'News', 'size' => '50x10', 'richtext' => 'true', 'rows' => 10, 'class' => 'mceEditor'), 'getContent'); ?> <?php echo panel_separator('hr', array('class' => 'brake')); ?> <?php echo panel_keywords('attrKeywords', $obj, array('labelname' => 'Keywords', 'model' => 'News', 'btnLabel' => 'Add keyword', 'size' => 70), 'getKeywords'); ?>
echo panel_date('attrRegistrationDate', $obj, array('labelname' => 'Registration date', 'rich' => 1, 'class' => 'short'), 'getRegistrationDate'); ?> <?php echo panel_select('attrFromSystem', $obj, $systemsArr, array('labelname' => 'From system', 'disabled' => 1, 'class' => 'short'), 'getFromSystem'); ?> <?php echo panel_select('attrKind', $obj, $kindsArr, array('labelname' => 'Kind', 'class' => 'short'), 'getKind'); ?> <?php echo panel_date('attrDateRequested', $obj, array('labelname' => 'Date requested', 'rich' => 1, 'class' => 'short'), 'getDateRequested'); ?> <?php echo panel_input('attrStatus', $obj, array('labelname' => 'Status', 'maxlength' => '255', 'class' => 'large'), 'getStatus'); ?> <?php echo panel_date('attrExpiresOn', $obj, array('labelname' => 'Expires on', 'rich' => 1, 'class' => 'short'), 'getExpiresOn'); ?> <?php echo panel_textarea('attrPublications', $obj, array('labelname' => 'Publications', 'size' => '70x5', 'rows' => '10'), 'getPublications'); ?> <?php echo panel_input('attrViennaClasses', $obj, array('labelname' => 'VIENNA classes', 'maxlength' => '512', 'class' => 'large'), 'getViennaClasses'); ?> <?php echo panel_input('attrNiceClasses', $obj, array('labelname' => 'NICE classes', 'maxlength' => '512', 'class' => 'large'), 'getNiceClasses'); ?> <?php echo panel_input('attrRightsOwner', $obj, array('labelname' => 'Rights owner', 'maxlength' => '255', 'class' => 'large'), 'getRightsOwner'); ?> <?php echo panel_textarea('attrRightsOwnerAddress', $obj, array('labelname' => 'Rights owner address', 'size' => '70x5', 'rows' => '10'), 'getRightsOwnerAddress');