r472@llin: dpavlin | 2006-02-19 21:24:56 +0100 added doc_num to all databases, refactor database selector into databases.tt