public function init() {\r
parent::init();\r
\r
- $resellers_title = new Zend_Form_Element_Textarea('resellers_title');\r
+ $resellers_title = new CubeIT_Form_Element_Textarea('resellers_title');\r
$resellers_title->setLabel('Titre pour bloc "Revendeurs internationaux"');\r
$resellers_title->setAttrib('rows', 3);\r
$this->addElement($resellers_title);\r
public function init() {\r
parent::init();\r
\r
- $titre = new Zend_Form_Element_Textarea('title');\r
+ $titre = new CubeIT_Form_Element_Textarea('title');\r
$titre->setLabel('Titre');\r
$this->addElement($titre);\r
\r
$video->setLabel('Vidéo');\r
$this->addElement($video);\r
\r
- $features_title = new Zend_Form_Element_Textarea('features_title');\r
+ $features_title = new CubeIT_Form_Element_Textarea('features_title');\r
$features_title->setLabel('Titre pour "Fonctionnalités incluses de série"');\r
$features_title->setAttrib('rows', 3);\r
$this->addElement($features_title);\r
$features->setLegend('Fonctionnalités incluses de série');\r
$this->addSubForm($features, 'features');\r
\r
- $services_title = new Zend_Form_Element_Textarea('services_title');\r
+ $services_title = new CubeIT_Form_Element_Textarea('services_title');\r
$services_title->setLabel('Titre pour "Services inclus de série"');\r
$services_title->setAttrib('rows', 3);\r
$this->addElement($services_title);\r
$services->setLegend('Services inclus de série');\r
$this->addSubForm($services, 'services');\r
\r
- $extras_title = new Zend_Form_Element_Textarea('extras_title');\r
+ $extras_title = new CubeIT_Form_Element_Textarea('extras_title');\r
$extras_title->setLabel('Titre pour "Enrichissements et services optionnels"');\r
$extras_title->setAttrib('rows', 3);\r
$this->addElement($extras_title);\r
parent::init();\r
\r
\r
- $intro_title = new Zend_Form_Element_Textarea('title');\r
+ $intro_title = new CubeIT_Form_Element_Textarea('title');\r
$intro_title->setLabel('Titre');\r
$intro_title->setAttrib('rows', 3);\r
$this->addElement($intro_title);\r
$id = new CubeIT_Form_Element_Id();\r
$this->addElement($id);\r
\r
- $title = new Zend_Form_Element_Text('name');\r
+ $title = new CubeIT_Form_Element_Text('name');\r
$title->setLabel('Nom');\r
$this->addElementLocalized($title, false);\r
\r
- $link = new Zend_Form_Element_Text('linklabel');\r
+ $link = new CubeIT_Form_Element_Text('linklabel');\r
$link->setLabel('Label du lien « voir d\'autres ... »');\r
$this->addElementLocalized($link, false);\r
\r
$id = new CubeIT_Form_Element_Id();\r
$this->addElement($id);\r
\r
- $title = new Zend_Form_Element_Text('title');\r
+ $title = new CubeIT_Form_Element_Text('title');\r
+ $title->setTranslate(false);\r
$title->setLabel('Titre');\r
$this->addElementLocalized($title, false);\r
\r
- $text = new Zend_Form_Element_Textarea('text');\r
+ $text = new CubeIT_Form_Element_Textarea('text');\r
$text->setLabel('Texte');\r
$this->addElementLocalized($text, false);\r
\r
class Fluidbook_Form_CMS_Sub_Features_Feature extends CubeIT_Form_SubForm {
- public function init() {
- parent::init();
-
- $title = new Zend_Form_Element_Text('title');
- $title->setLabel('Titre du bloc');
- $this->addElement($title);
-
- $content = new CubeIT_Form_Element_Markitup('content');
- $content->setLabel('Contenus');
- $this->addElement($content);
-
- $icon = new Zend_Form_Element_Text('icon');
- $icon->setLabel('Pictogramme reference (CSS class)');
- $this->addElement($icon);
-
- $bg_gradient = new Fluidbook_Form_CMS_Sub_Gradient();
- $bg_gradient->setLegend('Background Gradient');
- $this->addSubForm($bg_gradient, 'background_gradient');
-
- $bg_image = new CubeIT_Form_Element_File_Image('background_image');
- $bg_image->setLabel('Background Image');
- $this->addElement($bg_image);
-
- $layout = new Zend_Form_Element_Select('layout');
- $layout->setLabel('Layout');
- $layout->setMultiOptions(array(
- 'square-top' => 'Square block with image top',
- 'square-bottom' => 'Square block with image bottom',
- 'rectangle-right' => 'Large rectangle with image right',
- 'rectangle-bottom' => 'Large rectangle with image bottom',
- 'small-rectangle-tall' => 'Small rectangle (tall)',
- 'small-rectangle-wide' => 'Small rectangle (wide)',
- ));
- $this->addElement($layout);
-
- }
+ public function init() {
+ parent::init();
+
+ $title = new CubeIT_Form_Element_Text('title');
+ $title->setLabel('Titre du bloc');
+ $this->addElement($title);
+
+ $content = new CubeIT_Form_Element_Markitup('content');
+ $content->setLabel('Contenus');
+ $this->addElement($content);
+
+ $icon = new Fluidbook_Form_Element_Picto('icon');
+ $icon->setLabel('Pictogramme reference (CSS class)');
+ $this->addElement($icon);
+
+ $bg_gradient = new Fluidbook_Form_CMS_Sub_Gradient();
+ $bg_gradient->setLegend('Background Gradient');
+ $this->addSubForm($bg_gradient, 'background_gradient');
+
+ $bg_image = new CubeIT_Form_Element_File_Image('background_image');
+ $bg_image->setLabel('Background Image');
+ $this->addElement($bg_image);
+
+ $layout = new Zend_Form_Element_Select('layout');
+ $layout->setLabel('Layout');
+ $layout->setMultiOptions(array(
+ 'square-top' => 'Square block with image top',
+ 'square-bottom' => 'Square block with image bottom',
+ 'rectangle-right' => 'Large rectangle with image right',
+ 'rectangle-bottom' => 'Large rectangle with image bottom',
+ 'small-rectangle-tall' => 'Small rectangle (tall)',
+ 'small-rectangle-wide' => 'Small rectangle (wide)',
+ ));
+ $this->addElement($layout);
+
+ }
}
\ No newline at end of file
public function init() {
parent::init();
- $title = new Zend_Form_Element_Textarea('title');
+ $title = new CubeIT_Form_Element_Textarea('title');
$title->setAttrib('rows', 2);
$title->setLabel('Titre');
$title->setOrder(10);
public function init() {
parent::init();
- $title = new Zend_Form_Element_Text('title');
+ $title = new CubeIT_Form_Element_Text('title');
$title->setLabel('Titre du exemple');
$this->addElement($title);
public function init() {\r
parent::init();\r
\r
- $intro_title = new Zend_Form_Element_Textarea('title');\r
+ $intro_title = new CubeIT_Form_Element_Textarea('title');\r
$intro_title->setLabel('Titre');\r
$intro_title->setAttrib('rows', 3);\r
$this->addElement($intro_title);\r
class Fluidbook_Form_CMS_Sub_Resellers_Reseller extends CubeIT_Form_SubForm {
+ public function getTranslate(){
+ return false;
+ }
+
public function init() {
parent::init();
-
- $company = new Zend_Form_Element_Text('company');
+
+ $company = new CubeIT_Form_Element_Text('company');
$company->setLabel('Nom de la société');
$this->addElement($company);
$this->setNewLegend('Nouveau revendeur');
}
+
+ public function getTranslate(){
+ return false;
+ }
+
}
\ No newline at end of file
public function init() {
parent::init();
- $title = new Zend_Form_Element_Text('title');
+ $title = new CubeIT_Form_Element_Text('title');
+ $title->setTranslate(false);
$title->setLabel('Titre du réseau social');
$this->addElement($title);
$couleur->setLabel('Couleur');
$this->addElement($couleur);
- $icon = new Zend_Form_Element_Text('icon');
+ $icon = new Fluidbook_Form_Element_Picto('icon');
$icon->setLabel('Pictogramme (fontastic)');
$this->addElement($icon);
}
class Fluidbook_Form_CMS_Texte extends Fluidbook_Form_CMS {
public function init() {
parent::init();
- $title = new Zend_Form_Element_Textarea('title');
+ $title = new CubeIT_Form_Element_Textarea('title');
$title->setLabel('Titre');
$title->setAttrib('rows', 3);
$this->addElement($title);
class Fluidbook_Form_Contactdetails extends CubeIT_Form_Adresse {\r
public function init() {\r
parent::init();\r
- $company = new Zend_Form_Element_Text('company');\r
+ $company = new CubeIT_Form_Element_Text('company');\r
$company->setLabel('Nom');\r
+ $company->setTranslate(false);\r
$company->setOrder(5);\r
$this->addElement($company);\r
\r
--- /dev/null
+<?php\r
+\r
+class Fluidbook_Form_Element_Picto extends Zend_Form_Element_Text {\r
+\r
+ public function getTranslate() {\r
+ return false;\r
+ }\r
+}
\ No newline at end of file
public function init() {
parent::init();
- $first_name = new Zend_Form_Element_Text('prenom');
+ $first_name = new CubeIT_Form_Element_Text('prenom');
$first_name->setLabel(__('Prénom'));
$this->addElement($first_name);
- $last_name = new Zend_Form_Element_Text('nom');
+ $last_name = new CubeIT_Form_Element_Text('nom');
$last_name->setLabel(__('Nom'));
$last_name->setRequired(true);
$last_name->addErrorMessage(__('Veuillez indiquer votre nom'));
$this->addElement($last_name);
- $company = new Zend_Form_Element_Text('rs');
+ $company = new CubeIT_Form_Element_Text('rs');
$company->setLabel(__('Nom de la société'));
$company->setRequired(true);
$company->addErrorMessage(__('Veuillez indiquer le nom de votre société'));
$email->addErrorMessage(__('Veuillez indiquer une adresse e-mail valide'));
$this->addElement($email);
- $phone = new Zend_Form_Element_Text('telephone');
+ $phone = new CubeIT_Form_Element_Text('telephone');
$phone->setLabel(__('Téléphone'));
$this->addElement($phone);
- $comments = new Zend_Form_Element_Textarea('detail');
+ $comments = new CubeIT_Form_Element_Textarea('detail');
$comments->setLabel(__('Commentaires sur votre projet'));
$this->addElement($comments);
$logo->setLabel('Logo');
$this->addElement($logo);
- $longTitle = new Zend_Form_Element_Text('longTitle');
+ $longTitle = new CubeIT_Form_Element_Text('longTitle');
$longTitle->setLabel('Titre long par défaut');
$this->addElementLocalized($longTitle);
public function init(){
parent::init();
}
-}
-
-?>
+}
\ No newline at end of file
\r
#adminlogin {\r
padding-top: 150px;\r
+}\r
+\r
+#contentWrapper .cubeit-content{\r
+ padding-top:120px;\r
}
\ No newline at end of file