X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/edfac813ea5dd184e35d9b5a7aaf9364c3083871..cbf8ed0240f2cf87a37ebaff9aa36844f66d0a49:/templates/webpages/client_config/_features.html diff --git a/templates/webpages/client_config/_features.html b/templates/webpages/client_config/_features.html index b38b66e90..44c158f3e 100644 --- a/templates/webpages/client_config/_features.html +++ b/templates/webpages/client_config/_features.html @@ -37,22 +37,25 @@ [% LxERP.t8('Storage Type for generated/imported PDF Documents') %] [% L.select_tag('defaults.doc_storage_for_documents', - [ [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], - default = SELF.defaults.doc_storage_for_documents) %] + [ [ 'None', LxERP.t8('None') ],[ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], + default = SELF.defaults.doc_storage_for_documents, + onchange="return checkavailable_filebackend(this);") %] [% LxERP.t8('Use this storage backend for all generated PDF-Files') %] [% LxERP.t8('Storage Type for Attachments') %] [% L.select_tag('defaults.doc_storage_for_attachments', - [ [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], - default = SELF.defaults.doc_storage_for_attachments) %] + [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], + default = SELF.defaults.doc_storage_for_attachments, + onchange="return checkavailable_filebackend(this);") %] [% LxERP.t8('Use this storage backend for all uploaded attachments') %] [% LxERP.t8('Storage Type for images') %] [% L.select_tag('defaults.doc_storage_for_images', - [ [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], - default = SELF.defaults.doc_storage_for_images) %] + [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ], + default = SELF.defaults.doc_storage_for_images, + onchange="return checkavailable_filebackend(this);") %] [% LxERP.t8('Use this storage backend for uploaded images') %] @@ -62,8 +65,9 @@ [% LxERP.t8('max filesize') %] - [% L.input_tag('defaults.doc_max_filesize',SELF.defaults.doc_max_filesize, size=>10) %] - [% LxERP.t8('The maximum of uploadable filesize') %] + [% L.input_tag('doc_max_filesize_MB','', size=10, onchange="verifyMBSize(this);") %] + [% L.hidden_tag('defaults.doc_max_filesize',SELF.defaults.doc_max_filesize) %] MB + [% LxERP.t8('The maximum of uploadable filesize in Megabyte') %] [% LxERP.t8("Storage Backends") %] @@ -73,7 +77,7 @@ [% LxERP.t8('Root path for file storage') %] - [% L.input_tag('defaults.doc_files_rootpath',SELF.defaults.doc_files_rootpath, style=style) %] + [% L.input_tag('defaults.doc_files_rootpath',SELF.defaults.doc_files_rootpath, style=style, onchange="verifyRootPath(this);") %] [% LxERP.t8('This is the root directory for the File storage backend, must be writable for webserver') %] @@ -83,7 +87,7 @@ [% LxERP.t8('Database') %] - [% L.yes_no_tag('defaults.doc_database', SELF.defaults.doc_database) %] + [% L.yes_no_tag('defaults.doc_database', SELF.defaults.doc_database, disabled=1) %] [% LxERP.t8('Use Database Storage backend (not implemented yet!)') %]