Exemplo n.º 1
0
</h3>
<?php 
echo form_open(get_currcontroller() . "/create/go", array('id' => 'create_' . $orid, 'autocomplete' => 'off'));
?>
<div class="container editform">
<?if(validation_errors()){?>
<div class="error">
	<?php 
echo validation_errors('<div>', '</div>');
?>
</div>	
<?}?>
<?if($success===False){?>
<div class="error">
	<?php 
echo lang('SAVE_SYSTEM_ERROR');
?>
</div>
<?}?>
<?if($success===True){?>
<div class="success">
	<?php 
echo lang('SAVE_SYSTEM_SUCCESS');
?>
</div>
<?}?>
<div class="column span-4">
	<?php 
echo form_label(lang('POSITION') . required_field(), '_positions_rid');
?>
</div>
Exemplo n.º 2
0
echo form_open(get_currcontroller() . "/find/go", array('id' => 'find_' . $orid, 'autocomplete' => 'off'));
echo form_hidden('obj_rid', $orid);
?>
<div class="column span-3">
	<h6><?php 
echo lang('SEARCH_TITLE');
?>
</h6>
</div>
<div class="column span-7">
	<?php 
echo form_label(lang('ITEM_NAME'), 'menu_name');
?>
	<br>
	<?php 
echo form_input('item_name', element('_positions_menus.item_name', $search, ''), 'id="item_name" class="text part-5"');
?>
</div>
<div class="column span-7">
	<?php 
echo form_label(lang('POSITION'), 'position_name');
?>
	<br>
	<?php 
echo form_dropdown('_positions_rid', get_positions_list(), element('_positions.rid', $search, ''), 'id="_positions_rid" class="text" ');
?>
</div>
<div class="column span-7 last">
	<?php 
echo form_label(lang('HIDE_ARCHIVE'), 'archive');
?>
Exemplo n.º 3
0
</div>
<div class="column span-20 last">
	<?php 
echo form_input('filial_name', get_filial_name_byrid(set_value('_filials_rid', $ds->_filials_rid)), 'id="filial_name" class="text part-5" readonly="readonly"');
?>
</div>

<div class="column span-4">
	<?php 
echo form_label(lang('POSITION'), '_positions_rid');
?>
 
</div>
<div class="column span-20 last">
	<?php 
echo form_dropdown('_positions_rid', get_positions_list(), set_value('_positions_rid', $ds->_positions_rid), 'id="_positions_rid" class="text part-5" readonly="readonly" ');
?>
</div>

<div class="column span-4">
	<?php 
echo form_label(lang('BDATE'), 'bdate');
?>
 
</div>
<div class="column span-20 last">
	<?php 
echo form_input('bdate', date_conv(set_value('bdate', $ds->bdate)), 'id="bdate" class="text date-entry" readonly="readonly"');
?>
</div>