Changeset 70161 in spip-zone for _plugins_/boussole/trunk/base/boussole_declarer.php
- Timestamp:
- Feb 24, 2013, 6:45:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/boussole/trunk/base/boussole_declarer.php
r50378 r70161 25 25 array('field' => &$boussoles, 'key' => &$boussoles_key); 26 26 27 // Tables des informations logos et traductions pour les boussoles : spip_boussoles_extras 28 $boussoles_extras = array( 29 "aka_boussole" => "varchar(32) DEFAULT '' NOT NULL", 30 "type_objet" => "varchar(8) DEFAULT '' NOT NULL", 31 "aka_objet" => "varchar(32) DEFAULT '' NOT NULL", 32 "nom_objet" => "text DEFAULT '' NOT NULL", 33 "slogan_objet" => "text DEFAULT '' NOT NULL", 34 "description_objet" => "text DEFAULT '' NOT NULL", 35 "logo_objet" => "varchar(255) DEFAULT '' NOT NULL", 36 "maj" => "timestamp"); 37 38 $boussoles_extras_key = array( 39 "PRIMARY KEY" => "aka_boussole, type_objet, aka_objet" 40 ); 41 42 $tables_principales['spip_boussoles_extras'] = 43 array('field' => &$boussoles_extras, 'key' => &$boussoles_extras_key); 44 27 45 return $tables_principales; 28 46 } … … 32 50 // Les tables 33 51 $interface['table_des_tables']['boussoles'] = 'boussoles'; 52 $interface['table_des_tables']['boussoles_extras'] = 'boussoles_extras'; 34 53 35 54 // Les traitements 36 55 $interface['table_des_traitements']['URL_SITE']['boussoles']= 'safehtml(vider_url(%s))'; 56 $interface['table_des_traitements']['SLOGAN']['boussoles_extras'] = _TRAITEMENT_RACCOURCIS; 57 $interface['table_des_traitements']['DESCRIPTION']['boussoles_extras'] = _TRAITEMENT_RACCOURCIS; 37 58 38 59 return $interface;
Note: See TracChangeset
for help on using the changeset viewer.