You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
www_csc/root/layout/header

37 lines
1.6 KiB

<!-- BEGIN layout/header -->
<div id="head">
<h1>
<a href="http://[% Catalyst.config.site_config.company.webserver %]/" title="home">
<img src="[% Catalyst.config.site_config.company.logo %]" height="44" alt="[% Catalyst.config.site_config.company.name %]" />
</a>
</h1>
<ul id="menusmall">
<li class="kundenbereichon"><a href="/logout">logout</a></li>
</ul>
<ul id="specialmenu">
<li>Angemeldet als <strong>[% subscriber.username %]</strong></li>
</ul>
[% IF subscriber.username %]
<ul id="menu">
<li [% 'class="on"' IF template.title == "desktop" %]><a href="/desktop">Desktop</a></li>
<li [% 'class="on"' IF template.title == "calllist" %]><a href="/calllist">Anrufe</a></li>
<li [% 'class="on"' IF template.title == "voicebox" %]><a href="/voicebox">Voicemail</a></li>
<li [% 'class="on"' IF template.title == "addressbook" %]><a href="/addressbook">Kontakte</a></li>
<li [% 'class="on"' IF template.title == "callforward" %]><a href="/callforward">Rufumleitung</a></li>
<li [% 'class="on"' IF template.title == "callblock" %]><a href="/callblock">Rufnummernsperre</a></li>
[% IF Catalyst.session.user.admin %]
<li [% 'class="on"' IF template.title == "device" %]><a href="/autosubscriber">Endgeräte</a></li>
[% END %]
[% UNLESS Catalyst.session.user.username == "demonstration" %]
<li [% 'class="on"' IF template.title == "account" %]><a href="/account">Konto</a></li>
[% END %]
</ul>
[% END %]
</div>
<!-- END layout/header -->