Template Variables: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 62: | Zeile 62: | ||
[FIRSTNIGHTSHORT] - first night booked in 1 Apr 2016 format / erste gebuchte Nacht kurz | [FIRSTNIGHTSHORT] - first night booked in 1 Apr 2016 format / erste gebuchte Nacht kurz | ||
[FIRSTNIGHT:+1day] - offset from first night / erste Nacht plus/minus x | [FIRSTNIGHT:+1day] - offset from first night / erste Nacht plus/minus x days | ||
[LASTNIGHT] - last night booked / letzte gebuchte Nacht | [LASTNIGHT] - last night booked / letzte gebuchte Nacht | ||
[LASTNIGHT:+1day] - offset from last night / letzte Nacht plus/minus x | [LASTNIGHT:+1day] - offset from last night / letzte Nacht plus/minus x days | ||
[LEAVINGDAY] - check-out day / Abreisetag | [LEAVINGDAY] - check-out day / Abreisetag | ||
[LEAVINGDAY:+1day] - offset from check-out / Abreisetag plus/minus x | [LEAVINGDAY:+1day] - offset from check-out / Abreisetag plus/minus x days | ||
[NUMROOM] - the quantity of rooms booked (first room type only) /Anzahl gebuchter Einheiten (nur erster Einheitstyp) | [NUMROOM] - the quantity of rooms booked (first room type only) /Anzahl gebuchter Einheiten (nur erster Einheitstyp) | ||
| Zeile 182: | Zeile 182: | ||
[BOOKINGTIMEDATE] - booking date and time / Tag und Uhrzeit der Buchung | [BOOKINGTIMEDATE] - booking date and time / Tag und Uhrzeit der Buchung | ||
[BOOKINGDATE:+1day] - offset from booking date / Tag der Buchung plus/minus | [BOOKINGDATE:+1day] - offset from booking date / Tag der Buchung plus/minus xdays | ||
[BOOKINGIP] - ip address of booker's computer / IP Adresse des Computers von dem gebucht wurde | [BOOKINGIP] - ip address of booker's computer / IP Adresse des Computers von dem gebucht wurde | ||
| Zeile 265: | Zeile 265: | ||
[/] - will divide the number left of the template variable by the number right / dividiert die beiden Zahlen links und rechts von [/] | [/] - will divide the number left of the template variable by the number right / dividiert die beiden Zahlen links und rechts von [/] | ||
== strf Time Variablen == | |||
Sie können PHP strftime nutzen um Datenformete zu formatieren. Information über PHP strftime Strings finden sie unter [http://php.net/manual/de/function.strftime.php] | |||
[FIRSTNIGHT:{%A, %e %B, %Y}] - first night booked / erste gebuchte Nacht | |||
[FIRSTNIGHT:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string / Datum plus/minus x Tage und Darstellung mit gültigem PHP strftime String | |||
[LASTNIGHT:{%A, %e %B, %Y}] - last night booked / letzte gebuchte Nacht | |||
[LASTNIGHT:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string / Datum plus/minus x Tage und Darstellung mit gültigem PHP strftime String | |||
[LEAVINGDAY:{%A, %e %B, %Y}] - check-out / Abreisetat | |||
[LEAVINGDAY:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string. | |||
[CURRENTDATE:{%A, %e %B, %Y}] - current date / aktuelles Datum | |||
[CURRENTDATE:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string / Datum plus/minus x Tage und Darstellung mit gültigem PHP strftime String | |||
[BOOKINGDATE:{%A, %e %B, %Y}] - booking date / Buchungsdatumg | |||
[BOOKINGDATE:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string / Datum plus/minus x Tage und Darstellung mit gültigem PHP strftime String | |||