Changeset 48922 in spip-zone
- Timestamp:
- Jun 19, 2011, 11:17:23 AM (10 years ago)
- Location:
- _plugins_/svp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/svp/lang/svp_fr.php
r48912 r48922 175 175 176 176 // 'titre_bloc_depots' => 'DÉPÔTS', 177 'titre_boite_autres_depots' => 'Autres dépôts',178 177 // 'titre_boite_infos_depot' => 'DÉPÔT NUMÉRO', 179 178 'titre_boite_paquets_autre_depot' => 'Paquets du dépôt correspondant à d\'autres contributions', … … 191 190 'titre_head_svp' => 'SVP', 192 191 'titre_liste_autres_contributions' => 'Squelettes, librairies, jeux d\'icônes...', 192 'titre_liste_autres_depots' => 'Autres dépôts', 193 193 'titre_liste_depots' => 'Liste des dépôts disponibles', 194 194 'titre_navigation_depot' => 'Dépôts', -
_plugins_/svp/prive/objets/liste/depots.html
r48913 r48922 1 [(#REM) <!-- Liste des depots : 2 - soit integrale de l'ensemble du site si on est dans la page depots (dans le bloc contenu) 3 - soit reduite aux autre depots que celui affiche dabs la page depot (dans le bloc extra/navigation) 4 Dans ces deux cas les informations different car la taille des blocs influe sur l'affichage. 5 6 Les parametres d'environnement specifiques sont : 7 - titre : le titre de la liste 8 - par : le champ tri principale 9 - pas : le pas de pagination 10 - where : condition d'exclusion du depot eventuellement en cours d'affichage (page depot) 11 - affichage : complet, tous les champs, ou simplifie, letitre et l'id pour la liste en extra/navigation 12 -->] 13 1 14 [(#SET{defaut_tri, #ARRAY{ 2 15 titre, 1, … … 4 17 maj, -1, 5 18 id_depot, 1}})] 19 6 20 <B_liste_depots> 7 21 #ANCRE_PAGINATION … … 12 26 <tr class="first_row"> 13 27 <th class="titre principale">[(#TRI{titre, <:info_titre:>, ajax})]</th> 28 [(#ENV{affichage}|=={complet}|oui) 14 29 <th class="nombre">[(#TRI{nbr_paquets, <:svp:label_n_paquets|ucfirst:>, ajax})]</th> 15 <th class="date secondaire">[(#TRI{maj, <:svp:label_actualise_le:>, ajax})]</th> 30 <th class="date secondaire">[(#TRI{maj, <:svp:label_actualise_le:>, ajax})]</th>] 16 31 <th class="id">[(#TRI{id_depot, <:info_numero_abbreviation:>, ajax})]</th> 32 [(#ENV{affichage}|=={complet}|oui) 17 33 <th class="bouton"> </th> 18 <th class="bouton"> </th> 34 <th class="bouton"> </th>] 19 35 </tr> 20 36 </thead> 21 37 <tbody> 22 <BOUCLE_liste_depots(DEPOTS) { tri titre, #GET{defaut_tri}}{pagination #ENV{pas, 5}}>38 <BOUCLE_liste_depots(DEPOTS) {where?}{tri #ENV{par, titre}, #GET{defaut_tri}}{pagination #ENV{pas, 5}}> 23 39 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]"> 24 40 <td class="titre principale"> 25 [(#LOGO_DEPOT|image_reduire{20,26})]41 [(#ENV{affichage}|=={complet}|oui)[(#LOGO_DEPOT|image_reduire{20,26})]] 26 42 <a[ href="(#ID_DEPOT|generer_url_entite{depot})"] title="<:svp:bulle_afficher_depot:>"> 27 43 [(#TITRE)] 28 44 </a> 29 45 </td> 46 [(#ENV{affichage}|=={complet}|oui) 30 47 <td class="nombre">[(#NBR_PAQUETS)]</td> 31 <td class="date secondaire">[(#MAJ|affdate{d-m H:i})]</td> 48 <td class="date secondaire">[(#MAJ|affdate{d-m H:i})]</td>] 32 49 <td class="id">[(#ID_DEPOT)]</td> 50 [(#ENV{affichage}|=={complet}|oui) 33 51 <td class="bouton">[(#BOUTON_ACTION{<:svp:bouton_actualiser:>, #URL_ACTION_AUTEUR{actualiser_depot,#ID_DEPOT, #SELF}, '', '', <:svp:bulle_actualiser_depot:>})]</td> 34 <td class="bouton">[(#BOUTON_ACTION{<:svp:bouton_supprimer:>, #URL_ACTION_AUTEUR{supprimer_depot,#ID_DEPOT, #SELF}, '', '', <:svp:bulle_supprimer_depot:>})]</td> 52 <td class="bouton">[(#BOUTON_ACTION{<:svp:bouton_supprimer:>, #URL_ACTION_AUTEUR{supprimer_depot,#ID_DEPOT, #SELF}, '', '', <:svp:bulle_supprimer_depot:>})]</td>] 35 53 </tr> 36 54 </BOUCLE_liste_depots> … … 40 58 </div> 41 59 </B_liste_depots> 42 <p><:svp:info_liste_aucun_depot:></p>60 [(#ENV{affichage}|=={complet}|oui)<p><:svp:info_liste_aucun_depot:></p>] 43 61 <//B_liste_depots> -
_plugins_/svp/prive/squelettes/contenu/depots_gerer.html
r48913 r48922 10 10 </div> 11 11 12 [(#REM) Liste des objets depot ] 13 <INCLURE{fond=prive/objets/liste/depots, 14 titre=<:svp:titre_liste_depots:>, 15 par=nbr_paquets, 16 pas=10, 17 affichage=complet, 18 env, ajax} /> 19 12 20 <div class="noajax"> 13 [(#REM) Liste des objets depot ]14 <INCLURE{fond=prive/objets/liste/depots,15 titre=<:svp:titre_liste_depots:>,16 exec=depots_gerer,17 ajax} />18 19 21 [(#REM) Formulaire d'ajout d'un depot ] 20 22 #FORMULAIRE_AJOUTER_DEPOT -
_plugins_/svp/prive/squelettes/extra/depot.html
r48913 r48922 1 1 <BOUCLE_extra_depot(DEPOTS){id_depot}{si #ENV{exec}|=={depot}}> 2 <INCLURE{fond=prive/objets/liste/depots, 3 titre=<:svp:titre_liste_depots:>, 4 id_depot, 5 exec, 6 ajax} /> 2 #SET{exclusion, #VAL{id_depot!=}|concat{#ID_DEPOT}} 3 <INCLURE{fond=prive/objets/liste/depots, 4 titre=<:svp:titre_liste_autres_depots:>, 5 par=titre, 6 pas=10, 7 where=#GET{exclusion}, 8 affichage=simplifie, 9 env, ajax} /> 7 10 </BOUCLE_extra_depot> 8 11 <//B_extra_depot>
Note: See TracChangeset
for help on using the changeset viewer.