Location: PHPKode > projects > CK-ERP > ck-hr/emppersonedit.php
<?php
//
// CK-ERP  --  Copyright (C) 2004 - 2010       Wu Chiu Kay
// ------------------------------------------------------
//  This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
//
// emppersonedit.php 0.30.1 2010/06/30 C K Wu

	$app = 'ck-hr' ;
	$tran = 'empperson' ;
	require_once('../ck-api/ckapi.inc.php') ;

	$ckapi['params'] = array( 'pre'		=> $pre ,
				'app'		=> $app ,
				'class'		=> $tran ,
				'tran'		=> $tran ,
				'table'		=> $pre.$tran ,
				'uniqueflds'	=> array('prsnumber')		) ;
	$msg = exapi_lang('After contact details had been modified in a separate window, the main screen need to be refreshed to reflect the updated preferred data.') ;
	$ckapi['phrases'] = array('lang_title'	=> exapi_lang('Edit %1',exapi_lang('Employee Personal Record')) ,
				'lang_post'	=> exapi_lang('Update %1',exapi_lang('Employee Personal Record')) ,
				'lang_tran'	=> exapi_lang('Employee Personal Record') ,
				'message'	=> $msg ,
				'reminder'	=> exapi_lang('Remember to update the various contact details.'));
	$ckapi['tables']['parents'] = array($pre.$tran		=> ''		) ;
	$ckapi['buttons'] = array('post'			=> ''		) ;

	$proc1 = newobj('ck-api','process1') ;
	$proc1->process1_edit() ;
	ck_footer() ;

?>
Return current item: CK-ERP