Functions | |
addr_id ($n_family, $n_given=False, $org_name=False) | |
cat_id ($cats) | |
Variables | |
$_POST ['trans'] = unserialize(stripslashes($_POST['trans'])) | |
$_POST ['action'] | |
$ASep = '|>' | |
$boinfolog = createobject('infolog.boinfolog') | |
$cat2id = array( ) | |
$CPos = ']' | |
$CPosReg = '\]' | |
$CPre = '|[' | |
$CPreReg = '\|\[' | |
$csv_fields [] = 'no CSV 3' | |
$csv_fields [] = 'no CSV 2' | |
$csv_fields [] = 'no CSV 1' | |
$csv_fields = $GLOBALS['egw']->translation->convert($csv_fields,$_POST['charset']) | |
$csv_fields = fgetcsv($fp,8000,$_POST['fieldsep']) | |
$csv_fields [] = 'no CSV 3' | |
$csv_fields [] = 'no CSV 2' | |
$csv_fields [] = 'no CSV 1' | |
$csv_fields = $GLOBALS['egw']->translation->convert($csv_fields,$_POST['charset']) | |
$csv_fields = fgetcsv($fp,8000,$_POST['fieldsep']) | |
$defaults = array() | |
$defaults = $GLOBALS['egw_info']['user']['preferences']['infolog']['cvs_import'] | |
$fp = fopen($csvfile,'r') | |
$GLOBALS ['egw_info']['flags'] | |
$help_on_trans | |
$hiddenvars | |
$info_fields = array_diff($_POST['info_fields'],array( '' )) | |
$info_name_options = "<option value=\"\">none\n" | |
$info_names | |
$log = "\t</tr>\n</table>\n" | |
$log = "\t</tr><tr><td>".($start+$anz)."</td>\n" | |
$log = "\t\t<td><b>$info</b></td>\n" | |
$log = "<table border=1>\n\t<tr><td>#</td>\n" | |
$mktime_lotus = "${PSep}0?([0-9]+)[ .:-]+0?([0-9]*)[ .:-]+0?([0-9]*)[ .:-]+0?([0-9]*)[ .:-]+0?([0-9]*)[ .:-]+0?([0-9]*).*$ASep@mktime(${VPre}4,${VPre}5,${VPre}6,${VPre}2,${VPre}3,${VPre}1)" | |
$msg | |
$PSep = '||' | |
$reg = $CPreReg.'([a-zA-Z_0-9]+)'.$CPosReg | |
$replaces = '' | |
$trans [$csv_idx] = $values | |
$values = array() | |
$values = '' | |
$VPre = '|#' | |
case | __pad0__ |
case | __pad1__ |
case | __pad2__ |
break | |
break | |
break |
|
|
|
|
|
|
|
Initial value: move_uploaded_file($_FILES['csvfile']['tmp_name'],$csvfile) ? 'download' : '' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: array( 'currentapp' => 'infolog', 'noheader' => True, 'enable_contacts_class' => True, ) |
|
|
|
Initial value: |
|
|
|
|
|
Initial value: array( 'type' => 'Type: char(10) task,phone,note,confirm,reject,email,fax', 'from' => 'From: text(255) free text if no Addressbook-entry assigned', 'addr' => 'Addr: text(255) phone-nr/email-address', 'subject' => 'Subject: text(255)', 'des' => 'Description: text long free text', 'location' => 'Location: text(255)', 'responsible' => 'Responsible: int(11) user-id or user-name', 'owner' => 'Owner: int(11) user-id/-name of owner, if empty current user', 'access' => 'Access: public,private', 'cat' => 'Category: int(11) category-id or -name (new ones got created)', 'startdate' => 'Start Date: DateTime: Timestamp or eg. YYYY-MM-DD hh:mm', 'enddate' => 'End Date: DateTime', 'datecompleted'=> 'Date completed: DateTime', 'datemodified'=> 'Date Last Modified: DateTime, if empty = Date Created', 'modifier' => 'Modifier: int(11) user-id, if empty current user', 'priority' => 'Priority: 3=urgent, 2=high, 1=normal, 0=low', 'planned_time'=> 'planned Time: int(11) time used in min', 'used_time' => 'used Time: int(11) time used in min', 'status' => 'Status: char(10) offer,not-started,ongoing,call,will-call,done,billed,cancelled', 'percent' => 'Percent completed: int', // 'confirm' => 'Confirmation: char(10) not,accept,finish,both when to confirm', 'addr_id' => 'Addressbook id, to set use @addr_id(nlast,nfirst,org)' ) |
|
|
|
|
|
|
|
|
|
|
|
Initial value: ($safe_mode = ini_get('safe_mode') == 'On') ? lang('to many might exceed your execution-time-limit'):
lang('empty for all')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|