@@ -92,34 +92,34 @@ discard block |
||
92 | 92 | $link = (int)$data['id']; |
93 | 93 | |
94 | 94 | if ($data['type'] == 'information') { |
95 | - $fields = 'title AS name, '.$data['type'].'_id, language_id'; |
|
95 | + $fields = 'title AS name, ' . $data['type'] . '_id, language_id'; |
|
96 | 96 | } else { |
97 | - $fields = 'name, '.$data['type'].'_id, language_id'; |
|
97 | + $fields = 'name, ' . $data['type'] . '_id, language_id'; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | if ($data['type'] != 'manufacturer') { |
101 | 101 | $query = $this->db->query(" |
102 | 102 | SELECT " . $fields . " F |
103 | 103 | ROM " . $data['type'] . "_description |
104 | - WHERE ". $data['type'] ."_id = '" . (int)$data['id'] . "' |
|
104 | + WHERE ". $data['type'] . "_id = '" . (int)$data['id'] . "' |
|
105 | 105 | "); |
106 | 106 | |
107 | 107 | $data['custommenu_desc'] = $query->rows; |
108 | 108 | } else { |
109 | - $fields = 'name, '.$data['type'].'_id '; |
|
109 | + $fields = 'name, ' . $data['type'] . '_id '; |
|
110 | 110 | |
111 | 111 | $query = $this->db->query(" |
112 | 112 | SELECT " . $fields . " |
113 | 113 | FROM " . $data['type'] . " |
114 | - WHERE ". $data['type'] ."_id = '" . (int)$data['id'] . "' |
|
114 | + WHERE ". $data['type'] . "_id = '" . (int)$data['id'] . "' |
|
115 | 115 | "); |
116 | - $result = array(); |
|
116 | + $result = array(); |
|
117 | 117 | |
118 | 118 | foreach ($languages as $language) { |
119 | 119 | $result[] = array('name' => $query->row['name'], 'manufacturer_id' => $query->row['manufacturer_id'], 'language_id' => $language['language_id']); |
120 | 120 | }; |
121 | 121 | |
122 | - $data['custommenu_desc'] = $result; |
|
122 | + $data['custommenu_desc'] = $result; |
|
123 | 123 | } |
124 | 124 | } |
125 | 125 | |
@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | |
417 | 417 | $this->db->query(" |
418 | 418 | INSERT INTO custommenu_child |
419 | - SET custommenu_id = '" . $data['custommenu-item-parent-id'][$key] ."', s |
|
419 | + SET custommenu_id = '" . $data['custommenu-item-parent-id'][$key] . "', s |
|
420 | 420 | ort_order = '" . (int)$insertData->row['sort_order'] . "', |
421 | 421 | custommenu_type = '" . $insertData->row['custommenu_type'] . "', |
422 | 422 | status = '1' |
@@ -166,7 +166,7 @@ |
||
166 | 166 | $query = $this->db->query(" |
167 | 167 | SELECT COUNT(*) AS total |
168 | 168 | FROM product_to_sticker |
169 | - WHERE sticker_id IN (". $selected .") |
|
169 | + WHERE sticker_id IN (". $selected . ") |
|
170 | 170 | "); |
171 | 171 | |
172 | 172 | return $query->row['total']; |
@@ -21,10 +21,10 @@ |
||
21 | 21 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
22 | 22 | |
23 | 23 | // Heading |
24 | -$_['heading_title'] = 'Error Log'; |
|
24 | +$_['heading_title'] = 'Error Log'; |
|
25 | 25 | |
26 | 26 | // Text |
27 | -$_['text_success'] = 'Success: You have successfully cleared your error log!'; |
|
27 | +$_['text_success'] = 'Success: You have successfully cleared your error log!'; |
|
28 | 28 | $_['text_list'] = 'Errors List'; |
29 | 29 | |
30 | 30 | // Error |
@@ -31,4 +31,4 @@ |
||
31 | 31 | |
32 | 32 | |
33 | 33 | // Error |
34 | -$_['error_permission'] = 'Warning: You do not have permission to modify updater!'; |
|
34 | +$_['error_permission'] = 'Warning: You do not have permission to modify updater!'; |
@@ -27,9 +27,9 @@ discard block |
||
27 | 27 | $_['text_success'] = 'Success: You have modified SEO Keyword!'; |
28 | 28 | $_['text_success_clear'] = 'SEO URL cache successfully reset!'; |
29 | 29 | $_['text_default'] = 'Default'; |
30 | -$_['text_module'] = 'Modules'; |
|
30 | +$_['text_module'] = 'Modules'; |
|
31 | 31 | $_['button_clear_cache'] = 'Reset cache'; |
32 | -$_['button_insert'] = 'Add New'; |
|
32 | +$_['button_insert'] = 'Add New'; |
|
33 | 33 | |
34 | 34 | // column |
35 | 35 | $_['column_query'] = 'URL'; |
@@ -41,15 +41,15 @@ discard block |
||
41 | 41 | $_['entry_meta_title'] = 'Meta Title'; |
42 | 42 | $_['entry_html_h1'] = 'Html Tag H1'; |
43 | 43 | $_['entry_meta_description'] = 'Meta Tag Description'; |
44 | -$_['entry_description'] = 'Description'; |
|
44 | +$_['entry_description'] = 'Description'; |
|
45 | 45 | |
46 | 46 | // tab |
47 | 47 | $_['tab_seourl'] = 'SEO URL'; |
48 | -$_['tab_meta'] = 'Meta'; |
|
48 | +$_['tab_meta'] = 'Meta'; |
|
49 | 49 | $_['tab_special'] = 'Special'; |
50 | 50 | $_['tab_bestseller'] = 'Bestseller'; |
51 | 51 | $_['tab_latest'] = 'Latest'; |
52 | 52 | $_['tab_mostviewed'] = 'Mostviewed'; |
53 | 53 | |
54 | 54 | // Error |
55 | -$_['error_permission'] = 'Warning: You do not have permission to modify module SEO Manager!'; |
|
55 | +$_['error_permission'] = 'Warning: You do not have permission to modify module SEO Manager!'; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $_['entry_name'] = 'Category Name'; |
42 | 42 | $_['entry_description'] = 'Description'; |
43 | 43 | $_['entry_meta_title'] = 'Meta Tag Title'; |
44 | -$_['entry_meta_h1'] = 'HTML Tag H1'; |
|
44 | +$_['entry_meta_h1'] = 'HTML Tag H1'; |
|
45 | 45 | $_['entry_meta_description'] = 'Meta Tag Description'; |
46 | 46 | $_['entry_keyword'] = 'SEO Keyword'; |
47 | 47 | $_['entry_parent'] = 'Parent'; |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | $_['entry_article_description_length'] = 'List Description Limit (Catalog)'; |
35 | 35 | $_['entry_limit_admin'] = 'Default Items Per Page (Admin)'; |
36 | 36 | $_['entry_article_count'] = 'Category article Count'; |
37 | -$_['entry_blog_menu'] = 'Top menu'; |
|
38 | -$_['entry_article_download'] = 'Allow downloads'; |
|
37 | +$_['entry_blog_menu'] = 'Top menu'; |
|
38 | +$_['entry_article_download'] = 'Allow downloads'; |
|
39 | 39 | $_['entry_review'] = 'Allow Reviews'; |
40 | 40 | $_['entry_review_guest'] = 'Allow Guest Reviews'; |
41 | 41 | $_['entry_review_mail'] = 'New Review Alert Mail'; |
@@ -55,14 +55,14 @@ discard block |
||
55 | 55 | $_['help_limit_admin'] = 'Determines how many admin items are shown per page (articles, categories, etc).'; |
56 | 56 | $_['help_article_count'] = 'Show the number of articles inside the subcategories in the storefront header category menu. Be warned, this will cause an extreme performance hit for stores with a lot of subcategories!'; |
57 | 57 | $_['help_blog_menu'] = 'Show the top horizontal menu link on the blog.'; |
58 | -$_['help_review'] = 'Enable/Disable new review entry and display of existing reviews.'; |
|
59 | -$_['help_review_guest'] = 'Allow guests to post reviews.'; |
|
58 | +$_['help_review'] = 'Enable/Disable new review entry and display of existing reviews.'; |
|
59 | +$_['help_review_guest'] = 'Allow guests to post reviews.'; |
|
60 | 60 | $_['help_review_mail'] = 'Send an email to the store owner when a new review is created.'; |
61 | 61 | |
62 | 62 | // Error |
63 | 63 | $_['error_warning'] = 'Warning: Please check the form carefully for errors!'; |
64 | 64 | $_['error_permission'] = 'Warning: You do not have permission to modify settings!'; |
65 | -$_['error_limit'] = 'Limit required!'; |
|
65 | +$_['error_limit'] = 'Limit required!'; |
|
66 | 66 | $_['error_image_article'] = 'Article List Size dimensions required!'; |
67 | 67 | $_['error_image_category'] = 'Category List Size dimensions required!'; |
68 | 68 | $_['error_image_related'] = 'Related article Image Size dimensions required!'; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $_['entry_name'] = 'Article Name'; |
42 | 42 | $_['entry_description'] = 'Article'; |
43 | 43 | $_['entry_meta_title'] = 'Meta Tag Title'; |
44 | -$_['entry_meta_h1'] = 'HTML Tag H1'; |
|
44 | +$_['entry_meta_h1'] = 'HTML Tag H1'; |
|
45 | 45 | $_['entry_meta_description'] = 'Meta Tag Description'; |
46 | 46 | $_['entry_keyword'] = 'SEO URL'; |
47 | 47 | $_['entry_image'] = 'Image'; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $_['entry_download'] = 'Downloads'; |
54 | 54 | $_['entry_related'] = 'Related Article'; |
55 | 55 | $_['entry_related_product'] = 'Related Products'; |
56 | -$_['entry_tag'] = 'Product Tags'; |
|
56 | +$_['entry_tag'] = 'Product Tags'; |
|
57 | 57 | $_['entry_layout'] = 'Layout Override'; |
58 | 58 | |
59 | 59 | // Help |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $_['help_download'] = '(Autocomplete)'; |
63 | 63 | $_['help_related'] = '(Autocomplete)'; |
64 | 64 | $_['help_related_product'] = '(Autocomplete)'; |
65 | -$_['help_tag'] = 'comma separated'; |
|
65 | +$_['help_tag'] = 'comma separated'; |
|
66 | 66 | $_['help_noindex'] = 'indexing in search engines Google, Bing and other'; |
67 | 67 | |
68 | 68 | // Error |
@@ -70,5 +70,5 @@ discard block |
||
70 | 70 | $_['error_permission'] = 'Warning: You do not have permission to modify products!'; |
71 | 71 | $_['error_name'] = 'Product Name must be greater than 3 and less than 255 characters!'; |
72 | 72 | $_['error_meta_title'] = 'Meta Title must be greater than 0 and less than 255 characters!'; |
73 | -$_['error_meta_h1'] = 'HTML Tag H1 must be greater than 0 and less than 255 characters!'; |
|
73 | +$_['error_meta_h1'] = 'HTML Tag H1 must be greater than 0 and less than 255 characters!'; |
|
74 | 74 | $_['error_keyword'] = 'SEO keyword already in use!'; |
@@ -21,23 +21,23 @@ |
||
21 | 21 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
22 | 22 | |
23 | 23 | // Heading |
24 | -$_['heading_title'] = 'Cheque / Money Order'; |
|
24 | +$_['heading_title'] = 'Cheque / Money Order'; |
|
25 | 25 | |
26 | 26 | // Text |
27 | -$_['text_extension'] = 'Extensions'; |
|
28 | -$_['text_success'] = 'Success: You have modified cheque / money order account details!'; |
|
29 | -$_['text_edit'] = 'Edit Cheque / Money Order'; |
|
27 | +$_['text_extension'] = 'Extensions'; |
|
28 | +$_['text_success'] = 'Success: You have modified cheque / money order account details!'; |
|
29 | +$_['text_edit'] = 'Edit Cheque / Money Order'; |
|
30 | 30 | |
31 | 31 | // Entry |
32 | 32 | $_['entry_payable'] = 'Payable To'; |
33 | -$_['entry_total'] = 'Total'; |
|
33 | +$_['entry_total'] = 'Total'; |
|
34 | 34 | $_['entry_order_status'] = 'Order Status'; |
35 | 35 | $_['entry_geo_zone'] = 'Geo Zone'; |
36 | -$_['entry_status'] = 'Status'; |
|
37 | -$_['entry_sort_order'] = 'Sort Order'; |
|
36 | +$_['entry_status'] = 'Status'; |
|
37 | +$_['entry_sort_order'] = 'Sort Order'; |
|
38 | 38 | |
39 | 39 | // Help |
40 | -$_['help_total'] = 'The checkout total the order must reach before this payment method becomes active.'; |
|
40 | +$_['help_total'] = 'The checkout total the order must reach before this payment method becomes active.'; |
|
41 | 41 | |
42 | 42 | // Error |
43 | 43 | $_['error_permission'] = 'Warning: You do not have permission to modify payment cheque / money order!'; |