rindentation et correction pour la validit HTML/CSS
darcs-hash:20061115091251-f46e9-e4c56e67d1a8ebf2553d7820299f7522c70c3b7f.gz
This commit is contained in:
parent
f4b4826e22
commit
834ddfb647
8 changed files with 319 additions and 310 deletions
|
@ -130,7 +130,7 @@ class root:
|
||||||
#
|
#
|
||||||
def etatImprimante(self):
|
def etatImprimante(self):
|
||||||
try:
|
try:
|
||||||
return {"printer_state" : "<br />".join(crans.impression.etat_imprimante.etat())}
|
return {"printer_state" : u"\n".join(crans.impression.etat_imprimante.etat())}
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
return {"printer_state" : 'Imprimante hors ligne'}
|
return {"printer_state" : 'Imprimante hors ligne'}
|
||||||
etatImprimante.exposed = True
|
etatImprimante.exposed = True
|
||||||
|
|
|
@ -2,166 +2,159 @@
|
||||||
* <!-- disposition générale -->
|
* <!-- disposition générale -->
|
||||||
* ****************************************** */
|
* ****************************************** */
|
||||||
#globalDiv {
|
#globalDiv {
|
||||||
padding-left:200px;
|
padding-left:200px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#actionMenu {
|
ul#actionMenu {
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
width:150px;
|
width:150px;
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
margin:20px;
|
margin:20px;
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
ul#actionMenu li {
|
ul#actionMenu li {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
/* ****************************************** *
|
/* ****************************************** *
|
||||||
* <!-- file name, menu de gauche -->
|
* <!-- file name, menu de gauche -->
|
||||||
* ****************************************** */
|
* ****************************************** */
|
||||||
#fileName {
|
#fileName {
|
||||||
width:150px;
|
width:150px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
//float:left;
|
padding:50px 5px 5px 5px;
|
||||||
padding:50px 5px 5px 5px;
|
background: url(../images/pdf-icon.png) center top no-repeat;
|
||||||
//eight:20px;
|
margin-bottom:10px;
|
||||||
background: url(../images/pdf-icon.png) center top no-repeat;
|
overflow:auto;
|
||||||
//margin-top:-30px;
|
|
||||||
margin-bottom:10px;
|
|
||||||
overflow:auto;
|
|
||||||
}
|
}
|
||||||
#actionNouvelleImpression {
|
#actionNouvelleImpression {
|
||||||
margin:1em 0;
|
margin:1em 0;
|
||||||
}
|
}
|
||||||
#actionEtatImprimante {
|
#actionEtatImprimante {
|
||||||
padding:0.4em;
|
padding:0.4em;
|
||||||
border: thin black solid;
|
border: thin black solid;
|
||||||
margin:1em 0;
|
margin:1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ******************************************* *
|
/* ******************************************* *
|
||||||
* <!-- formulaire reglages impression -->
|
* <!-- formulaire reglages impression -->
|
||||||
* ******************************************* */
|
* ******************************************* */
|
||||||
form#form_impression {
|
form#form_impression {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
min-width:600px;
|
min-width:600px;
|
||||||
}
|
}
|
||||||
form#form_impression #preview {
|
form#form_impression #preview {
|
||||||
border:1px black solid;
|
border:1px black solid;
|
||||||
width:150px;
|
width:150px;
|
||||||
height:150px;
|
height:150px;
|
||||||
padding:10px;
|
padding:10px;
|
||||||
background-color:#C0C0C0;
|
background-color:#C0C0C0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form#form_impression #rightColumn {
|
form#form_impression #rightColumn {
|
||||||
margin:10px 10px 10px 240px;
|
margin:10px 10px 10px 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form#form_impression #leftColumn {
|
form#form_impression #leftColumn {
|
||||||
float:left;
|
float:left;
|
||||||
width:170px;
|
width:170px;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
div#prix_placeholder {
|
div#prix_placeholder {
|
||||||
margin:6px 0;
|
margin:6px 0;
|
||||||
width:170px;
|
width:170px;
|
||||||
min-height:16px;
|
min-height:16px;
|
||||||
padding:0;
|
padding:0;
|
||||||
color:gray;
|
color:gray;
|
||||||
|
|
||||||
}
|
}
|
||||||
div#prix_placeholder img {
|
div#prix_placeholder img {
|
||||||
margin-right:2px;
|
margin-right:2px;
|
||||||
float:right;
|
float:right;
|
||||||
}
|
}
|
||||||
form#form_impression fieldset fieldset {
|
form#form_impression fieldset fieldset {
|
||||||
margin:10px;
|
margin:10px;
|
||||||
}
|
}
|
||||||
form#form_impression>fieldset {
|
form#form_impression>fieldset {
|
||||||
position:relative;
|
position:relative;
|
||||||
padding:20px;
|
padding:20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
form#form_impression .bouttons {
|
form#form_impression .bouttons {
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
form#form_impression label.labelInput {
|
form#form_impression label.labelInput {
|
||||||
display:block;
|
display:block;
|
||||||
width:4em;
|
width:4em;
|
||||||
margin-right:4px;
|
margin-right:4px;
|
||||||
float:left;
|
float:left;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ****************************************** *
|
/* ****************************************** *
|
||||||
* <!-- popup choix fichier -->
|
* <!-- popup choix fichier -->
|
||||||
* ****************************************** */
|
* ****************************************** */
|
||||||
#popupFichiers {
|
#popupFichiers {
|
||||||
background:#AE0F3E;
|
background:#AE0F3E;
|
||||||
z-index:500;
|
z-index:500;
|
||||||
float:left;
|
float:left;
|
||||||
position:fixed;
|
position:fixed;
|
||||||
min-width:450px;
|
min-width:450px;
|
||||||
top:110px;
|
top:110px;
|
||||||
left:20%;
|
left:20%;
|
||||||
right:20%;
|
right:20%;
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
#popupFichiers #insideDiv {
|
#popupFichiers #insideDiv {
|
||||||
background:white;
|
background:white;
|
||||||
margin:2px 5px;
|
margin:2px 5px;
|
||||||
}
|
}
|
||||||
#popupFichiers #insideDiv form {
|
#popupFichiers #insideDiv form {
|
||||||
margin:2px 5px;
|
margin:2px 5px;
|
||||||
}
|
}
|
||||||
#popupFichiers h1 {
|
#popupFichiers h1 {
|
||||||
font-size:1em;
|
font-size:1em;
|
||||||
margin:0;
|
margin:0;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
#popupFichiers h1:before {
|
#popupFichiers h1:before {
|
||||||
content:url("../images/WindowTitleLogo.png");
|
content:url("../images/WindowTitleLogo.png");
|
||||||
margin-right:5px;
|
margin-right:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#popupFichiers h2 {
|
#popupFichiers h2 {
|
||||||
font-size:1.1em;
|
font-size:1.1em;
|
||||||
border-bottom:thin black solid;
|
border-bottom:thin black solid;
|
||||||
}
|
}
|
||||||
#popupFichiers select,
|
#popupFichiers select,
|
||||||
#popupFichiers input.file {
|
#popupFichiers input.file {
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
float:right;
|
float:right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ****************************************** *
|
/* ****************************************** *
|
||||||
* <!-- popup impression en cours -->
|
* <!-- popup impression en cours -->
|
||||||
* ****************************************** */
|
* ****************************************** */
|
||||||
div#printingPopupContent {
|
div#printingPopupContent {
|
||||||
background: white url("../images/printer.png") left center no-repeat;;
|
background: white url("../images/printer.png") left center no-repeat;;
|
||||||
padding:10px 10px 10px 115px;
|
padding:10px 10px 10px 115px;
|
||||||
min-height:100px;
|
min-height:100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#printingPopupContent a,
|
#printingPopupContent a,
|
||||||
#printingPopupContent span {
|
#printingPopupContent span {
|
||||||
display:block;
|
display:block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin:5px 0;
|
margin:5px 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,5 +9,6 @@
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
<noscript>
|
<noscript>
|
||||||
Cette page utilise javascript. Elle n'est pas supportée par votre navigateur.
|
<p>Cette page utilise javascript. Elle n'est pas supportée par votre
|
||||||
|
navigateur.</p>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
|
@ -65,26 +65,27 @@ function hideDetail(id){
|
||||||
</div>
|
</div>
|
||||||
#if $f.details.__len__() > 1
|
#if $f.details.__len__() > 1
|
||||||
<div id="facture$f.no" style="display:none;">
|
<div id="facture$f.no" style="display:none;">
|
||||||
<table cellspacing="0" border="0" id="facture$f.no" class="factureDetails">
|
<table cellspacing="0" border="0" class="factureDetails">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="80%">Description</th>
|
<th style="width:80%">Description</th>
|
||||||
<th>Prix unitaire</th>
|
<th>Prix unitaire</th>
|
||||||
<th>Quantité</th>
|
<th>Quantité</th>
|
||||||
<th>total</th>
|
<th>total</th>
|
||||||
</tr>
|
</tr>
|
||||||
#for unDetail in $f.details
|
#for unDetail in $f.details
|
||||||
<tr>
|
<tr>
|
||||||
<td>$unDetail.intitule</td>
|
<td>$unDetail.intitule</td>
|
||||||
<td>$unDetail.prixUnitaire €</td>
|
<td>$unDetail.prixUnitaire €</td>
|
||||||
<td>$unDetail.quantite</td>
|
<td>$unDetail.quantite</td>
|
||||||
<td>$unDetail.prixTotal €</td>
|
<td>$unDetail.prixTotal €</td>
|
||||||
</tr>
|
</tr>
|
||||||
#end for
|
#end for
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3" class="tdTotalDetailIntitule">
|
<td colspan="3" class="tdTotalDetailIntitule">
|
||||||
Total
|
Total
|
||||||
</td>
|
</td>
|
||||||
<td class="tdTotalDetail">$f.montant €</td>
|
<td class="tdTotalDetail">$f.montant €</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#import crans.impression
|
#import crans.impression
|
||||||
|
|
||||||
<div id="globalDiv">
|
<div id="globalDiv">
|
||||||
<form id="form_impression" name="form_impression" onsubmit="Impression.popup();return false;">
|
<form id="form_impression" name="form_impression" onsubmit="Impression.popup();return false;" action="index">
|
||||||
<fieldset><legend>Options d'impression</legend>
|
<fieldset><legend>Options d'impression</legend>
|
||||||
<div id="leftColumn">
|
<div id="leftColumn">
|
||||||
<div id="preview" onclick="Impression.settings.init();"></div>
|
<div id="preview" onclick="Impression.settings.init();"></div>
|
||||||
|
@ -10,21 +10,26 @@
|
||||||
|
|
||||||
<div id="rightColumn">
|
<div id="rightColumn">
|
||||||
<fieldset><legend>Type d'impression</legend>
|
<fieldset><legend>Type d'impression</legend>
|
||||||
<label for="type_impression_couleur" class="labelRadio compact"><input type="radio" name="type_impression" id="type_impression_couleur" class="inputRadio" value="$crans.impression.IMPRESSION_COULEUR" checked="checked" onClick="Impression.settings.update(this);" /> Couleurs</label>
|
<label for="type_impression_couleur" class="labelRadio compact">
|
||||||
<label for="type_impression_nb" class="labelRadio compact"><input type="radio" name="type_impression" id="type_impression_nb" class="inputRadio" value="$crans.impression.IMPRESSION_NB" onClick="Impression.settings.update(this);" />Noir et blanc</label>
|
<input type="radio" name="type_impression" id="type_impression_couleur" class="inputRadio" value="$crans.impression.IMPRESSION_COULEUR" checked="checked" onclick="Impression.settings.update(this);" />
|
||||||
|
Couleurs
|
||||||
|
</label>
|
||||||
|
<label for="type_impression_nb" class="labelRadio compact"><input type="radio" name="type_impression" id="type_impression_nb" class="inputRadio" value="$crans.impression.IMPRESSION_NB" onclick="Impression.settings.update(this);" />
|
||||||
|
Noir et blanc
|
||||||
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset><legend>Copies et papier</legend>
|
<fieldset><legend>Copies et papier</legend>
|
||||||
|
|
||||||
<label for="papier" class="labelInput">Papier:</label>
|
<label for="papier" class="labelInput">Papier:</label>
|
||||||
<select name="papier" id="papier" class="selectOne" onChange="Impression.settings.update(this);">
|
<select name="papier" id="papier" class="selectOne" onchange="Impression.settings.update(this);">
|
||||||
#for type_papier in $crans.impression.PAPIER_VALEURS_POSSIBLES
|
#for type_papier in $crans.impression.PAPIER_VALEURS_POSSIBLES
|
||||||
<option value="$type_papier">$crans.impression.LABELS[type_papier]</option>
|
<option value="$type_papier">$crans.impression.LABELS[type_papier]</option>
|
||||||
#end for
|
#end for
|
||||||
</select>
|
</select>
|
||||||
<br />
|
<br />
|
||||||
<label for="agrafes" class="labelInput">Agrafes:</label>
|
<label for="agrafes" class="labelInput">Agrafes:</label>
|
||||||
<select name="agrafes" id="agrafes" class="selectOne" onChange="Impression.settings.update(this);">
|
<select name="agrafes" id="agrafes" class="selectOne" onchange="Impression.settings.update(this);">
|
||||||
#for type_agrafes in $crans.impression.AGRAPHES_VALEURS_POSSIBLES
|
#for type_agrafes in $crans.impression.AGRAPHES_VALEURS_POSSIBLES
|
||||||
<option value="$type_agrafes">$crans.impression.LABELS[type_agrafes]</option>
|
<option value="$type_agrafes">$crans.impression.LABELS[type_agrafes]</option>
|
||||||
#end for
|
#end for
|
||||||
|
@ -32,12 +37,18 @@
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<label for="nb_copies" class="labelInput">Copies:</label>
|
<label for="nb_copies" class="labelInput">Copies:</label>
|
||||||
<input onKeyUp="Impression.settings.update(this);" type="text" name="nb_copies" id="nb_copies" class="inputText" size="10" maxlength="50" value="1" />
|
<input onkeyup="Impression.settings.update(this);" type="text" name="nb_copies" id="nb_copies" class="inputText" size="10" maxlength="50" value="1" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset><legend>Disposition</legend>
|
<fieldset><legend>Disposition</legend>
|
||||||
<label for="disposition_recto" class="labelRadio compact"><input type="radio" name="disposition" id="disposition_recto" class="inputRadio" value="$crans.impression.IMPRESSION_RECTO" onClick="Impression.settings.update(this);" /> Recto</label>
|
<label for="disposition_recto" class="labelRadio compact">
|
||||||
<label for="disposition_recto_verso" class="labelRadio compact"><input type="radio" name="disposition" id="disposition_recto_verso" class="inputRadio" value="$crans.impression.IMPRESSION_RECTO_VERSO" checked="checked" onClick="Impression.settings.update(this);" />Recto-verso</label>
|
<input type="radio" name="disposition" id="disposition_recto" class="inputRadio" value="$crans.impression.IMPRESSION_RECTO" onclick="Impression.settings.update(this);" />
|
||||||
|
Recto
|
||||||
|
</label>
|
||||||
|
<label for="disposition_recto_verso" class="labelRadio compact">
|
||||||
|
<input type="radio" name="disposition" id="disposition_recto_verso" class="inputRadio" value="$crans.impression.IMPRESSION_RECTO_VERSO" checked="checked" onclick="Impression.settings.update(this);" />
|
||||||
|
Recto-verso
|
||||||
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -75,19 +86,22 @@
|
||||||
|
|
||||||
<form method="post" action="./" enctype="multipart/form-data">
|
<form method="post" action="./" enctype="multipart/form-data">
|
||||||
<h2>Mes fichiers</h2>
|
<h2>Mes fichiers</h2>
|
||||||
<select name="fileList" id="fileList"
|
<div>
|
||||||
size="5">
|
<select name="fileList" id="fileList" size="5">
|
||||||
#for $file in $fileList
|
#for $file in $fileList
|
||||||
<option>$file</option>
|
<option>$file</option>
|
||||||
#end for
|
#end for
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button name="submit" class="button" value="submit_chose">Choisir</button>
|
<button name="submit" class="button" value="submit_chose">Choisir</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Envoyer un fichier</h2>
|
<h2>Envoyer un fichier</h2>
|
||||||
<input type="file" name="newFile" classe="file">
|
<div>
|
||||||
<button name="submit" value="submit_send" class="button">Envoyer</button>
|
<input type="file" name="newFile" class="file" />
|
||||||
|
<button name="submit" value="submit_send" class="button">Envoyer</button>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,5 +9,6 @@
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
<noscript>
|
<noscript>
|
||||||
Cette page utilise javascript. Elle n'est pas supportée par votre navigateur.
|
<p>Cette page utilise javascript. Elle n'est pas supportée par votre
|
||||||
|
navigateur.</p>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
|
@ -43,9 +43,9 @@
|
||||||
<div id="mainFooter"><hr />
|
<div id="mainFooter"><hr />
|
||||||
<h2 style="display:none;">Liens Cr@ns</h2>
|
<h2 style="display:none;">Liens Cr@ns</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li style="display:inline"><a href="http://www.crans.org/">Site du cr@ns</a>
|
<li style="display:inline"><a href="http://www.crans.org/">Site du cr@ns</a></li>
|
||||||
<li style="display:inline"><a href="http://wiki.crans.org/">wiki</a><br />
|
<li style="display:inline"><a href="http://wiki.crans.org/">wiki</a><br /></li>
|
||||||
<li style="display:inline"><a href="http://wiki/ContactsCrans">Contact Cr@ns</a><br />
|
<li style="display:inline"><a href="http://wiki/ContactsCrans">Contact Cr@ns</a><br /></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="topContentMessage" style="font-style:italic;text-align:center;">
|
<div id="topContentMessage" style="font-style:italic;text-align:center;">
|
||||||
<p>L'intranet est en version beta, aidez-nous à
|
<p>L'intranet est en version beta, aidez-nous à
|
||||||
|
|
|
@ -17,196 +17,195 @@ Crans.messages.setMessage('$error.replace("\'","\\\'")', 'errorMessage')
|
||||||
<div id="globalDiv">
|
<div id="globalDiv">
|
||||||
<div id="paramCompte" class="domtab">
|
<div id="paramCompte" class="domtab">
|
||||||
<h1>Paramètres de mon compte</h1>
|
<h1>Paramètres de mon compte</h1>
|
||||||
<ul class="domtabs">
|
<ul class="domtabs">
|
||||||
<li><a href="#mainTab">Général</a></li>
|
<li><a href="#mainTab">Général</a></li>
|
||||||
<li><a href="#mailTab">Mails</a></li>
|
<li><a href="#mailTab">Mails</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- +++++++++++++++++++ Infos Utilisateur +++++++++++++++++++ -->
|
<!-- +++++++++++++++++++ Infos Utilisateur +++++++++++++++++++ -->
|
||||||
<div>
|
<div>
|
||||||
<h2 class="mark"><a name="mainTab" id="mainTab"></a></h2>
|
<h2 class="mark"><a name="mainTab" id="mainTab"></a></h2>
|
||||||
<dl class="tabbed_page">
|
<dl class="tabbed_page">
|
||||||
<dt>Nom :</dt>
|
<dt>Nom :</dt>
|
||||||
<dd>$adherent.nom
|
<dd>$adherent.nom
|
||||||
<span class="actions"><a href="#" onclick="return askForName('$adherent.nom')">modifier</a></span>
|
<span class="actions"><a href="#" onclick="return askForName('$adherent.nom')">modifier</a></span>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>Prénom :</dt>
|
<dt>Prénom :</dt>
|
||||||
<dd>$adherent.prenom
|
<dd>$adherent.prenom
|
||||||
<span class="actions"><a href="#" onclick="return askForSurname('$adherent.prenom')">modifier</a></span>
|
<span class="actions"><a href="#" onclick="return askForSurname('$adherent.prenom')">modifier</a></span>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
</dd>
|
||||||
</dd>
|
#if $getVar('adherent.adresse', False)
|
||||||
#if $getVar('adherent.adresse', False)
|
<dt>Adresse :</dt>
|
||||||
<dt>Adresse :</dt>
|
<dd>
|
||||||
<dd>
|
|
||||||
$adherent.adresse.ligne1 <br />
|
$adherent.adresse.ligne1 <br />
|
||||||
#if $adherent.adresse.ligne2 != u' '
|
#if $adherent.adresse.ligne2 != u' '
|
||||||
$adherent.adresse.ligne2 <br />
|
$adherent.adresse.ligne2 <br />
|
||||||
#end if
|
#end if
|
||||||
$adherent.adresse.cp $adherent.adresse.ville
|
$adherent.adresse.cp $adherent.adresse.ville
|
||||||
|
</dd>
|
||||||
|
#else
|
||||||
|
<dt>Chambre :</dt>
|
||||||
|
<dd>$adherent.chambre</dd>
|
||||||
|
#end if
|
||||||
|
<dt>Solde :</dt>
|
||||||
|
<dd>
|
||||||
|
$adherent.solde €
|
||||||
|
<span class="actions"><a href="rechargerCompteImpression" onclick="return paypalWindow('$adherent.telephone')">modifier</a></span>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</dd>
|
||||||
|
<dt>Téléphone :</dt>
|
||||||
|
<dd>$adherent.telephone
|
||||||
|
<span class="actions"><a href="#" onclick="return askForTel('$adherent.telephone')">modifier</a></span>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</dd>
|
||||||
|
#if $adherent.droits
|
||||||
|
<dt>Droits :</dt>
|
||||||
|
<dd>
|
||||||
|
$adherent.droits
|
||||||
|
</dd>
|
||||||
|
#end if
|
||||||
|
<dt>État administratif pour l'année $adherent.anneeScolaire :</dt>
|
||||||
|
<dd>
|
||||||
|
<dl>
|
||||||
|
<dt>Cotisation : </dt>
|
||||||
|
<dd>
|
||||||
|
#if $adherent.cotisationOK
|
||||||
|
<span class="valide"> OK</span>
|
||||||
|
#else
|
||||||
|
<span class="invalide"> Non payée</span>
|
||||||
|
#end if
|
||||||
|
</dd>
|
||||||
|
<dt>Carte d'étudiant : </dt>
|
||||||
|
<dd>
|
||||||
|
#if $adherent.carteOK
|
||||||
|
<span class="valide"> OK</span>
|
||||||
|
#else
|
||||||
|
<span class="invalide"> pas de carte d'étudiant</span>
|
||||||
|
#end if
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</dd>
|
||||||
|
<dt class="last">Changer mon mot de passe</dt>
|
||||||
|
<dd class="last">
|
||||||
|
<form action="changePasswordAdherent" name="changePasswordForm" method="post">
|
||||||
|
<div>
|
||||||
|
<label class="textInputLabel" for="ancienPassword">Ancien mot de passe : </label>
|
||||||
|
<input type="password" id="ancienPassword" name="ancienPassword"/><br />
|
||||||
|
<label class="textInputLabel" for="nouveauPassword1">Nouveau mot de passe : </label>
|
||||||
|
<input type="password" id="nouveauPassword1" name="nouveauPassword1"/><br />
|
||||||
|
<a class="textInputNote" href="#" onclick="return GeneratePassword()">Générer un nouveau mot de passe</a><br />
|
||||||
|
<label class="textInputLabel" for="nouveauPassword2">Confirmation : </label>
|
||||||
|
<input type="password" id="nouveauPassword2" name="nouveauPassword2"/><br />
|
||||||
|
<input type="submit" value="Modifier" />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<!-- +++++++++++++++++++ Infos Mails +++++++++++++++++++ -->
|
||||||
|
<div>
|
||||||
|
<h2 class="mark"><a name="mailTab" id="mailTab"></a></h2>
|
||||||
|
<form action="saveMailPrefs#mailTab" method="post">
|
||||||
|
<dl class="tabbed_page">
|
||||||
|
<dt>Alias:</dt>
|
||||||
|
<dd>
|
||||||
|
#if $mailInfos.alias==[]
|
||||||
|
<span class="empty">Vous n'avez pas d'alias</span>
|
||||||
|
#else
|
||||||
|
<ul class="listeAlias">
|
||||||
|
#for $an_alias in $mailInfos.alias
|
||||||
|
<li>$an_alias<span>@crans.org</span></li>
|
||||||
|
#end for
|
||||||
|
</ul>
|
||||||
|
#end if
|
||||||
|
<div class="clear"></div>
|
||||||
|
<span class="actions">
|
||||||
|
<a href="#" onclick="return newAlias()">Nouvel alias</a>
|
||||||
|
</span>
|
||||||
|
<div class="clear"></div>
|
||||||
</dd>
|
</dd>
|
||||||
#else
|
<dt> Greylisting: </dt>
|
||||||
<dt>Chambre :</dt>
|
<dd>
|
||||||
<dd>$adherent.chambre</dd>
|
#if $mailInfos.contourneGreylist==True
|
||||||
#end if
|
<label for="contourneGreylist" class="labelCheckbox">
|
||||||
<dt>Solde :</dt>
|
<input type="checkbox" name="contourneGreylist" id="contourneGreylist" class="inputCheckbox" value="oui" checked="checked" />
|
||||||
<dd>
|
Contourner
|
||||||
$adherent.solde €
|
</label>
|
||||||
<span class="actions"><a href="rechargerCompteImpression" onclick="return paypalWindow('$adherent.telephone')">modifier</a></span>
|
#else
|
||||||
<div class="clear"></div>
|
<label for="contourneGreylist" class="labelCheckbox">
|
||||||
</dd>
|
<input type="checkbox" name="contourneGreylist" id="contourneGreylist" class="inputCheckbox" value="oui" />
|
||||||
<dt>Téléphone :</dt>
|
Contourner
|
||||||
<dd>$adherent.telephone
|
</label>
|
||||||
<span class="actions"><a href="#" onclick="return askForTel('$adherent.telephone')">modifier</a></span>
|
#end if
|
||||||
<div class="clear"></div>
|
<a class="textInputNote" href="http://wiki/CransTechnique/GreyListing?highlight=%28Greylist%29" target="_blanc">Plus d'infos</a><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt>
|
||||||
#if $adherent.droits
|
Entêtes:
|
||||||
<dt>Droits :</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
$adherent.droits
|
#if $mailInfos.rewriteMailHeaders==True
|
||||||
</dd>
|
<label for="rewriteMailHeaders" class="labelCheckbox">
|
||||||
#end if
|
<input type="checkbox" name="rewriteMailHeaders" id="rewriteMailHeaders" class="contourneGreylist" value="oui" checked="checked" />
|
||||||
|
Réécriture des en-tête mails
|
||||||
|
</label>
|
||||||
<dt>État administratif pour l'année $adherent.anneeScolaire :</dt>
|
#else
|
||||||
<dd>
|
<label for="rewriteMailHeaders" class="labelCheckbox">
|
||||||
<dl>
|
<input type="checkbox" name="rewriteMailHeaders" id="rewriteMailHeaders" class="contourneGreylist" value="oui" />
|
||||||
<dt>Cotisation : </dt>
|
Réécriture des en-tête mails
|
||||||
<dd>#if $adherent.cotisationOK
|
</label>
|
||||||
<span class="valide"> OK</span>
|
#end if
|
||||||
#else
|
</dd>
|
||||||
<span class="invalide"> Non payée</span>
|
</dl>
|
||||||
#end if
|
|
||||||
</dd>
|
|
||||||
<dt>Carte d'étudiant : </dt>
|
|
||||||
<dd>#if $adherent.carteOK
|
|
||||||
<span class="valide"> OK</span>
|
|
||||||
#else
|
|
||||||
<span class="invalide"> pas de carte d'étudiant</span>
|
|
||||||
#end if
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
<dt class="last">Changer mon mot de passe</dt>
|
|
||||||
<dd class="last">
|
|
||||||
<form action="changePasswordAdherent" name="changePasswordForm" method="POST">
|
|
||||||
<label class="textInputLabel" for="ancienPassword">Ancien mot de passe : </label>
|
|
||||||
<input type="password" id="ancienPassword" name="ancienPassword"/><br />
|
|
||||||
<label class="textInputLabel" for="nouveauPassword1">Nouveau mot de passe : </label>
|
|
||||||
<input type="password" id="nouveauPassword1" name="nouveauPassword1"/><br />
|
|
||||||
<a class="textInputNote" href="#" onclick="return GeneratePassword()">Générer un nouveau mot de passe</a><br />
|
|
||||||
<label class="textInputLabel" for="nouveauPassword2">Confirmation : </label>
|
|
||||||
<input type="password" id="nouveauPassword2" name="nouveauPassword2"/><br />
|
|
||||||
<input type="submit" value="Modifier" />
|
|
||||||
</form>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- +++++++++++++++++++ Infos Mails +++++++++++++++++++ -->
|
|
||||||
<div>
|
|
||||||
<h2 class="mark"><a name="mailTab" id="mailTab"></a></h2>
|
|
||||||
<form action="saveMailPrefs#mailTab" method="POST">
|
|
||||||
<dl class="tabbed_page">
|
|
||||||
<dt>Alias:</dt>
|
|
||||||
<dd>
|
|
||||||
#if $mailInfos.alias==[]
|
|
||||||
<span class="empty">Vous n'avez pas d'alias</span>
|
|
||||||
#else
|
|
||||||
<ul class="listeAlias">
|
|
||||||
#for $an_alias in $mailInfos.alias
|
|
||||||
<li>$an_alias<span>@crans.org</span></li>
|
|
||||||
#end for
|
|
||||||
</ul>
|
|
||||||
#end if
|
|
||||||
<div class="clear"></div>
|
|
||||||
<span class="actions">
|
|
||||||
<a href="#" onclick="return newAlias()">Nouvel alias</a>
|
|
||||||
</span>
|
|
||||||
<div class="clear"></div>
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt>
|
|
||||||
Greylisting:
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
#if $mailInfos.contourneGreylist==True
|
|
||||||
<label for="contourneGreylist" class="labelCheckbox"><input type="checkbox" name="contourneGreylist" id="contourneGreylist" class="inputCheckbox" value="oui" checked /> Contourner</label>
|
|
||||||
#else
|
|
||||||
<label for="contourneGreylist" class="labelCheckbox"><input type="checkbox" name="contourneGreylist" id="contourneGreylist" class="inputCheckbox" value="oui" /> Contourner</label>
|
|
||||||
#end if
|
|
||||||
<a class="textInputNote" href="http://wiki/CransTechnique/GreyListing?highlight=%28Greylist%29" target="_blanc">Plus d'infos</a><br />
|
|
||||||
</dd>
|
|
||||||
<dt>
|
|
||||||
Entêtes:
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
#if $mailInfos.rewriteMailHeaders==True
|
|
||||||
<label for="rewriteMailHeaders" class="labelCheckbox"><input type="checkbox" name="rewriteMailHeaders" id="rewriteMailHeaders" class="contourneGreylist" value="oui" checked /> Réécriture des en-tête mails</label>
|
|
||||||
#else
|
|
||||||
<label for="rewriteMailHeaders" class="labelCheckbox"><input type="checkbox" name="rewriteMailHeaders" id="rewriteMailHeaders" class="contourneGreylist" value="oui" /> Réécriture des en-tête mails</label>
|
|
||||||
#end if
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
#if $getVar('mailError', False)
|
#if $getVar('mailError', False)
|
||||||
<ul class="tabbed_page">
|
<ul class="tabbed_page">
|
||||||
<li class="centrer last">
|
<li class="centrer last">
|
||||||
<span class="errorMessage">$mailError</span>
|
<span class="errorMessage">$mailError</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
#else
|
#else
|
||||||
<dl class="tabbed_page">
|
<dl class="tabbed_page">
|
||||||
<dt>Transfert:</dt>
|
<dt>Transfert:</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label for="forwarding_address" class="labelInput">
|
<label for="forwarding_address" class="labelInput">
|
||||||
<input type="text" name="forwarding_address" id="forwarding_address" class="inputText" value="$mailInfos.forwarding_address" />
|
<input type="text" name="forwarding_address" id="forwarding_address" class="inputText" value="$mailInfos.forwarding_address" />
|
||||||
<p class="textInputNote">Laisser vide pour désactiver le transfert</p><br />
|
</label>
|
||||||
|
<p class="textInputNote">Laisser vide pour désactiver le transfert</p><br />
|
||||||
|
|
||||||
</label>
|
</dd>
|
||||||
</dd>
|
<dt>Tri des spams:</dt>
|
||||||
<dt>Tri des spams:</dt>
|
<dd>
|
||||||
<dd>
|
<label for="spanTreatment_no" class="labelRadio">
|
||||||
<label for="spanTreatment_no" class="labelRadio">
|
#if $mailInfos.spam.no
|
||||||
#if $mailInfos.spam.no
|
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" checked="checked" /> Aucun
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" checked /> Aucun
|
#else
|
||||||
#else
|
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" /> Aucun
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" /> Aucun
|
#end if
|
||||||
#end if
|
</label><br />
|
||||||
</label><br />
|
<label for="spanTreatment_mark" class="labelRadio">
|
||||||
|
#if $mailInfos.spam.mark
|
||||||
<label for="spanTreatment_mark" class="labelRadio">
|
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" checked="checked" /> Marquer
|
||||||
#if $mailInfos.spam.mark
|
#else
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" checked /> Marquer
|
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" /> Marquer
|
||||||
#else
|
#end if
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" /> Marquer
|
</label><br />
|
||||||
#end if
|
<label for="spanTreatment_drop" class="labelRadio">
|
||||||
</label><br />
|
#if $mailInfos.spam.drop
|
||||||
|
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" checked="checked" /> Supprimer
|
||||||
<label for="spanTreatment_drop" class="labelRadio">
|
#else
|
||||||
#if $mailInfos.spam.drop
|
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" /> Supprimer
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" checked /> Supprimer
|
#end if
|
||||||
#else
|
</label><br />
|
||||||
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" /> Supprimer
|
</dd>
|
||||||
#end if
|
</dl>
|
||||||
</label><br />
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
#end if
|
#end if
|
||||||
<ul class="tabbed_page">
|
<ul class="tabbed_page">
|
||||||
<li class="centrer last">
|
<li class="centrer last">
|
||||||
<input type="reset" value="Reset">
|
<input type="reset" value="Reset" />
|
||||||
<input type="submit" nom="mailSubmit" value="Soumettre">
|
<input type="submit" name="mailSubmit" value="Soumettre" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue