summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-01-30 21:33:46 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-01-30 21:33:46 +0100
commitd5f793bcd9f47392ee6e61c27f65fa85cbcc5176 (patch)
tree9b5d35c3b161f568928e3426360d09c1c11aa218 /common
parent6337e02d9dd8c7be92ffa168f67ab0de651664d0 (diff)
downloadwww-d5f793bcd9f47392ee6e61c27f65fa85cbcc5176.tar.gz
www-d5f793bcd9f47392ee6e61c27f65fa85cbcc5176.tar.bz2
www-d5f793bcd9f47392ee6e61c27f65fa85cbcc5176.zip
remove more ssi
Diffstat (limited to 'common')
-rw-r--r--common/footer.inc.j27
-rw-r--r--common/header.j2.inc12
-rw-r--r--common/navigation.j2.inc22
3 files changed, 17 insertions, 24 deletions
diff --git a/common/footer.inc.j2 b/common/footer.inc.j2
deleted file mode 100644
index 6320e0d6..00000000
--- a/common/footer.inc.j2
+++ /dev/null
@@ -1,7 +0,0 @@
- <div class="footer">
- <p>&copy; <a href="https://gnunet.org/ev">GNUnet e.V.</a> and Inria 2015, 2016</p>
- <p>{{ _("This page was created using <a href='https://www.gnu.org/'>Free Software</a> only.") }}</p>
- </div>
- <script type="text/javascript">//<![CDATA[
- activate_menu();
- //]]></script>
diff --git a/common/header.j2.inc b/common/header.j2.inc
index b71482d9..3087d23e 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -30,14 +30,14 @@
<!-- <link rel="icon" href="../../favicon.ico"> -->
<!-- Bootstrap core CSS -->
- <link href="/dist/css/bootstrap.min.css" rel="stylesheet">
+ <link href="{{ url('dist/css/bootstrap.min.css') }}" rel="stylesheet">
<!-- Custom styles for this template -->
- <link href="/justified-nav.css" rel="stylesheet">
- <link href="/styles.css" rel="stylesheet">
+ <link href="{{ url('justified-nav.css') }}" rel="stylesheet">
+ <link href="{{ url('styles.css') }}" rel="stylesheet">
- <script src="/menu.js"></script>
- <script src="/dist/js/jquery-1.11.1.min.js"></script>
- <script src="/dist/js/bootstrap.min.js"></script>
+ <script src="{{ url('menu.js') }}"></script>
+ <script src="{{ url('dist/js/jquery-1.11.1.min.js') }}"></script>
+ <script src="{{ url('dist/js/bootstrap.min.js') }}"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index 90c328a5..fdf5ab56 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -11,21 +11,21 @@
<ul class="nav nav-justified">
<li class="m_index"><a href=".">{{ _("Home") }}</a></li>
<li class="m_demo btn btn-outline-success"><a href="https://demo.taler.net/" target="_blank">{{ _("Demo") }}</a></li>
- <li class="m_citizens"><a href='citizens'>{{ _("Citizens") }}</a></li>
- <li class="m_merchants"><a href='merchants'>{{ _("Merchants") }}</a></li>
- <li class="m_governments"><a href='governments'>{{ _("Governments") }}</a></li>
- <li class="m_investors"><a href='investors'>{{ _("Operators") }}</a></li>
- <li class="m_developers"><a href='developers'>{{ _("Developers") }}</a></li>
- <li class="m_about"><a href='about'>{{ _("About&nbsp;us") }}</a></li>
+ <li class="m_citizens"><a href="{{ url_localized('citizens.html') }}">{{ _("Citizens") }}</a></li>
+ <li class="m_merchants"><a href="{{ url_localized('merchants.html') }}">{{ _("Merchants") }}</a></li>
+ <li class="m_governments"><a href="{{ url_localized('governments.html') }}">{{ _("Governments") }}</a></li>
+ <li class="m_investors"><a href="{{ url_localized('operators.html') }}">{{ _("Operators") }}</a></li>
+ <li class="m_developers"><a href="{{ url_localized('developers.html') }}">{{ _("Developers") }}</a></li>
+ <li class="m_about"><a href="{{ url_localized('about.html') }}">{{ _("About&nbsp;us") }}</a></li>
</ul>
</div>
</div>
<div class="navbar navbar-default navbar-fixed-bottom" role="navigation">
<div class="container lang-slector">
- <a href="#" onclick="location.pathname=location.pathname.replace(/^.../, '/en')"><img src="/images/gb.png" height="15" width="23" alt="English"></a>
- <a href="#" onclick="location.pathname=location.pathname.replace(/^.../, '/de')"><img src="/images/de.png" height="15" width="25" alt="Deutsch"></a>
- <a href="#" onclick="location.pathname=location.pathname.replace(/^.../, '/fr')"><img src="/images/fr.png" height="15" width="22" alt="Français"></a>
- <a href="#" onclick="location.pathname=location.pathname.replace(/^.../, '/it')"><img src="/images/it.png" height="15" width="22" alt="Italiano"></a>
- <a href="#" onclick="location.pathname=location.pathname.replace(/^.../, '/es')"><img src="/images/es.png" height="15" width="23" alt="Español"></a>
+ <a href="{{ self_localized('en') }}"><img src="{{ url('images/gb.png') }}" height="15" width="23" alt="English"></a>
+ <a href="{{ self_localized('de') }}"><img src="{{ url('images/de.png') }}" height="15" width="25" alt="Deutsch"></a>
+ <a href="{{ self_localized('fr') }}"><img src="{{ url('images/fr.png') }}" height="15" width="22" alt="Français"></a>
+ <a href="{{ self_localized('it') }}"><img src="{{ url('images/it.png') }}" height="15" width="22" alt="Italiano"></a>
+ <a href="{{ self_localized('es') }}"><img src="{{ url('images/es.png') }}" height="15" width="23" alt="Español"></a>
</div>
</div>