| | |
| | | */ |
| | | |
| | | $liste['name'] = 'aps_instances'; // Name of the list |
| | | $liste['table'] = 'aps_instances,aps_packages'; // Database table |
| | | $liste['table'] = 'aps_instances'; // Database table |
| | | $liste['table_idx'] = 'id'; // Table index |
| | | |
| | | // if multiple tables are involved, list the additional tables here (comma separated) |
| | | $liste["additional_tables"] = "aps_packages"; |
| | | |
| | | // if multiple tables are involved, specify sql to join these tables |
| | | $liste["join_sql"] = " aps_instances.package_id = aps_packages.id"; |
| | | |
| | | $liste["search_prefix"] = 'search_'; // Search field prefix |
| | | $liste['records_per_page'] = 15; // Records per page |
| | | $liste['file'] = 'aps_installedpackages_list.php'; // Script file for this list |
| | |
| | | |
| | | // Search fields |
| | | $liste["item"][] = array('field' => 'name', |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'op' => 'LIKE', |
| | | 'prefix' => '%', |
| | | 'suffix' => '%', |
| | | 'width' => '', |
| | | 'value' => ''); |
| | | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'op' => 'LIKE', |
| | | 'prefix' => '%', |
| | | 'suffix' => '%', |
| | | 'width' => '', |
| | | 'value' => '', |
| | | 'table' => 'aps_packages'); |
| | | |
| | | $liste["item"][] = array('field' => 'version', |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'op' => 'like', |
| | | 'prefix' => '%', |
| | | 'suffix' => '%', |
| | | 'width' => '', |
| | | 'value' => ''); |
| | | |
| | | /* |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'op' => 'like', |
| | | 'prefix' => '%', |
| | | 'suffix' => '%', |
| | | 'width' => '', |
| | | 'value' => '', |
| | | 'table' => 'aps_packages'); |
| | | |
| | | /* |
| | | $liste["item"][] = array('field' => 'customer_id', |
| | | 'datatype' => 'INTEGER', |
| | | 'formtype' => 'SELECT', |
| | |
| | | 'width' => '', |
| | | 'value' => ''); |
| | | */ |
| | | |
| | | |
| | | $liste["item"][] = array('field' => 'instance_status', |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'SELECT', |
| | | 'op' => '=', |
| | | 'prefix' => '', |
| | | 'suffix' => '', |
| | | 'width' => '', |
| | | 'value' => array(INSTANCE_INSTALL => $app->lng('Installation_task'), |
| | | INSTANCE_ERROR => $app->lng('Installation_error'), |
| | | INSTANCE_SUCCESS => $app->lng('Installation_success'), |
| | | INSTANCE_REMOVE => $app->lng('Installation_remove'))); |
| | | ?> |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'SELECT', |
| | | 'op' => '=', |
| | | 'prefix' => '', |
| | | 'suffix' => '', |
| | | 'width' => '', |
| | | 'value' => array(INSTANCE_INSTALL => $app->lng('Installation_task'), |
| | | INSTANCE_ERROR => $app->lng('Installation_error'), |
| | | INSTANCE_SUCCESS => $app->lng('Installation_success'), |
| | | INSTANCE_REMOVE => $app->lng('Installation_remove')), |
| | | 'table' => 'aps_instances'); |
| | | ?> |