Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 79039e1

Browse files
committed
fix tabing
1 parent 88bef2e commit 79039e1

File tree

38 files changed

+570
-679
lines changed

38 files changed

+570
-679
lines changed
Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,38 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* ChatbotAPI admin block
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
7+
*
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
1912
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi extends Mage_Adminhtml_Block_Widget_Grid_Container
2523
{
2624
/**
2725
* constructor
2826
*
2927
* @access public
3028
* @return void
31-
* @author Ultimate Module Creator
3229
*/
3330
public function __construct()
3431
{
35-
$this->_controller = 'adminhtml_chatbotapi';
36-
$this->_blockGroup = 'werules_chatbot';
32+
$this->_controller = 'adminhtml_chatbotapi';
33+
$this->_blockGroup = 'werules_chatbot';
3734
parent::__construct();
38-
$this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotAPI');
35+
$this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotAPI');
3936
$this->_updateButton('add', 'label', Mage::helper('werules_chatbot')->__('Add ChatbotAPI'));
40-
4137
}
4238
}

Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit.php

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* ChatbotAPI admin edit form
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
197
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
*
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
2523
{
2624
/**
2725
* constructor
2826
*
2927
* @access public
3028
* @return void
31-
* @author Ultimate Module Creator
3229
*/
3330
public function __construct()
3431
{
@@ -66,7 +63,6 @@ function saveAndContinueEdit() {
6663
*
6764
* @access public
6865
* @return string
69-
* @author Ultimate Module Creator
7066
*/
7167
public function getHeaderText()
7268
{

Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Form.php

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* ChatbotAPI edit form
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
7+
*
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
*
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
1917
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
2523
{
2624
/**
2725
* prepare form
2826
*
2927
* @access protected
3028
* @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Form
31-
* @author Ultimate Module Creator
3229
*/
3330
protected function _prepareForm()
3431
{

Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Form.php

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* ChatbotAPI edit form tab
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
197
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
*
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
2523
{
2624
/**
2725
* prepare the form
2826
*
2927
* @access protected
3028
* @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Form
31-
* @author Ultimate Module Creator
3229
*/
3330
protected function _prepareForm()
3431
{

Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Stores.php

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* store selection tab
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
7+
*
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
*
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
1917
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Stores extends Mage_Adminhtml_Block_Widget_Form
2523
{
2624
/**
2725
* prepare the form
2826
*
2927
* @access protected
3028
* @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Stores
31-
* @author Ultimate Module Creator
3229
*/
3330
protected function _prepareForm()
3431
{

Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tabs.php

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
11
<?php
22
/**
3-
* Werules_Chatbot extension
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the MIT License
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/mit-license.php
11-
*
12-
* @category Werules
13-
* @package Werules_Chatbot
14-
* @copyright Copyright (c) 2017
15-
* @license http://opensource.org/licenses/mit-license.php MIT License
16-
*/
17-
/**
18-
* ChatbotAPI admin edit tabs
3+
* Magento Chatbot Integration
4+
* Copyright (C) 2017
5+
*
6+
* This file is part of Werules/Chatbot.
197
*
20-
* @category Werules
21-
* @package Werules_Chatbot
22-
* @author Ultimate Module Creator
8+
* Werules/Chatbot is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* (at your option) any later version.
12+
*
13+
* This program is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License
19+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2320
*/
21+
2422
class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
2523
{
2624
/**
2725
* Initialize Tabs
2826
*
2927
* @access public
30-
* @author Ultimate Module Creator
3128
*/
3229
public function __construct()
3330
{
@@ -42,7 +39,6 @@ public function __construct()
4239
*
4340
* @access protected
4441
* @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tabs
45-
* @author Ultimate Module Creator
4642
*/
4743
protected function _beforeToHtml()
4844
{
@@ -78,7 +74,6 @@ protected function _beforeToHtml()
7874
*
7975
* @access public
8076
* @return Werules_Chatbot_Model_Chatbotapi
81-
* @author Ultimate Module Creator
8277
*/
8378
public function getChatbotapi()
8479
{

0 commit comments

Comments
 (0)