Browse Source

un logo pour ces super sessions

svn/root/tags/v0.13.0
jluc@no-log.org 4 years ago
parent
commit
bbef9714bd
  1. 4
      .gitattributes
  2. BIN
      images/macrosession-128.png
  3. 1
      images/noun_685845_cc.svg
  4. 1
      images/noun_690777_cc.svg
  5. 1
      images/sources.txt
  6. 2
      macrosession_options.php
  7. 3
      paquet.xml
  8. 3
      plugin.xml

4
.gitattributes

@ -1,4 +1,8 @@
* text=auto !eol
images/macrosession-128.png -text
images/noun_685845_cc.svg -text
images/noun_690777_cc.svg -text
images/sources.txt -text
lang/paquet-macrosession_fr.php -text
/macrosession_options.php -text
/paquet.xml -text

BIN
images/macrosession-128.png

After

Width: 128  |  Height: 128  |  Size: 3.6 KiB

1
images/noun_685845_cc.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 160.541 315.48125" style="enable-background:new 0 0 160.541 252.385;" xml:space="preserve"><g><path d="M80.272,158.01l-8.787,51.415c3.075-0.167,6.023-0.259,8.785-0.259c2.763,0,5.711,0.092,8.788,0.259L80.272,158.01z"/><path d="M53.798,129.214L42.561,81.336c-0.692-0.229-1.381-0.478-2.07-0.726C12.129,125.565,0,219.667,0,219.667 s18.384-3.801,39.454-6.83l14.084-82.414C53.606,130.027,53.691,129.63,53.798,129.214z"/><path d="M124.481,137.214c-1.952,1.582-4.408,2.452-6.92,2.452c-3.336,0-6.453-1.484-8.552-4.073 c-0.643-0.795-1.165-1.658-1.56-2.571l13.638,79.815c21.069,3.028,39.452,6.83,39.452,6.83s-6.592-51.125-21.414-96.011 C135.152,128.001,130.303,132.489,124.481,137.214z"/><path d="M110.634,120.118c9.673-7.825,14.52-13.583,16.884-17.034c1.034-1.504,1.762-2.796,2.277-3.892 c-1.69-3.798-3.455-7.444-5.297-10.893c-0.781-0.397-1.604-0.779-2.461-1.13c-1.511-0.632-3.188-1.22-5.011-1.756l-8.772,37.374 C108.888,121.787,109.686,120.886,110.634,120.118z"/><ellipse transform="matrix(0.9739 -0.2268 0.2268 0.9739 -6.1691 19.1533)" cx="80.271" cy="36.425" rx="22.495" ry="22.495"/><path d="M96.509,241.156c1.125,6.58,6.833,11.229,13.291,11.229c0.754,0,1.52-0.063,2.289-0.195 c7.35-1.257,12.289-8.232,11.032-15.581L105.034,130.76c-0.088-0.515-0.211-1.014-0.353-1.504l10.872-46.325 c2.293,0.595,4.833,1.379,7.24,2.389c3.325,1.36,6.303,3.162,7.98,4.869c1.702,1.797,2.174,2.869,2.231,4.697 c0.013,1.675-0.671,4.719-3.838,9.329c-3.135,4.576-8.657,10.486-17.276,17.458c-3.863,3.129-4.458,8.797-1.328,12.66 c1.779,2.194,4.378,3.333,6.999,3.334c1.99,0,3.993-0.657,5.659-2.007c9.517-7.724,16.221-14.639,20.778-21.246 c4.523-6.574,6.998-13.074,7.008-19.528c0.01-3.663-0.85-7.182-2.307-10.202c-2.576-5.323-6.666-9.014-10.816-11.731 c-6.277-4.059-13.057-6.226-18.407-7.601c-5.342-1.347-9.247-1.801-9.522-1.836c-0.594-0.068-1.18-0.074-1.755-0.028 c-0.492-0.082-0.991-0.138-1.503-0.138H53.843c-0.427,0-0.846,0.038-1.26,0.095c-2.193-0.553-8.242-2.3-13.648-5.455 c-3.28-1.885-6.251-4.245-8.17-6.767c-1.924-2.568-2.947-5.046-2.981-8.51c0.003-2.722,0.722-6.257,3.03-10.874 c2.301-4.601,6.204-10.207,12.273-16.696c3.391-3.63,3.199-9.325-0.434-12.719c-3.632-3.393-9.326-3.201-12.719,0.431 c-6.944,7.436-11.902,14.326-15.213,20.919c-3.303,6.579-4.941,12.939-4.939,18.939c-0.036,7.938,2.981,14.872,7.089,19.962 c6.2,7.691,14.368,11.993,20.905,14.751c2.41,0.999,4.619,1.77,6.473,2.353l11.611,49.477c-0.142,0.49-0.264,0.989-0.352,1.503 L37.42,236.609c-1.255,7.349,3.685,14.325,11.034,15.58c0.77,0.132,1.536,0.195,2.291,0.196c6.457,0,12.164-4.648,13.289-11.227 l15.533-90.898h1.408L96.509,241.156z"/></g><text x="0" y="267.385" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Gan Khoon Lay</text><text x="0" y="272.385" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text></svg>

1
images/noun_690777_cc.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 160.54 298.075" style="enable-background:new 0 0 160.54 238.46;" xml:space="preserve"><g><path d="M71.482,195.501c3.076-0.167,6.025-0.259,8.788-0.259c2.761,0,5.71,0.092,8.785,0.259l-8.786-51.419L71.482,195.501z"/><path d="M122.521,122.856c-1.826,1.234-3.953,1.887-6.151,1.887c-3.413,0-6.606-1.571-8.682-4.234l13.4,78.404 c21.069,3.028,39.453,6.83,39.453,6.83s-6.687-51.855-21.733-96.969C134.751,113.56,129.401,118.198,122.521,122.856z"/><path d="M39.451,198.913l13.398-78.4c-2.078,2.662-5.27,4.23-8.68,4.23c-2.195,0-4.321-0.652-6.149-1.887 c-6.886-4.665-12.235-9.301-16.287-14.082C6.687,153.888,0,205.742,0,205.742S18.383,201.941,39.451,198.913z"/><path d="M123.421,92.795c2.209-3.141,2.511-4.996,2.525-6.258c-0.006-1.555-0.622-3.105-1.998-4.999 c-1.45-1.989-3.825-4.188-6.684-6.189c-0.318-0.226-0.649-0.451-0.986-0.676l-7.243,30.86c0.367-0.324,0.755-0.626,1.166-0.904 C117.85,99.47,121.611,95.346,123.421,92.795z"/><path d="M36.743,81.334c-1.486,1.979-2.146,3.59-2.152,5.231c0.016,1.234,0.318,3.09,2.531,6.237 c1.804,2.545,5.567,6.669,13.214,11.823c0.415,0.282,0.805,0.586,1.169,0.91l-7.242-30.864 C41.002,76.864,38.282,79.262,36.743,81.334z"/><ellipse transform="matrix(0.2268 -0.9739 0.9739 0.2268 40.1524 95.5767)" cx="80.27" cy="22.5" rx="22.495" ry="22.495"/><path d="M39.14,121.2c1.544,1.043,3.296,1.543,5.03,1.543c2.889,0,5.727-1.388,7.467-3.961c2.782-4.118,1.699-9.713-2.419-12.495 c-7.024-4.737-11.361-8.988-13.732-12.332c-2.381-3.386-2.873-5.637-2.895-7.394c0.006-1.997,0.742-4.011,2.546-6.418 c2.336-3.146,6.507-6.326,10.431-8.661l10.292,43.851c-0.142,0.49-0.265,0.989-0.353,1.503l-18.089,105.85 c-1.255,7.351,3.683,14.325,11.034,15.58c0.77,0.132,1.537,0.195,2.292,0.195c6.456,0,12.163-4.648,13.289-11.228l15.532-90.897 h1.409l15.532,90.897c1.125,6.579,6.833,11.228,13.291,11.228c0.756,0,1.521-0.063,2.292-0.195 c7.349-1.255,12.288-8.23,11.032-15.58l-18.087-105.85c-0.088-0.514-0.211-1.013-0.352-1.502l10.291-43.847 c1.141,0.678,2.304,1.42,3.44,2.224c2.862,2.002,5.493,4.374,7.155,6.651c1.686,2.322,2.373,4.26,2.379,6.198 c-0.02,1.756-0.512,4.006-2.894,7.392c-2.373,3.347-6.707,7.597-13.731,12.333c-4.119,2.783-5.201,8.377-2.417,12.496 c1.739,2.574,4.576,3.962,7.465,3.962c1.734,0,3.486-0.499,5.031-1.544c8.244-5.582,14.202-11.06,18.307-16.795 c4.093-5.694,6.26-11.877,6.24-17.845c0.006-6.874-2.763-12.796-6.212-17.306c-5.233-6.808-12.043-11.276-17.564-14.391 c-5.531-3.076-9.847-4.665-10.145-4.778c-1.257-0.462-2.549-0.616-3.802-0.517c-0.499-0.084-1.006-0.142-1.526-0.142H53.842 c-0.521,0-1.028,0.059-1.529,0.143c-1.253-0.098-2.544,0.056-3.801,0.517c-0.401,0.163-7.925,2.891-15.989,8.379 c-4.031,2.768-8.242,6.232-11.72,10.788c-3.45,4.51-6.218,10.433-6.212,17.307c-0.021,5.968,2.146,12.15,6.24,17.845 C24.935,110.14,30.895,115.616,39.14,121.2z"/></g><text x="0" y="253.46" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Gan Khoon Lay</text><text x="0" y="258.46000000000004" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text></svg>

1
images/sources.txt

@ -0,0 +1 @@
Logo Super session visiteur - CC by Gan Khoon Lay Alt https://thenounproject.com/leremy/collection/superhero/?i=690777

2
macrosession_options.php

@ -86,6 +86,7 @@ define (V_FERME_PHP, ' ?' . "'.'>'");
// $champ est entre quotes ''
// le code renvoyé sera inséré à l'intérieur d'un '...'
function compile_appel_macro_session ($p, $champ,$n=2) {
debug_log ("compile_appel_macro_session avec n=$n et champ=".print_r($champ,1), "_macrosession");
$get_champ = "pipelined_session_get('.\"$champ\".')";
// champ sans application de filtre
@ -113,7 +114,6 @@ function compile_appel_macro_session ($p, $champ,$n=2) {
$r = "($get_champ $comparateur '.\"$arg_un\".')";
// #_SESSION{nom,==,JLuc} donnera
// '<'.'?php echo (pipelined_session_get('."'nom'".') == '."'JLuc'".'); ?'.'>'
// #_SESSION_SI{nom
return $r;
}

3
paquet.xml

@ -1,10 +1,11 @@
<paquet
prefix="macrosession"
categorie="outil"
version="0.6.3"
version="0.6.4"
etat="test"
compatibilite="[2.1.0;3.2.*]"
documentation="https://contrib.spip.net/4823"
logo="images/macrosession-128.png"
>
<nom>Macro session étendue</nom>
<!--

3
plugin.xml

@ -4,7 +4,7 @@
<icon></icon>
<auteur>JLuc, marcimat</auteur>
<licence>GPL</licence>
<version>0.6.3</version>
<version>0.6.4</version>
<etat>dev</etat>
<description>
Macros SPIP #_SESSION, #_SESSION_SI, #_SESSION_SINON, #_SESSION_FIN
@ -17,4 +17,5 @@
<categorie>outil</categorie>
<lien>http://contrib.spip.net/4823</lien>
<options>macrosession_options.php</options>
<icon>images/macrosession-128.png</icon>
</plugin>
Loading…
Cancel
Save