Exemple #1
0
<?php

echo form_input($scr_p, get_emp_fullname_byrid(set_value($val_p, $default_value)), 'id="' . $scr_p . '" class="text part-4" readonly="readonly"');
echo form_hidden($val_p, set_value($val_p, $default_value));
?>
<span style="vertical-align:middle; margin-left: 3px;">
<?php 
echo anchor_popup('employeers/vjournal/go/val_p/' . $val_p . '/scr_p/' . $scr_p, img('public/img/icons/refresh.gif'), array('title' => lang('SELECT_BTN'), 'id' => "sbtn_{$val_p}", 'name' => "sbtn_{$val_p}", 'width' => '950', 'height' => '600'));
?>
<?if($show_details) { ?>
	<?php 
echo anchor_popup("employeers/vedit/'+\$('input[name=\\'{$val_p}\\']').val()+'", img('public/img/icons/edit.gif'), array('title' => lang('DETAILS_BTN'), 'id' => "sbtn_{$val_p}_details", 'name' => "sbtn_{$val_p}_details", 'width' => '950', 'height' => '600'));
?>
<? } ?>
<?php 
echo anchor('', img('public/img/icons/close_dashboard.gif'), 'title="' . lang('CLEAR_BTN') . '" id="cbtn_' . $val_p . '" name="cbtn_' . $val_p . '"');
?>
</span>  
<script type="text/javascript">
$(document).ready(
		function(){
			$('#cbtn_<?php 
echo $val_p;
?>
').click(function(){
				$("input[name='<?php 
echo $val_p;
?>
']").val('');
				$('#<?php 
echo $scr_p;
Exemple #2
0
<div class="grid fieldscontainer">
<h3><?php 
echo $title;
?>
</h3>
<div class="container editform">
<div class="column span-3">
	<?php 
echo form_label(lang('EMPLOYEER'), 'emp_name');
?>
</div>
<div class="column span-21 last">
	<?php 
echo form_input('full_name', get_emp_fullname_byrid(set_value('_employeers_rid', $ds->_employeers_rid)), 'id="full_name" class="text part-5" readonly="readonly"');
?>
</div>
<div class="column span-3" style="white-space: nowrap;">
	<?php 
echo form_label(lang('USER_LOGIN'), 'user_login');
?>
</div>
<div class="column span-21 last">
	<?php 
echo form_input('user_login', set_value('user_login', $ds->user_login), 'id="user_login" readonly="readonly" class="text part-5"');
?>
</div>
<div class="column span-3" style="white-space: nowrap;">
	<?php 
echo form_label(lang('USER_PASSWORD'), 'user_passwd');
?>
</div>