Added #39 a new feature the imports custom code during compilation. We also improved the compiler.
This commit is contained in:
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.6
|
||||
@build 20th January, 2017
|
||||
@version @update number 36 of this MVC
|
||||
@build 12th January, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage fields.php
|
||||
@ -181,7 +181,7 @@ class ComponentbuilderModelFields extends JModelList
|
||||
public function selectionTranslation($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name == 'datatype')
|
||||
if ($name === 'datatype')
|
||||
{
|
||||
$datatypeArray = array(
|
||||
'CHAR' => 'COM_COMPONENTBUILDER_FIELD_CHAR',
|
||||
@ -206,7 +206,7 @@ class ComponentbuilderModelFields extends JModelList
|
||||
}
|
||||
}
|
||||
// Array of indexes language strings
|
||||
if ($name == 'indexes')
|
||||
if ($name === 'indexes')
|
||||
{
|
||||
$indexesArray = array(
|
||||
1 => 'COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY',
|
||||
@ -220,7 +220,7 @@ class ComponentbuilderModelFields extends JModelList
|
||||
}
|
||||
}
|
||||
// Array of null_switch language strings
|
||||
if ($name == 'null_switch')
|
||||
if ($name === 'null_switch')
|
||||
{
|
||||
$null_switchArray = array(
|
||||
'NULL' => 'COM_COMPONENTBUILDER_FIELD_NULL',
|
||||
@ -233,7 +233,7 @@ class ComponentbuilderModelFields extends JModelList
|
||||
}
|
||||
}
|
||||
// Array of store language strings
|
||||
if ($name == 'store')
|
||||
if ($name === 'store')
|
||||
{
|
||||
$storeArray = array(
|
||||
0 => 'COM_COMPONENTBUILDER_FIELD_DEFAULT',
|
||||
|
Reference in New Issue
Block a user