Browse Source

Fichier de configuration complet

svn/attic/sarkaspip/branches/v_33/107566
eric@smellup.net 7 years ago
parent
commit
c6f8799c52
  1. 275
      base/sarkaspip_declarations.php

275
base/sarkaspip_declarations.php

@ -3,7 +3,6 @@
* Ce fichier contient les fonctions permettant de déclarer les configurations par défaut des metas
* du squelette.
*
*
* @package SPIP\SARKASPIP\CONFIGURATION
*/
@ -375,45 +374,56 @@ function sarkaspip_declarer_config_pied() {
function sarkaspip_declarer_config_noisettes() {
$defaut = array(
'position_publications' => 0,
'max_publications' => 5,
'position_miniagenda' => 2,
'position_commentaires' => 0,
'max_commentaires' => 50,
'article_annonce' => array(),
'badge_perso' => '',
'badge_rss' => '',
'badge_sarka' => '',
'badge_spip' => '',
'badge_xhtml' => '',
'composition_stats_2' => 3,
'groupes_nuage' => array(),
'infobulle_badge_perso' => '',
'intro_breve' => 100,
'intro_commentaire' => 100,
'position_messages' => 0,
'max_messages' => 50,
'intro_message' => 100,
'position_breves' => 2,
'lien_badge_perso' => 'http://',
'liste_breves' => 2,
'max_breves' => 5,
'intro_breve' => 100,
'liste_herbier' => 2,
'liste_sites' => 2,
'max_articles_hasard' => 5,
'max_articles_top' => 5,
'max_breves' => 5,
'max_commentaires' => 50,
'max_herbier' => 5,
'max_messages' => 50,
'max_nuage' => 50,
'max_publications' => 5,
'max_sites' => 5,
'max_syndic' => 5,
'modele_pagination_commentaires' => '',
'modele_pagination_filtre' => '',
'modele_pagination_messages' => '',
'modele_pagination_navigation' => '',
'moteur_externe' => 2,
'pas_pagination_commentaires' => 10,
'pas_pagination_filtre' => 10,
'pas_pagination_messages' => 10,
'pas_pagination_navigation' => 10,
'position_annonce' => 0,
'position_badges' => 1,
'position_breves' => 2,
'position_commentaires' => 0,
'position_herbier' => 0,
'liste_herbier' => 2,
'max_herbier' => 5,
'position_rechspip' => 3,
'position_messages' => 0,
'position_miniagenda' => 2,
'position_nuage' => 0,
'position_publications' => 0,
'position_recherche' => 2,
'moteur_externe' => 1,
'position_rechspip' => 3,
'position_stats_1' => 1,
'position_stats_2' => 0,
'composition_stats_2' => 3,
'max_articles_top' => 5,
'max_articles_hasard' => 5,
'position_badges' => 1,
'lien_badge_perso' => 'http://',
'infobulle_badge_perso' => '',
'position_annonce' => 0,
'modele_pagination_navigation' => '',
'pas_pagination_navigation' => 10,
'modele_pagination_filtre' => '',
'pas_pagination_filtre' => 10,
'modele_pagination_commentaires' => '',
'pas_pagination_commentaires' => 10,
'modele_pagination_messages' => '',
'pas_pagination_messages' => 10,
'rainette_prevision' => 7,
'rainette_ville' => 'FRXX0076',
);
return $defaut;
@ -421,6 +431,182 @@ function sarkaspip_declarer_config_noisettes() {
function sarkaspip_declarer_config_styles() {
$defaut = array(
'fo_site' => 'Helvetica,Verdana',
'bg_site' => '#ffffff',
'bi_extension_site' => '.gif',
'bi_proprietes_site' => '',
'fg_site' => '#000000',
'fg_lien' => '#990000',
'ho_lien' => '#990000',
'td_lien' => 'underline',
'fg_intertitre' => '#6262a4',
'bg_citation' => '#eeeeee',
'fg_citation' => '#000000',
'ca_quote' => '#990000',
'ca_code' => '#669999',
'ca_cadre' => 'transparent',
'bg_thead' => '#808080',
'fg_thead' => '#ffffff',
'bg_todd' => '#e0e0e0',
'bg_teven' => '#eeeeee',
'bg_bandeau_haut' => '#6262a4',
'bi_extension_bandeau_haut' => '.gif',
'bi_proprietes_bandeau_haut' => '',
'fg_bandeau_haut' => '#eeeeee',
'ho_bandeau_haut' => '#aaaaaa',
'td_bandeau_haut' => 'none',
'bg_bandeau_bas' => '#6262a4',
'bi_extension_bandeau_bas' => '.gif',
'bi_proprietes_bandeau_bas' => '',
'bg_menu_horiz' => '#6262a4',
'bi_extension_menu_horiz' => '.gif',
'bi_proprietes_menu_horiz' => '',
'hb_menu_horiz' => '#323284',
'hi_extension_menu_horiz' => '.gif',
'hi_proprietes_menu_horiz' => '',
'fg_menu_horiz' => '#ffffff',
'ho_menu_horiz' => '#ffffff',
'td_menu_horiz' => 'none',
'ca_menu_horiz' => '#ffffff',
'bg_chemin' => '#ddddef',
'bi_extension_chemin' => '.gif',
'bi_proprietes_chemin' => '',
'fg_chemin' => '#6262a4',
'ho_chemin' => '#808080',
'td_chemin' => 'none',
'bg_pied_bas' => '#6262a4',
'bi_extension_pied_bas' => '.gif',
'bi_proprietes_pied_bas' => '',
'fg_pied_bas' => '#eeeeee',
'ho_pied_bas' => '#aaaaaa',
'td_pied_bas' => 'none',
'ta_pied_bas' => 'right',
'bg_noisette_titre' => '#808080',
'bi_extension_noisette_titre' => '.gif',
'bi_proprietes_noisette_titre' => '',
'hb_noisette_titre' => '#eeeeee',
'hi_extension_noisette_titre' => '.gif',
'hi_proprietes_noisette_titre' => '',
'fg_noisette_titre' => '#ffffff',
'ho_noisette_titre' => '#808080',
'td_noisette_titre' => 'none',
'bg_noisette_soustitre' => '#eeeeee',
'bi_extension_noisette_soustitre' => '.gif',
'bi_proprietes_noisette_soustitre' => '',
'hb_noisette_soustitre' => '#808080',
'hi_extension_noisette_soustitre' => '.gif',
'hi_proprietes_noisette_soustitre' => '',
'fg_noisette_soustitre' => '#808080',
'ho_noisette_soustitre' => '#ffffff',
'td_noisette_soustitre' => 'none',
'bg_noisette' => 'transparent',
'fg_noisette' => '#808080',
'ho_noisette' => '#808080',
'td_noisette' => 'underline',
'ca_noisette' => '#808080',
'bg_aujourdhui' => 'transparent',
'ca_aujourdhui' => '#990000',
'bg_horsmois' => '#eeeeee',
'fg_horsmois' => '#aaaaaa',
'bg_menu' => '#6262a4',
'bi_extension_menu' => '.gif',
'bi_proprietes_menu' => '',
'hb_menu' => '#323284',
'hi_extension_menu' => '.gif',
'hi_proprietes_menu' => '',
'fg_menu' => '#ffffff',
'ho_menu' => '#ffffff',
'td_menu' => 'none',
'ca_menu' => '#ffffff',
'bg_pagination' => 'transparent',
'hb_pagination' => '#f0f0fa',
'fg_pagination' => '#6262a4',
'ho_pagination' => '#6262a4',
'td_pagination' => 'none',
'bg_pagination_on' => '#6262a4',
'fg_pagination_on' => '#ffffff',
'td_pagination_on' => 'none',
'bg_extrait' => 'transparent',
'bi_extension_extrait' => '.gif',
'bi_proprietes_extrait' => '',
'fg_extrait' => '#6262a4',
'ho_extrait' => '#6262a4',
'td_extrait' => 'underline',
'ca_extrait' => '#6262a4',
'fg_extrait_lien' => '#990000',
'ho_extrait_lien' => '#990000',
'td_extrait_lien' => 'underline',
'fg_description' => '#6262a4',
'bg_sommaire' => '#eeeeee',
'ca_portfolio' => '#eeeeee',
'ch_portfolio' => '#6262a4',
'bg_edito' => '#eeeeee',
'bi_extension_edito' => '.gif',
'bi_proprietes_edito' => '',
'ca_edito' => '#808080',
'bg_une' => '#eeeeee',
'bi_extension_une' => '.gif',
'bi_proprietes_une' => '',
'ca_une' => '#808080',
'bg_commentaire' => 'transparent',
'bi_extension_commentaire' => '.gif',
'bi_proprietes_commentaire' => '',
'hb_commentaire' => '#f0f0fa',
'fg_commentaire' => '#6262a4',
'ca_commentaire' => '#6262a4',
'bg_arbre' => '#eeeeee',
'bi_extension_arbre' => '.gif',
'bi_proprietes_arbre' => '',
'ca_arbre' => '#888888',
'fg_arbre_noeud' => '#888888',
'ho_arbre_noeud' => '#888888',
'td_arbre_noeud' => 'none',
'fg_arbre_feuille' => '#6262a4',
'ho_arbre_feuille' => '#6262a4',
'td_arbre_feuille' => 'underline',
'bg_planche' => 'transparent',
'bi_extension_planche' => '.gif',
'bi_proprietes_planche' => '',
'fg_planche' => '#6262a4',
'ho_planche' => '#6262a4',
'td_planche' => 'underline',
'ca_planche' => '#6262a4',
'fg_planche_lien' => '#990000',
'ho_planche_lien' => '#990000',
'td_planche_lien' => 'underline',
'ca_planche_logo' => '#eeeeee',
'ch_planche_logo' => '#6262a4',
'bg_carrousel' => 'transparent',
'bi_extension_carrousel' => '.gif',
'bi_proprietes_carrousel' => '',
'hb_carrousel' => '#888888',
'hi_extension_carrousel' => '.gif',
'hi_proprietes_carrousel' => '',
'ca_carrousel' => '#eeeeee',
'ch_carrousel' => '#6262a4',
'bg_form' => '#f0f0fa',
'bi_extension_form' => '.gif',
'bi_proprietes_form' => '',
'fg_form' => '#000000',
'fg_form_legende' => '#6262a4',
'bg_form_input' => '#ffffff',
'fg_form_input' => '#000000',
'ca_form_input' => '#888888',
'bg_form_previsu' => '#f0f0fa',
'fg_form_previsu' => '#000000',
'ca_form_previsu' => '#f57900',
'bg_thead_forum' => '#6262a4',
'fg_thead_forum' => '#ffffff',
'bg_tshead_forum' => '#f0f0fa',
'fg_tshead_forum' => '#6262a4',
'bg_todd_forum' => 'transparent',
'bg_teven_forum' => 'transparent',
'hb_tb_forum' => '#f0f0fa',
'fg_tb_forum' => '#6262a4',
'ca_tb_forum' => '#6262a4',
'bg_trep_forum' => '#f0f0fa',
'fg_trep_forum' => '#6262a4',
'ca_trep_forum' => '#6262a4',
);
return $defaut;
@ -428,6 +614,20 @@ function sarkaspip_declarer_config_styles() {
function sarkaspip_declarer_config_typo() {
$defaut = array(
'coloration_active' => 'non',
'couleurs' => array(
'blanc' => '#FFFFFF',
'bleu' => '#0000FF',
'gris' => '#808080',
'jaune' => '#FFFF00',
'marron' => '#800000',
'noir' => '#000000',
'orange' => '#FFA500',
'rose' => '#FFC0CB',
'rouge' => '#FF0000',
'vert' => '#00FF00',
'violet' => '#800080',
),
);
return $defaut;
@ -435,6 +635,21 @@ function sarkaspip_declarer_config_typo() {
function sarkaspip_declarer_config_coins() {
$defaut = array(
'avec_arrondis' => 0,
'modele_bandeau' => 0,
'modele_edito' => 0,
'modele_extrait' => 0,
'modele_nav' => 0,
'modele_noisette' => 0,
'modele_pied' => 0,
'modele_recherche' => 0,
'taille_bandeau' => 10,
'taille_edito' => 10,
'taille_extrait' => 10,
'taille_nav_cadre' => 10,
'taille_noisette' => 10,
'taille_pied' => 10,
'taille_recherche' => 10,
);
return $defaut;

Loading…
Cancel
Save