echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class="drop-shadow"> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'TopicI18n', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_input('attrNavigationTitle', $obj, array('labelname' => 'Navigation title', 'model' => 'TopicI18n', 'maxlength' => 255, 'class' => 'large'), 'getNavigationTitle'); ?> <?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')); ?> <?php
| <b>File type: </b><?php echo $obj->getFiletype(); ?> | <b>Size: </b><?php echo round(filesize($obj->getServerAbsoluteUrl()) / 1024) . " Kb"; ?> </span> </div> <?php } ?> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_input('attrDescription', $obj, array('labelname' => 'Description', 'maxlength' => 255, 'class' => 'large'), 'getDescription'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Picture', 'allowed' => 'images', 'showOnly' => 1), 'getId'); ?> <div class="field"> <label style="float:left;">Upload file<a title="Upload file" href="javascript: void(0);"></a></label> <?php echo input_file_tag('attrFilename', '', array('size' => 50)); ?> </div> <?php echo panel_separator('hr', array('class' => 'brake')); ?> <?php if (count($tags) > 0) {
echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class="drop-shadow"> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Website', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_input('attrUrl', $obj, array('labelname' => 'Url', 'model' => 'Website', 'maxlength' => 255, 'validate' => 'Url', 'class' => 'large'), 'getUrl'); ?> <?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')); ?> <?php
?> <?php if ($obj) { echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class="drop-shadow"> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Category', 'maxlength' => '255', 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Image', 'model' => 'Category', 'allowed' => 'images'), 'getImage'); ?> <?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_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Lists', 'maxlength' => '255', 'required' => 'true', 'class' => 'medium'), 'getLabel'); ?> <?php echo panel_input('attrListId', $obj, array('labelname' => 'List ID', 'model' => 'Lists', 'maxlength' => '255', 'required' => 'true', 'class' => 'medium'), 'getListId'); ?> <?php echo panel_select('attrListType', $obj, Lists::getListitemsForSelect('list_types'), array('labelname' => 'List type', 'model' => 'Lists', 'required' => 'true', 'class' => 'medium'), 'getListType'); ?> <?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
<?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Slide', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Picture', 'model' => 'Slide', 'allowed' => 'images'), 'getImage'); ?> <?php echo panel_textarea('attrDescription', $obj, array('labelname' => 'Description', 'model' => 'Slide', 'size' => '50x5', 'richtext' => 'true', 'class' => 'mceEditor'), 'getDescription'); ?> <?php echo panel_input('attrLink', $obj, array('labelname' => 'Link to page', 'maxlength' => 255, 'class' => 'large'), 'getLink'); ?> <?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')); ?> <?php
echo panel_input('attrFirstName', $obj, array('labelname' => 'First name', 'model' => 'User', 'maxlength' => '100', 'required' => 'true', 'class' => 'large'), 'getFirstName'); ?> <?php echo panel_input('attrLastName', $obj, array('labelname' => 'Last name', 'model' => 'User', 'maxlength' => '100'), 'getLastName'); ?> <?php echo panel_input('attrEmail', $obj, array('labelname' => 'Email', 'model' => 'User', 'maxlength' => '100', 'required' => 'true', 'validate' => 'Email', 'class' => 'large'), 'getEmail'); ?> <?php echo panel_input('attrPassword', $obj, array('labelname' => 'Password', 'model' => 'User', 'maxlength' => '50', 'class' => 'large'), 'getPassword'); ?> <?php echo panel_input('Confirmpass', $obj, array('labelname' => 'Confirm password', 'model' => 'User', 'maxlength' => '50', 'validate' => 'compare', 'class' => 'large'), 'getConfirmpass'); ?> <?php echo panel_input('attrPhone', $obj, array('labelname' => 'Phone', 'model' => 'User', 'maxlength' => '20'), 'getPhone'); ?> <?php echo panel_separator('hr', array('class' => 'brake')); ?> <?php echo panel_hidden('attrBackend', $obj, array('labelname' => 'Backend', 'model' => 'User'), 'getBackend'); ?> <?php echo panel_select('attrType', $obj, Lists::getListitemsForSelect('usertype'), array('labelname' => 'Type', 'model' => 'User'), 'getType'); ?> <?php //echo panel_date('attrBirthDate', $obj, array('labelname' => 'BirthDate' , 'model' => 'User'), 'getBirthDate'); ?>
?> <?php if ($obj) { echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Mailinglist', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?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')); ?> </fieldset>
echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Subscriber', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_input('attrEmail', $obj, array('labelname' => 'Label', 'model' => 'Subscriber', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getEmail'); ?> <?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')); ?> </fieldset>
echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Listitem', 'maxlength' => '255', 'required' => 'true', 'class' => 'medium'), 'getLabel'); ?> <?php echo panel_input('attrValue', $obj, array('labelname' => 'Value', 'model' => 'Listitem', 'maxlength' => '255', 'class' => 'medium'), 'getValue'); ?> <?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')); ?> <?php
<?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Tag', 'maxlength' => 255, 'required' => 'true', 'class' => 'medium'), 'getLabel'); ?> <?php echo panel_input('attrTagId', $obj, array('labelname' => 'Tag ID', 'model' => 'Tag', 'maxlength' => 255, 'required' => 'true', 'class' => 'medium'), 'getTagId'); ?> <?php echo panel_input('attrModule', $obj, array('labelname' => 'Module', 'model' => 'Tag', 'maxlength' => 255, 'required' => 'true', 'class' => 'medium'), 'getModule'); ?> <?php echo panel_input('attrDocumentModel', $obj, array('labelname' => 'Document Model', 'model' => 'Tag', 'maxlength' => 255, 'required' => 'true', 'class' => 'medium'), 'getDocumentModel'); ?> <?php echo panel_checkbox('attrExclusive', $obj, array('labelname' => 'Exclusive', 'model' => 'Tag'), 'getExclusive'); ?> <?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
<!-- START CONTENT --> <?php echo $sf_params->get('backendMsg'); ?> <form method='POST' action='' name='editForm' id='editForm'> <?php echo panel_hidden('moduleName', 'settings'); ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrValue', $val, array('labelname' => 'Value', 'model' => 'Settings', 'maxlength' => '255', 'required' => true, 'class' => 'large'), 'getValue'); ?> <?php echo panel_separator('hr', array('class' => 'brake')); ?> <?php echo panel_save_button(array('div' => 'buttons', 'class' => 'submit', 'value' => 'Save changes')); ?> </fieldset> </form> <div class='clear'></div> <!-- END CONTENT -->
?> <?php if ($obj) { echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Keyword', 'maxlength' => '255', 'required' => 'true', 'class' => 'medium'), 'getLabel'); ?> <?php //echo panel_input('attrShort', $obj, array('labelname' => 'Short' , 'model' => 'Keyword', 'maxlength' => '63', 'required' => 'true', 'class' => 'medium'), 'getShort'); ?> <?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_input('attrViennaClasses', $obj, array('labelname' => 'VIENNA classes', 'model' => 'Search', 'maxlength' => '512', 'class' => 'large'), 'getViennaClasses'); ?> <?php echo panel_input('attrNiceClasses', $obj, array('labelname' => 'NICE classes', 'model' => 'Search', 'maxlength' => '512', 'class' => 'large'), 'getNiceClasses'); ?> <?php echo panel_input('attrRightsOwner', $obj, array('labelname' => 'Rights owner', 'model' => 'Search', 'maxlength' => '255', 'class' => 'large'), 'getRightsOwner'); ?> <?php echo panel_input('attrRightsRepresentative', $obj, array('labelname' => 'Rights representative', 'model' => 'Search', 'maxlength' => '255', 'class' => 'large'), 'getRightsRepresentative'); ?> <?php echo panel_input('attrOfficeOfOrigin', $obj, array('labelname' => 'Office of origin', 'model' => 'Search', 'maxlength' => '10', 'class' => 'large'), 'getOfficeOf_origin'); ?> <?php echo panel_input('attrDesignatedContractingParty', $obj, array('labelname' => 'Designated contracting party', 'model' => 'Search', 'maxlength' => '512', 'class' => 'large'), 'getDesignatedContracting_party'); ?> <?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')); ?> </fieldset>
?> <?php if ($obj) { echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?php echo panel_hidden('parent', $sf_request->getParameter('parent')); ?> <fieldset class='drop-shadow'> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Title', 'model' => 'Gallery', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Main picture', 'model' => 'Gallery', 'allowed' => 'images', 'height' => 120), 'getImage'); ?> <?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'));
<fieldset class="drop-shadow"> <?php echo panel_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'Product', 'maxlength' => 255, 'required' => 'true', 'class' => 'large'), 'getLabel'); ?> <?php echo panel_image('attrImage', $obj, array('labelname' => 'Main picture', 'model' => 'Product', 'allowed' => 'images'), 'getImage'); ?> <?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
echo panel_hidden('http_ref', $_SERVER["HTTP_REFERER"] ? $_SERVER["HTTP_REFERER"] : $sf_request->getParameter('http_ref')); } ?> <?php echo panel_hidden('id', $obj, '', 'getId'); ?> <?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_textarea('attrDescription2', $obj, array('labelname' => 'Description 2' , 'model' => 'PageI18n', 'size' => '50x10', 'richtext' => 'true', 'rows' => '10', 'class' => 'mceEditor'), 'getDescription2'); ?> <?php echo panel_separator('hr', array('class' => 'brake')); ?> <?php //echo panel_input('attrMetaHeading', $obj, array('labelname' => 'META Heading', 'model' => 'PageI18n', 'maxlength' => 255, 'class' => 'large'), 'getMetaHeading'); ?> <?php echo panel_input('attrMetaDescription', $obj, array('labelname' => 'META Description', 'model' => 'PageI18n', 'maxlength' => 255, 'class' => 'large'), 'getMetaDescription'); ?> <?php echo panel_input('attrMetaKeywords', $obj, array('labelname' => 'META Keywords', 'model' => 'PageI18n', 'maxlength' => 255, 'class' => 'large'), 'getMetaKeywords'); ?> <?php echo panel_separator('hr', array('class' => 'brake')); if (!$obj) { echo panel_select('attrTemplate', $obj, $template, array('labelname' => 'Template', 'model' => 'PageI18n', 'required' => 'true', 'class' => 'medium', 'wait' => 1), 'getTemplate'); } else { $user = $sf_user->getSubscriber(); if ($user && $user->getType() == 'admin') { echo panel_select('attrTemplate', $obj, $template, array('labelname' => 'Template', 'model' => 'PageI18n', 'required' => 'true', 'class' => 'medium', 'wait' => 1), 'getTemplate'); } else { echo panel_select('attrTemplate', $obj, $template, array('labelname' => 'Template', 'model' => 'PageI18n', 'disabled' => 'true', 'class' => 'medium'), 'getTemplate'); } } ?>