Skip to content
Snippets Groups Projects
Commit fca5a80b authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #64573 move image widget to intonation folder

parent e5c40d0e
4 merge requests!3297WIP: Master,!3037Master,!2988Dev#64573 templates pour l interface publique libraire bootstrap,!2913Dev#64573 templates pour l interface publique libraire bootstrap
Pipeline #5502 passed with stage
in 32 minutes and 34 seconds
......@@ -20,7 +20,7 @@
*/
class Intonation_System_Widget_Image extends Class_Systeme_ModulesAccueil_Null {
class Intonation_Library_Widget_Image_Definition extends Class_Systeme_ModulesAccueil_Null {
const
CODE = 'IMAGE';
......@@ -32,8 +32,8 @@ class Intonation_System_Widget_Image extends Class_Systeme_ModulesAccueil_Null {
public function __construct() {
$this->_libelle = $this->_('Boite image');
$this->_form = 'ZendAfi_Form_Configuration_Widget_Image';
$this->_view_helper = 'ZendAfi_View_Helper_Widget_Image';
$this->_form = 'Intonation_Library_Widget_Image_Form';
$this->_view_helper = 'Intonation_Library_Widget_Image_View';
$this->_defaultValues = ['titre' => $this->_libelle,
'image' => '',
'link' => ''];
......
......@@ -20,7 +20,8 @@
*/
class ZendAfi_Form_Configuration_Widget_Image extends ZendAfi_Form_Configuration_Widget_Base {
class Intonation_Library_Widget_Image_Form extends ZendAfi_Form_Configuration_Widget_Base {
public function init() {
parent::init();
$this
......
......@@ -20,7 +20,7 @@
*/
class ZendAfi_View_Helper_Widget_Image extends Zendafi_View_Helper_Accueil_Base {
class Intonation_Library_Widget_Image_View extends Zendafi_View_Helper_Accueil_Base {
public function getHtml() {
$this->titre = $this->_settings->getTitre();
......
......@@ -116,7 +116,7 @@ class Intonation_Template extends Class_Template {
Intonation_Library_Widget_Search_Definition::CODE => new Intonation_Library_Widget_Search_Definition,
Intonation_Library_Widget_Accessibility_Definition::CODE => new Intonation_Library_Widget_Accessibility_Definition,
Intonation_Library_Widget_Share_Definition::CODE => new Intonation_Library_Widget_Share_Definition,
Intonation_System_Widget_Image::CODE => new Intonation_System_Widget_Image,
Intonation_Library_Widget_Image_Definition::CODE => new Intonation_Library_Widget_Image_Definition,
Intonation_System_Widget_AdminTools::CODE => new Intonation_System_Widget_AdminTools,
Intonation_System_Widget_Credits::CODE => new Intonation_System_Widget_Credits,
Intonation_System_Widget_Scroll::CODE => new Intonation_System_Widget_Scroll,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment