Changeset 70443 in spip-zone for _plugins_/spip-pmb
- Timestamp:
- Mar 5, 2013, 8:50:09 PM (8 years ago)
- Location:
- _plugins_/spip-pmb/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/spip-pmb/trunk/content/pmb_recherche.html
r57120 r70443 10 10 </div>] 11 11 12 13 12 [(#ENV{recherche} 14 13 |ou{#ENV{look}} 15 14 |ou{#ENV{categorie}} 16 15 |ou{#ENV{typedoc}}|oui) 17 [(#INCLURE{fond=inclure/inc-pmb-recherche-catalogue }{env}{ajax}{rechercher=#ENV{recherche}})]16 [(#INCLURE{fond=inclure/inc-pmb-recherche-catalogue, env, ajax, rechercher=#ENV{recherche}})] 18 17 ] 19 18 -
_plugins_/spip-pmb/trunk/inclure/inc-pmb-recherche-catalogue.html
r57120 r70443 1 1 <a id="resultats_recherche"></a> 2 2 3 <div class="liste articles avec_resume pmb"> 3 4 <B_recherche> … … 5 6 6 7 #PMB_NOMBRE_RESULTATS 7 8 8 9 [<p class="pagination">(#PAGINATION)</p>] 9 10 10 11 <ul class="liste-items items"> 11 12 <BOUCLE_recherche(PMB:NOTICES){rechercher} … … 17 18 18 19 [<p class="pagination">(#PAGINATION)</p>] 19 20 20 21 </B_recherche> 21 22 <:pmb:pas_d_ouvrages_trouves:> -
_plugins_/spip-pmb/trunk/paquet.xml
r57281 r70443 2 2 prefix="pmb" 3 3 categorie="divers" 4 version="2.0.0-beta 1"4 version="2.0.0-beta2" 5 5 etat="test" 6 compatibilite="[3.0.0 -beta2;3.0.*]"6 compatibilite="[3.0.0;3.0.*]" 7 7 logo="img/logo-spip-pmb.png" 8 8 documentation="http://www.spip-contrib.net/Portail-Web-pour-PMB" -
_plugins_/spip-pmb/trunk/public/pmb.php
r69242 r70443 53 53 'cle' => 'STRING', 54 54 'valeur' => 'STRING', 55 'rechercher' => 'STRING', 55 56 '*' => 'ALL' // Champ joker * 56 57 ) … … 273 274 // ou egalement un critere id=x 274 275 $ids = array(); 275 276 276 277 277 // depuis une liste … … 338 338 if (!$recherche) { 339 339 $recherche = pmb_critere_valeur($criteres, 'rechercher'); 340 340 341 // le premier trouve... 341 342 if ($recherche) { … … 343 344 } 344 345 } 346 345 347 if (!$recherche) { 346 348 $recherche = ''; … … 384 386 // sauf pour look, où on veut toutes les valeurs... 385 387 if ($nom == 'look') { 386 $demande[$requete] = $valeur ;388 $demande[$requete] = $valeurs; 387 389 } else { 388 390 $demande[$requete] = array_shift($valeurs); … … 879 881 **/ 880 882 function balise_URL_PMB_NOTICE_dist($p) { 881 return p bm_balise_url($p, 'id_notice', 'pmb_notice');883 return pmb_balise_url($p, 'id_notice', 'pmb_notice'); 882 884 } 883 885 … … 887 889 **/ 888 890 function balise_URL_PMB_COLLECTION_dist($p) { 889 return p bm_balise_url($p, 'id_collection', 'pmb_collection');891 return pmb_balise_url($p, 'id_collection', 'pmb_collection'); 890 892 } 891 893 … … 895 897 **/ 896 898 function balise_URL_PMB_EDITEUR_dist($p) { 897 return p bm_balise_url($p, 'id_editeur', 'pmb_editeur');899 return pmb_balise_url($p, 'id_editeur', 'pmb_editeur'); 898 900 } 899 901 … … 902 904 **/ 903 905 function balise_URL_PMB_AUTEUR_dist($p) { 904 return p bm_balise_url($p, 'id_auteur', 'pmb_auteur');906 return pmb_balise_url($p, 'id_auteur', 'pmb_auteur'); 905 907 } 906 908 … … 953 955 954 956 955 function p bm_balise_url($p, $champ, $page) {957 function pmb_balise_url($p, $champ, $page) { 956 958 if (!$id = interprete_argument_balise(1, $p)) { 957 959 $id = champ_sql($champ, $p);
Note: See TracChangeset
for help on using the changeset viewer.