Browse Source

Passage en v4 : pas de bouleversement, mais compat 3.3 et on abandonne la compat 3.0 + un jeu d'icone modernise et SVG

svn/root/tags/v4.0.0
cedric@yterium.com 1 year ago
parent
commit
b0a1fc3216
  1. 14
      .gitattributes
  2. 9
      paquet.xml
  3. BIN
      prive/themes/spip/images/acces-interdit-24.png
  4. BIN
      prive/themes/spip/images/acces-interdit-48.png
  5. 28
      prive/themes/spip/images/acces-interdit-xx.svg
  6. BIN
      prive/themes/spip/images/acces-ok-24.png
  7. BIN
      prive/themes/spip/images/acces-ok-48.png
  8. 28
      prive/themes/spip/images/acces-ok-xx.svg
  9. BIN
      prive/themes/spip/images/accesrestreint-64.png
  10. 17
      prive/themes/spip/images/accesrestreint-xx.svg
  11. BIN
      prive/themes/spip/images/cadenasouvert-16.png
  12. BIN
      prive/themes/spip/images/cadenasouvert-24.png
  13. BIN
      prive/themes/spip/images/cadenasouvert-32.png
  14. 17
      prive/themes/spip/images/cadenasouvert-xx.svg
  15. BIN
      prive/themes/spip/images/croix.png
  16. BIN
      prive/themes/spip/images/list-add-12.png
  17. BIN
      prive/themes/spip/images/list-add-16.png
  18. BIN
      prive/themes/spip/images/restreint-16.png
  19. 19
      prive/themes/spip/images/restreint-xx.svg
  20. BIN
      prive/themes/spip/images/zone-16.png
  21. BIN
      prive/themes/spip/images/zone-24.png
  22. BIN
      prive/themes/spip/images/zone-32.png
  23. 17
      prive/themes/spip/images/zone-xx.svg

14
.gitattributes

@ -68,18 +68,22 @@ prive/squelettes/navigation/configurer_accesrestreint.html -text
prive/squelettes/navigation/zone_edit.html -text
prive/squelettes/navigation/zones.html -text
prive/style_prive_plugin_accesrestreint.html -text
prive/themes/spip/images/acces-interdit-24.png -text
prive/themes/spip/images/acces-ok-24.png -text
prive/themes/spip/images/acces-interdit-48.png -text svneol=unset#unset
prive/themes/spip/images/acces-interdit-xx.svg -text
prive/themes/spip/images/acces-ok-48.png -text svneol=unset#unset
prive/themes/spip/images/acces-ok-xx.svg -text
prive/themes/spip/images/accesrestreint-64.png -text svneol=unset#unset
prive/themes/spip/images/accesrestreint-xx.svg -text
prive/themes/spip/images/cadenasouvert-16.png -text
prive/themes/spip/images/cadenasouvert-24.png -text
prive/themes/spip/images/cadenasouvert-32.png -text
prive/themes/spip/images/croix.png -text
prive/themes/spip/images/list-add-12.png -text
prive/themes/spip/images/list-add-16.png -text
prive/themes/spip/images/cadenasouvert-xx.svg -text
prive/themes/spip/images/restreint-16.png -text
prive/themes/spip/images/restreint-xx.svg -text
prive/themes/spip/images/zone-16.png -text
prive/themes/spip/images/zone-24.png -text
prive/themes/spip/images/zone-32.png -text
prive/themes/spip/images/zone-xx.svg -text
public/accesrestreint.php -text
saisies/zones.html -text
urls/generer_url_document.php -text

9
paquet.xml

@ -1,10 +1,10 @@
<paquet
prefix="accesrestreint"
categorie="auteur"
version="3.15.18"
version="4.0.0"
etat="test"
compatibilite="[3.0.0;3.2.*]"
logo="prive/themes/spip/images/zone-32.png"
compatibilite="[3.1.0;3.3.*]"
logo="prive/themes/spip/images/accesrestreint-64.png"
schema="0.5.0"
documentation="https://contrib.spip.net/Acces-Restreint-3-0"
>
@ -12,8 +12,9 @@
<!-- Gestion de zones d'acces restreint -->
<auteur lien="http://www.yterium.net" mail="cedric.morin@yterium.com">Cedric Morin</auteur>
<credit lien="https://www.flaticon.com/authors/pixel-perfect">Icons made by Pixel perfect from www.flaticon.com</credit>
<copyright>2007-2014</copyright>
<copyright>2007-2019</copyright>
<licence lien="http://www.gnu.org/licenses/gpl-3.0.html">GPL</licence>

BIN
prive/themes/spip/images/acces-interdit-24.png

Before

Width: 24  |  Height: 24  |  Size: 510 B

BIN
prive/themes/spip/images/acces-interdit-48.png

After

Width: 48  |  Height: 48  |  Size: 3.0 KiB

28
prive/themes/spip/images/acces-interdit-xx.svg

@ -0,0 +1,28 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="512"
height="512"
viewBox="0 0 512 512"
xml:space="preserve">
<g transform="translate(-272 -88) scale(2.15)">
<circle fill="#FAFAFA" cx="245.333" cy="160" r="106.667"/>
<circle fill="#ccc" cx="245.333" cy="138.667" r="42.667"/>
<path fill="#ccc" d="M245.333,266.667c28.264,0.031,55.377-11.191,75.349-31.189c-14-41.62-59.089-64.011-100.71-50.01
c-23.575,7.93-42.08,26.436-50.01,50.01C189.941,255.481,217.062,266.704,245.333,266.667z"/>
<path fill="#C70F0F" d="M245.333,277.333C180.532,277.333,128,224.801,128,160S180.532,42.667,245.333,42.667
S362.667,95.199,362.667,160C362.584,224.767,310.101,277.251,245.333,277.333z M245.333,64c-53.019,0-96,42.981-96,96
s42.981,96,96,96s96-42.981,96-96S298.353,64,245.333,64z"/>
</g>
<g transform="translate(200 174) scale(0.66)">
<path fill="#455A64" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667V224
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-85.333C394.573,62.122,332.544,0.094,256,0z"/>
<path fill="#FFC107" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#455A64" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.06,10.715-4.667,10.774-10.558
c0.005-0.543-0.03-1.086-0.108-1.623l-8.235-57.6C297.788,369.199,309.216,350.82,309.333,330.667z"/>
</g>
</svg>

BIN
prive/themes/spip/images/acces-ok-24.png

Before

Width: 24  |  Height: 24  |  Size: 689 B

BIN
prive/themes/spip/images/acces-ok-48.png

After

Width: 48  |  Height: 48  |  Size: 3.0 KiB

28
prive/themes/spip/images/acces-ok-xx.svg

@ -0,0 +1,28 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="512"
height="512"
viewBox="0 0 512 512"
xml:space="preserve">
<g transform="translate(-272 -88) scale(2.15)">
<circle fill="#FAFAFA" cx="245.333" cy="160" r="106.667"/>
<circle fill="#ccc" cx="245.333" cy="138.667" r="42.667"/>
<path fill="#ccc" d="M245.333,266.667c28.264,0.031,55.377-11.191,75.349-31.189c-14-41.62-59.089-64.011-100.71-50.01
c-23.575,7.93-42.08,26.436-50.01,50.01C189.941,255.481,217.062,266.704,245.333,266.667z"/>
<path fill="#65B915" d="M245.333,277.333C180.532,277.333,128,224.801,128,160S180.532,42.667,245.333,42.667
S362.667,95.199,362.667,160C362.584,224.767,310.101,277.251,245.333,277.333z M245.333,64c-53.019,0-96,42.981-96,96
s42.981,96,96,96s96-42.981,96-96S298.353,64,245.333,64z"/>
</g>
<g transform="translate(200 174) scale(0.66)">
<path transform="translate(299 0) scale(-1 1)" fill="#455A64" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667v22.667
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-25.333C394.573,62.122,332.544,0.094,256,0z" />
<path fill="#FFC107" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#455A64" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.058,10.713-4.67,10.771-10.561
c0.005-0.535-0.03-1.069-0.105-1.599l-8.235-57.6C297.791,369.213,309.219,350.826,309.333,330.667z"/>
</g>
</svg>

BIN
prive/themes/spip/images/accesrestreint-64.png

After

Width: 64  |  Height: 64  |  Size: 2.0 KiB

17
prive/themes/spip/images/accesrestreint-xx.svg

@ -0,0 +1,17 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="512"
height="512"
viewBox="0 0 512 512"
xml:space="preserve">
<path fill="#455A64" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667V224
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-85.333C394.573,62.122,332.544,0.094,256,0z"/>
<path fill="#FFC107" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#455A64" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.06,10.715-4.667,10.774-10.558
c0.005-0.543-0.03-1.086-0.108-1.623l-8.235-57.6C297.788,369.199,309.216,350.82,309.333,330.667z"/>
</svg>

BIN
prive/themes/spip/images/cadenasouvert-16.png

Before

Width: 16  |  Height: 16  |  Size: 570 B

After

Width: 16  |  Height: 16  |  Size: 1.2 KiB

BIN
prive/themes/spip/images/cadenasouvert-24.png

Before

Width: 24  |  Height: 24  |  Size: 1.0 KiB

After

Width: 24  |  Height: 24  |  Size: 1.3 KiB

BIN
prive/themes/spip/images/cadenasouvert-32.png

Before

Width: 32  |  Height: 32  |  Size: 1.3 KiB

After

Width: 32  |  Height: 32  |  Size: 1.5 KiB

17
prive/themes/spip/images/cadenasouvert-xx.svg

@ -0,0 +1,17 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="512"
height="512"
viewBox="0 0 512 512"
xml:space="preserve">
<path fill="#455A64" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667v22.667
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-25.333C394.573,62.122,332.544,0.094,256,0z" />
<path fill="#FFC107" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#455A64" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.058,10.713-4.67,10.771-10.561
c0.005-0.535-0.03-1.069-0.105-1.599l-8.235-57.6C297.791,369.213,309.219,350.826,309.333,330.667z"/>
</svg>

BIN
prive/themes/spip/images/croix.png

Before

Width: 12  |  Height: 12  |  Size: 94 B

BIN
prive/themes/spip/images/list-add-12.png

Before

Width: 12  |  Height: 12  |  Size: 198 B

BIN
prive/themes/spip/images/list-add-16.png

Before

Width: 16  |  Height: 16  |  Size: 201 B

BIN
prive/themes/spip/images/restreint-16.png

Before

Width: 16  |  Height: 16  |  Size: 378 B

After

Width: 16  |  Height: 16  |  Size: 1.2 KiB

19
prive/themes/spip/images/restreint-xx.svg

@ -0,0 +1,19 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16"
height="16"
viewBox="0 0 512 512"
xml:space="preserve">
<g transform="translate(25.56 25.56) scale(0.9)">
<path fill="#aaa" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667V224
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-85.333C394.573,62.122,332.544,0.094,256,0z"/>
<path fill="#aaa" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#000" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.06,10.715-4.667,10.774-10.558
c0.005-0.543-0.03-1.086-0.108-1.623l-8.235-57.6C297.788,369.199,309.216,350.82,309.333,330.667z"/>
</g>
</svg>

BIN
prive/themes/spip/images/zone-16.png

Before

Width: 16  |  Height: 16  |  Size: 563 B

After

Width: 16  |  Height: 16  |  Size: 1.2 KiB

BIN
prive/themes/spip/images/zone-24.png

Before

Width: 24  |  Height: 24  |  Size: 1.1 KiB

After

Width: 24  |  Height: 24  |  Size: 1.3 KiB

BIN
prive/themes/spip/images/zone-32.png

Before

Width: 32  |  Height: 32  |  Size: 1.3 KiB

After

Width: 32  |  Height: 32  |  Size: 1.5 KiB

17
prive/themes/spip/images/zone-xx.svg

@ -0,0 +1,17 @@
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="512"
height="512"
viewBox="0 0 512 512"
xml:space="preserve">
<path fill="#455A64" d="M256,0c-76.544,0.094-138.573,62.122-138.667,138.667V224c0,5.891,4.776,10.667,10.667,10.667h42.667
c5.891,0,10.667-4.776,10.667-10.667v-85.333C181.333,97.429,214.763,64,256,64s74.667,33.429,74.667,74.667V224
c0,5.891,4.776,10.667,10.667,10.667H384c5.891,0,10.667-4.776,10.667-10.667v-85.333C394.573,62.122,332.544,0.094,256,0z"/>
<path fill="#FFC107" d="M128,213.333h256c29.455,0,53.333,23.878,53.333,53.333v192C437.333,488.122,413.455,512,384,512H128
c-29.455,0-53.333-23.878-53.333-53.333v-192C74.667,237.211,98.545,213.333,128,213.333z"/>
<path fill="#455A64" d="M309.333,330.667c0.124-29.455-23.653-53.434-53.108-53.558
c-29.455-0.124-53.434,23.653-53.558,53.108c-0.086,20.36,11.427,38.992,29.674,48.023l-8.235,57.6
c-0.825,5.833,3.235,11.23,9.068,12.055c0.494,0.07,0.993,0.105,1.492,0.105h42.667c5.891,0.06,10.715-4.667,10.774-10.558
c0.005-0.543-0.03-1.086-0.108-1.623l-8.235-57.6C297.788,369.199,309.216,350.82,309.333,330.667z"/>
</svg>
Loading…
Cancel
Save