<?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.
//
// commcatfilter.php 0.30.1 2010/06/30 C K Wu
$app = 'ck-hr' ;
$tran = 'commcat' ;
require_once('../ck-api/ckapi.inc.php') ;
$ckapi['params'] = array( 'pre' => $pre ,
'app' => $app ,
'class' => $tran ,
'tran' => $tran ,
'table' => $pre.'category' ) ;
$ckapi['phrases'] = array('lang_title' => exapi_lang('Search among existing - %1 :',exapi_lang('Communication Channel Category')) ,
'lang_criteria' => exapi_lang('Searching Criteria') ,
'lang_value' => exapi_lang('Value') ,
'lang_note' => exapi_lang('Note') ,
'lang_search' => exapi_lang('Start Search') ,
'lang_add' => exapi_lang('Add New %1',exapi_lang('Communication Channel Category')) ,
'lang_search_message' => '' ,
'message' => '' );
$ckapi['filter'][] = array('criteria' => exapi_lang('Comm Channel Category Name/Abbreviation') ,
'type' => 'input' ,
'varname' => 'name' ,
'defval' => '' ,
'note' =>exapi_lang('Search for target key word in the Comm Channel Category Name field')) ;
$ckapi['filter'][] = array('criteria' => exapi_lang('Description') ,
'type' => 'input' ,
'varname' => 'description' ,
'defval' => '' ,
'note' => exapi_lang('Search for target key word in the Comm Channel Category Description field')) ;
$proc = newobj('ck-api','process') ;
$proc->process_filter() ;
ck_footer() ;
?>