Skip to content

Commit

Permalink
Merge pull request opencart#166 from ocshop/master
Browse files Browse the repository at this point in the history
догоняем оригинал
  • Loading branch information
ocshop committed Oct 13, 2015
2 parents 82762e8 + 6a6a6f0 commit 94b5f4a
Show file tree
Hide file tree
Showing 381 changed files with 1,026 additions and 863 deletions.
2 changes: 1 addition & 1 deletion upload/admin/controller/analytics/google_analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class ControllerAnalyticsGoogleAnalytics extends Controller {
private $error = array();

public function index() {
$this->load->language('analytics/google_analytics');
$this->language->load('analytics/google_analytics');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/captcha/basic_captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class ControllerCaptchaBasicCaptcha extends Controller {
private $error = array();

public function index() {
$this->load->language('captcha/basic_captcha');
$this->language->load('captcha/basic_captcha');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/captcha/google_captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class ControllerCaptchaGoogleCaptcha extends Controller {
private $error = array();

public function index() {
$this->load->language('captcha/google_captcha');
$this->language->load('captcha/google_captcha');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
6 changes: 3 additions & 3 deletions upload/admin/controller/catalog/recurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function add() {
}

public function edit() {
$this->load->language('catalog/recurring');
$this->language->load('catalog/recurring');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -84,7 +84,7 @@ public function edit() {
}

public function delete() {
$this->load->language('catalog/recurring');
$this->language->load('catalog/recurring');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -118,7 +118,7 @@ public function delete() {
}

public function copy() {
$this->load->language('catalog/recurring');
$this->language->load('catalog/recurring');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
8 changes: 4 additions & 4 deletions upload/admin/controller/catalog/review.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ControllerCatalogReview extends Controller {
private $error = array();

public function index() {
$this->load->language('catalog/review');
$this->language->load('catalog/review');

$this->document->setTitle($this->language->get('heading_title'));

Expand All @@ -20,7 +20,7 @@ public function index() {
}

public function add() {
$this->load->language('catalog/review');
$this->language->load('catalog/review');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -68,7 +68,7 @@ public function add() {
}

public function edit() {
$this->load->language('catalog/review');
$this->language->load('catalog/review');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -116,7 +116,7 @@ public function edit() {
}

public function delete() {
$this->load->language('catalog/review');
$this->language->load('catalog/review');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonDashboard extends Controller {
public function index() {
$this->load->language('common/dashboard');
$this->language->load('common/dashboard');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
8 changes: 4 additions & 4 deletions upload/admin/controller/common/filemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonFileManager extends Controller {
public function index() {
$this->load->language('common/filemanager');
$this->language->load('common/filemanager');

if (isset($this->request->get['filter_name'])) {
$filter_name = rtrim(str_replace(array('../', '..\\', '..', '*'), '', $this->request->get['filter_name']), '/');
Expand Down Expand Up @@ -206,7 +206,7 @@ public function index() {
}

public function upload() {
$this->load->language('common/filemanager');
$this->language->load('common/filemanager');

$json = array();

Expand Down Expand Up @@ -289,7 +289,7 @@ public function upload() {
}

public function folder() {
$this->load->language('common/filemanager');
$this->language->load('common/filemanager');

$json = array();

Expand Down Expand Up @@ -337,7 +337,7 @@ public function folder() {
}

public function delete() {
$this->load->language('common/filemanager');
$this->language->load('common/filemanager');

$json = array();

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonFooter extends Controller {
public function index() {
$this->load->language('common/footer');
$this->language->load('common/footer');

$data['text_footer'] = $this->language->get('text_footer');

Expand Down
4 changes: 2 additions & 2 deletions upload/admin/controller/common/forgotten.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ public function index() {
$this->response->redirect($this->url->link('common/login', '', 'SSL'));
}

$this->load->language('common/forgotten');
$this->language->load('common/forgotten');

$this->document->setTitle($this->language->get('heading_title'));

$this->load->model('user/user');

if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
$this->load->language('mail/forgotten');
$this->language->load('mail/forgotten');

$code = sha1(uniqid(mt_rand(), true));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function index() {
$data['lang'] = $this->language->get('code');
$data['direction'] = $this->language->get('direction');

$this->load->language('common/header');
$this->language->load('common/header');

$data['heading_title'] = $this->language->get('heading_title');

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ControllerCommonLogin extends Controller {
private $error = array();

public function index() {
$this->load->language('common/login');
$this->language->load('common/login');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonMenu extends Controller {
public function index() {
$this->load->language('common/menu');
$this->language->load('common/menu');

$data['text_analytics'] = $this->language->get('text_analytics');
$data['text_affiliate'] = $this->language->get('text_affiliate');
Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonProfile extends Controller {
public function index() {
$this->load->language('common/menu');
$this->language->load('common/menu');

$this->load->model('user/user');

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function index() {
$user_info = $this->model_user_user->getUserByCode($code);

if ($user_info) {
$this->load->language('common/reset');
$this->language->load('common/reset');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/controller/common/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ControllerCommonStats extends Controller {
public function index() {
$this->load->language('common/stats');
$this->language->load('common/stats');

$data['text_complete_status'] = $this->language->get('text_complete_status');
$data['text_processing_status'] = $this->language->get('text_processing_status');
Expand Down
8 changes: 4 additions & 4 deletions upload/admin/controller/customer/custom_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ControllerCustomerCustomField extends Controller {
private $error = array();

public function index() {
$this->load->language('customer/custom_field');
$this->language->load('customer/custom_field');

$this->document->setTitle($this->language->get('heading_title'));

Expand All @@ -20,7 +20,7 @@ public function index() {
}

public function add() {
$this->load->language('customer/custom_field');
$this->language->load('customer/custom_field');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -52,7 +52,7 @@ public function add() {
}

public function edit() {
$this->load->language('customer/custom_field');
$this->language->load('customer/custom_field');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -84,7 +84,7 @@ public function edit() {
}

public function delete() {
$this->load->language('customer/custom_field');
$this->language->load('customer/custom_field');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down
28 changes: 14 additions & 14 deletions upload/admin/controller/customer/customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ControllerCustomerCustomer extends Controller {
private $error = array();

public function index() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand All @@ -20,7 +20,7 @@ public function index() {
}

public function add() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -80,7 +80,7 @@ public function add() {
}

public function edit() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -140,7 +140,7 @@ public function edit() {
}

public function delete() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -202,7 +202,7 @@ public function delete() {
}

public function approve() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -270,7 +270,7 @@ public function approve() {
}

public function unlock() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -1174,7 +1174,7 @@ public function login() {
$this->response->redirect(HTTP_CATALOG . 'index.php?route=account/login&token=' . $token);
}
} else {
$this->load->language('error/not_found');
$this->language->load('error/not_found');

$this->document->setTitle($this->language->get('heading_title'));

Expand Down Expand Up @@ -1203,7 +1203,7 @@ public function login() {
}

public function history() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->load->model('customer/customer');

Expand Down Expand Up @@ -1245,7 +1245,7 @@ public function history() {
}

public function addHistory() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$json = array();

Expand All @@ -1264,7 +1264,7 @@ public function addHistory() {
}

public function transaction() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->load->model('customer/customer');

Expand Down Expand Up @@ -1311,7 +1311,7 @@ public function transaction() {
}

public function addTransaction() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$json = array();

Expand All @@ -1330,7 +1330,7 @@ public function addTransaction() {
}

public function reward() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->load->model('customer/customer');

Expand Down Expand Up @@ -1377,7 +1377,7 @@ public function reward() {
}

public function addReward() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$json = array();

Expand All @@ -1396,7 +1396,7 @@ public function addReward() {
}

public function ip() {
$this->load->language('customer/customer');
$this->language->load('customer/customer');

$this->load->model('customer/customer');

Expand Down
Loading

0 comments on commit 94b5f4a

Please sign in to comment.