@@ -34,11 +34,11 @@ |
||
34 | 34 | $_['text_manufacturer'] = 'Manufacturer'; |
35 | 35 | $_['text_information'] = 'Information'; |
36 | 36 | $_['text_custom'] = 'Custom Link'; |
37 | -$_['text_confirm'] = 'Are you sure?'; |
|
37 | +$_['text_confirm'] = 'Are you sure?'; |
|
38 | 38 | |
39 | 39 | $_['text_custommenu_title'] = 'Custom Menu Structure'; |
40 | -$_['text_custommenu_description'] = 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.'; |
|
41 | -$_['text_sub_item'] = 'sub item'; |
|
40 | +$_['text_custommenu_description'] = 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.'; |
|
41 | +$_['text_sub_item'] = 'sub item'; |
|
42 | 42 | $_['text_custommenu_name'] = 'Name'; |
43 | 43 | $_['text_custommenu_link'] = 'Link'; |
44 | 44 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $_['text_default'] = 'Default'; |
35 | 35 | $_['text_content_top'] = 'Content Top'; |
36 | 36 | $_['text_content_bottom'] = 'Content Bottom'; |
37 | -$_['text_column'] = 'column Left'; |
|
37 | +$_['text_column'] = 'column Left'; |
|
38 | 38 | |
39 | 39 | // column |
40 | 40 | $_['column_name'] = 'Layout Name'; |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $_['text_review'] = 'Reviews'; |
34 | 34 | $_['text_front'] = 'Store Front'; |
35 | 35 | $_['text_logout'] = 'Logout'; |
36 | -$_['text_new'] = 'New'; |
|
36 | +$_['text_new'] = 'New'; |
|
37 | 37 | $_['text_new_category'] = 'Category'; |
38 | 38 | $_['text_new_customer'] = 'Customer'; |
39 | 39 | $_['text_new_download'] = 'Download'; |
@@ -141,4 +141,4 @@ |
||
141 | 141 | $_['error_warning'] = 'Warning: Please check the form carefully for errors!'; |
142 | 142 | $_['error_permission'] = 'Warning: You do not have permission to modify orders!'; |
143 | 143 | $_['error_action'] = 'Warning: Could not complete this action!'; |
144 | -$_['error_filetype'] = 'Invalid file type!'; |
|
144 | +$_['error_filetype'] = 'Invalid file type!'; |
@@ -36,13 +36,13 @@ |
||
36 | 36 | $_['text_sort_name'] = 'name'; |
37 | 37 | $_['text_sort_rated'] = 'rated'; |
38 | 38 | $_['text_sort_viewed'] = 'viewed'; |
39 | -$_['text_views'] = 'Views:'; |
|
39 | +$_['text_views'] = 'Views:'; |
|
40 | 40 | $_['text_date_asc'] = 'Date (Lowest)'; |
41 | 41 | $_['text_date_desc'] = 'Date (Highest)'; |
42 | -$_['text_viewed_asc'] = 'Viewed (Lowest)'; |
|
42 | +$_['text_viewed_asc'] = 'Viewed (Lowest)'; |
|
43 | 43 | $_['text_viewed_desc'] = 'Viewed (Highest)'; |
44 | -$_['text_name_asc'] = 'Name (A - Z)'; |
|
44 | +$_['text_name_asc'] = 'Name (A - Z)'; |
|
45 | 45 | $_['text_name_desc'] = 'Name (Z - A)'; |
46 | 46 | $_['text_default'] = 'Default'; |
47 | 47 | |
48 | -$_['button_more'] = 'more'; |
|
48 | +$_['button_more'] = 'more'; |
@@ -163,7 +163,7 @@ |
||
163 | 163 | 'description' => \voku\helper\UTF8::substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('configblog_article_description_length')) . '..', |
164 | 164 | 'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added'])), |
165 | 165 | 'viewed' => $result['viewed'], |
166 | - 'reviews' => sprintf($this->language->get('text_reviews'), (int) $result['reviews']), |
|
166 | + 'reviews' => sprintf($this->language->get('text_reviews'), (int)$result['reviews']), |
|
167 | 167 | 'href' => $this->url->link('blog/article', '&article_id=' . $result['article_id']) |
168 | 168 | ); |
169 | 169 | } |
@@ -73,7 +73,7 @@ |
||
73 | 73 | $this->log['query_total_time'] = 0; |
74 | 74 | } |
75 | 75 | |
76 | - $this->log['query_total_time'] = (float) $this->log['query_total_time'] + (float) $exec_time; |
|
76 | + $this->log['query_total_time'] = (float)$this->log['query_total_time'] + (float)$exec_time; |
|
77 | 77 | $this->log['file'] = $pureFile; |
78 | 78 | $this->log['time'] = $exec_time; |
79 | 79 | $this->log['query'] = \SqlFormatter::format($sql); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | ); |
39 | 39 | |
40 | 40 | if (isset($this->request->get['information_id'])) { |
41 | - $information_id = (int) $this->request->get['information_id']; |
|
41 | + $information_id = (int)$this->request->get['information_id']; |
|
42 | 42 | } else { |
43 | 43 | $information_id = 0; |
44 | 44 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | $data['breadcrumbs'][] = array( |
69 | 69 | 'text' => $information_info[0]['title'], |
70 | - 'href' => $this->url->link('information/information', 'information_id=' . $information_id) |
|
70 | + 'href' => $this->url->link('information/information', 'information_id=' . $information_id) |
|
71 | 71 | ); |
72 | 72 | |
73 | 73 | $data['button_continue'] = $this->language->get('button_continue'); |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $this->load->model('catalog/information'); |
118 | 118 | |
119 | 119 | if (isset($this->request->get['information_id'])) { |
120 | - $information_id = (int) $this->request->get['information_id']; |
|
120 | + $information_id = (int)$this->request->get['information_id']; |
|
121 | 121 | } else { |
122 | 122 | $information_id = 0; |
123 | 123 | } |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | SELECT DISTINCT * |
30 | 30 | FROM information i |
31 | 31 | LEFT JOIN information_description id ON (i.information_id = id.information_id) |
32 | - WHERE i.information_id = '" . (int) $information_id . "' |
|
33 | - AND id.language_id = '" . (int) $this->config->get('config_language_id') . "' |
|
32 | + WHERE i.information_id = '" . (int)$information_id . "' |
|
33 | + AND id.language_id = '" . (int)$this->config->get('config_language_id') . "' |
|
34 | 34 | AND i.status = '1' |
35 | 35 | "); |
36 | 36 | |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | ->select('DISTINCT *') |
42 | 42 | ->from('information', 'i') |
43 | 43 | ->leftJoin('i', 'information_description', 'id', 'i.information_id = id.information_id') |
44 | - ->where('i.information_id = ' . (int) $information_id) |
|
45 | - ->andWhere('id.language_id = ' . (int) $this->config->get('config_language_id')) |
|
44 | + ->where('i.information_id = ' . (int)$information_id) |
|
45 | + ->andWhere('id.language_id = ' . (int)$this->config->get('config_language_id')) |
|
46 | 46 | ->andWhere('i.status = 1') |
47 | 47 | ->execute() |
48 | 48 | ->fetchAll(); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | SELECT * |
60 | 60 | FROM information i |
61 | 61 | LEFT JOIN information_description id ON (i.information_id = id.information_id) |
62 | - WHERE id.language_id = '" . (int) $this->config->get('config_language_id') . "' |
|
62 | + WHERE id.language_id = '" . (int)$this->config->get('config_language_id') . "' |
|
63 | 63 | AND i.status = '1' |
64 | 64 | ORDER BY i.sort_order, |
65 | 65 | LCASE(id.title) ASC |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $query = $this->db->query(" |
74 | 74 | SELECT * |
75 | 75 | FROM information_to_layout |
76 | - WHERE information_id = '" . (int) $information_id . "' |
|
76 | + WHERE information_id = '" . (int)$information_id . "' |
|
77 | 77 | "); |
78 | 78 | |
79 | 79 | if ($query->num_rows) { |