$locales->setLabel('Langues actives');
$this->addElement($locales);
-
$longTitle = new Zend_Form_Element_Text('longTitle');
$longTitle->setLabel('Titre long par défaut (limité à 65 caractères)');
$longTitle->setAttrib('maxlength', 65);
$description->setAttrib('rows', 2);
$this->addElementLocalized($description);
+ /*
+ * Logo
+ */
+
+ $logoTitle = new Zend_Form_Element_Text('logoTitle');
+ $logoTitle->setLabel('Titre (logo)');
+ $this->addElementLocalized($logoTitle);
+
+ $baseline = new Zend_Form_Element_Text('baseline');
+ $baseline->setLabel('Baseline');
+ $this->addElementLocalized($baseline);
+
/* BLOC CONTACT */
$contact = new Cubedesigners_Form_CMS_Sub_Contact();
$contact->setLabel('Informations de contact');
?>
<header>
<div id="header" class="content">
-
<?php
/* LOGO */
-
echo $this->link($this->image('/images/logo.svg', '', 318, 132), $home, array('class' => 'logo'));
if ($this->currentPage && $this->currentPage->getTemplate() == 'home') {
- echo '<div class="sublogo"><h1>Cubedesigners</h1><h2>Agence de création sur mesure</h2></div>';
+ echo '<div class="sublogo"><h1>' . $this->logoTitle . '</h1><h2>' . $this->baseline . '</h2></div>';
} else {
- echo '<div class="sublogo"><h2>Cubedesigners</h2><h3>Agence de création sur mesure</h3></div>';
+ echo '<div class="sublogo"><h2>' . $this->logoTitle . '</h2><h3>' . $this->baseline . '</h3></div>';
}
-
/* NAVIGATION */
$mainMenu = $this->navigation()->findOneById($this->localeDefault() . '/' . CubeIT_Navigation::MAIN);
echo $this->navigation()->menu()->renderMenu($mainMenu, array('maxDepth' => 0)) . "\n";
?>
-
</div>
</header>
\ No newline at end of file