Projet

Général

Profil

Anomalie #1498 » 03-add-gpg-fingerprint.diff

François Poulain, 09/07/2014 13:54

Voir les différences:

include/svg.php
replace_content ( $dom, 'member-since', 'Adhérente depuis le ' . $date );
replace_content ( $dom, 'member-number', sprintf ( 'Carte n° : %d',
$additional [ 'details' ] [ 'actor_id' ] ) );
if ( $additional [ 'details' ] [ 'gpg_fingerprint' ] == '' )
replace_content ( $dom, 'member-gpg-fingerprint', '' );
else
replace_content ( $dom, 'member-gpg-fingerprint', 'GPG : ' . $additional [ 'details' ] [ 'gpg_fingerprint' ] );
$node = find_node ( $dom, 'member-photo' );
if ( file_exists ( sprintf ( '%s/dtcphotos/%s.png',
templates/svg/carte.svg
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
<cc:Work
rdf:about="">
......
y="1.406967" />
<text
xml:space="preserve"
style="font-size:8.65449047px;font-style:normal;font-weight:normal;text-align:center;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
style="font-size:8.65449047px;font-style:normal;font-weight:normal;text-align:center;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="150.8056"
y="176.27313"
y="164.27313"
id="text2311"><tspan
sodipodi:role="line"
id="tspan2313"
x="150.8056"
y="176.27313"
y="164.27313"
style="font-size:8.47000027px;font-weight:bold">Association April</tspan><tspan
sodipodi:role="line"
x="150.8056"
y="186.86063"
y="174.86063"
style="font-size:8.47000027px"
id="tspan2315">✆ 01 78 76 92 80 - <tspan
style="font-size:8.47000027px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:DejaVu Sans Mono"
......
</g>
<g
id="g3051"
transform="translate(0,4.770977)">
transform="translate(0,-1.229023)">
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
......
id="member-name"
sodipodi:role="line">Votre nom</tspan></text>
</g>
<text
sodipodi:linespacing="125%"
id="text3054-2"
y="189.23322"
x="150.60422"
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;fill:#666666;font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono"
xml:space="preserve"><tspan
id="member-gpg-fingerprint"
y="189.23322"
x="150.60422"
sodipodi:role="line">DEAD BEEF DEAD BEEF DEAD BEEF DEAD BEEF DEAD BEEF</tspan></text>
</g>
</svg>
(3-3/3)