diff --git a/.gitattributes b/.gitattributes index feaa61f054d97b5dee0ea4ecfe18b89e599ab1dd..b5ab4f7cdde0d9708f78ad78a9c9cd199d684b6d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -463,6 +463,7 @@ noisettes/footer/footer_modecommuniquant.html -text noisettes/footer/footer_modeedito.html -text noisettes/footer/footer_modemairie.html -text noisettes/footer/footer_modeportail.html -text +noisettes/footer/footer_modeportailcognac.html -text noisettes/footer/footer_modeportailevenementiel.html -text noisettes/footer/footer_pied.html -text noisettes/footer/footer_typerubrique_membre.html -text @@ -572,6 +573,7 @@ noisettes/sommaire/sommaire_modeportail_pictos_auto.html -text noisettes/sommaire/sommaire_modeportail_pictos_graphiste.html -text noisettes/sommaire/sommaire_modeportail_pictosdroite.html -text noisettes/sommaire/sommaire_modeportail_pictosgauche.html -text +noisettes/sommaire/sommaire_modeportailcognac.html -text noisettes/sommaire/sommaire_modeportailevenementiel.html -text noisettes/sommaire/video_alaune.html -text noisettes/telecharger_tableau.html -text @@ -615,6 +617,7 @@ prive/themes/spip/images/soyezcreateurs_help-48.png -text /spip_admin_perso.css -text /stylescommuniquant.css.html -text /stylesportail.css.html -text +/stylesportailcognac.css.html -text /stylessoyezcreateurs.css.html -text /telecharger.html -text /todo.txt -text diff --git a/formulaires/configurer_soyezcreateurs.html b/formulaires/configurer_soyezcreateurs.html index 03189b835594699bee94e4a65132e568312df4e5..9e207a4ce1f768545a33e67f29f524680bb3ac63 100755 --- a/formulaires/configurer_soyezcreateurs.html +++ b/formulaires/configurer_soyezcreateurs.html @@ -28,6 +28,7 @@ if (!function_exists('sc_ouinon_default')) { international,<:soyezcreateursprive:cfg_mode_international:>, mairie,<:soyezcreateursprive:cfg_mode_mairie:>, blog,<:soyezcreateursprive:cfg_mode_blog:>, + portailcognac,<:soyezcreateursprive:cfg_mode_cognac:>, }, defaut=communiquant, cacher_option_intro=oui} diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php index 490ad6dd06ba8ad01485f88c2a01377a7d46331b..5dfca6962e247b8817693f12f7896a8eec83c4da 100644 --- a/lang/soyezcreateursprive_fr.php +++ b/lang/soyezcreateursprive_fr.php @@ -190,6 +190,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_mode_bandeau_contact_label' => 'Mode d’affichage du bandeau de contact', 'cfg_mode_blog' => 'Affichage d’un portail d’accueil de type blog', 'cfg_mode_communiquant' => 'Affichage d’un portail d’accueil de type communiquant', + 'cfg_mode_cognac' => 'Affichage d’un portail d’accueil de type Cognac', 'cfg_mode_edito' => 'Affichage de l’Edito', 'cfg_mode_evenementiel' => 'Affichage d’un portail d’accueil de type événementiel', 'cfg_mode_international' => 'Affichage d’un portail d’accueil de type international', diff --git a/noisettes/footer/footer_modeportailcognac.html b/noisettes/footer/footer_modeportailcognac.html new file mode 100644 index 0000000000000000000000000000000000000000..86f472406cb30f31bd0a17a2f0723feaca358b4a --- /dev/null +++ b/noisettes/footer/footer_modeportailcognac.html @@ -0,0 +1,3 @@ + </div><!-- id="content" --> + </div><!-- id="wrapper" --> +#FILTRE{mini_html} \ No newline at end of file diff --git a/noisettes/header/header.html b/noisettes/header/header.html index 3bd585deeb6f18fd535bd5f03dca83b705e64a5d..6e5e109d0b8a30c6e1ce413a64ad093a705b249e 100644 --- a/noisettes/header/header.html +++ b/noisettes/header/header.html @@ -74,7 +74,7 @@ ]<//B_ArtRubLayout> <link rel="stylesheet" type="text/css" href="[(#CHEMIN{css/box.css}|direction_css)]" media="all" /> [<link rel="stylesheet" type="text/css" href="(#PRODUIRE{fond=stylessoyezcreateurs.css}|direction_css|compacte)" media="all" />] -[(#ENV{template}|=={'Sommaire'}|oui)[(#CONFIG{soyezcreateurs/mode_affichage,communiquant}|match{^portail.*}|oui)<link rel="stylesheet" type="text/css" href="[(#PRODUIRE{fond=stylesportail.css}|direction_css|compacte)]" media="all" />]] +[(#ENV{template}|=={'Sommaire'}|oui)[(#CONFIG{soyezcreateurs/mode_affichage,communiquant}|match{^portail.*}|oui)<link rel="stylesheet" type="text/css" href="[(#PRODUIRE{fond=styles#CONFIG{soyezcreateurs/mode_affichage,communiquant}.css}|direction_css|compacte)]" media="all" />]] [(#ENV{template}|=={'Sommaire'}|oui)[(#CONFIG{soyezcreateurs/mode_affichage,communiquant}|match{^communiquant.*}|oui)<link rel="stylesheet" type="text/css" href="[(#PRODUIRE{fond=stylescommuniquant.css}|direction_css|compacte)]" media="all" />]] <INCLURE{fond=noisettes/presentation/couleurrubrique,id_article,id_rubrique}> [(#INCLURE{fond=noisettes/header/logoextra}{id_rubrique})] diff --git a/noisettes/sommaire/sommaire_modeportailcognac.html b/noisettes/sommaire/sommaire_modeportailcognac.html new file mode 100644 index 0000000000000000000000000000000000000000..d1cc0047df48e2071e0b740d1aa58aa52287d4d4 --- /dev/null +++ b/noisettes/sommaire/sommaire_modeportailcognac.html @@ -0,0 +1,13 @@ +#SET{LargeurContaineur,(#CONFIG{soyezcreateurs_layout/largeurconteneur,960})} +#SET{LargeurMenuGauche,(#CONFIG{soyezcreateurs_layout/largeurmenugauche,180})} +#SET{LargeurMenuDroit,(#CONFIG{soyezcreateurs_layout/largeurmenudroit,180})} +#SET{Largeurcontent_central,(#GET{LargeurContaineur}|moins{#GET{LargeurMenuGauche}}|moins{#GET{LargeurMenuDroit}})} +#SET{Largeurcontent_extra,(#GET{LargeurContaineur}|moins{#GET{Largeurcontent_central}})} +<script type="text/javascript"> + CanceladjustLayout = true; +</script> +<main id="main" role="main"><div id="communiquant_content"> +<a id="letexte"></a> + +</div><!-- communiquant_content --></main> +#FILTRE{mini_html} \ No newline at end of file diff --git a/stylesportailcognac.css.html b/stylesportailcognac.css.html new file mode 100644 index 0000000000000000000000000000000000000000..0368880f5b70f3452c3865f8af2c19cd004e04b1 --- /dev/null +++ b/stylesportailcognac.css.html @@ -0,0 +1,21 @@ +#CACHE{24*3600,cache-client} +#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15} +#HTTP_HEADER{Vary: Accept-Encoding} + +#SET{c_vignettes_bk,(#CONFIG{soyezcreateurs_couleurs/vignettes_bk,#ffffff})} +#SET{c_navigation,(#CONFIG{soyezcreateurs_couleurs/navigation,#017ca5})} + #SET{c_navigation_bk,(#CONFIG{soyezcreateurs_couleurs/navigation_bk,#ffffff})} +#SET{c_menuhaut,(#CONFIG{soyezcreateurs_couleurs/menuhaut,#017ca5})} + #SET{c_menuhaut_bk,(#CONFIG{soyezcreateurs_couleurs/menuhaut_bk,#ffffff})} +#SET{c_extra,(#CONFIG{soyezcreateurs_couleurs/extra,#017ca5})} + #SET{c_extra_bk,(#CONFIG{soyezcreateurs_couleurs/extra_bk,#ffffff})} + +#SET{LargeurContaineur,(#CONFIG{soyezcreateurs_layout/largeurconteneur,960})} +#SET{LargeurMenuGauche,(#CONFIG{soyezcreateurs_layout/largeurmenugauche,180})} +#SET{LargeurMenuDroit,(#CONFIG{soyezcreateurs_layout/largeurmenudroit,180})} +#SET{LargeurMilieu,(#GET{LargeurContaineur}|moins{#GET{LargeurMenuGauche}}|moins{#GET{LargeurMenuDroit}}|div{2})} + + +[(#CHEMIN{images/stylesportailcognac_perso.css}|?{'/* Surcharge eventuelle */'}) +[(#INCLURE{#CHEMIN{images/stylesportailcognac_perso.css}|url_absolue_css}|compacte{css})] +] \ No newline at end of file