[Devel] [GIT] OpenBioMaps GIT repository, branch devel_2.2 updated: New function: file upload template for xls sheets
git at vocs.unideb.hu
git at vocs.unideb.hu
Tue Feb 27 09:36:19 CET 2018
The project "OpenBioMaps GIT repository":
The branch, devel_2.2 has been updated
via b687fd40aded8bd6053e7861541dfaf117e86c9d (commit)
via b21bfcc4a806985ab231b3cde168327790811ed3 (commit)
from d014e842cbbd7b7d91d9aeb0c9a01047e785b500 (commit)
- Log -----------------------------------------------------------------
commit b687fd40aded8bd6053e7861541dfaf117e86c9d
Author: Bán Miklós <banm at vocs.unideb.hu>
Date: Tue Feb 27 09:21:58 2018 +0100
New function: file upload template for xls sheets
There is an db structure update related to this new function:
ALTER TABLE settings_import ADD COLUMN "sheet" character varying (64);
New function in upload page:
Dynamic drop-down menu based on the content of an other drop-down menui
elements.
It works with 'default' elements (fields above the table) if both drop-down list created with
"SELECT:.." statement. E.g.
List definition 1)
column: transect_con_id
SELECT:butterfly_transects_hu_sections.transect_id observation_con_id
List definition 2)
column: observation_con_id
SELECT:butterfly_transects_hu_obs_main.obm_id:date_survey
In this example the list2 elements will be dynamically changed based on
the element choosed in list1
The new key element here the 'observation_con_id' string at the end of
the list1 definition which is a pointer to an other column. No more settings needed to activate this new feature!
commit b21bfcc4a806985ab231b3cde168327790811ed3
Author: Bán Miklós <banm at vocs.unideb.hu>
Date: Mon Feb 26 13:12:00 2018 +0100
updated excel days functions in upload sheet
-----------------------------------------------------------------------
Summary of changes:
libs/afuncs.php | 60 ++++++++++++++++++++++++++++++++++++-----
libs/common_pg_funcs.php | 15 ++++++-----
libs/js/uploader.js | 25 +++++++++++++++--
libs/languages/en.php | 2 ++
libs/languages/hu.php | 2 ++
libs/languages/ro.php | 2 ++
libs/read_uploaded_file.php | 10 +++----
libs/upload.php | 10 +++----
libs/upload_dynamic_js.php | 12 ++++++---
libs/upload_funcs.php | 3 +--
libs/upload_show-table-form.php | 13 ++++++---
11 files changed, 121 insertions(+), 33 deletions(-)
--
OpenBioMaps GIT repository
More information about the Devel
mailing list