Browse Source

made a more flexible small banner (ILoveFS, restricted boot) for the top of FSFE front page - image or text mode

svn path=/trunk/; revision=22412
tags/stw2018
nicoulas 7 years ago
parent
commit
e2499d4573

+ 26
- 2
index.xsl View File

@@ -114,9 +114,33 @@
<!-- display campaign box 4 -->
<xsl:template match="campaign-box4">
<div id="campaign-box-4">
<a href="/campaigns/ilovefs/ilovefs.html">
<!-- here are two codes snippets that will provide for a graphical and a text banner
/!\ comment out one of the two, you probably only want one banner on the front page -->
<!-- graphical banner -->
<!--<a href="/campaigns/ilovefs/ilovefs.html">
<img src="/graphics/valentine.png" />
</a>
</a>-->
<!--
Text banner
The ids used here are needed to fetch the correct texts in /tools/texts-content.**.xml
-->
<div class="banner-border">
<p>
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'cb-restricted-boot'" />
</xsl:call-template>
<xsl:text> </xsl:text>
<a href="http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'cb-restricted-boot-link'" />
</xsl:call-template>
</a>
</p>
</div>
</div>
</xsl:template>

+ 6
- 12
look/generic.css View File

@@ -1258,25 +1258,19 @@ a.fn {
text-align: center;
}

/*
#campaign-box-4 {
border: 4px solid rgb(224,248,89);
border-radius: 7px;
float: left;
font-size: 110%;
margin: 1.5em 0 0;
text-align: center;
width: 98.7%;
}

#campaign-box-4 p {
margin: .5em 0;
font-size: 110%;
}

#campaign-box-4 p a {
color: rgb(82,97,0);
}
*/

.banner-border {
border: 4px solid rgb(224,248,89);
border-radius: 7px;
}

.donate-box,
.fellowship-box {

+ 8
- 7
tools/texts-content-de.xml View File

@@ -19,13 +19,14 @@
<text id="donate">Spenden</text>
<!-- Restricted Boot
<text id="campaign4">Treten Sie für Ihr Recht ein, Freie Software zu installieren und</text>
<text id="campaign4link">unterzeichnen Sie unser Statement gegen <q>Restricted Boot</q>.</text>
-->

<text id="campaign4">Am 14. Februar: </text>
<text id="campaign4link">Zeigen Sie Ihre Liebe zu Freier Software!</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Treten Sie für Ihr Recht ein, Freie Software zu installieren und</text>
<text id="cb-restricted-boot-link">unterzeichnen Sie unser Statement gegen <q>Restricted Boot</q>.</text>
<text id="cb-valentine">Am 14. Februar: </text>
<text id="cb-valentine-link">Zeigen Sie Ihre Liebe zu Freier Software!</text>
<!-- end of texts for the campaign box -->
<text id="join">Beitreten</text>

<text id="subscribe">Eintragen</text>

+ 6
- 6
tools/texts-content-el.xml View File

@@ -23,13 +23,13 @@

<text id="donate">Δωρεές</text>

<!-- Restricted boot box
<text id="campaign4">Stand up for your freedom to install Free Software,</text>
<text id="campaign4link">sign our statement against Restricted Boot</text>
-->
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Stand up for your freedom to install Free Software,</text>
<text id="cb-restricted-boot-link">sign our statement against Restricted Boot</text>

<text id="campaign4">Στις 14 Φεβρουαρίου: </text>
<text id="campaign4link">Δείξτε την αγάπη σας για το Ελεύθερο Λογισμικό!</text>
<text id="cb-valentine">Στις 14 Φεβρουαρίου: </text>
<text id="cb-valentine-link">Δείξτε την αγάπη σας για το Ελεύθερο Λογισμικό!</text>
<!-- end of texts for the campaign box -->

<text id="join">Εγγραφή</text>

+ 7
- 7
tools/texts-content-en.xml View File

@@ -21,13 +21,13 @@
<text id="donate">Donate</text>

<!-- Restricted boot box
<text id="campaign4">Stand up for your freedom to install Free Software,</text>
<text id="campaign4link">sign our statement against Restricted Boot</text>
-->
<text id="campaign4">On February 14th: </text>
<text id="campaign4link">Show your love to Free Software!</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Stand up for your freedom to install Free Software,</text>
<text id="cb-restricted-boot-link">sign our statement against Restricted Boot</text>
<text id="cb-valentine">On February 14th: </text>
<text id="cb-valentine-link">Show your love to Free Software!</text>
<!-- end of texts for the campaign box -->

<text id="join">Join</text>
<text id="ourwork2011">Our work in 2011</text>

+ 4
- 2
tools/texts-content-es.xml View File

@@ -13,8 +13,10 @@
<text id="search">Buscar</text>
<text id="campaign4">El 14 de Febrero: </text>
<text id="campaign4link">Muestra tu amor por el Software Libre</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">El 14 de Febrero: </text>
<text id="cb-restricted-boot-link">Muestra tu amor por el Software Libre</text>
<!-- end of texts for the campaign box -->
<text id="donate">Donaciones</text>
<text id="join">Únase</text>

+ 7
- 3
tools/texts-content-et.xml View File

@@ -19,9 +19,13 @@
<text id="team">Tiim</text>
<text id="microblog">Mikroblogi</text>
<text id="donate">Toeta</text>
<text id="campaign4">Kaitse oma vabadust installeerida vaba tarkvara! Allkirjasta </text>
<text id="campaign4link">meie avaldus.</text>
<text id="donate">Toeta</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Kaitse oma vabadust installeerida vaba tarkvara! Allkirjasta </text>
<text id="cb-restricted-boot-link">meie avaldus.</text>
<!-- end of texts for the campaign box -->
<text id="join">Liitu</text>
<text id="subscribe">Telli</text>

+ 6
- 2
tools/texts-content-fi.xml View File

@@ -20,8 +20,12 @@
<text id="microblog">Mikroblogi</text>
<text id="donate">Lahjoitukset</text>
<text id="campaign4">Puolusta vapauttasi asentaa vapaita ohjelmistoja,</text>
<text id="campaign4link">allekirjoita lausuntomme rajoitettua käynnistämistä vastaan</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Puolusta vapauttasi asentaa vapaita ohjelmistoja,</text>
<text id="cb-restricted-boot-link">allekirjoita lausuntomme rajoitettua käynnistämistä vastaan</text>
<!-- end of texts for the campaign box -->
<text id="join">Liity</text>
<text id="subscribe">Tilaa</text>

+ 7
- 5
tools/texts-content-fr.xml View File

@@ -20,13 +20,15 @@
<text id="microblog">Microblog</text>
<text id="donate">Dons</text>
<!-- <text id="campaign4">Défendez votre liberté d'installer du Logiciel Libre,</text>-->
<!-- <text id="campaign4link">signez notre déclaration contre le démarrage restreint</text>-->

<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Défendez votre liberté d'installer du Logiciel Libre,</text>
<text id="cb-restricted-boot-link">signez notre déclaration contre le démarrage restreint</text>

<text id="campaign4">Le 14 février : </text>
<text id="campaign4link">Montrez votre amour pour le Logiciel Libre !</text>

<text id="cb-valentine">Le 14 février : </text>
<text id="cb-valentine-link">Montrez votre amour pour le Logiciel Libre !</text>
<!-- end of texts for the campaign box -->
<text id="join">Rejoindre</text>
<text id="subscribe">S'abonner</text>

+ 6
- 3
tools/texts-content-hu.xml View File

@@ -8,9 +8,12 @@
<text id="moreevents">További események…</text>
<text id="donate">Adományozzon</text>
<text id="campaign4">Állj ki te is a Szabadságodért, a Szabad Szoftver installálásért
és</text>
<text id="campaign4link">írd alá testvérszervezetünk nyilatkozatát</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Állj ki te is a Szabadságodért, a Szabad Szoftver installálásértés</text>
<text id="cb-restricted-boot-link">írd alá testvérszervezetünk nyilatkozatát</text>
<!-- end of texts for the campaign box -->
<text id="join">Pridružite se</text>

</textset-content>

+ 5
- 2
tools/texts-content-it.xml View File

@@ -20,8 +20,11 @@
<text id="microblog">Microblog</text>
<text id="donate">Donazioni</text>
<text id="campaign4">Il 14 febbraio: </text>
<text id="campaign4link">Mostra il tuo amore per il Software Libero!</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-valentine">Il 14 febbraio: </text>
<text id="cb-valentine-link">Mostra il tuo amore per il Software Libero!</text>
<!-- end of texts for the campaign box -->

<text id="join">Associati</text>


+ 7
- 6
tools/texts-content-nl.xml View File

@@ -21,13 +21,14 @@
<text id="donate">Doneer</text>

<!-- Restricted boot box
<text id="campaign4">Stand up for your freedom to install Free Software,</text>
<text id="campaign4link">sign our statement against Restricted Boot</text>
-->
<!-- Campaign box on front-page, translated texts -->
<text id="cb-restricted-boot">Stand up for your freedom to install Free Software,</text>
<text id="cb-restricted-boot-link">sign our statement against Restricted Boot</text>

<text id="campaign4">Op 14 februari: </text>
<text id="campaign4link">Toon je liefde voor Vrije Software!</text>
<text id="cb-valentine">Op 14 februari: </text>
<text id="cb-valentine-link">Toon je liefde voor Vrije Software!</text>
<!-- end of texts for the campaign box -->

<text id="join">Doe mee</text>

+ 4
- 2
tools/texts-content-pl.xml View File

@@ -8,8 +8,10 @@
<text id="morenews">Więcej wiadomości...</text>
<text id="moreevents">Więcej wydarzeń...</text>
<text id="campaign4">14 lutego: </text>
<text id="campaign4link">Pokaż jak kochasz Wolne Oprogramowanie!</text>
<!-- Campaign box on front-page, translated texts -->
<text id="cb-valentine">14 lutego: </text>
<text id="cb-valentine-link">Pokaż jak kochasz Wolne Oprogramowanie!</text>
<!-- end of texts for the campaign box -->
<text id="donate">Darowizny</text>
<text id="join">Join</text>

Loading…
Cancel
Save