changed module name; v 0.3.0
This commit is contained in:
parent
07abe8e7b7
commit
b551f9e661
@ -2,7 +2,7 @@
|
||||
|
||||
class ICrmOrderActions
|
||||
{
|
||||
protected static $MODULE_ID = 'intaro.crm';
|
||||
protected static $MODULE_ID = 'intaro.intarocrm';
|
||||
protected static $CRM_API_HOST_OPTION = 'api_host';
|
||||
protected static $CRM_API_KEY_OPTION = 'api_key';
|
||||
protected static $CRM_ORDER_TYPES_ARR = 'order_types_arr';
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
CModule::AddAutoloadClasses(
|
||||
'intaro.crm', // module name
|
||||
'intaro.intarocrm', // module name
|
||||
array (
|
||||
'IntaroCrm\RestApi' => 'classes/general/RestApi.php',
|
||||
'ICrmOrderActions' => 'classes/general/ICrmOrderActions.php'
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Module Install/Uninstall script
|
||||
* Module name: intaro.crm
|
||||
* Class name: intaro_crm
|
||||
* Module name: intaro.intarocrm
|
||||
* Class name: intaro_intarocrm
|
||||
*/
|
||||
|
||||
global $MESS;
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
if (class_exists('intaro_crm'))
|
||||
if (class_exists('intaro_intarocrm'))
|
||||
return;
|
||||
|
||||
class intaro_crm extends CModule
|
||||
class intaro_intarocrm extends CModule
|
||||
{
|
||||
var $MODULE_ID = 'intaro.crm';
|
||||
var $MODULE_ID = 'intaro.intarocrm';
|
||||
var $MODULE_VERSION;
|
||||
var $MODULE_VERSION_DATE;
|
||||
var $MODULE_NAME;
|
||||
@ -34,7 +34,7 @@ class intaro_crm extends CModule
|
||||
|
||||
var $INSTALL_PATH;
|
||||
|
||||
function intaro_crm()
|
||||
function intaro_intarocrm()
|
||||
{
|
||||
$arModuleVersion = array();
|
||||
$path = str_replace("\\", "/", __FILE__);
|
@ -6,7 +6,7 @@
|
||||
<form action="<?php echo $APPLICATION->GetCurPage() ?>" method="POST">
|
||||
<?php echo bitrix_sessid_post(); ?>
|
||||
<input type="hidden" name="lang" value="<?php echo LANGUAGE_ID ?>">
|
||||
<input type="hidden" name="id" value="intaro.crm">
|
||||
<input type="hidden" name="id" value="intaro.intarocrm">
|
||||
<input type="hidden" name="install" value="Y">
|
||||
<input type="hidden" name="step" value="2">
|
||||
|
@ -12,7 +12,7 @@ $arResult['bitrixPaymentList'][1]['ID'] = 'N';
|
||||
<form action="<?php echo $APPLICATION->GetCurPage() ?>" method="POST">
|
||||
<?php echo bitrix_sessid_post(); ?>
|
||||
<input type="hidden" name="lang" value="<?php echo LANGUAGE_ID ?>">
|
||||
<input type="hidden" name="id" value="intaro.crm">
|
||||
<input type="hidden" name="id" value="intaro.intarocrm">
|
||||
<input type="hidden" name="install" value="Y">
|
||||
<input type="hidden" name="step" value="3">
|
||||
|
@ -4,7 +4,7 @@ echo CAdminMessage::ShowNote(GetMessage("MOD_INST_OK")); ?>
|
||||
|
||||
<form action="<?php echo $APPLICATION->GetCurPage(); ?>">
|
||||
<input type="hidden" name="lang" value="<?php echo LANG; ?>">
|
||||
<input type="hidden" name="id" value="intaro.crm">
|
||||
<input type="hidden" name="id" value="intaro.intarocrm">
|
||||
<input type="hidden" name="install" value="Y">
|
||||
<input type="submit" name="" value="<?php echo GetMessage("MOD_BACK"); ?>" class="adm-btn-save">
|
||||
<form>
|
@ -2,7 +2,7 @@
|
||||
<form action="<?php echo $APPLICATION->GetCurPage(); ?>">
|
||||
<?php bitrix_sessid_post(); ?>
|
||||
<input type="hidden" name="lang" value="<?php echo LANGUAGE_ID; ?>">
|
||||
<input type="hidden" name="id" value="intaro.crm">
|
||||
<input type="hidden" name="id" value="intaro.intarocrm">
|
||||
<input type="hidden" name="uninstall" value="Y">
|
||||
<input type="hidden" name="step" value="2">
|
||||
<?php echo CAdminMessage::ShowMessage(GetMessage("MOD_UNINST_WARN")); ?>
|
@ -1,6 +1,6 @@
|
||||
<?
|
||||
$arModuleVersion = array(
|
||||
'VERSION' => '0.3f',
|
||||
'VERSION' => '0.3.0',
|
||||
'VERSION_DATE' => '2013-07-16 14:55:00',
|
||||
);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user