Ejemplo n.º 1
0
 protected function _prepareMassaction()
 {
     // Set massaction identifiers
     //--------------------------------
     $this->setMassactionIdField('main_table.id');
     $this->getMassactionBlock()->setFormFieldName('ids');
     //--------------------------------
     // Set delete action
     //--------------------------------
     $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('M2ePro')->__('Delete'), 'url' => $this->getUrl('*/*/delete'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?')));
     //--------------------------------
     return parent::_prepareMassaction();
 }
Ejemplo n.º 2
0
 protected function _prepareMassaction()
 {
     // Set massaction identifiers
     //--------------------------------
     $this->setMassactionIdField('main_table.id');
     $this->getMassactionBlock()->setFormFieldName('ids');
     //--------------------------------
     // Set delete action
     //--------------------------------
     $confirm = 'Be attentive! By deleting account you delete all information on it from M2E Pro server. ';
     $confirm .= 'This will cause inappropriate work of all accounts\' copies.';
     $confirm = Mage::helper('M2ePro')->__($confirm);
     $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('M2ePro')->__('Delete'), 'url' => $this->getUrl('*/*/delete'), 'confirm' => $confirm));
     //--------------------------------
     return parent::_prepareMassaction();
 }