libreccm-legacy/ccm-ldn-aplaws/web/themes/aplaws-default/templates/layout.xml

383 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<page-layout>
<!--
This file defines the general layout for this theme. The other layout
template are extending this file.
You should not use this layout template directly in the
conf/templates.xml. Instead use one of the existing files or create
a new one if your application requires some special tags.
For an example how to create an extending layout look at the
navigation.xml file or the default-layout.xml file.
-->
<head>
<title>
<separator>: </separator>
<show-text>layout/page/head/title</show-text>
<show-page-title/>
</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--
This tag loads the CSS files as configured in conf/css-files.xml.
For details please refer to the documentation of the Foundry theme
engine.
-->
<load-css-files/>
<script type="text/javascript" src="js/jquery-1.11.3.min.js">
</script>
<script type="text/javascript"
src="fancybox/jquery.fancybox.pack.js?v=2.1.5">
</script>
<script type="text/javascript"
src="fancybox/helpers/jquery.fancybox-buttons.js?v=1.0.5">
</script>
<script type="text/javascript"
src="fancybox/helpers/jquery.fancybox-media.js?v=1.0.6">
</script>
<script type="text/javascript"
src="fancybox/helpers/jquery.fancybox-thumbs.js?v=1.0.7">
</script>
<script type="text/javascript"
src="js/js.cookie.js">
</script>
<script type="text/javascript">
$(document).ready(function() {
$("figure.multiple a.image-attachments").fancybox({
arrows : true,
closeBtn : true,
closeEffect: 'fade',
helpers : {
title: {
type: 'inside'
},
buttons: {
position: 'bottom'
}
},
openEffect : 'fade',
type : 'image'
});
});
$(document).ready(function() {
$("figure.single a.image-attachments").fancybox({
arrows : true,
closeBtn : true,
closeEffect: 'fade',
helpers : {
title: {
type: 'inside'
}
},
openEffect : 'fade',
type : 'image'
});
});
$(document).ready(function() {
$("div.image a.thumbnail").fancybox({
arrows : true,
closeBtn : true,
closeEffect: 'fade',
helpers : {
title: {
type: 'inside'
}
},
openEffect : 'fade',
type : 'image'
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$("#language-switcher button#language-switcher-toggle").click(
function() {
$("#language-switcher ul").slideToggle();
}
);
$("nav#main-navigation button#main-nav-toggle").click(
function() {
$("nav#main-navigation ul").slideToggle();
}
);
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$('#cookie-notice-accept').click(function() {
$("body").removeClass('cookie-notice');
Cookies.set('cookie-notice', 'accepted', { expires: 30 })
});
if (Cookies.get('cookie-notice') != 'accepted') {
$("body").addClass('cookie-notice');
}
});
</script>
</head>
<body>
<div id="cookie-notice">
<show-text>cookie-notice</show-text>
<a href-static="/ccm/privacy">
<show-text>cookie-notice/more</show-text>
</a>
<button id="cookie-notice-accept">
<show-text>cookie-notice/understand</show-text>
</button>
</div>
<header>
<div id="service-panel">
<div id="service-panel-wrapper">
<!-- Add a language selector -->
<language-selector>
<div id="language-switcher">
<button id="language-switcher-toggle">
<span class="fa fa-bars"></span>
<span>
<show-text>
layout/page/header/language-switcher
</show-text>
</span>
</button>
<ul>
<language>
<li role="presentation">
<a>
<language-name/>
</a>
</li>
</language>
</ul>
</div>
</language-selector>
<!--
The static service menu. The links here are
using several shortcuts which must be defined
using the shortcuts application.
The first link /ccm/sitemap should point to
the sitemap of the page, usually the real link
is /ccm/navigation/sitemap.jsp.
The second points to /ccm/contact is indented to
point to a page with contact informations.
-->
<div id="shortcuts">
<ul id="shortcuts">
<li role="presentation">
<a href-static="/ccm/sitemap">
<show-text>
layout/service-links/sitemap
</show-text>
</a>
</li>
<li role="presentation">
<a href-static="/ccm/contact">
<show-text>
layout/service-links/contact
</show-text>
</a>
</li>
<li role="presentation">
<a href-static="/ccm/help">
<show-text>
layout/service-links/help
</show-text>
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="header-logo">
<navigation-home-link>
<a>
<img src-static="images/site-logo.png"
width="350"/>
</a>
</navigation-home-link>
<p>
<show-text>layout/navbar/text</show-text>
</p>
</div>
</header>
<!--
Main navigation level 1.
-->
<nav id="main-navigation">
<div id="nav-wrapper">
<button id="main-nav-toggle"
class="fa fa-bars"
href="#"
type="button">
<span class="hidden accessibility">
<show-text>
layout/sr-only/toggle-main-nav
</show-text>
</span>
</button>
<navigation>
<navigation-home-link>
<ul class="home-link">
<li>
<a>
<span class="fa fa-home"></span>
<span class="hidden accessibility">
<show-text>accessibility/back-to-start-page</show-text>
</span>
</a>
</li>
</ul>
</navigation-home-link>
<navigation-links>
<ul>
<navigation-link>
<li>
<a>
<span>
<navigation-link-label/>
</span>
</a>
<navigation-sublinks/>
</li>
</navigation-link>
</ul>
</navigation-links>
</navigation>
</div>
</nav>
<div id="breadcrumbs-top">
<div id="breadcrumbs-top-wrapper">
<span class="breadcrumb-prefix">
<show-text>layout/page/footer/breadcrumbs</show-text>
</span>
<breadcrumbs>
<ol class="breadcrumb">
<breadcrumb-link>
<li>
<a>
<breadcrumb-label mode="mark"/>
</a>
</li>
</breadcrumb-link>
</ol>
</breadcrumbs>
</div>
</div>
<div id="main-wrapper">
<!--
This part is defined by the layout templates which extend
this template. The content is inserted here.
-->
<insert-block name="content"/>
</div>
<!-- Optional page (navigation category) related Links -->
<include file="fragments/navigation-quick-links.xml"/>
<!-- The footer part -->
<footer>
<div id="footer-wrapper">
<!--
Breadcrumbs. We are using the Breadcrumbs component
from Bootstrap here
(see http://getbootstrap.com/components/#breadcrumbs).
-->
<div id="breadcrumbs-bottom" class="breadcrumbs">
<span class="breadcrumb-prefix">
<show-text>
layout/page/footer/breadcrumbs
</show-text>
</span>
<breadcrumbs>
<ol class="breadcrumb">
<breadcrumb-link>
<li>
<a>
<breadcrumb-label mode="mark"/>
</a>
</li>
</breadcrumb-link>
</ol>
</breadcrumbs>
</div>
<!--
Some links in the footer. One link to the LibreCMS homepage,
one to site about the webmaster of the page (the shortcut
/ccm/webmaster has to be defined to make the link work) and
to the Impressum (we which is a legal requirement for
for every website in Germany. For a detailed explantation
about what a "Impressum" is please have look at
http://en.wikipedia.org/wiki/Impressum. The link defined
requires uses the shortcut /ccm/impressum.
-->
<div id="footer-logo-wrapper">
<a href-static="http://www.librecms.org">
<img id="footer-logo"
class="img-responsive"
src-static="images/poweredby.png"/>
</a>
</div>
<ul id="footer-links">
<li>
<a href-static="/ccm/webmaster">
<show-text>
layout/page/footer/webmaster
</show-text>
</a>
</li>
<li>
<a href-static="/ccm/privacy">
<show-text>
layout/service-links/privacy
</show-text>
</a>
</li>
<li>
<a href-static="/ccm/impressum">
<show-text>
layout/page/footer/impressum
</show-text>
</a>
</li>
</ul>
</div>
</footer>
</body>
</page-layout>