]> _ Git - cubedesigners-v7.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 25 Nov 2014 13:33:29 +0000 (13:33 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 25 Nov 2014 13:33:29 +0000 (13:33 +0000)
12 files changed:
framework/application/configs/application.ini
framework/application/configs/settings.ini
framework/application/forms/CMS/Sub/Home/Slideshow/Slides.php
framework/application/views/helpers/FooterActualites.php
framework/application/views/helpers/HomeSlideshow.php
framework/application/views/scripts/common/footer.phtml
framework/application/views/scripts/common/header.phtml
framework/application/views/scripts/templates/contact.phtml
js/slideshow.js
js/taglist.js
less/footer.less
less/slideshow.less

index e402a3ed39960386a1a1aa141407b3d3d1b1b2d4..3f098d094ae71c4e6c0c1526f620f7c423221fcd 100644 (file)
@@ -1,7 +1,7 @@
 [production]
-dev = false
+dev = true
 
-minify.js = false
+minify.js = true
 minify.css = true
 
 bin.mysqldump = /usr/bin/mysqldump
index d46c1f4c9176daa6b931893b909236c0914cc3b1..0a3683f92842967358df93a5c9bfe950fef0c50d 100644 (file)
@@ -1,8 +1,9 @@
 [production]
+localesEnabled.0 = "fr"
 tags = ""
-longTitle.fr = "Cubedesigners"
+longTitle.fr = "Cubedesigners // Agence de design global // Graphisme, web, design produit // Paris Montpellier"
 longTitle.en = ""
-description.fr = ""
+description.fr = "Cubedesigners est une agence de Design global : graphisme, sites internet et design produit située à Paris et Montpellier."
 description.en = ""
 contact.fr.bloc = "Pour toute information,
 un email unique : [contact@cubedesigners.com|mailto:contact@cubedesigners.com]
@@ -112,12 +113,12 @@ contact.en.bureaux.1.markers.1.pays = "FR"
 contact.en.bureaux.1.markers.1.tel = ""
 contact.en.bureaux.1.markers.1.fax = ""
 contact.en.bureaux.1.markers.1.icon = false
-actus.fr.actualites.0.date = "2013-11-21 00:00:00"
-actus.fr.actualites.0.texte = "Cubedesigners réalise le graphisme de l’exposition Mars pour la Cité de l’espace."
-actus.fr.actualites.1.date = "2013-07-16 00:00:00"
-actus.fr.actualites.1.texte = "Nous sommes fiers de vous présenter la boutique Fnac Disney Infinity !"
-actus.fr.actualites.2.date = "2013-07-07 00:00:00"
-actus.fr.actualites.2.texte = "Hercules lance la webcam HD Twist, design Cubedesigners. une webcam mini au pied original : flexible, en silicone tendre, elle se fixe partout !"
+actus.fr.actualites.0.date = "2014-11-21 00:00:00"
+actus.fr.actualites.0.texte = "Bienvenue sur notre nouveau site !"
+actus.fr.actualites.1.date = "2014-11-12 00:00:00"
+actus.fr.actualites.1.texte = "Cubedesigners réalise les supports de communication de la Cité de l'espace pour la journée d’atterrissage de Philae sur la comète Tchouri."
+actus.fr.actualites.2.date = "2014-04-26 00:00:00"
+actus.fr.actualites.2.texte = "Nouvelle exposition pour la Cité de l’espace à Toulouse : Explorations extrêmes."
 actus.en.actualites.0.date = "2014-01-20 12:19:32"
 actus.en.actualites.0.texte = ""
 actus.en.actualites.1.date = "2014-01-20 12:19:32"
@@ -129,28 +130,41 @@ actus.en.actualites.3.texte = ""
 actus.en.actualites.4.date = "2014-01-20 12:19:32"
 actus.en.actualites.4.texte = ""
 followus.fr.reseauxsociaux.0.titre = "Facebook"
-followus.fr.reseauxsociaux.0.url = "https://fr-fr.facebook.com/Cubedesigners"
+followus.fr.reseauxsociaux.0.url = "https://facebook.com/Cubedesigners"
+followus.fr.reseauxsociaux.0.color = "#39599f"
 followus.fr.reseauxsociaux.0.picto.0 = "52fa1da5-picto-fb.svg"
 followus.fr.reseauxsociaux.1.titre = "Twitter"
 followus.fr.reseauxsociaux.1.url = "https://twitter.com/Cubedesigners"
+followus.fr.reseauxsociaux.1.color = "#45b0e3"
 followus.fr.reseauxsociaux.1.picto.0 = "52fa1dad-picto-tw.svg"
 followus.fr.reseauxsociaux.2.titre = "Google Plus"
-followus.fr.reseauxsociaux.2.url = "https://plus.google.com/108505338910338279554"
+followus.fr.reseauxsociaux.2.url = "https://www.google.com/+Cubedesigners"
+followus.fr.reseauxsociaux.2.color = "#e64405"
 followus.fr.reseauxsociaux.2.picto.0 = "52fa1db5-picto-gplus.svg"
 followus.fr.reseauxsociaux.3.titre = "Pinterest"
 followus.fr.reseauxsociaux.3.url = "https://www.pinterest.com/"
+followus.fr.reseauxsociaux.3.color = "#ca111a"
 followus.fr.reseauxsociaux.3.picto.0 = "52fa1dbc-picto-pi.svg"
+followus.fr.reseauxsociaux.4.titre = "Youtube"
+followus.fr.reseauxsociaux.4.url = "https://www.youtube.com/user/Cubedesigners"
+followus.fr.reseauxsociaux.4.color = "#c22528"
+followus.fr.reseauxsociaux.4.picto.0 = "546b73b4-546b63a0-youtube.svg"
 followus.en.reseauxsociaux.0.titre = ""
 followus.en.reseauxsociaux.0.url = ""
+followus.en.reseauxsociaux.0.color = false
 followus.en.reseauxsociaux.0.picto = false
 followus.en.reseauxsociaux.1.titre = ""
 followus.en.reseauxsociaux.1.url = ""
+followus.en.reseauxsociaux.1.color = false
 followus.en.reseauxsociaux.1.picto = false
 followus.en.reseauxsociaux.2.titre = ""
 followus.en.reseauxsociaux.2.url = ""
+followus.en.reseauxsociaux.2.color = false
 followus.en.reseauxsociaux.2.picto = false
 followus.en.reseauxsociaux.3.titre = ""
 followus.en.reseauxsociaux.3.url = ""
+followus.en.reseauxsociaux.3.color = false
 followus.en.reseauxsociaux.3.picto = false
-copyright.fr = "Copyright © Cubedesigners. Tous droits réservés"
+copyright.fr = "Copyright © Cubedesigners. Tous droits réservés"
 copyright.en = ""
+
index 7f6b3550d272c7b9abec06a011eaf764bec16a3b..2961f09b700779e0cbdf704b996710156d822344 100644 (file)
@@ -2,15 +2,13 @@
 
 class Cubedesigners_Form_CMS_Sub_Home_Slideshow_Slides extends CubeIT_Form_Multi_SubForm {
 
-    public function init() {
-        parent::init();
+       public function init() {
+               parent::init();
 
-        $slide = new Cubedesigners_Form_CMS_Sub_Home_Slideshow_Slide();
-        $this->setBaseSubForm($slide);
-        $this->setBaseLegend('Edition du slide « $legende »');
-        $this->setNewLegend('Nouveau slide');
-    }
+               $slide = new Cubedesigners_Form_CMS_Sub_Home_Slideshow_Slide();
+               $this->setBaseSubForm($slide);
+               $this->setBaseLegend('Edition du slide « $legende »');
+               $this->setNewLegend('Nouveau slide');
+       }
 
 }
-
-?>
index 94f782d8285d5977179194ccd590125c665c7429..fb0015d29f56acef29347dadba1ca525a66a33b5 100644 (file)
@@ -1,22 +1,22 @@
-<?php\r
-\r
-class Cubedesigners_View_Helper_FooterActualites extends Zend_View_Helper_Abstract {\r
-\r
-    public function footerActualites($actus) {\r
-\r
-        $actus = $actus["actualites"];\r
-\r
-        $nbActus = count($actus);\r
-\r
-        $res = '<div class="actus">';\r
-        foreach ($actus as $id => $actu) {\r
-            $res.='<div class="actu"><p class="date">' . $this->view->dateTime($actu['date'], "dd-MM-y") . '</p><span class="texte">' . $this->view->markupDotclear($actu['texte']) . '<span></div>';\r
-        }\r
-        $res.= '</div>';\r
-\r
-        return $res;\r
-    }\r
-\r
-}\r
-\r
-?>\r
+<?php
+
+class Cubedesigners_View_Helper_FooterActualites extends Zend_View_Helper_Abstract {
+
+       public function footerActualites($actus) {
+
+               $actus = $actus["actualites"];
+
+               $nbActus = count($actus);
+
+               $res = '<section class="actus">';
+               foreach ($actus as $id => $actu) {
+                       $res.='<article class="actu">' . $this->view->dateTime($actu['date'], "dd-MM-y", array('class' => 'date')) . $this->view->markupDotclear($actu['texte']) . '</article>';
+               }
+               $res.= '</section>';
+
+               return $res;
+       }
+
+}
+
+?>
index 6185c3870fedb99d2ca3d3f3305b9ae06bc9d430..924e63133500491f666c5c5b209e22f31537c0e1 100644 (file)
@@ -34,7 +34,12 @@ class Cubedesigners_View_Helper_HomeSlideshow extends CubeIT_View_Helper_Abstrac
                        $attributes['style'] = 'background-image:url(' . CubeIT_View_Helper_ImageCms::getPath($slide['background']) . ');';
                        $imgHolder = $this->view->htmlElement($image, 'div', array('class' => 'imgholder'));
                        $mask = $this->htmlElement($imgHolder, 'div', array('class' => 'masque', 'style' => 'top:-' . $offset . 'px;height:' . (572 + $offset) . 'px;'));
-                       $s.=$this->view->htmlElement($mask, 'div', $attributes);
+
+                       $link = $slide['lien'];
+                       $sl = $this->view->htmlElement($mask, 'div', $attributes);
+                       $link['label'] = $sl;
+
+                       $s .= $this->view->linkCMS($link);
                }
 
                $options = array('arrows' => true,
@@ -45,7 +50,7 @@ class Cubedesigners_View_Helper_HomeSlideshow extends CubeIT_View_Helper_Abstrac
 
                $res.='</div>';
                $res.='</div>';
-               $res.='</div>';
+               $res.='</section>';
 
                return $res;
        }
index 29ec12f882d85867d346fe2151e19e576bba6bab..53ee8d1ca7343e575d4edc7aa3f127fa092ca518 100644 (file)
@@ -6,36 +6,27 @@ $mentions = '/';
 if (!is_null($mentions_page)) {
        $mentions = $mentions_page->getHref();
 }
+echo $this->clear();
 ?>
 <footer>
     <div id="footer">
         <div class="footer-holder">
-
             <div class="footer-top">
-
                 <div class="footer-top-content">
-
                     <div class="bloc">
-
                         <h2><?php echo __("Nous contacter"); ?></h2>
-
                                                <?php echo $this->footerContact($this->option('contact')); ?>
                     </div>
 
                     <div class="bloc">
-
                         <h2><?php echo __("Actualités"); ?></h2>
-
                                                <?php echo $this->footerActualites($this->option('actus')); ?>
-
                                                <div class="social">
                                                        <h2><?php echo __("Suivez-nous"); ?></h2>
                                                        <?php echo $this->footerSocials($this->option('followus')); ?>
                                                </div>
                     </div>
-
                 </div>
-
             </div>
 
             <div class="footer-bottom">
@@ -45,7 +36,8 @@ if (!is_null($mentions_page)) {
                                                echo $this->option('copyright');
 
                                                if (!is_null($mentions)) {
-                                                       echo ' <a href="' . $mentions . '">' . ucfirst($mentions_page->title) . '</a>';
+                                                       echo $this->linkPage($mentions_page);
+                                                       //echo ' <a href="' . $mentions . '">' . ucfirst($mentions_page->title) . '</a>';
                                                }
                                                ?>
                                        </div>
@@ -57,7 +49,7 @@ if (!is_null($mentions_page)) {
                                                } else {
                                                        $en = $this->enversion;
                                                }
-                                               echo $this->link('fr', $fr, array('class' => 'active', array('hreflang' => 'en')));
+                                               echo $this->link('fr', $fr, array('class' => 'active', 'hreflang' => 'fr'));
                                                echo $this->link('en', $en, array('hreflang' => 'en'));
                                                ?>
                                        </nav>
index 955b49a2a1008eaaee4d322236a0ba2b1979265b..8b7fefb6c361638d07e4ecfba7ea58bfae082900 100644 (file)
@@ -14,7 +14,7 @@ if (!is_null($homepage)) {
                /* LOGO */
 
                echo $this->link($this->image('/images/logo.svg', '', 318, 132), $home, array('class' => 'logo'));
-               echo '<span class="sublogo"><h1>Cubedesigners</h1><h2>Agence de création sur mesure</h2></span>';
+               echo '<div class="sublogo"><h1>Cubedesigners</h1><h2>Agence de création sur mesure</h2></div>';
 
 
                /* NAVIGATION */
index 120d466fdd74fab5a6eb583d22df456fc8637fe9..863d746d3126870c64e96336fef03405951c5dbe 100644 (file)
@@ -3,8 +3,6 @@ $this->headScript()->addGoogleMaps(array('key' => $this->options['googleapi']));
 $this->headScript()->addScriptAndStyle('contact');
 
 $bureaux = $this->option('contact')['bureaux'];
-
-
 $i = 1;
 foreach ($bureaux as $bureau) {
        $this->headScriptVariables()->setVariable('map' . $i, $bureaux[$i - 1]['map']);
index a1cf3b276d14920559083db10900468e150283d1..99d99c558a46bfb5dabc852fe4505e0b9f4d13fd 100644 (file)
@@ -6,9 +6,8 @@ function loadCarrousel() {
                var ww = $(window).width();
                var m = (ww - 1600) / 2;
                $(s).find(".imgholder").css({marginLeft: m});
-               $(s).find(".arrows").css({left: 960 + ((ww - 960) / 2) - 77 - 10});
+               $(s).find(".arrows").css({left: 960 + ((ww - 960) / 2) - 77 - 10 - 30});
        });
 
-
 }
 
index 95091a539ef68a90deaaeae3f092bfcdf73c62a4..0d729c8a1d0fb9136aff1c23f32aeba6b95a8d6f 100644 (file)
                        if (id != 0) {
                                this.list.find('[data-cat][data-cat!="' + id + '"]').hide();
                        }
+
+                       this.updateMargins();
+                       setTimeout(function () {
+                               $this.updateMargins();
+                       }, 500);
+               },
+               updateMargins: function () {
                        var i = 1;
+                       var $this = this;
+
                        this.list.find('[data-cat]:visible').each(function () {
                                if (i % $this.perline == 0) {
                                        $(this).addClass('last');
+                               } else {
+                                       $(this).removeClass('last');
                                }
                                i++;
                        });
index 06e2d1c3e8773608735059b5023294c521a5a001..7da5f7aefa265e008c40bbb9301f6dde0291fdd5 100644 (file)
@@ -36,6 +36,8 @@
 
                                                .dotclear {
                                                        width:90%;
+                                                       font-size:16px;
+                                                       line-height:20px;
                                                }
 
                                                &:last-child {
                                                .date {
                                                        font-size:12px;
                                                }
-                                               .texte {
-                                                       font-size:16px;
-                                                       line-height:20px;
-                                               }
                                        }
                                }
                                &:last-child{
index 042e57c2e333184a84d94ef110de1a1790116863..bda60bc5c2d071e775e220a2e41232f71c617a16 100644 (file)
 
        .arrows{
                position:absolute;
-               bottom:48px;
+               bottom:18px;
                display:block;
                width:77px;
                height:38px;
                white-space:nowrap;
                z-index:3;
+               border:30px solid transparent;
                a {
                        background-color: transparent;
                        width: 37px;