1* (DONE) Externalise sanitise function
2
3  - sanitise.php: if exists, import "sanitise" function from it. If not,
4    use identity function.
5  - sample_sanitise.php: include this sample sanitise function. Move to
6    "sanitise.php" to use.
7
8* (DONE) Automatically detect lang.
9
10* In function ConnectTo (syntax.php), make special pattern not to collide
11  with perl regular expressions characters "[", "]", "|".
12
13    - This way, more powerful regular expressions can be used in options, like
14      "only:year=200[789]"
15    - Parsing is simplified: no substitute "," with "|".
16
17* Stronger special pattern parsing in function "handle" (syntax.php)
18
19  - Better format checking. Is "only:year" ok? Is "group:year=2005" ok?
20
21* Completely change special pattern format to something like:
22
23	"option1='value1';option2='value2';..."
24	E.g. {bibtex_type='file';bibtex_source=':mybibtex';group='year';
25	      only='year=200[456];entrytype=book'}
26
27	- any order, blanks allowed, etc.
28
29* Configurable global defaults: sort order, sort field, ...
30
31  - Maybe in configuration interface
32  - Maybe in conf.php file
33
34* Configuration interface
35
36  - Global defaults
37  - sanitiser function/file selection
38  - Default bibtex
39  - Default template
40