diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi.php index 227d3d3..a792069 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi extends Mage_Adminhtml_Block_Widget_Grid_Container { /** @@ -28,15 +26,13 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotapi extends Mage_Adminhtml_Block_Wi * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { - $this->_controller = 'adminhtml_chatbotapi'; - $this->_blockGroup = 'werules_chatbot'; + $this->_controller = 'adminhtml_chatbotapi'; + $this->_blockGroup = 'werules_chatbot'; parent::__construct(); - $this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotAPI'); + $this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotAPI'); $this->_updateButton('add', 'label', Mage::helper('werules_chatbot')->__('Add ChatbotAPI')); - } } diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit.php index a62c9e7..35feaac 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit extends Mage_Adminhtml_Block_Widget_Form_Container { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit extends Mage_Adminhtml_Blo * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { @@ -66,7 +63,6 @@ function saveAndContinueEdit() { * * @access public * @return string - * @author Ultimate Module Creator */ public function getHeaderText() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Form.php index 055238f..f4223c7 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Form extends Mage_Adminhtm * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Form.php index 0ab33a9..adbed3d 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Form extends Mage_Admi * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Stores.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Stores.php index 526e1f3..2b9af92 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Stores.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tab/Stores.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Stores extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Stores extends Mage_Ad * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tab_Stores - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tabs.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tabs.php index 54297c3..9392a98 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tabs.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Edit/Tabs.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs { /** * Initialize Tabs * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -42,7 +39,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Edit_Tabs - * @author Ultimate Module Creator */ protected function _beforeToHtml() { @@ -78,7 +74,6 @@ protected function _beforeToHtml() * * @access public * @return Werules_Chatbot_Model_Chatbotapi - * @author Ultimate Module Creator */ public function getChatbotapi() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Grid.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Grid.php index ce9f2e1..e55d26e 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Grid.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotapi/Grid.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid extends Mage_Adminhtml_Block_Widget_Grid { /** * constructor * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -44,7 +41,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid - * @author Ultimate Module Creator */ protected function _prepareCollection() { @@ -60,7 +56,6 @@ protected function _prepareCollection() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid - * @author Ultimate Module Creator */ protected function _prepareColumns() { @@ -244,7 +239,6 @@ protected function _prepareColumns() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid - * @author Ultimate Module Creator */ protected function _prepareMassaction() { @@ -326,7 +320,6 @@ protected function _prepareMassaction() * @access public * @param Werules_Chatbot_Model_Chatbotapi * @return string - * @author Ultimate Module Creator */ public function getRowUrl($row) { @@ -338,7 +331,6 @@ public function getRowUrl($row) * * @access public * @return string - * @author Ultimate Module Creator */ public function getGridUrl() { @@ -350,7 +342,6 @@ public function getGridUrl() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid - * @author Ultimate Module Creator */ protected function _afterLoadCollection() { @@ -365,7 +356,6 @@ protected function _afterLoadCollection() * @param Werules_Chatbot_Model_Resource_Chatbotapi_Collection $collection * @param Mage_Adminhtml_Block_Widget_Grid_Column $column * @return Werules_Chatbot_Block_Adminhtml_Chatbotapi_Grid - * @author Ultimate Module Creator */ protected function _filterStoreCondition($collection, $column) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser.php index d898e30..7f4f0d2 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser extends Mage_Adminhtml_Block_Widget_Grid_Container { /** @@ -28,14 +26,13 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotuser extends Mage_Adminhtml_Block_W * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { - $this->_controller = 'adminhtml_chatbotuser'; - $this->_blockGroup = 'werules_chatbot'; + $this->_controller = 'adminhtml_chatbotuser'; + $this->_blockGroup = 'werules_chatbot'; parent::__construct(); - $this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotUser'); + $this->_headerText = Mage::helper('werules_chatbot')->__('ChatbotUser'); $this->_updateButton('add', 'label', Mage::helper('werules_chatbot')->__('Add ChatbotUser')); } diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit.php index 8c09430..57efe7d 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit extends Mage_Adminhtml_Block_Widget_Form_Container { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit extends Mage_Adminhtml_Bl * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { @@ -66,7 +63,6 @@ function saveAndContinueEdit() { * * @access public * @return string - * @author Ultimate Module Creator */ public function getHeaderText() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Form.php index e4765e4..b4bba91 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Form extends Mage_Adminht * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Form.php index 4e0fe6f..c51ddfc 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Form extends Mage_Adm * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Stores.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Stores.php index 48a70d3..923501b 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Stores.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tab/Stores.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Stores extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Stores extends Mage_A * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tab_Stores - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tabs.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tabs.php index 6b792f4..791fd0e 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tabs.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Edit/Tabs.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs { /** * Initialize Tabs * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -42,7 +39,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Edit_Tabs - * @author Ultimate Module Creator */ protected function _beforeToHtml() { @@ -78,7 +74,6 @@ protected function _beforeToHtml() * * @access public * @return Werules_Chatbot_Model_Chatbotuser - * @author Ultimate Module Creator */ public function getChatbotuser() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Grid.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Grid.php index a23290e..97d0f23 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Grid.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Chatbotuser/Grid.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid extends Mage_Adminhtml_Block_Widget_Grid { /** * constructor * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -44,7 +41,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid - * @author Ultimate Module Creator */ protected function _prepareCollection() { @@ -60,7 +56,6 @@ protected function _prepareCollection() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid - * @author Ultimate Module Creator */ protected function _prepareColumns() { @@ -203,7 +198,6 @@ protected function _prepareColumns() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid - * @author Ultimate Module Creator */ protected function _prepareMassaction() { @@ -305,7 +299,6 @@ protected function _prepareMassaction() * @access public * @param Werules_Chatbot_Model_Chatbotuser * @return string - * @author Ultimate Module Creator */ public function getRowUrl($row) { @@ -317,7 +310,6 @@ public function getRowUrl($row) * * @access public * @return string - * @author Ultimate Module Creator */ public function getGridUrl() { @@ -329,7 +321,6 @@ public function getGridUrl() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid - * @author Ultimate Module Creator */ protected function _afterLoadCollection() { @@ -344,7 +335,6 @@ protected function _afterLoadCollection() * @param Werules_Chatbot_Model_Resource_Chatbotuser_Collection $collection * @param Mage_Adminhtml_Block_Widget_Grid_Column $column * @return Werules_Chatbot_Block_Adminhtml_Chatbotuser_Grid - * @author Ultimate Module Creator */ protected function _filterStoreCondition($collection, $column) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message.php index 06f8e00..d933d13 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message extends Mage_Adminhtml_Block_Widget_Grid_Container { /** @@ -28,14 +26,13 @@ class Werules_Chatbot_Block_Adminhtml_Message extends Mage_Adminhtml_Block_Widge * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { - $this->_controller = 'adminhtml_message'; - $this->_blockGroup = 'werules_chatbot'; + $this->_controller = 'adminhtml_message'; + $this->_blockGroup = 'werules_chatbot'; parent::__construct(); - $this->_headerText = Mage::helper('werules_chatbot')->__('Message'); + $this->_headerText = Mage::helper('werules_chatbot')->__('Message'); $this->_updateButton('add', 'label', Mage::helper('werules_chatbot')->__('Add Message')); } diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit.php index 68e4aec..12d171c 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Edit extends Mage_Adminhtml_Block_Widget_Form_Container { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Message_Edit extends Mage_Adminhtml_Block_ * * @access public * @return void - * @author Ultimate Module Creator */ public function __construct() { @@ -66,7 +63,6 @@ function saveAndContinueEdit() { * * @access public * @return string - * @author Ultimate Module Creator */ public function getHeaderText() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Form.php index 9ae4cd6..aecc609 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Edit_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Message_Edit_Form extends Mage_Adminhtml_B * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Edit_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Form.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Form.php index af1fb04..5514c29 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Form.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Form.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Form extends Mage_Adminht * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Form - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Stores.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Stores.php index 312ed26..e6bedf3 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Stores.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tab/Stores.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Stores extends Mage_Adminhtml_Block_Widget_Form { /** @@ -28,7 +26,6 @@ class Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Stores extends Mage_Admin * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Edit_Tab_Stores - * @author Ultimate Module Creator */ protected function _prepareForm() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tabs.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tabs.php index 9796475..6dfe66d 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tabs.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Edit/Tabs.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs { /** * Initialize Tabs * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -42,7 +39,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Edit_Tabs - * @author Ultimate Module Creator */ protected function _beforeToHtml() { @@ -78,7 +74,6 @@ protected function _beforeToHtml() * * @access public * @return Werules_Chatbot_Model_Message - * @author Ultimate Module Creator */ public function getMessage() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Grid.php b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Grid.php index 254c20f..be5dc0c 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Grid.php +++ b/Magento1/app/code/community/Werules/Chatbot/Block/Adminhtml/Message/Grid.php @@ -1,33 +1,30 @@ . */ + class Werules_Chatbot_Block_Adminhtml_Message_Grid extends Mage_Adminhtml_Block_Widget_Grid { /** * constructor * * @access public - * @author Ultimate Module Creator */ public function __construct() { @@ -44,7 +41,6 @@ public function __construct() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Grid - * @author Ultimate Module Creator */ protected function _prepareCollection() { @@ -60,7 +56,6 @@ protected function _prepareCollection() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Grid - * @author Ultimate Module Creator */ protected function _prepareColumns() { @@ -245,7 +240,6 @@ protected function _prepareColumns() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Grid - * @author Ultimate Module Creator */ protected function _prepareMassaction() { @@ -287,7 +281,6 @@ protected function _prepareMassaction() * @access public * @param Werules_Chatbot_Model_Message * @return string - * @author Ultimate Module Creator */ public function getRowUrl($row) { @@ -299,7 +292,6 @@ public function getRowUrl($row) * * @access public * @return string - * @author Ultimate Module Creator */ public function getGridUrl() { @@ -311,7 +303,6 @@ public function getGridUrl() * * @access protected * @return Werules_Chatbot_Block_Adminhtml_Message_Grid - * @author Ultimate Module Creator */ protected function _afterLoadCollection() { @@ -326,7 +317,6 @@ protected function _afterLoadCollection() * @param Werules_Chatbot_Model_Resource_Message_Collection $collection * @param Mage_Adminhtml_Block_Widget_Grid_Column $column * @return Werules_Chatbot_Block_Adminhtml_Message_Grid - * @author Ultimate Module Creator */ protected function _filterStoreCondition($collection, $column) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Controller/Adminhtml/Chatbot.php b/Magento1/app/code/community/Werules/Chatbot/Controller/Adminhtml/Chatbot.php index 68350d1..09a0956 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Controller/Adminhtml/Chatbot.php +++ b/Magento1/app/code/community/Werules/Chatbot/Controller/Adminhtml/Chatbot.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Controller_Adminhtml_Chatbot extends Mage_Adminhtml_Controller_Action { /** @@ -31,7 +29,6 @@ class Werules_Chatbot_Controller_Adminhtml_Chatbot extends Mage_Adminhtml_Contro * @param string $destinationFolder * @param array $data * @return string - * @author Ultimate Module Creator */ protected function _uploadAndGetName($input, $destinationFolder, $data) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Helper/Data.php b/Magento1/app/code/community/Werules/Chatbot/Helper/Data.php index e4ae5c8..8ce0de0 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Helper/Data.php +++ b/Magento1/app/code/community/Werules/Chatbot/Helper/Data.php @@ -27,7 +27,6 @@ class Werules_Chatbot_Helper_Data extends Mage_Core_Helper_Abstract * @access public * @param $options * @return array - * @author Ultimate Module Creator */ public function convertOptions($options) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotapi.php b/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotapi.php index d1fd6b4..f447e66 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotapi.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotapi.php @@ -47,7 +47,7 @@ class Werules_Chatbot_Model_Chatbotapi extends Mage_Core_Model_Abstract * * @access public * @return void - * @author Ultimate Module Creator + */ public function _construct() { @@ -60,7 +60,7 @@ public function _construct() * * @access protected * @return Werules_Chatbot_Model_Chatbotapi - * @author Ultimate Module Creator + */ protected function _beforeSave() { @@ -78,7 +78,7 @@ protected function _beforeSave() * * @access public * @return Werules_Chatbot_Model_Chatbotapi - * @author Ultimate Module Creator + */ protected function _afterSave() { @@ -90,7 +90,7 @@ protected function _afterSave() * * @access public * @return array - * @author Ultimate Module Creator + */ public function getDefaultValues() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotuser.php b/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotuser.php index b9c5a8e..697931e 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotuser.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Chatbotuser.php @@ -47,7 +47,7 @@ class Werules_Chatbot_Model_Chatbotuser extends Mage_Core_Model_Abstract * * @access public * @return void - * @author Ultimate Module Creator + */ public function _construct() { @@ -60,7 +60,7 @@ public function _construct() * * @access protected * @return Werules_Chatbot_Model_Chatbotuser - * @author Ultimate Module Creator + */ protected function _beforeSave() { @@ -78,7 +78,7 @@ protected function _beforeSave() * * @access public * @return Werules_Chatbot_Model_Chatbotuser - * @author Ultimate Module Creator + */ protected function _afterSave() { @@ -90,7 +90,7 @@ protected function _afterSave() * * @access public * @return array - * @author Ultimate Module Creator + */ public function getDefaultValues() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Message.php b/Magento1/app/code/community/Werules/Chatbot/Model/Message.php index c1815cd..f07f4b8 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Message.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Message.php @@ -47,7 +47,7 @@ class Werules_Chatbot_Model_Message extends Mage_Core_Model_Abstract * * @access public * @return void - * @author Ultimate Module Creator + */ public function _construct() { @@ -60,7 +60,7 @@ public function _construct() * * @access protected * @return Werules_Chatbot_Model_Message - * @author Ultimate Module Creator + */ protected function _beforeSave() { @@ -78,7 +78,7 @@ protected function _beforeSave() * * @access public * @return Werules_Chatbot_Model_Message - * @author Ultimate Module Creator + */ protected function _afterSave() { @@ -90,7 +90,7 @@ protected function _afterSave() * * @access public * @return array - * @author Ultimate Module Creator + */ public function getDefaultValues() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi.php index bef30b2..47b4250 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi.php @@ -26,7 +26,7 @@ class Werules_Chatbot_Model_Resource_Chatbotapi extends Mage_Core_Model_Resource * constructor * * @access public - * @author Ultimate Module Creator + */ public function _construct() { @@ -39,7 +39,7 @@ public function _construct() * @access public * @param int $chatbotapiId * @return array - * @author Ultimate Module Creator + */ public function lookupStoreIds($chatbotapiId) { @@ -56,7 +56,7 @@ public function lookupStoreIds($chatbotapiId) * @access public * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Chatbotapi - * @author Ultimate Module Creator + */ protected function _afterLoad(Mage_Core_Model_Abstract $object) { @@ -98,7 +98,7 @@ protected function _getLoadSelect($field, $value, $object) * @access protected * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Chatbotapi - * @author Ultimate Module Creator + */ protected function _afterSave(Mage_Core_Model_Abstract $object) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi/Collection.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi/Collection.php index 0418d7c..37ac6a9 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi/Collection.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotapi/Collection.php @@ -28,7 +28,7 @@ class Werules_Chatbot_Model_Resource_Chatbotapi_Collection extends Mage_Core_Mod * * @access public * @return void - * @author Ultimate Module Creator + */ protected function _construct() { @@ -44,7 +44,7 @@ protected function _construct() * @param int|Mage_Core_Model_Store $store * @param bool $withAdmin * @return Werules_Chatbot_Model_Resource_Chatbotapi_Collection - * @author Ultimate Module Creator + */ public function addStoreFilter($store, $withAdmin = true) { @@ -69,7 +69,7 @@ public function addStoreFilter($store, $withAdmin = true) * * @access protected * @return Werules_Chatbot_Model_Resource_Chatbotapi_Collection - * @author Ultimate Module Creator + */ protected function _renderFiltersBefore() { @@ -96,7 +96,7 @@ protected function _renderFiltersBefore() * @param string $labelField * @param array $additional * @return array - * @author Ultimate Module Creator + */ protected function _toOptionArray($valueField='entity_id', $labelField='chatbotapi_id', $additional=array()) { @@ -110,7 +110,7 @@ protected function _toOptionArray($valueField='entity_id', $labelField='chatbota * @param string $valueField * @param string $labelField * @return array - * @author Ultimate Module Creator + */ protected function _toOptionHash($valueField='entity_id', $labelField='chatbotapi_id') { @@ -123,7 +123,7 @@ protected function _toOptionHash($valueField='entity_id', $labelField='chatbotap * * @access public * @return Varien_Db_Select - * @author Ultimate Module Creator + */ public function getSelectCountSql() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser.php index c9bcf38..cff754c 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser.php @@ -26,7 +26,7 @@ class Werules_Chatbot_Model_Resource_Chatbotuser extends Mage_Core_Model_Resourc * constructor * * @access public - * @author Ultimate Module Creator + */ public function _construct() { @@ -39,7 +39,7 @@ public function _construct() * @access public * @param int $chatbotuserId * @return array - * @author Ultimate Module Creator + */ public function lookupStoreIds($chatbotuserId) { @@ -56,7 +56,7 @@ public function lookupStoreIds($chatbotuserId) * @access public * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Chatbotuser - * @author Ultimate Module Creator + */ protected function _afterLoad(Mage_Core_Model_Abstract $object) { @@ -98,7 +98,7 @@ protected function _getLoadSelect($field, $value, $object) * @access protected * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Chatbotuser - * @author Ultimate Module Creator + */ protected function _afterSave(Mage_Core_Model_Abstract $object) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser/Collection.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser/Collection.php index afcf085..8879918 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser/Collection.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Chatbotuser/Collection.php @@ -28,7 +28,7 @@ class Werules_Chatbot_Model_Resource_Chatbotuser_Collection extends Mage_Core_Mo * * @access public * @return void - * @author Ultimate Module Creator + */ protected function _construct() { @@ -44,7 +44,7 @@ protected function _construct() * @param int|Mage_Core_Model_Store $store * @param bool $withAdmin * @return Werules_Chatbot_Model_Resource_Chatbotuser_Collection - * @author Ultimate Module Creator + */ public function addStoreFilter($store, $withAdmin = true) { @@ -69,7 +69,7 @@ public function addStoreFilter($store, $withAdmin = true) * * @access protected * @return Werules_Chatbot_Model_Resource_Chatbotuser_Collection - * @author Ultimate Module Creator + */ protected function _renderFiltersBefore() { @@ -96,7 +96,7 @@ protected function _renderFiltersBefore() * @param string $labelField * @param array $additional * @return array - * @author Ultimate Module Creator + */ protected function _toOptionArray($valueField='entity_id', $labelField='chatbotuser_id', $additional=array()) { @@ -110,7 +110,7 @@ protected function _toOptionArray($valueField='entity_id', $labelField='chatbotu * @param string $valueField * @param string $labelField * @return array - * @author Ultimate Module Creator + */ protected function _toOptionHash($valueField='entity_id', $labelField='chatbotuser_id') { @@ -123,7 +123,7 @@ protected function _toOptionHash($valueField='entity_id', $labelField='chatbotus * * @access public * @return Varien_Db_Select - * @author Ultimate Module Creator + */ public function getSelectCountSql() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message.php index 2b8294b..f9a3073 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message.php @@ -26,7 +26,7 @@ class Werules_Chatbot_Model_Resource_Message extends Mage_Core_Model_Resource_Db * constructor * * @access public - * @author Ultimate Module Creator + */ public function _construct() { @@ -39,7 +39,7 @@ public function _construct() * @access public * @param int $messageId * @return array - * @author Ultimate Module Creator + */ public function lookupStoreIds($messageId) { @@ -56,7 +56,7 @@ public function lookupStoreIds($messageId) * @access public * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Message - * @author Ultimate Module Creator + */ protected function _afterLoad(Mage_Core_Model_Abstract $object) { @@ -98,7 +98,7 @@ protected function _getLoadSelect($field, $value, $object) * @access protected * @param Mage_Core_Model_Abstract $object * @return Werules_Chatbot_Model_Resource_Message - * @author Ultimate Module Creator + */ protected function _afterSave(Mage_Core_Model_Abstract $object) { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message/Collection.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message/Collection.php index 2f2adf0..1edbe89 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message/Collection.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Message/Collection.php @@ -28,7 +28,7 @@ class Werules_Chatbot_Model_Resource_Message_Collection extends Mage_Core_Model_ * * @access public * @return void - * @author Ultimate Module Creator + */ protected function _construct() { @@ -44,7 +44,7 @@ protected function _construct() * @param int|Mage_Core_Model_Store $store * @param bool $withAdmin * @return Werules_Chatbot_Model_Resource_Message_Collection - * @author Ultimate Module Creator + */ public function addStoreFilter($store, $withAdmin = true) { @@ -69,7 +69,7 @@ public function addStoreFilter($store, $withAdmin = true) * * @access protected * @return Werules_Chatbot_Model_Resource_Message_Collection - * @author Ultimate Module Creator + */ protected function _renderFiltersBefore() { @@ -96,7 +96,7 @@ protected function _renderFiltersBefore() * @param string $labelField * @param array $additional * @return array - * @author Ultimate Module Creator + */ protected function _toOptionArray($valueField='entity_id', $labelField='message_id', $additional=array()) { @@ -110,7 +110,7 @@ protected function _toOptionArray($valueField='entity_id', $labelField='message_ * @param string $valueField * @param string $labelField * @return array - * @author Ultimate Module Creator + */ protected function _toOptionHash($valueField='entity_id', $labelField='message_id') { @@ -123,7 +123,7 @@ protected function _toOptionHash($valueField='entity_id', $labelField='message_i * * @access public * @return Varien_Db_Select - * @author Ultimate Module Creator + */ public function getSelectCountSql() { diff --git a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Setup.php b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Setup.php index b7026ed..1092206 100644 --- a/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Setup.php +++ b/Magento1/app/code/community/Werules/Chatbot/Model/Resource/Setup.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup { } diff --git a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotapiController.php b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotapiController.php index bc05644..114df14 100644 --- a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotapiController.php +++ b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotapiController.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Adminhtml_Chatbot_ChatbotapiController extends Werules_Chatbot_Controller_Adminhtml_Chatbot { /** @@ -45,7 +43,7 @@ protected function _initChatbotapi() * * @access public * @return void - * @author Ultimate Module Creator + */ public function indexAction() { @@ -60,7 +58,7 @@ public function indexAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function gridAction() { @@ -72,7 +70,7 @@ public function gridAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function editAction() { @@ -109,7 +107,7 @@ public function editAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function newAction() { @@ -121,7 +119,7 @@ public function newAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function saveAction() { @@ -166,7 +164,7 @@ public function saveAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function deleteAction() { @@ -202,7 +200,7 @@ public function deleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massDeleteAction() { @@ -237,7 +235,7 @@ public function massDeleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massStatusAction() { @@ -274,7 +272,7 @@ public function massStatusAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massLoggedAction() { @@ -311,7 +309,7 @@ public function massLoggedAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massEnabledAction() { @@ -348,7 +346,7 @@ public function massEnabledAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportCsvAction() { @@ -363,7 +361,7 @@ public function exportCsvAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportExcelAction() { @@ -378,7 +376,7 @@ public function exportExcelAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportXmlAction() { @@ -393,7 +391,7 @@ public function exportXmlAction() * * @access protected * @return boolean - * @author Ultimate Module Creator + */ protected function _isAllowed() { diff --git a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotuserController.php b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotuserController.php index 6c38883..245e1eb 100644 --- a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotuserController.php +++ b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/ChatbotuserController.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Adminhtml_Chatbot_ChatbotuserController extends Werules_Chatbot_Controller_Adminhtml_Chatbot { /** @@ -45,7 +43,7 @@ protected function _initChatbotuser() * * @access public * @return void - * @author Ultimate Module Creator + */ public function indexAction() { @@ -60,7 +58,7 @@ public function indexAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function gridAction() { @@ -72,7 +70,7 @@ public function gridAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function editAction() { @@ -109,7 +107,7 @@ public function editAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function newAction() { @@ -121,7 +119,7 @@ public function newAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function saveAction() { @@ -166,7 +164,7 @@ public function saveAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function deleteAction() { @@ -202,7 +200,7 @@ public function deleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massDeleteAction() { @@ -237,7 +235,7 @@ public function massDeleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massStatusAction() { @@ -274,7 +272,7 @@ public function massStatusAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massEnablePromotionalMessagesAction() { @@ -311,7 +309,7 @@ public function massEnablePromotionalMessagesAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massEnableSupportAction() { @@ -348,7 +346,7 @@ public function massEnableSupportAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massAdminAction() { @@ -385,7 +383,7 @@ public function massAdminAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportCsvAction() { @@ -400,7 +398,7 @@ public function exportCsvAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportExcelAction() { @@ -415,7 +413,7 @@ public function exportExcelAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportXmlAction() { @@ -430,7 +428,7 @@ public function exportXmlAction() * * @access protected * @return boolean - * @author Ultimate Module Creator + */ protected function _isAllowed() { diff --git a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/MessageController.php b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/MessageController.php index 6603f78..b84899e 100644 --- a/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/MessageController.php +++ b/Magento1/app/code/community/Werules/Chatbot/controllers/Adminhtml/Chatbot/MessageController.php @@ -1,26 +1,24 @@ . */ + class Werules_Chatbot_Adminhtml_Chatbot_MessageController extends Werules_Chatbot_Controller_Adminhtml_Chatbot { /** @@ -45,7 +43,6 @@ protected function _initMessage() * * @access public * @return void - * @author Ultimate Module Creator */ public function indexAction() { @@ -60,7 +57,7 @@ public function indexAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function gridAction() { @@ -72,7 +69,7 @@ public function gridAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function editAction() { @@ -109,7 +106,7 @@ public function editAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function newAction() { @@ -121,7 +118,7 @@ public function newAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function saveAction() { @@ -167,7 +164,7 @@ public function saveAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function deleteAction() { @@ -203,7 +200,7 @@ public function deleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massDeleteAction() { @@ -238,7 +235,7 @@ public function massDeleteAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function massStatusAction() { @@ -275,7 +272,7 @@ public function massStatusAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportCsvAction() { @@ -290,7 +287,7 @@ public function exportCsvAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportExcelAction() { @@ -305,7 +302,7 @@ public function exportExcelAction() * * @access public * @return void - * @author Ultimate Module Creator + */ public function exportXmlAction() { @@ -320,7 +317,7 @@ public function exportXmlAction() * * @access protected * @return boolean - * @author Ultimate Module Creator + */ protected function _isAllowed() { diff --git a/Magento1/app/code/community/Werules/Chatbot/etc/adminhtml.xml b/Magento1/app/code/community/Werules/Chatbot/etc/adminhtml.xml index 82c868c..37b4c4e 100644 --- a/Magento1/app/code/community/Werules/Chatbot/etc/adminhtml.xml +++ b/Magento1/app/code/community/Werules/Chatbot/etc/adminhtml.xml @@ -40,7 +40,6 @@ - @@ -75,6 +74,5 @@ - diff --git a/Magento1/js/werules/chatbot/chatbot.js b/Magento1/js/werules/chatbot/chatbot.js index d78765f..28a42ed 100644 --- a/Magento1/js/werules/chatbot/chatbot.js +++ b/Magento1/js/werules/chatbot/chatbot.js @@ -1,50 +1,50 @@ // display/hide match mode function werulesTogleMatchMode(element) { - //debugger; - var val = element.value; - var name = element.name; - name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; - var target = document.getElementsByName(name); - if (val === 0) - target[0].disabled = false; - else - target[0].disabled = true; + //debugger; + var val = element.value; + var name = element.name; + name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; + var target = document.getElementsByName(name); + if (val === 0) + target[0].disabled = false; + else + target[0].disabled = true; } function werulesTogleEnable(element) { - //debugger; - // var val = element.value; - // var name = element.name; - // if (val == 0) - // { - // name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; - // var target = document.getElementsByName(name); - // target[0].disabled = false; - // } - // else - // { - // name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; - // var target = document.getElementsByName(name); - // target[0].disabled = true; - // } + //debugger; + // var val = element.value; + // var name = element.name; + // if (val == 0) + // { + // name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; + // var target = document.getElementsByName(name); + // target[0].disabled = false; + // } + // else + // { + // name = name.substr(0, name.lastIndexOf("[")) + "[similarity]"; + // var target = document.getElementsByName(name); + // target[0].disabled = true; + // } } // display/hide reply mode function werulesTogleReplyMode(element) { - //debugger; - var val = element.value; - var name = element.name; - name = name.substr(0, name.lastIndexOf("[")) + "[command_id]"; - var target = document.getElementsByName(name); - if (val === 0) - target[0].disabled = true; - else - { - //target[0].classList.remove("werules-disabled"); - //target[0].style = ""; - target[0].disabled = false; - } + //debugger; + var val = element.value; + var name = element.name; + name = name.substr(0, name.lastIndexOf("[")) + "[command_id]"; + var target = document.getElementsByName(name); + if (val === 0) + target[0].disabled = true; + else + { + //target[0].classList.remove("werules-disabled"); + //target[0].style = ""; + target[0].disabled = false; + } } \ No newline at end of file