*** empty log message ***
This commit is contained in:
parent
79662c15dc
commit
9ae3115019
@ -16,47 +16,22 @@
|
|||||||
# ftp://ftp.cogsci.ed.ac.uk/pub/richard/rxp-1.2.3.tar.gz
|
# ftp://ftp.cogsci.ed.ac.uk/pub/richard/rxp-1.2.3.tar.gz
|
||||||
#
|
#
|
||||||
XSLTPROC = sabcmd
|
XSLTPROC = sabcmd
|
||||||
|
WGET = wget
|
||||||
XSLTOPTS = \
|
XSLTOPTS = \
|
||||||
'$$fsfeurope=$(FSFEUROPE)' \
|
'$$fsfeurope=$(FSFEUROPE)' \
|
||||||
'$$fsf=$(FSF)' \
|
'$$fsf=$(FSF)' \
|
||||||
'$$gnu=$(GNU)'
|
'$$gnu=$(GNU)'
|
||||||
|
|
||||||
ENPAGES = $(shell find * -regex '.*\.en\.xhtml' -print | sed "s/xhtml$$/html/")
|
|
||||||
|
|
||||||
FRPAGES = $(shell find * -regex '.*\.fr\.xhtml' -print | sed "s/xhtml$$/html/")
|
all:
|
||||||
|
$(XSLTPROC) main-eucd.xsl don.xhtml > don.php
|
||||||
|
$(XSLTPROC) main-eucd.xsl valid.xhtml > valid.php
|
||||||
|
$(XSLTPROC) main-eucd.xsl erreur.xhtml > erreur.php
|
||||||
|
$(XSLTPROC) main-eucd.xsl merci.xhtml > merci.php
|
||||||
|
|
||||||
|
get:
|
||||||
RSYNC=/usr/bin/rsync
|
rm -f navigation.fr.xsl fsfe-fr.xsl eucd.css
|
||||||
ROPT=-av
|
$(WGET) http://eucd.info/eucd.css
|
||||||
RSSH=-e ssh
|
$(WGET) http://eucd.info/navigation.fr.xsl
|
||||||
|
$(WGET) http://eucd.info/fsfe-fr.xsl
|
||||||
prim:
|
|
||||||
$(XSLTPROC) eucd.xsl don.xhtml > don.php
|
|
||||||
$(XSLTPROC) eucd.xsl erreur.xhtml > erreur.php
|
|
||||||
$(XSLTPROC) eucd.xsl merci.xhtml > merci.php
|
|
||||||
|
|
||||||
|
|
||||||
all: $(ENPAGES) $(FRPAGES)
|
|
||||||
|
|
||||||
|
|
||||||
$(ENPAGES) $(FRPAGES): %.html: %.xhtml fsfe-fr.xsl navigation.en.xsl navigation.fr.xsl
|
|
||||||
@echo "Building $@ ..."; \
|
|
||||||
path=$< ; \
|
|
||||||
base=`expr $$path : '\(.*\).xhtml'` ; \
|
|
||||||
filebase=`basename $$base` ; \
|
|
||||||
dir=`dirname $$path` ; \
|
|
||||||
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
|
|
||||||
$(XSLTPROC) fsfe-fr.xsl $$path $(XSLTOPTS) \
|
|
||||||
'$$fsffrance='$$root '$$filebase='$$filebase '$$path='$$path | \
|
|
||||||
perl -MFile::Copy -p -e '$$| = 1; copy("'$$dir'/$$1", \*STDOUT) if(/\#include virtual=\"(.*?)\"/); s/\$$//g if(/\$$''Date:/);' \
|
|
||||||
> $$base.html-temp && \
|
|
||||||
( cat $$base.html-temp | \
|
|
||||||
perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html \
|
|
||||||
) ; \
|
|
||||||
rm -f $$base.html-temp
|
|
||||||
|
|
||||||
# remove html files for which an xhtml version exists (exclude fr/)
|
|
||||||
clean:
|
|
||||||
rm -f $(NEWS) $(ENPAGES) $(FRPAGES)
|
|
||||||
|
|
||||||
|
|||||||
@ -3,45 +3,6 @@
|
|||||||
<xsl:stylesheet version="1.0"
|
<xsl:stylesheet version="1.0"
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
|
|
||||||
<xsl:template match="/html[@lang='fr']/body/div">
|
|
||||||
|
|
||||||
<!-- Top menu line -->
|
|
||||||
<table border="1" cellpadding="5" cellspacing="10" class="main">
|
|
||||||
<tr>
|
|
||||||
<td colspan="2">
|
|
||||||
<span><a href="http://eucd.info/">EUCD.INFO</a> - Au <a href="donations.fr.php">secours</a> de la copie privée</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td valign="top">
|
|
||||||
<a href="http://eucd.info/index.fr.php">Accueil</a><br />
|
|
||||||
<a href="http://eucd.info/revue.fr.php">Presse</a><br />
|
|
||||||
<a href="http://eucd.info/donations.fr.php">Aider</a><br />
|
|
||||||
<a href="http://eucd.info/transparence.fr.php">Transparence</a><br />
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<a href="http://eucd.info/eucd.fr.php">Analyse</a><br />
|
|
||||||
<a href="http://wiki.ael.be/index.php/EUCD-Status">Situation</a><br />
|
|
||||||
<a href="http://mail.gnu.org/mailman/listinfo/fsfe-france">Discuter</a><br />
|
|
||||||
<a href="http://eucd.info/who.fr.php">Qui</a><br />
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<a href="donations.fr.php">Dons</a><br />
|
|
||||||
<script language="php">
|
|
||||||
//require("/var/www/www.eucd.info/htdocs/thermometer.php");
|
|
||||||
//print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent);
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
<xsl:apply-templates select="@*|node()"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<address><a href="mailto:contact@eucd.info">Contact:</a> EUCD.INFO c/o FSF France 8, rue de valois, 75001 Paris - Tel: 01 42 76 05 49 - Mail: <a href="mailto:contact@eucd.info">contact@eucd.info</a> - Web: <a href="http://eucd.info/">http://eucd.info/</a></address>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table[@id='formulaire']">
|
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table[@id='formulaire']">
|
||||||
<table cellpadding="4" cellspacing="0">
|
<table cellpadding="4" cellspacing="0">
|
||||||
@ -51,6 +12,22 @@
|
|||||||
La FSF France s'engage à n'utliser vos informations personnelles
|
La FSF France s'engage à n'utliser vos informations personnelles
|
||||||
qu'exclusivement pour le traitement de votre don.
|
qu'exclusivement pour le traitement de votre don.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Nous vous adresserons ensuite un <a
|
||||||
|
href="http://france.fsfeurope.org/donations/formulaire.fr.html">formulaire</a>
|
||||||
|
vous permettant de bénéficier d'une déduction d'impôts. Selon
|
||||||
|
l'<a
|
||||||
|
href="http://www.legifrance.gouv.fr/citoyen/unarticledecode.ow?code=CGIMPOT0.rcv&art=200">article
|
||||||
|
200 du CGI</a>, <i>Ouvrent droit à une réduction d'impôt sur
|
||||||
|
le revenu égale à 50 % de leur montant les sommes prises dans
|
||||||
|
la limite de 6 % du revenu imposable qui correspondent à des
|
||||||
|
dons et versements, y compris l'abandon exprès de revenus ou
|
||||||
|
produits, effectués par les contribuables domiciliés en
|
||||||
|
France.</i> Voir aussi, concernant les entreprises, l'<a
|
||||||
|
href="http://www.legifrance.gouv.fr/WAspad/VisuArticleCode?commun=CGIMPO&code=&h0=CGIMPO00.rcv&h1=1&h3=39">article
|
||||||
|
238 bis du CGI</a>.</p>
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table/tr[@id='projet']">
|
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table/tr[@id='projet']">
|
||||||
@ -90,10 +67,22 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table/tr[@id='cp']">
|
||||||
|
<tr>
|
||||||
|
<td class="titre">
|
||||||
|
Code Postal
|
||||||
|
</td>
|
||||||
|
<td class="valeur">
|
||||||
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table/tr[@id='ville']">
|
<xsl:template match="/html[@lang='fr']/body/div[@class='main']/form/table/tr[@id='ville']">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="titre">
|
<td class="titre">
|
||||||
CP Ville
|
Ville
|
||||||
</td>
|
</td>
|
||||||
<td class="valeur">
|
<td class="valeur">
|
||||||
<xsl:apply-templates select="@*|node()"/>
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
@ -128,11 +117,10 @@
|
|||||||
<td valign="top" class="titre">Don public</td>
|
<td valign="top" class="titre">Don public</td>
|
||||||
<td class="valeur">
|
<td class="valeur">
|
||||||
<xsl:apply-templates select="@*|node()"/>
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
|
||||||
<div class="commentaire">
|
<div class="commentaire">
|
||||||
Acceptez-vous que votre don soit public et que vos noms
|
Acceptez-vous que votre don soit public et que vos noms
|
||||||
et prénoms soient affichés dans la liste des donateurs.
|
et prénoms soient affichés dans la liste des donateurs ?
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
@ -145,10 +133,6 @@
|
|||||||
|
|
||||||
<td valign="top" class="valeur">
|
<td valign="top" class="valeur">
|
||||||
<xsl:apply-templates select="@*|node()"/>
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
|
|
||||||
<div class="commentaire">
|
|
||||||
Commentaire libre
|
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|||||||
@ -18,22 +18,54 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*/
|
*/
|
||||||
$file = "/var/www/www.eucd.info/htdocs/thermometer.php";
|
|
||||||
if (file_exists ($file))
|
$thermlib = "/var/www/www.eucd.info/htdocs/thermometer.php";
|
||||||
|
|
||||||
|
if (file_exists ($thermlib))
|
||||||
{
|
{
|
||||||
include($file);
|
include($thermlib);
|
||||||
|
|
||||||
|
$posten_file = "/var/www/www.eucd.info/htdocs/posten.txt";
|
||||||
|
$totaal_file = "/var/www/www.eucd.info/htdocs/totaal.txt";
|
||||||
|
|
||||||
|
|
||||||
$posten = "/var/www/www.eucd.info/htdocs/posten.txt";
|
/*
|
||||||
$totaal = "/var/www/www.eucd.info/htdocs/totaal.txt";
|
* Read Values
|
||||||
|
*/
|
||||||
|
|
||||||
if (file_exists ($posten))
|
if (file_exists ($posten_file))
|
||||||
{
|
{
|
||||||
if (file_exists ($totaal))
|
if (file_exists ($totaal_file))
|
||||||
|
{
|
||||||
|
|
||||||
print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent,$posten, $totaal);
|
/* lees posten uit file */
|
||||||
|
$fp = fopen($posten_file, 'r' );
|
||||||
|
|
||||||
|
|
||||||
|
if ($fp)
|
||||||
|
{
|
||||||
|
$post_donaties = fgets( $fp, 10 );
|
||||||
|
$post_sponsoring = fgets( $fp, 10 );
|
||||||
|
$post_intent = fgets( $fp, 10 );
|
||||||
|
fclose( $fp );
|
||||||
|
}
|
||||||
|
|
||||||
|
/* lees posten uit file */
|
||||||
|
$fp = fopen( $totaal_file, 'r' );
|
||||||
|
if ($fp)
|
||||||
|
{
|
||||||
|
$totaal_ontvangen = fgets( $fp, 10 );
|
||||||
|
$totaal_pending = fgets( $fp, 10 );
|
||||||
|
fclose( $fp );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Graph thermometer
|
||||||
|
*/
|
||||||
|
|
||||||
|
print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user