failure.php (1512B)
1 <?php 2 class ControllerCheckoutFailure extends Controller { 3 public function index() { 4 $this->load->language('checkout/failure'); 5 6 $this->document->setTitle($this->language->get('heading_title')); 7 8 $data['breadcrumbs'] = array(); 9 10 $data['breadcrumbs'][] = array( 11 'text' => $this->language->get('text_home'), 12 'href' => $this->url->link('common/home') 13 ); 14 15 $data['breadcrumbs'][] = array( 16 'text' => $this->language->get('text_basket'), 17 'href' => $this->url->link('checkout/cart') 18 ); 19 20 $data['breadcrumbs'][] = array( 21 'text' => $this->language->get('text_checkout'), 22 'href' => $this->url->link('checkout/checkout', '', true) 23 ); 24 25 $data['breadcrumbs'][] = array( 26 'text' => $this->language->get('text_failure'), 27 'href' => $this->url->link('checkout/failure') 28 ); 29 30 $data['text_message'] = sprintf($this->language->get('text_message'), $this->url->link('information/contact')); 31 32 $data['continue'] = $this->url->link('common/home'); 33 34 $data['column_left'] = $this->load->controller('common/column_left'); 35 $data['column_right'] = $this->load->controller('common/column_right'); 36 $data['content_top'] = $this->load->controller('common/content_top'); 37 $data['content_bottom'] = $this->load->controller('common/content_bottom'); 38 $data['footer'] = $this->load->controller('common/footer'); 39 $data['header'] = $this->load->controller('common/header'); 40 41 $this->response->setOutput($this->load->view('common/success', $data)); 42 } 43 }