Browse Source

Jolie icone achment pédagogique + compat spip 4 + le plugin.xml disparaît

master
JLuc 7 months ago
parent
commit
0876d4b6d7
  1. BIN
      images/switch-case-700x700.png
  2. BIN
      images/switchcase-32.png
  3. 1
      images/switchcase-xx.svg
  4. 4
      paquet.xml
  5. 17
      plugin.xml
  6. 1
      switchcase.svg

BIN
images/switch-case-700x700.png

Before

Width: 700  |  Height: 700  |  Size: 21 KiB

BIN
images/switchcase-32.png

Before

Width: 32  |  Height: 32  |  Size: 1.2 KiB

After

Width: 32  |  Height: 32  |  Size: 1.2 KiB

1
images/switchcase-xx.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M10.526 39.547c3.9 0 7.071 3.173 7.071 7.071 0 3.897-3.171 7.07-7.07 7.07-3.899 0-7.07-3.173-7.07-7.07 0-3.9 3.171-7.071 7.07-7.071zM31.865 39.547c3.897 0 7.07 3.173 7.07 7.071 0 3.897-3.173 7.07-7.07 7.07-3.899 0-7.07-3.173-7.07-7.07 0-3.9 3.172-7.071 7.07-7.071z" fill="#1d83d4"/><path d="M41.466 19.197c.002.56.333.942.832.946 1.654 0 2.874-.021 4.906-.021 2.962.054 5.373 3.046 5.4 6.432l.045 5.75.888 1.096.954-1.09v-5.757c0-4.616-3.243-8.373-7.23-8.373-1.676-.001-3.353.001-5.029-.001-.502 0-.769.458-.766 1.018z" fill="#f43737"/><path d="M53.472 38.026l3.23-3.194-.004-.004c.314-.315.286-.881.036-1.143-.25-.262-.668-.355-1.012-.092-.743.724-1.633 1.527-2.236 2.13-.603-.603-1.493-1.406-2.236-2.13-.302-.266-.767-.226-1.047.076-.279.303-.287.825.043 1.159l-.003.004z" fill="#f43737"/><path d="M31.865 12.32c3.897 0 7.07 3.173 7.07 7.072 0 3.897-3.173 7.069-7.07 7.069-3.899 0-7.07-3.173-7.07-7.069 0-3.899 3.172-7.071 7.07-7.071z" fill="#1d83d4"/><path d="M31.865 52.153a5.543 5.543 0 005.535-5.536 5.543 5.543 0 00-5.535-5.537 5.544 5.544 0 00-5.538 5.537 5.543 5.543 0 005.538 5.536z" fill="#ffbf00"/><path d="M10.526 52.153a5.544 5.544 0 005.539-5.536 5.545 5.545 0 00-5.539-5.537 5.541 5.541 0 00-5.534 5.537 5.54 5.54 0 005.534 5.536z" fill="#e895b7"/><path d="M53.476 39.547a7.08 7.08 0 017.072 7.071c0 3.897-3.172 7.07-7.072 7.07-3.898 0-7.07-3.173-7.07-7.07 0-3.9 3.173-7.071 7.07-7.071zM22.412 19.177c-.003.56-.334.942-.832.945-1.654 0-2.875-.02-4.907-.02-2.962.054-5.373 3.046-5.4 6.432l-.044 5.751-.888 1.096-.955-1.092v-5.756c0-4.617 3.244-8.374 7.23-8.374 1.677 0 3.353.002 5.029-.001.502 0 .77.458.767 1.019z" fill="#1d83d4"/><path d="M10.405 38.005l-3.23-3.194.004-.004c-.313-.314-.286-.88-.036-1.143.25-.262.668-.355 1.013-.092.742.724 1.632 1.527 2.236 2.131.603-.604 1.493-1.407 2.235-2.13.302-.266.768-.227 1.047.076.28.302.287.824-.042 1.158l.002.004zM31.917 33.274l.955-.973v-3.975s-.588-.702-.972-.695c-.384.007-.906.695-.906.695l.035 3.97z" fill="#1d83d4"/><path d="M31.978 37.755l-3.23-3.194.004-.004c-.313-.314-.286-.88-.036-1.143.25-.262.668-.355 1.013-.092.742.724 1.632 1.527 2.235 2.13.604-.603 1.494-1.406 2.236-2.13.302-.265.768-.226 1.047.077.279.302.287.824-.043 1.158l.003.004z" fill="#1d83d4"/><path d="M53.476 52.153a5.543 5.543 0 005.537-5.536 5.543 5.543 0 00-5.537-5.537 5.542 5.542 0 00-5.535 5.537 5.542 5.542 0 005.535 5.536zM31.82 24.879a5.544 5.544 0 005.538-5.536 5.545 5.545 0 00-5.538-5.537 5.541 5.541 0 00-5.535 5.537 5.54 5.54 0 005.535 5.536z" fill="#4caf50"/></svg>

4
paquet.xml

@ -1,9 +1,9 @@
<paquet
prefix="switchcase"
categorie="outil"
version="0.4.1"
version="0.4.2"
etat="stable"
compatibilite="[2.1.0;3.3.*]"
compatibilite="[3.1.0;4.0.*]"
logo="images/switchcase-32.png"
documentation="https://contrib.spip.net/4800"
>

17
plugin.xml

@ -1,17 +0,0 @@
<plugin>
<nom>Balises #SWITCH et #CASE</nom>
<slogan>Balises #SWITCH et #CASE pour les squelettes</slogan>
<icon>images/switchcase-32.png</icon>
<auteur>JLuc</auteur>
<licence>GPL</licence>
<version>0.4.1</version>
<etat>stable</etat>
<description>
Définition des balises #SWITCH, #CASE et #CASE_DEFAULT pour les créateurs de squelette, pour comparer une valeur à plusieurs autres.
</description>
<prefix>switchcase</prefix>
<necessite id="SPIP" version="[2.1.0;3.2.99]" />
<categorie>outil</categorie>
<options>switchcase_options.php</options>
</plugin>

1
switchcase.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M10.526 39.547c3.9 0 7.071 3.173 7.071 7.071 0 3.897-3.171 7.07-7.07 7.07-3.899 0-7.07-3.173-7.07-7.07 0-3.9 3.171-7.071 7.07-7.071zM31.865 39.547c3.897 0 7.07 3.173 7.07 7.071 0 3.897-3.173 7.07-7.07 7.07-3.899 0-7.07-3.173-7.07-7.07 0-3.9 3.172-7.071 7.07-7.071z" fill="#1d83d4"/><path d="M41.466 19.197c.002.56.333.942.832.946 1.654 0 2.874-.021 4.906-.021 2.962.054 5.373 3.046 5.4 6.432l.045 5.75.888 1.096.954-1.09v-5.757c0-4.616-3.243-8.373-7.23-8.373-1.676-.001-3.353.001-5.029-.001-.502 0-.769.458-.766 1.018z" fill="#f43737"/><path d="M53.472 38.026l3.23-3.194-.004-.004c.314-.315.286-.881.036-1.143-.25-.262-.668-.355-1.012-.092-.743.724-1.633 1.527-2.236 2.13-.603-.603-1.493-1.406-2.236-2.13-.302-.266-.767-.226-1.047.076-.279.303-.287.825.043 1.159l-.003.004z" fill="#f43737"/><path d="M31.865 12.32c3.897 0 7.07 3.173 7.07 7.072 0 3.897-3.173 7.069-7.07 7.069-3.899 0-7.07-3.173-7.07-7.069 0-3.899 3.172-7.071 7.07-7.071z" fill="#1d83d4"/><path d="M31.865 52.153a5.543 5.543 0 005.535-5.536 5.543 5.543 0 00-5.535-5.537 5.544 5.544 0 00-5.538 5.537 5.543 5.543 0 005.538 5.536z" fill="#ffbf00"/><path d="M10.526 52.153a5.544 5.544 0 005.539-5.536 5.545 5.545 0 00-5.539-5.537 5.541 5.541 0 00-5.534 5.537 5.54 5.54 0 005.534 5.536z" fill="#e895b7"/><path d="M53.476 39.547a7.08 7.08 0 017.072 7.071c0 3.897-3.172 7.07-7.072 7.07-3.898 0-7.07-3.173-7.07-7.07 0-3.9 3.173-7.071 7.07-7.071zM22.412 19.177c-.003.56-.334.942-.832.945-1.654 0-2.875-.02-4.907-.02-2.962.054-5.373 3.046-5.4 6.432l-.044 5.751-.888 1.096-.955-1.092v-5.756c0-4.617 3.244-8.374 7.23-8.374 1.677 0 3.353.002 5.029-.001.502 0 .77.458.767 1.019z" fill="#1d83d4"/><path d="M10.405 38.005l-3.23-3.194.004-.004c-.313-.314-.286-.88-.036-1.143.25-.262.668-.355 1.013-.092.742.724 1.632 1.527 2.236 2.131.603-.604 1.493-1.407 2.235-2.13.302-.266.768-.227 1.047.076.28.302.287.824-.042 1.158l.002.004zM31.917 33.274l.955-.973v-3.975s-.588-.702-.972-.695c-.384.007-.906.695-.906.695l.035 3.97z" fill="#1d83d4"/><path d="M31.978 37.755l-3.23-3.194.004-.004c-.313-.314-.286-.88-.036-1.143.25-.262.668-.355 1.013-.092.742.724 1.632 1.527 2.235 2.13.604-.603 1.494-1.406 2.236-2.13.302-.265.768-.226 1.047.077.279.302.287.824-.043 1.158l.003.004z" fill="#1d83d4"/><path d="M53.476 52.153a5.543 5.543 0 005.537-5.536 5.543 5.543 0 00-5.537-5.537 5.542 5.542 0 00-5.535 5.537 5.542 5.542 0 005.535 5.536zM31.82 24.879a5.544 5.544 0 005.538-5.536 5.545 5.545 0 00-5.538-5.537 5.541 5.541 0 00-5.535 5.537 5.54 5.54 0 005.535 5.536z" fill="#4caf50"/></svg>
Loading…
Cancel
Save