getOriginalData();
if (isset($elementOriginalData['process']))
{
$name = $elementOriginalData['process'];
}
else
{
return '
Action was not specified
';
}
$buttonSuffix = '';
if (isset($elementOriginalData['label']))
$buttonSuffix = ' ' . $elementOriginalData['label'];
$url = $this->getUrl('sebian/adminhtml_import/' . $name);
$html = $this->getLayout()->createBlock('adminhtml/widget_button')
->setType('button')
->setClass('import-cms')
->setLabel('Import' . $buttonSuffix)
->setOnClick("setLocation('$url')")
->toHtml();
return $html;
}
}