コード例 #1
0
ファイル: editUserSuccess.php プロジェクト: kotow/work
		<?php 
echo backend_tags($tags, $obj);
?>
	</div>

	<div id='tab2' name='tabAdmin' style='display: none'>
		<?php 
echo backend_hidden('attrBackend', $obj, array('labelname' => 'Backend', 'model' => 'User'), 'getBackend');
?>
		<?php 
echo backend_select('attrType', $obj, Lists::getListitemsForSelect('usertype'), array('labelname' => 'Type', 'model' => 'User'), 'getType');
?>
	</div>

	<div id='tab3' name='tabUser' style='display: none'>
		<?php 
echo backend_date('attrBirthDate', $obj, array('labelname' => 'BirthDate', 'model' => 'User'), 'getBirthDate');
?>
		<?php 
echo backend_select('attrEducation', $obj, Lists::getListitemsForSelect('educations'), array('labelname' => 'Education', 'model' => 'User'), 'getEducation');
?>
		<?php 
echo backend_media('attrCv', $obj, array('labelname' => 'Cv', 'model' => 'User'), 'getCv');
?>
		</div>

	<div id='line'></div>
	<input id='btnSubmit' type='submit' class='save_btndisabled' value='' disabled/>
</form>
</div>
<script type="text/javascript">setTimeout(function(){$('#backendMsg').fadeOut(1000)},2000);</script>
コード例 #2
0
ファイル: editNewsI18nSuccess.php プロジェクト: kotow/work
}
?>
		<?php 
echo backend_input('attrLabel', $obj, array('labelname' => 'Label', 'model' => 'NewsI18n', 'maxlength' => '255', 'required' => 'true', 'onfocus' => ' validateEditForm();'), 'getLabel');
?>
		<?php 
echo backend_input('attrShortDescription', $obj, array('labelname' => 'Short description', 'model' => 'NewsI18n', 'maxlength' => '255'), 'getShortDescription');
?>
		<?php 
echo backend_media('attrImage', $obj, array('labelname' => 'Main image', 'model' => 'NewsI18n', 'allowed' => 'images'), 'getImage');
?>
		<?php 
echo backend_date('attrStartDate', $obj, array('labelname' => 'Start date', 'model' => 'NewsI18n'), 'getStartDate');
?>
		<?php 
echo backend_date('attrEndDate', $obj, array('labelname' => 'End date', 'model' => 'NewsI18n'), 'getEndDate');
?>
		<?php 
echo backend_select('attrCulture', $obj, Lists::getListitemsForSelect('culture'), array('labelname' => 'Culture', 'model' => 'NewsI18n', 'unique' => 'true', 'required' => 'true', 'onchange' => ' validateEditForm();'), 'getCulture');
?>
		<?php 
if ($obj) {
    echo backend_gallery($obj->getId(), array('width' => '600', 'thumb_width' => '100', 'path' => 'upload'));
}
?>
		<?php 
echo backend_tags($tags, $obj);
?>
	</div>

	<div id='tab2' name='tabContent' style='display: none'>