Documentation Index
Fetch the complete documentation index at: https://dokumentation.websale.de/llms.txt
Use this file to discover all available pages before exploring further.
Formular zur Eingabe des Passwortes
- Eingabemaske für das Testmodus-Passwort
- Aktivieren des Debug-Modus
- Deaktivieren des Testmodus
{{ if not $wsTestMode.active }}
{{ var $cActionTestModeOn = $wsActions.create("TestModeOn") }}
{{ if $cActionTestModeOn.error }}
Es sind Fehler aufgetreten:
{{ foreach $error in $cActionTestModeOn.errors }}
{{ if $error.text }}
{{= $error.text }}
{{ else }}
{{= $error.code }}
{{ /if }}
{{ /foreach }}
{{ /if }}
<form action="{{= $wsViews.current.url() }}" method="post">
<input type="hidden" name="wscsrf" value="{{= $cActionTestModeOn.csrf }}">
<input type="hidden" name="wsact" value="{{= $cActionTestModeOn.id }}">
<input type="hidden" name="wstarget" value="/">
<input type="password" name="password" placeholder="Passwort">
<label for="password">Passwort</label>
<input type="checkbox" name="debug" value="on" {{ if $wsTestMode.debug }} checked{{ /if }}>
<label class="form-check-label wsCursorPointer">Debug</label>
<button name="wsact" value="{{= $cActionTestModeOn.id }}">Testmodus aktivieren</button>
</form>
{{ else}}
{{ var $cActionTestModeOff = $wsActions.create("TestModeOff") }}
{{ if $cActionTestModeOff.error }}
Es sind Fehler aufgetreten:
{{ foreach $error in $cActionTestModeOff.errors }}
{{ if $error.text }}
{{= $error.text }}
{{ else }}
{{= $error.code }}
{{ /if }}
{{ /foreach }}
{{ /if }}
<form action="{{= $wsViews.current.url() }}" method="post">
<input type="hidden" name="wscsrf" value="{{= $cActionTestModeOff.csrf }}">
<input type="hidden" name="wsact" value="{{= $cActionTestModeOff.id }}">
<input type="hidden" name="wstarget" value="/">
<button name="wsact" value="{{= $cActionTestModeOff.id }}">Testmodus deaktivieren</button>
</form>
{{ /if }}
Test-Modus Ändern
Es besteht die Möglichkeit, das Test-Mode Debugging Funktion zu beenden, ohne das Test-Modus gleichzeitig zu beenden.{{ if not $wsTestMode.active }}
...
{{ else}}
...
{{ var $cActionTestModeChange = $wsActions.create("TestModeChange") }}
{{ if $cActionTestModeChange.error }}
Es sind Fehler aufgetreten:
{{ foreach $error in $cActionTestModeChange.errors }}
{{ if $error.text }}
{{= $error.text }}
{{ else }}
{{= $error.code }}
{{ /if }}
{{ /foreach }}
{{ /if }}
<form action="{{= $wsViews.current.url() }}" method="post">
<input type="hidden" name="wscsrf" value="{{= $cActionTestModeChange.csrf }}">
<input type="hidden" name="wsact" value="{{= $cActionTestModeChange.id }}">
<input type="hidden" name="wstarget" value="/">
<input type="checkbox" name="debug" value="on" {{ if $wsTestMode.debug }} checked{{ /if }}>
<label>Debug</label>
<button name="wsact" value="{{= $cActionTestModeChange.id }}">Einstellung übernehmen</button>
</form>
{{ /if }}
