Texte in html durch yaml Variablen substituiert
This commit is contained in:
parent
1df0863bbb
commit
c797aaa030
4 changed files with 27 additions and 27 deletions
BIN
.locale.yaml.swp
Normal file
BIN
.locale.yaml.swp
Normal file
Binary file not shown.
46
form.php
46
form.php
|
@ -91,35 +91,35 @@
|
||||||
<section id="bank-noneu">
|
<section id="bank-noneu">
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input type="input" size="32" name="non_sepa_owner" placeholder="<?=_("Kontoinhabende Person")?>" />
|
<input type="input" size="32" name="non_sepa_owner" placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_1'][$loc])?>" />
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input type="input" size="32" id="n_bic" name="n_bic" placeholder="<?=_("BIC/SWIFT*")?>" />
|
<input type="input" size="32" id="n_bic" name="n_bic" placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_2'][$loc])?>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input type="input" size="32" id="n_iban" name="n_iban" placeholder="<?=_("Kontonummer*")?>" />
|
<input type="input" size="32" id="n_iban" name="n_iban" placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_3'][$loc])?>" />
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input type="input" size="32" id="n_routing" name="n_routing" placeholder="<?=_("Routing Number")?>" />
|
<input type="input" size="32" id="n_routing" name="n_routing" placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_4'][$loc])?>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="<?="Name der Bank*"?>" />
|
<input class="EU nonEU" type="input" size="32" id="n_bank" name="n_bankname" placeholder="<?=$localeYaml['form_1_noSEPA_placeholder_5'][$loc]?>" />
|
||||||
|
|
||||||
<textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4"
|
<textarea class="nonEU" name="n_bankaddress" id="n_bankaddress" style="resize:both;" cols="32" rows="4"
|
||||||
placeholder="<?=_("Adresse der Bank (Straße und Hausnummer, Postleitzahl, Ort, Land)")?>"></textarea>
|
placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_6'][$loc])?>"></textarea>
|
||||||
<br>
|
<br>
|
||||||
<textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4"
|
<textarea name="n_address" lang="de" class="nonEU" id="n_address" style="resize:both;" cols="32" rows="4"
|
||||||
placeholder="<?=_("Deine Anschrift (Straße und Hausnummer, Postleitzahl, Ort, Land)*")?>"></textarea>
|
placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_7'][$loc])?>"></textarea>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<textarea id="n_comments" name="n_comments"
|
<textarea id="n_comments" name="n_comments"
|
||||||
style="resize:both;" cols="32" rows="4"
|
style="resize:both;" cols="32" rows="4"
|
||||||
placeholder="<?=_("Weitere Anmerkungen, z.B. intermediäre Bank, Grund für abweichende kontoinhabende Person")?>"></textarea>
|
placeholder="<?=_($localeYaml['form_1_noSEPA_placeholder_8'][$loc])?>"></textarea>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -129,10 +129,10 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
||||||
<fieldset id="fieldset2"> <legend><?=_("2. Erfasse deine Ausgaben")?></legend>
|
<fieldset id="fieldset2"> <legend><?=_($localeYaml['form_2_header'][$loc])?></legend>
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<?=_("Währung:")?>
|
<?=_($localeYaml['form_2_currency'][$loc])?>
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<select onchange="renumberTableRows()" name='currency' id="currency" >
|
<select onchange="renumberTableRows()" name='currency' id="currency" >
|
||||||
|
@ -149,13 +149,13 @@
|
||||||
<table id="tabtab" class="is-responsive is-bordered is-striped">
|
<table id="tabtab" class="is-responsive is-bordered is-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?=_("Pos.")?></th>
|
<th><?=_($localeYaml['form_2_table_1'][$loc])?></th>
|
||||||
<th><?=_("Datum")?></th>
|
<th><?=_($localeYaml['form_2_table_2'][$loc])?></th>
|
||||||
<th><?=_("Beschreibung")?></th>
|
<th><?=_($localeYaml['form_2_table_3'][$loc])?></th>
|
||||||
<th><?=_("Betrag")?></th>
|
<th><?=_($localeYaml['form_2_table_4'][$loc])?></th>
|
||||||
<th><?=_("Währung")?></th>
|
<th><?=_($localeYaml['form_2_table_5'][$loc])?></th>
|
||||||
<th><?=_("Belege")?></th>
|
<th><?=_($localeYaml['form_2_table_6'][$loc])?></th>
|
||||||
<th><?=_("Löschen")?></th>
|
<th><?=_($localeYaml['form_2_table_7'][$loc])?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="tabbody">
|
<tbody id="tabbody">
|
||||||
|
@ -163,15 +163,15 @@
|
||||||
</table>
|
</table>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<button id="add_issue" type="button" onclick="addRow();"
|
<button id="add_issue" type="button" onclick="addRow();"
|
||||||
class="button is-green"><?=_("Ausgabe hinzufügen")?></button>
|
class="button is-green"><?=_($localeYaml['form_2_button'][$loc])?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<br>
|
<br>
|
||||||
<fieldset> <legend><?=_("3. Vorschuss und Sonstiges")?></legend>
|
<fieldset> <legend><?=_($localeYaml['form_3_header'][$loc])?></legend>
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col valign="center"">
|
<div class="is-col valign="center"">
|
||||||
<?=_("Ich habe bereits einen Vorschuss in folgender Höhe erhalten:")?>
|
<?=_($localeYaml['form_3_subtext_1'][$loc])?>
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
|
<input input name="advance" id="advance" type="text" placeholder="0,00 EUR"/>
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
|
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col valign="center"">
|
<div class="is-col valign="center"">
|
||||||
<?=_("Hiermit bestätige ich die Vollständig- und Richtigkeit meiner Angaben:")?>*
|
<?=_($localeYaml['form_3_subtext_2'][$loc])?>*
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<input id="agree" type="checkbox" />
|
<input id="agree" type="checkbox" />
|
||||||
|
@ -190,12 +190,12 @@
|
||||||
<div class="is-row">
|
<div class="is-row">
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<button type="button" onclick="downloadDocument(false);"
|
<button type="button" onclick="downloadDocument(false);"
|
||||||
class="button is-orange"><?=_("Antrag herunterladen und später einreichen")?></button>
|
class="button is-orange"><?=_($localeYaml['form_3_button_1'][$loc])?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<button type="button" onclick="downloadDocument(true);"
|
<button type="button" onclick="downloadDocument(true);"
|
||||||
class="button is-green"><?=_("Antrag elektronisch direkt an WMDE schicken")?></button>
|
class="button is-green"><?=_($localeYaml['form_3_button_2'][$loc])?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -91,8 +91,8 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Impressum: <a href="https://www.wikimedia.de/impressum/">https://www.wikimedia.de/impressum</a><br>
|
<?php echo _($localeYaml['impressum'][$loc])?>: <a href="https://www.wikimedia.de/impressum/">https://www.wikimedia.de/impressum</a><br>
|
||||||
Datenschutz: <a href="https://www.wikimedia.de/datenschutz/">https://www.wikimedia.de/datenschutz</a>
|
<?php echo _($localeYaml['privacy'][$loc])?>: <a href="https://www.wikimedia.de/datenschutz/">https://www.wikimedia.de/datenschutz</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -145,10 +145,10 @@ form_3_subtext_2:
|
||||||
de-DE: 'Hiermit bestätige ich die Vollständig- und Richtigkeit meiner Angaben:'
|
de-DE: 'Hiermit bestätige ich die Vollständig- und Richtigkeit meiner Angaben:'
|
||||||
en-US: world
|
en-US: world
|
||||||
form_3_button_1:
|
form_3_button_1:
|
||||||
de-DE: Antrag elektronisch direkt an WMDE schicken
|
de-DE: Antrag herunterladen und später einreichen
|
||||||
en-US: world
|
en-US: world
|
||||||
form_3_button_2:
|
form_3_button_2:
|
||||||
de-DE: Antrag herunterladen und später einreichen
|
de-DE: Antrag elektronisch direkt an WMDE schicken
|
||||||
en-US: world
|
en-US: world
|
||||||
impressum:
|
impressum:
|
||||||
de-DE: Impressum
|
de-DE: Impressum
|
||||||
|
|
Loading…
Reference in a new issue