Changeset 59112 in spip-zone
- Timestamp:
- Mar 7, 2012, 12:52:33 AM (9 years ago)
- Location:
- _plugins_/chants/trunk
- Files:
-
- 11 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/chants/trunk/base/chants.php
r59047 r59112 9 9 $tables['spip_chants'] = array( 10 10 11 'page' => "chant", 11 12 'principale' => "oui", 12 13 'titre' => 'titre, lang', … … 15 16 "id_chant" => "bigint(21) NOT NULL", 16 17 "id_rubrique" => "bigint(21) DEFAULT '0' NOT NULL", 18 "id_secteur" => "bigint(21) DEFAULT '0' NOT NULL", 17 19 "titre" => "tinytext DEFAULT '' NOT NULL", 18 20 "alias" => "tinytext DEFAULT '' NOT NULL", … … 38 40 "PRIMARY KEY" => "id_chant", 39 41 "KEY id_rubrique" => "id_rubrique", 42 "KEY id_secteur" => "id_secteur", 43 "KEY id_trad" => "id_trad", 44 "KEY lang" => "lang", 45 "KEY statut" => "statut, date", 40 46 ), 41 47 'join' => array( … … 68 74 ), 69 75 'texte_changer_statut' => 'chant:texte_changer_statut', 76 'tables_jointures' => array( 77 'profondeur' => 'rubriques' 78 ), 70 79 ); 71 80 -
_plugins_/chants/trunk/chants_administrations.php
r59047 r59112 39 39 array('sql_drop_table', 'spip_chants_liens') 40 40 ); 41 41 // ajout de l'id_secteur 42 $maj['0.7.6'] = array( 43 array('maj_tables', array('spip_chants')) 44 ); 45 42 46 43 47 include_spip('base/upgrade'); -
_plugins_/chants/trunk/chants_pipelines.php
r59047 r59112 35 35 } 36 36 37 // Je désactive pour le moment. Car si la table chants_liens n'existe pas, les chants sont listés automatiquement grâce au <div id="wysiwyg"><INCLURE{fond=prive/objets/contenu/auteur,id=#ID_AUTEUR,id_auteur=#ID_AUTEUR}></div> de la page auteur.html (ce dernier code liste tous les objets auxquels sont liés les auteurs. cf. auteurs_liens.objet) 38 // chants sur les auteurs 39 // if ($flux["args"]["exec"] == "auteur") { 40 // $texte = recuperer_fond('chemin/vers/squelette',array('id_auteur' => $flux['args']['id_auteur'])); 41 // } 37 // chants sur les auteurs 38 if ($flux['args']['exec'] == 'auteur') { 39 $texte = recuperer_fond('prive/objets/liste/chants', array('id_auteur' => $flux['args']['id'])); 40 } 42 41 43 42 if ($texte) { -
_plugins_/chants/trunk/lang/chant_fr.php
r58886 r59112 4 4 // D 5 5 'date_annee' => 'Année de sortie', 6 7 // E 8 'exporter' => 'Exporter le chant', 6 9 7 10 // I -
_plugins_/chants/trunk/paquet.xml
r59047 r59112 2 2 prefix="chants" 3 3 categorie="edition" 4 version="0.7. 6"4 version="0.7.8" 5 5 etat="dev" 6 6 compatibilite="[3.0.0-dev;[" 7 7 logo="prive/themes/spip/images/chant-128.png" 8 schema="0.7. 5"8 schema="0.7.6" 9 9 > 10 10 <!-- documentation="http://www.teddypayet.com/?article77" --> -
_plugins_/chants/trunk/prive/objets/infos/chant.html
r58886 r59112 23 23 ] 24 24 <//B_publie> 25 25 [(#SET{filename, [(#CCLI|replace{' ',''}) ][(#TITRE)]})] #GET{filename} 26 [(#URL_PAGE{chant_export.xml}|parametre_url{'id_chant',#ID_CHANT}|parametre_url{'filename',#GET{filename}}|icone_horizontale{<:chant:exporter:>,chant,chant-exporter-24,center})] 26 27 27 28 </div>
Note: See TracChangeset
for help on using the changeset viewer.