Overview
Comment: | Correction : supprimer_spip devient supprimer_skriv |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
9c4c674920f6f93c631c45474ab09ed7 |
User & Date: | bohwaz on 2017-08-23 01:46:14 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-30
| ||
05:31 | Mise à jour recette pour récupération des dépendances check-in: 090b738a82 user: bohwaz tags: dev | |
2017-08-23
| ||
01:46 | Correction : supprimer_spip devient supprimer_skriv check-in: 9c4c674920 user: bohwaz tags: dev | |
2017-08-17
| ||
05:51 | Améliorer l'ergonomie du menu en version mobile check-in: 8210e2358b user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Squelette_Filtres.php from [0c89c7f258] to [c32ec9672f].
︙ | ︙ | |||
43 44 45 46 47 48 49 50 51 52 53 54 55 56 | '<' => 'inferieur_a', '<=' => 'inferieur_ou_egal_a', 'yes' => 'oui', 'no' => 'non', 'and' => 'et', 'or' => 'ou', 'xor' => 'xou', ]; static public $desactiver_defaut = [ 'formatter_texte', 'entites_html', 'proteger_contact', 'echapper_xml', | > | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | '<' => 'inferieur_a', '<=' => 'inferieur_ou_egal_a', 'yes' => 'oui', 'no' => 'non', 'and' => 'et', 'or' => 'ou', 'xor' => 'xou', 'supprimer_spip' => 'supprimer_skriv', ]; static public $desactiver_defaut = [ 'formatter_texte', 'entites_html', 'proteger_contact', 'echapper_xml', |
︙ | ︙ | |||
244 245 246 247 248 249 250 | } static public function supprimer_tags($value, $replace = '') { return preg_replace('!<[^>]*>!', $replace, $value); } | | | > > | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 | } static public function supprimer_tags($value, $replace = '') { return preg_replace('!<[^>]*>!', $replace, $value); } static public function supprimer_skriv($value) { $value = preg_replace('!\[\[([^\]]+)(?:\|[^\]]*)?\]!U', '$1', $value); $value = preg_replace('!\{+([^\}]*)\}+!', '$1', $value); $value = preg_replace('!^=+([^=]+)=*$!mU', '$1', $value); $value = preg_replace('!<<<.*>>>!mU', '', $value); return $value; } static public function couper($texte, $taille, $etc = ' (...)') { if (strlen($texte) > $taille) { |
︙ | ︙ |
Modified src/www/squelettes-dist/article.html from [5be1121ebc] to [7a91ea7e48].
︙ | ︙ | |||
11 12 13 14 15 16 17 | </article> <B_enfants> <section class="articles"> <BOUCLE_enfants(PAGES){parent}{par uri}> <article> <h3><a href="#URL">#TITRE</a></h3> | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | </article> <B_enfants> <section class="articles"> <BOUCLE_enfants(PAGES){parent}{par uri}> <article> <h3><a href="#URL">#TITRE</a></h3> <p>[(#TEXTE|supprimer_skriv|couper{200})]</p> </article> </BOUCLE_enfants> </section> </B_enfants> </B_article> <p class="error"> Cette page n'existe pas. </p> <//B_article> <INCLURE{pied.html}> |
Modified src/www/squelettes-dist/rubrique.html from [1df80eb1df] to [e239b06eca].
︙ | ︙ | |||
9 10 11 12 13 14 15 | </div> </article> <section class="articles"> <BOUCLE_articles(ARTICLES){rubrique}{par uri}> <article> <h3><a href="#URL">#TITRE</a></h3> | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | </div> </article> <section class="articles"> <BOUCLE_articles(ARTICLES){rubrique}{par uri}> <article> <h3><a href="#URL">#TITRE</a></h3> <p>[(#TEXTE|supprimer_skriv|couper{200})]</p> </article> </BOUCLE_articles> </section> <INCLURE{pied.html}> </BOUCLE_rubrique> |
︙ | ︙ |
Modified src/www/squelettes-dist/sommaire.html from [92e6989d39] to [0304ba619a].
︙ | ︙ | |||
12 13 14 15 16 17 18 | <B_derniers> <section class="articles"> <BOUCLE_derniers(ARTICLES){par date}{inverse}{1,9}> <article> <h3><a href="#URL">#TITRE</a></h3> <h5>Posté : [(#DATE_CREATION|date_intelligente)]</h5> | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <B_derniers> <section class="articles"> <BOUCLE_derniers(ARTICLES){par date}{inverse}{1,9}> <article> <h3><a href="#URL">#TITRE</a></h3> <h5>Posté : [(#DATE_CREATION|date_intelligente)]</h5> <p>[(#TEXTE|supprimer_skriv|couper{200})]</p> </article> </BOUCLE_derniers> </section> </B_derniers> <INCLURE{pied.html}> |