Added the option to import JCB packages with GUID mapping. Resolved gh-657 to allow for painless fieldtype change in the field area.
This commit is contained in:
@ -176,12 +176,12 @@ class Get
|
||||
* New Replace Code = /xxx[REPLACE<>$$$$]xxx/ /xxx[/REPLACE<>$$$$]xxx/
|
||||
*
|
||||
* //////////////////////////////// when JCB adds it back //////////////////////////////////
|
||||
* JCB Add Inserted Code = /xxx[INSERTED$$$$]xxx//x23x/ /xxx[/INSERTED$$$$]xxx/
|
||||
* JCB Add Replaced Code = /xxx[REPLACED$$$$]xxx//x25x/ /xxx[/REPLACED$$$$]xxx/
|
||||
* JCB Add Inserted Code = /xxx[INSERTED$$$$]xxx//xx23xx/ /xxx[/INSERTED$$$$]xxx/
|
||||
* JCB Add Replaced Code = /xxx[REPLACED$$$$]xxx//xx25xx/ /xxx[/REPLACED$$$$]xxx/
|
||||
*
|
||||
* /////////////////////////////// changeing existing custom code /////////////////////////
|
||||
* Update Inserted Code = /xxx[INSERTED<>$$$$]xxx//x23x/ /xxx[/INSERTED<>$$$$]xxx/
|
||||
* Update Replaced Code = /xxx[REPLACED<>$$$$]xxx//x25x/ /xxx[/REPLACED<>$$$$]xxx/
|
||||
* Update Inserted Code = /xxx[INSERTED<>$$$$]xxx//xx23xx/ /xxx[/INSERTED<>$$$$]xxx/
|
||||
* Update Replaced Code = /xxx[REPLACED<>$$$$]xxx//xx25xx/ /xxx[/REPLACED<>$$$$]xxx/
|
||||
*
|
||||
* The custom script placeholders - we use the (==) to avoid detection it should be (--)
|
||||
* ###################################---> HTML <---#####################################
|
||||
@ -11423,11 +11423,11 @@ class Get
|
||||
switch ($type)
|
||||
{
|
||||
case 11:
|
||||
//***[REPLACED$$$$]***//*1*/
|
||||
//***[REPLACED$$$$]***//**1**/
|
||||
if ($this->addPlaceholders === true)
|
||||
{
|
||||
return array(
|
||||
'start' => '/***[REPLACED$$$$]***//*' . $id . '*/',
|
||||
'start' => '/***[REPLACED$$$$]***//**' . $id . '**/',
|
||||
'end' => '/***[/REPLACED$$$$]***/');
|
||||
}
|
||||
else
|
||||
@ -11438,11 +11438,11 @@ class Get
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
//***[INSERTED$$$$]***//*1*/
|
||||
//***[INSERTED$$$$]***//**1**/
|
||||
if ($this->addPlaceholders === true)
|
||||
{
|
||||
return array(
|
||||
'start' => '/***[INSERTED$$$$]***//*' . $id . '*/',
|
||||
'start' => '/***[INSERTED$$$$]***//**' . $id . '**/',
|
||||
'end' => '/***[/INSERTED$$$$]***/');
|
||||
}
|
||||
else
|
||||
|
@ -5042,7 +5042,7 @@ class Fields extends Structure
|
||||
);
|
||||
break;
|
||||
case 4:
|
||||
// WHMCS_ENCRYPTION_VDMKEY
|
||||
// WHMCS_ENCRYPTION_VDMKEY (DUE REMOVAL)
|
||||
$this->whmcsFieldModeling[$nameSingleCode][] = $name;
|
||||
// Site settings of each field if needed
|
||||
$this->buildSiteFieldData(
|
||||
|
@ -465,7 +465,7 @@ class Interpretation extends Fields
|
||||
$bool[] = $this->_t(2) . "return false;";
|
||||
$bool[] = $this->_t(1) . "}";
|
||||
|
||||
// return the genuine mentod statement
|
||||
// return the genuine method statement
|
||||
return implode(PHP_EOL, $bool);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user