Changeset 4532
- Timestamp:
- 07/23/12 07:31:00 (11 months ago)
- Location:
- branches/2.1.1/catalog/admin/includes
- Files:
-
- 4 modified
-
classes/drivers/productsACA.php (modified) (3 diffs)
-
modules/products/desc_base.php (modified) (1 diff)
-
modules/products/header_tags.php (modified) (1 diff)
-
modules/products/products_extra.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1.1/catalog/admin/includes/classes/drivers/productsACA.php
r4482 r4532 55 55 // test flag type module, si aucun, produist base 56 56 if(!isset($cl[$class]->flag_type_virtual)) $cl[$class]->flag_type_virtual=0; 57 57 58 // incremente tableau module unqiuement si flag ok 58 59 if($this->control_type_mod($cl[$class]->flag_type_virtual)) $list_mod[$class] = $cl[$class]->sort_order; … … 63 64 } 64 65 65 66 if(count($list_mod)>1) { 66 if(count($list_mod)>=1) { 67 67 asort($list_mod); 68 68 foreach($list_mod as $class=>$s){ … … 99 99 private function control_type_mod($flag){ 100 100 $this->load_type_product(); 101 if(in_array( $flag,explode(',',$this->type_flag) ) || $flag==0) return true;101 if(in_array( $this->type_flag ,explode(',',$flag) ) || $flag==0) return true; 102 102 else return false; 103 103 } -
branches/2.1.1/catalog/admin/includes/modules/products/desc_base.php
r4261 r4532 33 33 */ 34 34 function desc_base() { 35 /* name current classes */ 35 36 $this->code = 'desc_base'; 37 /* title this module, display in backoffice section */ 36 38 $this->title = __('Description produits '); 39 /* desc this module, display in backoffice section */ 37 40 $this->description = __('Description simple des produits avec chapeau'); 41 /* sort this module relative to other module actived */ 38 42 $this->sort_order = (defined('MODULE_ACAPRO_DESC_BASE_SORT_ORDER'))?MODULE_ACAPRO_DESC_BASE_SORT_ORDER : 0; 43 /* Active module */ 39 44 $this->enabled = true; 45 /* Flag precise type product for activate this module. 46 if this flag no found, this module is already active */ 47 $this->flag_type_virtual='0'; 40 48 41 49 self::$pInfo= new objectInfo (array()); -
branches/2.1.1/catalog/admin/includes/modules/products/header_tags.php
r4315 r4532 37 37 parent::load_lang(); 38 38 39 /* name current classes */ 39 40 $this->code = __CLASS__ ; 41 /* title this module, display in backoffice section */ 40 42 $this->title = __('module acapro headertags text title'); 43 /* desc this module, display in backoffice section */ 41 44 $this->description = __('module acapro headertags text description'); 45 /* sort this module relative to other module actived */ 42 46 $this->sort_order = (defined('MODULE_ACACAT_HTC_SORT_ORDER'))?MODULE_ACACAT_HTC_SORT_ORDER : 0; 47 /* Active module */ 43 48 $this->enabled = true; 49 /* Flag precise type product for activate this module. 50 if this flag no found, this module is already active */ 51 $this->flag_type_virtual='0'; 44 52 45 53 self::$pInfo= new objectInfo (array()); -
branches/2.1.1/catalog/admin/includes/modules/products/products_extra.php
r4474 r4532 27 27 */ 28 28 function __construct(){ 29 /* name current classes */ 29 30 $this->code = __CLASS__; 31 /* title this module, display in backoffice section */ 30 32 $this->title = __('products extra'); 33 /* desc this module, display in backoffice section */ 31 34 $this->description = __('products extra info') ; 35 /* sort this module relative to other module actived */ 32 36 $this->sort_order = (defined('MODULE_ACA_PRO_EXTRA_SORT_ORDER')) ? MODULE_ACA_PRO_EXTRA_SORT_ORDER : 0; 37 /* Active module */ 33 38 $this->enabled = true; 39 /* Flag precise type product for activate this module. 40 if this flag no found, this module is already active */ 41 $this->flag_type_virtual='0'; 34 42 35 43 self::$cInfo = new objectInfo(array()); … … 192 200 193 201 foreach($value_info as $row) { 194 if((int)$row['languages_id'] ==0) 202 if((int)$row['languages_id'] ==0) 195 203 $value = $row['value']; 196 204 else