Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 9e15890

Browse files
committed
Add support for Tims Bastelstube integration
1 parent 37f4ad2 commit 9e15890

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templateListener.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@
1313
<eventname>passwordFields</eventname>
1414
<templatecode><![CDATA[{include file='__twofaUserAdd'}]]></templatecode>
1515
</templatelistener>
16+
<templatelistener name="bastelstubeTwoFA">
17+
<environment>admin</environment>
18+
<templatename>__bastelstubeTopMenu</templatename>
19+
<eventname>links</eventname>
20+
<templatecode><![CDATA[<li class="dropdownDivider"></li><li><a class="externalURL" href="{@$__wcf->getPath()}acp/dereferrer.php?url={"https://tims.bastelstu.be/forum/index.php/Board/13-Tims-2-Wege-Authentifizierung/"|rawurlencode}">{lang}wcf.user.twofa{/lang}</a></li>]]></templatecode>
21+
</templatelistener>
1622
</import>
1723
</data>

0 commit comments

Comments
 (0)