Line | |
---|
1 | <h4>[login-link]</h4> |
---|
2 | <p>This tag allows to insert everywhere a login link with automatic redirection to the current age.</p> |
---|
3 | |
---|
4 | <b>Options:</b> |
---|
5 | <ul> |
---|
6 | <li><code>html</code> (optional) if set to <code>false</code> the tag only returns the login URL, without HTML</li> |
---|
7 | <li><code>text</code> (optional) link label, can contain <code>[lang]</code> tags</li> |
---|
8 | </ul> |
---|
9 | |
---|
10 | <pre> |
---|
11 | [login-link] |
---|
12 | |
---|
13 | [login-link html=true text="log in[lang=fr]connectez-vous[/lang]"] |
---|
14 | </pre> |
---|
15 | |
---|
16 | <h4>[logged]</h4> |
---|
17 | <p>Display a block of text only if the current user is logged or not.</p> |
---|
18 | |
---|
19 | <pre> |
---|
20 | [logged=true] Welcome back [/logged] |
---|
21 | [logged=false] Please log in [/logged] |
---|
22 | </pre> |
---|
Note: See
TracBrowser
for help on using the repository browser.