Merge branch 'master' of ssh://git.gamuza.fr:2222/spip/gamumail
This commit is contained in:
commit
a229980fbd
3 changed files with 10 additions and 3 deletions
|
@ -84,7 +84,11 @@
|
||||||
<BOUCLE_pdf(DATA){source tableau, #ENV{TFichierpdfs}}>
|
<BOUCLE_pdf(DATA){source tableau, #ENV{TFichierpdfs}}>
|
||||||
<div class="choix">
|
<div class="choix">
|
||||||
<input type="checkbox" class="checkbox" name="#GET{name}[]" value="#VALEUR" id="#GET{name}_#COMPTEUR_BOUCLE" checked="checked" >
|
<input type="checkbox" class="checkbox" name="#GET{name}[]" value="#VALEUR" id="#GET{name}_#COMPTEUR_BOUCLE" checked="checked" >
|
||||||
<label for="#GET{name}_#COMPTEUR_BOUCLE">#VALEUR</label>
|
[(#SET{url_pdf,[(#URL_PAGE{spipdf}|parametre_url{spipdf,#VALEUR})]})]
|
||||||
|
<BOUCLE_options(DATA){source tableau, #ENV{options}}>
|
||||||
|
[(#SET{url_pdf,[(#GET{url_pdf}|parametre_url{#CLE,#VALEUR})]})]
|
||||||
|
</BOUCLE_options>
|
||||||
|
<label for="#GET{name}_#COMPTEUR_BOUCLE">#VALEUR : <a href="#GET{url_pdf}">voir le PDF</a></label>
|
||||||
</div>
|
</div>
|
||||||
</BOUCLE_pdf>
|
</BOUCLE_pdf>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,14 +9,17 @@ function inc_charger_pdf_dist($fichier_pdf, $contexte = []){
|
||||||
$url = $GLOBALS['meta']['adresse_site'].'/spip.php?page=spipdf&spipdf='.$fichier_pdf;
|
$url = $GLOBALS['meta']['adresse_site'].'/spip.php?page=spipdf&spipdf='.$fichier_pdf;
|
||||||
if (is_array($contexte) and count($contexte)) {
|
if (is_array($contexte) and count($contexte)) {
|
||||||
foreach ($contexte as $champ => $val) {
|
foreach ($contexte as $champ => $val) {
|
||||||
if (intval($val)) {
|
/* if (intval($val) === $val) {
|
||||||
|
// if (intval($val)) {
|
||||||
$val = intval($val);
|
$val = intval($val);
|
||||||
} else {
|
} else {
|
||||||
$val = "$val";
|
$val = "$val";
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$url .= "&$champ=$val";
|
$url .= "&$champ=$val";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$CurlConnect = curl_init();
|
$CurlConnect = curl_init();
|
||||||
|
|
||||||
// pour une connexion https locale avec certificat auto-signé
|
// pour une connexion https locale avec certificat auto-signé
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<paquet
|
<paquet
|
||||||
prefix="gamumail"
|
prefix="gamumail"
|
||||||
categorie="communication"
|
categorie="communication"
|
||||||
version="1.0.16"
|
version="1.0.17"
|
||||||
etat="dev"
|
etat="dev"
|
||||||
compatibilite="[3.2.0;3.3.*]"
|
compatibilite="[3.2.0;3.3.*]"
|
||||||
logo="prive/themes/spip/images/gamumail-64.png"
|
logo="prive/themes/spip/images/gamumail-64.png"
|
||||||
|
|
Loading…
Add table
Reference in a new issue