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
67 67
    replace_content ( $dom, 'member-since', 'Adhérente depuis le ' . $date );
68 68
  replace_content ( $dom, 'member-number', sprintf ( 'Carte n° : %d',
69 69
						     $additional [ 'details' ] [ 'actor_id' ] ) );
70
  if ( $additional [ 'details' ] [ 'gpg_fingerprint' ] == '' )
71
    replace_content ( $dom, 'member-gpg-fingerprint', '' );
72
  else
73
    replace_content ( $dom, 'member-gpg-fingerprint', 'GPG : ' . $additional [ 'details' ] [ 'gpg_fingerprint' ] );
70 74

  
71 75
  $node = find_node ( $dom, 'member-photo' );
72 76
  if ( file_exists ( sprintf ( '%s/dtcphotos/%s.png',
templates/svg/carte.svg
67 67
        <dc:format>image/svg+xml</dc:format>
68 68
        <dc:type
69 69
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
70
        <dc:title />
70 71
      </cc:Work>
71 72
      <cc:Work
72 73
         rdf:about="">
......
111 112
       y="1.406967" />
112 113
    <text
113 114
       xml:space="preserve"
114
       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"
115
       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"
115 116
       x="150.8056"
116
       y="176.27313"
117
       y="164.27313"
117 118
       id="text2311"><tspan
118 119
         sodipodi:role="line"
119 120
         id="tspan2313"
120 121
         x="150.8056"
121
         y="176.27313"
122
         y="164.27313"
122 123
         style="font-size:8.47000027px;font-weight:bold">Association April</tspan><tspan
123 124
         sodipodi:role="line"
124 125
         x="150.8056"
125
         y="186.86063"
126
         y="174.86063"
126 127
         style="font-size:8.47000027px"
127 128
         id="tspan2315">✆ 01 78 76 92 80 - <tspan
128 129
   style="font-size:8.47000027px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:DejaVu Sans Mono"
......
379 380
    </g>
380 381
    <g
381 382
       id="g3051"
382
       transform="translate(0,4.770977)">
383
       transform="translate(0,-1.229023)">
383 384
      <path
384 385
         inkscape:connector-curvature="0"
385 386
         sodipodi:nodetypes="cc"
......
413 414
           id="member-name"
414 415
           sodipodi:role="line">Votre nom</tspan></text>
415 416
    </g>
417
    <text
418
       sodipodi:linespacing="125%"
419
       id="text3054-2"
420
       y="189.23322"
421
       x="150.60422"
422
       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"
423
       xml:space="preserve"><tspan
424
         id="member-gpg-fingerprint"
425
         y="189.23322"
426
         x="150.60422"
427
         sodipodi:role="line">DEAD BEEF DEAD BEEF DEAD  BEEF DEAD BEEF DEAD BEEF</tspan></text>
416 428
  </g>
417 429
</svg>
(3-3/3)