Skip to content

Commit baba989

Browse files
author
vogelor
committed
logout is hidden if the user is not logged in
1 parent 8a7a87f commit baba989

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

interface/web/themes/default/templates/main.tpl.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
<a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span>
6969
<a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span>
7070
<!-- end: skip link navigation -->
71+
<tmpl_if name="cpuser">
7172
<span><a href="#logout" onclick="loadContent('login/logout.php');">LOGOUT <tmpl_var format="strtoupper" name="cpuser"></a><!-- | <a href="#" onclick="capp('help')">Help</a> | <a href="#">Imprint</a>--></span>
73+
</tmpl_if>
7274
</div>
7375
<h1 id="ir-HeaderLogo" class="swap"><span>ISPConfig 3</span></h1>
7476
<span>hosting control panel</span>

interface/web/themes/default_64_navimg/templates/main.tpl.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
<a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span>
7070
<a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span>
7171
<!-- end: skip link navigation -->
72+
<tmpl_if name="cpuser">
7273
<span><a href="#logout" onclick="loadContent('login/logout.php');">LOGOUT <tmpl_var format="strtoupper" name="cpuser"></a><!-- | <a href="#" onclick="capp('help')">Help</a> | <a href="#">Imprint</a>--></span>
74+
</tmpl_if>
7375
</div>
7476
<h1 id="ir-HeaderLogo" class="swap"><span>ISPConfig 3</span></h1>
7577
<span>hosting control panel</span>

interface/web/themes/default_no_navimg/templates/main.tpl.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
<a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span>
7070
<a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span>
7171
<!-- end: skip link navigation -->
72+
<tmpl_if name="cpuser">
7273
<span><a href="#logout" onclick="loadContent('login/logout.php');">LOGOUT <tmpl_var format="strtoupper" name="cpuser"></a><!-- | <a href="#" onclick="capp('help')">Help</a> | <a href="#">Imprint</a>--></span>
74+
</tmpl_if>
7375
</div>
7476
<h1 id="ir-HeaderLogo" class="swap"><span>ISPConfig 3</span></h1>
7577
<span>hosting control panel</span>

0 commit comments

Comments
 (0)