[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / vertebres / prive / squelettes / contenu / vertebres.html
1 [(#AUTORISER{webmestre}|sinon_interdire_acces)]
2 [(#ENV{table}|oui)
3 <INCLURE{fond=prive/vertebres:#ENV{table},env,ajax} />
4 <style type="text/css">
5 th .tri {margin-top: 0;}
6 td {max-height: 200px;overflow-y: scroll;}
7 </style>
8 ]
9
10 <hr />
11 #SET{lettre_old,''}
12 #SET{radical_old,''}
13 <B_t>
14 <div class="toutes_les_tables">
15 <BOUCLE_t(POUR){tableau #REM|sql_alltable}{'<br /> '}{par valeur}>
16 [(#SET{radical,#VALEUR|explode{_}|reset})][(#SET{lettre,#VALEUR|explode{_}|table_valeur{1}|initiale})]
17 [(#GET{radical}|!={#GET{radical_old}}|oui)#SET{radical_old,#GET{radical}}<h3>#GET{radical}</h3>]
18 [(#GET{lettre}|!={#GET{lettre_old}}|oui)#SET{lettre_old,#GET{lettre}}<h4>#GET{lettre}</h4>]
19 <a href="#URL_ECRIRE{vertebres,table=#VALEUR}">#VALEUR</a>
20 </BOUCLE_t>
21 </div>
22 <style type="text/css">
23 .toutes_les_tables {
24 -o-columns: auto 200px;
25 -webkit-columns: auto 200px;
26 -moz-columns: auto 200px;
27 columns: auto 200px;
28 }
29 .toutes_les_tables h3 { margin-bottom:.5em; margin-top:1em; }
30 .toutes_les_tables h3:first-child { margin-top:0; }
31 .toutes_les_tables h4 { margin-bottom:0; margin-top:.5em; }
32 </style>
33 </B_t>