47 lines
1.6 KiB
PHP
47 lines
1.6 KiB
PHP
<?php
|
|
// * @source See SOURCE.txt for source and other copyright.
|
|
// * @license GNU General Public License version 3; see LICENSE.txt
|
|
|
|
class ControllerCheckoutFailure extends Controller {
|
|
public function index() {
|
|
$this->load->language('checkout/failure');
|
|
|
|
$this->document->setTitle($this->language->get('heading_title'));
|
|
$this->document->setRobots('noindex,follow');
|
|
|
|
$data['breadcrumbs'] = array();
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('text_home'),
|
|
'href' => $this->url->link('common/home')
|
|
);
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('text_basket'),
|
|
'href' => $this->url->link('checkout/cart')
|
|
);
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('text_checkout'),
|
|
'href' => $this->url->link('checkout/checkout', '', true)
|
|
);
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('text_failure'),
|
|
'href' => $this->url->link('checkout/failure')
|
|
);
|
|
|
|
$data['text_message'] = sprintf($this->language->get('text_message'), $this->url->link('information/contact'));
|
|
|
|
$data['continue'] = $this->url->link('common/home');
|
|
|
|
$data['column_left'] = $this->load->controller('common/column_left');
|
|
$data['column_right'] = $this->load->controller('common/column_right');
|
|
$data['content_top'] = $this->load->controller('common/content_top');
|
|
$data['content_bottom'] = $this->load->controller('common/content_bottom');
|
|
$data['footer'] = $this->load->controller('common/footer');
|
|
$data['header'] = $this->load->controller('common/header');
|
|
|
|
$this->response->setOutput($this->load->view('common/success', $data));
|
|
}
|
|
} |