Browse Source

first php restructuring and locale.yaml with first entries added

master
corsaronero 2 years ago
parent
commit
7c54caf861
5 changed files with 1325 additions and 3 deletions
  1. +1
    -1
      build/deb-php/Dockerfile
  2. +1
    -1
      compose/docker-compose.yml
  3. +1178
    -0
      overlay/opt/Spyc.php
  4. +24
    -1
      overlay/opt/index.php
  5. +121
    -0
      overlay/opt/locale.yaml

+ 1
- 1
build/deb-php/Dockerfile View File

@ -4,6 +4,6 @@ WORKDIR /opt
RUN apt-get update && apt-get install -y php7.4-cli RUN apt-get update && apt-get install -y php7.4-cli
CMD php -S 0.0.0.0:6660
CMD php -S 0.0.0.0:6666

+ 1
- 1
compose/docker-compose.yml View File

@ -8,7 +8,7 @@ services:
volumes: volumes:
- ../overlay/opt:/opt - ../overlay/opt:/opt
ports: ports:
- "6655:6666"
- "6655:6660"
networks: networks:
- deb-php-net - deb-php-net
networks: networks:

+ 1178
- 0
overlay/opt/Spyc.php
File diff suppressed because it is too large
View File


overlay/opt/verpflegungsmehraufwand.html → overlay/opt/index.php View File

@ -1,5 +1,28 @@
<!doctype html> <!doctype html>
<html lang="de">
<?php
$lang=$_GET['lang'];
if ( in_array ($lang, array('en-US'))){
$loc = "$lang".".utf8";
$loc1 = $lang;
}
else
$loc = "de-DE";
$domain = "messages";
setlocale(LC_MESSAGES, $loc);
setlocale(LC_ALL, $loc);
$results = putenv("LC_ALL=$loc");
$results = putenv("LC_MESSAGES=$loc");
$results = bindtextdomain($domain,"./locale");
?>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

+ 121
- 0
overlay/opt/locale.yaml View File

@ -0,0 +1,121 @@
# Verpflegungsmehraufwandsformular wikimedia Deutschland
title:
de-DE: Anlage Verpflegungsmehraufwand
en-US: Attachment for extra meal expenses
title_subtext_1:
de-DE: Gemäß Abschnitt 4 und 5 (Reisekostenordnung) der Geschäftsordnung in Verbindung mit §4 Abs. 5 Nr. 5 Einkommensteuergesetz.
en-US: In accordance with sections 4 and 5 (Travel Expenses Regulation) of the Rules of Procedure in conjunction with §4 para. 5 nr. 5 of the Income Tax Act.
title_button:
de-DE: Anlage Verpflegungsmehraufwand drucken
en-US: Print attachment for extra meal expenses
form_header:
de-DE: Bitte fülle die allgemeinen Reisedaten aus
en-US: Please enter the details of your journey
form_1_header:
de-DE: Reisender
en-US: Traveling party
form_1_placeholder:
de-DE: Name des Reisenden
en-US: Name of the traveling party
form_2_header:
de-DE: Reiseanlass
en-US: Purpose of travel
form_2_placeholder:
de-DE: Anlass der Reise (Schulung, Event o. Ä.)
en-US: Reason for your journey (workshop, event etc.)
form_3_header:
de-DE: Reisebeginn
en-US: Departure date
form_3_placeholder:
de-DE: Banküberweisung (SEPA)
en-US: Bank transfer
form_1_noSEPA:
de-DE: Banküberweisung (Non-EU)
en-US: Bank transfer (Non-EU)
form_1_SEPA_placeholder_1:
de-DE: Kontoinhabende Person
en-US: Account Holder
form_1_SEPA_placeholder_2:
de-DE: IBAN*
en-US: IBAN*
form_1_SEPA_placeholder_3:
de-DE: BIC (wenn ausländische Bank)
en-US: BIC (if foreign bank)
form_1_SEPA_placeholder_4:
de-DE: Weitere Anmerkungen z.B. intermediäre Bank, Grund für abweichende Kontoinhbende Person
en-US: Other comments e.g. intermediary bank, reason for different account login person
form_1_noSEPA_placeholder_1:
de-DE: Kontoinhabende Person*
en-US: Account login person
form_1_noSEPA_placeholder_2:
de-DE: BIC/SWIFT*
en-US: BIC/SWIFT*
form_1_noSEPA_placeholder_3:
de-DE: Kontonummer*
en-US: Account number*
form_1_noSEPA_placeholder_4:
de-DE: Routing Number
en-US: Routing number
form_1_noSEPA_placeholder_5:
de-DE: Name der Bank*
en-US: Name of the bank*
form_1_noSEPA_placeholder_6:
de-DE: Adresse der Bank (Stra&szlig;e und Hausnummer/Postleitzahl/Land)
en-US: Address of the bank (street and house number/postcode/country)
form_1_noSEPA_placeholder_7:
de-DE: Deine Anschrift (Srta&szlig;e und Hausnummer/Postleitzahl/Land)*
en-US: Your address (street and house number/postcode/country)*
form_1_noSEPA_placeholder_8:
de-DE: Weitere Anmerkungen z.B. intermediäre Bank,Grund für abweichende kontoinhabende Person
en-US: Other comments e.g. intermediary bank, reason for different account login person
form_2_header:
de-DE: 2. Erfasse deine Ausgaben
en-US: 2. Enter your expenses
form_2_currency:
de-DE: 'Währung:'
en-US: Currency
form_2_table_1:
de-DE: Pos.
en-US: Pos
form_2_table_2:
de-DE: Datum
en-US: Date
form_2_table_3:
de-DE: Beschreibung
en-US: Description
form_2_table_4:
de-DE: Betrag
en-US: Amouńt
form_2_table_5:
de-DE: Währung
en-US: Currency
form_2_table_6:
de-DE: Belege
en-US: Receipts
form_2_table_7:
de-DE: L&ouml;schen
en-US: Delete
form_2_button:
de-DE: Ausgabe hinzuf&uuml;gen
en-US: Add expense
form_3_header:
de-DE: 3. Vorschuss und Sonstiges
en-US: 3. Advance payment and other
form_3_subtext_1:
de-DE: 'Ich habe bereits einen Vorschuss erhalten in H&ouml;he von:'
en-US: 'I have already received an advance in the amount of:'
form_3_subtext_2:
de-DE: 'Hiermit bestätige ich die Vollständig- und Richtigkeit meiner Angaben:'
en-US: 'Herewith I confirm the completeness and correctness of my data:'
form_3_button_1:
de-DE: Antrag herunterladen und später einreichen
en-US: Download reimbursement claim and submit later
form_3_button_2:
de-DE: Antrag elektronisch direkt an WMDE schicken
en-US: Send reimbursement claim electronically directly to WMDE
impressum:
de-DE: Impressum
en-US: Imprint
privacy:
de-DE: Datenschutz
en-US: Data Protection

Loading…
Cancel
Save