class Simeox_Form_CMS_Home extends Simeox_Form_CMS {
- public function init() {
+ public function init() {
parent::init();
- $logo = new CubeIT_Form_Element_File_Image('site_logo');
- $logo->setLabel(__('Logo principal'));
- $this->addElement($logo);
-
- $header = new Simeox_Form_CMS_Sub_ImageHeader();
- $header->setLegend(__('Header'));
- $this->addSubForm($header, 'hero');
-
- // Le Simeox section
- $simeox = new Simeox_Form_CMS_Sub_Simeox();
- $simeox->setLegend(__("Section 'Le Simeox'"));
- $this->addSubForm($simeox, 'simeox');
-
- // R&D Clinic section
- $RDClinic = new Simeox_Form_CMS_Sub_RDClinic();
- $RDClinic->setLegend(__("Section 'R&D Clinique'"));
- $this->addSubForm($RDClinic, 'clinic');
-
- // About section
- $about = new Simeox_Form_CMS_Sub_About();
- $about->setLegend(__("Section 'A propos de PhysioAssist'"));
- $this->addSubForm($about, 'about');
-
- // Contact section
- $contact = new Simeox_Form_CMS_Sub_Contact();
- $contact->setLegend(__("Section 'Contact'"));
- $this->addSubForm($contact, 'contact');
-
- // Footer text
- $footer = new Simeox_Form_Element_Markitup('footer');
- $footer->setLabel(__('Pied de page'));
- $this->addElement($footer);
+ $logo = new CubeIT_Form_Element_File_Image('site_logo');
+ $logo->setLabel(__('Logo principal'));
+ $this->addElement($logo);
+
+ $header = new Simeox_Form_CMS_Sub_ImageHeader();
+ $header->setLegend(__('Header'));
+ $this->addSubForm($header, 'hero');
+
+ // Le Simeox section
+ $simeox = new Simeox_Form_CMS_Sub_Simeox();
+ $simeox->setLegend(__("Section 'Le Simeox'"));
+ $this->addSubForm($simeox, 'simeox');
+
+ // R&D Clinic section
+ $RDClinic = new Simeox_Form_CMS_Sub_RDClinic();
+ $RDClinic->setLegend(__("Section 'R&D Clinique'"));
+ $this->addSubForm($RDClinic, 'clinic');
+
+ // About section
+ $about = new Simeox_Form_CMS_Sub_About();
+ $about->setLegend(__("Section 'A propos de PhysioAssist'"));
+ $this->addSubForm($about, 'about');
+
+ // Contact section
+ $contact = new Simeox_Form_CMS_Sub_Contact();
+ $contact->setLegend(__("Section 'Contact'"));
+ $this->addSubForm($contact, 'contact');
+
+ // Footer text
+ $footer = new Simeox_Form_Element_Markitup('footer');
+ $footer->setLabel(__('Footer'));
+ $this->addElement($footer);
}
}
\ No newline at end of file
class Simeox_Form_CMS_Sub_Carousel extends CubeIT_Form_SubForm {
- public function init() {
- parent::init();
+ public function init() {
+ parent::init();
- $heading = new Zend_Form_Element_Text('heading');
- $heading->setLabel(__('Titre'));
- $this->addElement($heading);
+ $heading = new Zend_Form_Element_Text('heading');
+ $heading->setLabel(__('Titre'));
+ $this->addElement($heading);
- $subheading = new Zend_Form_Element_Text('subheading');
- $subheading->setAttrib('rows', 2);
- $subheading->setLabel(__('Sous-titre'));
- $this->addElement($subheading);
+ $subheading = new Zend_Form_Element_Text('subheading');
+ $subheading->setAttrib('rows', 2);
+ $subheading->setLabel(__('Sous-titre'));
+ $this->addElement($subheading);
- $carousel = new Simeox_Form_CMS_Sub_Carousel_Carousel();
- $carousel->setLegend(__('Carrousel des images'));
- $this->addSubForm($carousel, 'image_carousel');
+ $carousel = new Simeox_Form_CMS_Sub_Carousel_Carousel();
+ $carousel->setLegend(__('Carrousel'));
+ $this->addSubForm($carousel, 'image_carousel');
- }
+ }
}
\ No newline at end of file
public function init() {\r
parent::init();\r
$this->setBaseSubForm(new Simeox_Form_CMS_Sub_Carousel_Item())\r
- ->setBaseLegend('Edition de carousel item « $title »')\r
- ->setNewLegend('Nouvelle carousel item');\r
+ ->setBaseLegend('Edition de la slide « $title »')\r
+ ->setNewLegend('Nouvelle slide');\r
}\r
\r
}\r
$this->addElement($subheading);
$bg_color = new CubeIT_Form_Element_Color('bg_color');
- $bg_color->setLabel(__('Couleur en arrière-plan'));
+ $bg_color->setLabel(__('Couleur de fond'));
$this->addElement($bg_color);
$image = new CubeIT_Form_Element_File_Image('image');
- $image->setLabel(__("Image d'arrière-plan"));
+ $image->setLabel(__("Image de fond"));
$image->setMaxItems(1);
$this->addElement($image);
}
$this->addElement($video);
$bg_image = new CubeIT_Form_Element_File_Image('bg_image');
- $bg_image->setLabel(__("Image d'arrière-plan"));
+ $bg_image->setLabel(__("Image de fond"));
$bg_image->setMaxItems(1);
$this->addElement($bg_image);
parent::init();
$name = new Zend_Form_Element_Text('name');
- $name->setLabel(__('Nom de partenaire'));
+ $name->setLabel(__('Nom du partenaire'));
$this->addElement($name);
$description = new Zend_Form_Element_Text('description');
class Simeox_Form_CMS_Sub_Partners_Partners extends CubeIT_Form_Multi_SubForm {
- public function init() {
- parent::init();
- $this->setBaseSubForm(new Simeox_Form_CMS_Sub_Partners_Partner())
- ->setBaseLegend('Edition de partenaire « $name »')
- ->setNewLegend(__("Nouveau partenaire"));
- }
+ public function init() {
+ parent::init();
+ $this->setBaseSubForm(new Simeox_Form_CMS_Sub_Partners_Partner())
+ ->setBaseLegend('Edition du partenaire « $name »')
+ ->setNewLegend(__("Nouveau partenaire"));
+ }
}
\ No newline at end of file
$this->addElement($intro);
$bg_image = new CubeIT_Form_Element_File_Image('bg_image_1');
- $bg_image->setLabel(__("Image d'arrière-plan #1"));
+ $bg_image->setLabel(__("Image de fond #1"));
$bg_image->setMaxItems(1);
$this->addElement($bg_image);
$this->addElement($findings);
$bg_image_2 = new CubeIT_Form_Element_File_Image('bg_image_2');
- $bg_image_2->setLabel(__("Image d'arrière-plan #2"));
+ $bg_image_2->setLabel(__("Image de fond #2"));
$bg_image_2->setMaxItems(1);
$this->addElement($bg_image_2);
$this->addSubForm($carousel, 'carousel');
$operation = new Simeox_Form_CMS_Sub_Operation();
- $operation->setLegend(__("Bloc 'Functionnement'"));
+ $operation->setLegend(__("Bloc 'Fonctionnement'"));
$this->addSubForm($operation, 'operation');
$benefits = new Simeox_Form_CMS_Sub_Benefits();
class Simeox_Form_CMS_Sub_Team_Team extends CubeIT_Form_Multi_SubForm {
- public function init() {
- parent::init();
- $this->setBaseSubForm(new Simeox_Form_CMS_Sub_Team_Person())
- ->setBaseLegend('Edition de « $name »')
- ->setNewLegend(__("Nouveau membre d'équipe"));
- }
+ public function init() {
+ parent::init();
+ $this->setBaseSubForm(new Simeox_Form_CMS_Sub_Team_Person())
+ ->setBaseLegend('Edition de « $name »')
+ ->setNewLegend(__("Nouveau membre"));
+ }
}
\ No newline at end of file