X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fadmin%2Fcreate_dataset.html;h=48998c6a96a721a145311d149eecb21c911dc664;hb=f15f5e4321df31d2279edb480e9c7fc15c3af31c;hp=3e4c6e70749b877472fc260c342a273ad4168c87;hpb=c1a8c6325abd3a4af242e9e6fd03b439d9b7c32f;p=kivitendo-erp.git diff --git a/templates/webpages/admin/create_dataset.html b/templates/webpages/admin/create_dataset.html index 3e4c6e707..48998c6a9 100644 --- a/templates/webpages/admin/create_dataset.html +++ b/templates/webpages/admin/create_dataset.html @@ -1,128 +1,136 @@ -[%- USE T8 %] -[%- USE HTML %] -

[% title %]

- -
-

[% 'Back' | $T8 %]

-

- [% 'You can either create a new database or chose an existing database.' | $T8 %] - [% 'In the latter case the tables needed by kivitendo will be created in that database.' | $T8 %] -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +[%- USE HTML %][%- USE LxERP -%][%- USE T8 -%][%- USE L -%] + +[% INCLUDE 'common/flash.html' %] + +

[% HTML.escape(title) %]

+ + +

+ [% LxERP.t8('You can either create a new database or chose an existing database.') %] + [% LxERP.t8('In the latter case the tables needed by kivitendo will be created in that database.') %] +

+ + [% IF !superuser.have_privileges %] +

+ [% LxERP.t8("Database superuser privileges are required for parts of the database modifications.") %] + [% LxERP.t8("Please provide corresponding credentials.") %] +

+ [% END %] + +
[% 'Existing Datasets' | $T8 %][% HTML.escape(dbsources) %]
[% 'Create Dataset' | $T8 %]
[% 'Multibyte Encoding' | $T8 %] - [%- IF FORCE_DBENCODING %] - - [% HTML.escape(FORCE_DBENCODING) %] - [%- ELSE %] - - [%- END %] -
[% 'Create Chart of Accounts' | $T8 %] - -
[% 'Accounting method' | $T8 %] * - -
[% 'Inventory system' | $T8 %] * - - [% '* there are restrictions for the perpetual method, look at chapter "Bemerkungen zu Bestandsmethode" in' | $T8 %] kivitendo-Dokumentation.pdf. -
[% 'Profit determination' | $T8 %] * - -
+ + + + + + + + + + + [% IF !superuser.have_privileges %] + + + - - - -
[% LxERP.t8('Existing Datasets') %][% FOREACH db = SELF.all_dbsources %][% UNLESS loop.first %] [% END %][[% HTML.escape(db) %]][% END %]
[% LxERP.t8('Create Dataset') %][% L.input_tag('db', FORM.db, class="initial_focus") %]
[% LxERP.t8("Database Superuser") %][% L.input_tag("database_superuser_user", superuser.username) %]
- [% '*) Since version 2.7 these parameters ares set in the client database and not in the configuration file, details in chapter:' | $T8 %] Kapitel Konfiguration zur Einnahmenüberschussrechnung/ Bilanzierung: EUR -
- - - - - - - - - - - - -
- -

- -
- - + + + [% LxERP.t8("Password") %] + [% L.input_tag("database_superuser_password", superuser.password, type="password") %] + + [% END %] + + + +
+ + + + [% LxERP.t8('Default currency') %] + [% L.input_tag('defaultcurrency', FORM.defaultcurrency) %] + + + + [% LxERP.t8('Precision') %] + [% L.input_tag('precision_as_number', LxERP.format_amount(FORM.precision, 2)) %] [% LxERP.t8('Precision Note') %] + + + + [% LxERP.t8('Create Chart of Accounts') %] + [% L.select_tag('chart', SELF.all_charts, default=(FORM.chart), onchange='comment_selected_chart(this.value)') %] + + + + [% LxERP.t8('Accounting method') %] + [% L.select_tag('accounting_method', SELF.all_accounting_methods, title_key='name', default=(FORM.accounting_method)) %] + + + + [% LxERP.t8('Inventory system') %] + [% L.select_tag('inventory_system', SELF.all_inventory_systems, title_key='name', default=(FORM.inventory_system)) %] + + + + [% LxERP.t8('Profit determination') %] + [% L.select_tag('profit_determination', SELF.all_profit_determinations, title_key='name', default=(FORM.profit_determination)) %] + + + + [% L.hidden_tag("dbhost", FORM.dbhost) %] + [% L.hidden_tag("dbport", FORM.dbport) %] + [% L.hidden_tag("dbuser", FORM.dbuser) %] + [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %] + [% L.hidden_tag("dbdefault", FORM.dbdefault) %] + [% L.hidden_tag("action", "Admin/do_create_dataset") %] + [% L.hidden_tag("feature_balance", FORM.feature_balance) %] + [% L.hidden_tag("feature_datev", FORM.feature_datev) %] + [% L.hidden_tag("feature_erfolgsrechnung", FORM.feature_erfolgsrechnung) %] + [% L.hidden_tag("feature_eurechnung", FORM.feature_eurechnung) %] + [% L.hidden_tag("feature_ustva", FORM.feature_ustva) %] + + +
+ +
+ [% L.submit_tag('dummy', LxERP.t8('Create Dataset')) %] +
+ + + +