openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4d4d455e19e55d02c8233a673e0b073596405bec
parent c03050961b0554c8b6b18b2188093613013b8d7e
Author: Jan Dankert <devnull@localhost>
Date:   Mon,  6 Nov 2017 22:32:45 +0100

Für einen Benutzer Telefon, E-Mail und TOTP-URL als QRcode ausgeben.

Diffstat:
themes/default/templates/user/edit.tpl.src.xml | 46++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+), 0 deletions(-)

diff --git a/themes/default/templates/user/edit.tpl.src.xml b/themes/default/templates/user/edit.tpl.src.xml @@ -26,6 +26,7 @@ </part> <part class="input"> <input name="mail"></input> + <qrcode value="text:mailto:{mail}" /> </part> </part> </if> @@ -43,6 +44,8 @@ </part> <part class="input"> <input name="tel"></input> + <qrcode value="text:tel:{tel}" /> + </part> </part> <part class="line"> @@ -93,5 +96,48 @@ </part> </part> </group> + <group title="message:security"> + <part class="line"> + <part class="label"> + <text text="message:user_password_expires" /> + </part> + <part class="input"> + <date date="var:passwordExpires" /> + </part> + </part> + <part class="line"> + <part class="label"> + <text text="message:user_last_login" /> + </part> + <part class="input"> + <date date="var:lastLogin" /> + </part> + </part> + <part class="line"> + <part class="label"> + <text text="message:token" /> + </part> + <part class="input"> + <text value="var:totpToken" /> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="otpsecret" key="user_totp"></label> + </part> + <part class="input"> + <text var="otpSecret"></text> + <qrcode value="var:totpSecretUrl" /> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="otpsecret" key="user_hotp"></label> + </part> + <part class="input"> + <qrcode value="var:hotpSecretUrl" /> + </part> + </part> + </group> </form> </output> \ No newline at end of file