From 2901a2c80eb1664594dd3d6ddc41b12af07111e5 Mon Sep 17 00:00:00 2001 From: vKham Date: Tue, 31 Jan 2012 09:21:47 +0000 Subject: [PATCH] // fix quicklinck dashboard git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12829 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminHomeController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/controllers/admin/AdminHomeController.php b/controllers/admin/AdminHomeController.php index 50490c44e..427792d9c 100644 --- a/controllers/admin/AdminHomeController.php +++ b/controllers/admin/AdminHomeController.php @@ -203,8 +203,8 @@ class AdminHomeControllerCore extends AdminController ); $quick_links['sixth'] = array( - 'href' => $this->context->link->getAdminLink('AdminOrders').'&id_order', - 'title' => $this->l('New admin order'), + 'href' => $this->context->link->getAdminLink('AdminCartRules').'&addcart_rule', + 'title' => $this->l('New Cart Rules'), 'description' => $this->l('Fill up your catalog with new articles and attributes.'), ); @@ -215,8 +215,8 @@ class AdminHomeControllerCore extends AdminController ); $quick_links['eighth'] = array( - 'href' => $this->context->link->getAdminLink('AdminCartRules').'&addcart_rule', - 'title' => $this->l('New Cart Rules'), + 'href' => $this->context->link->getAdminLink('AdminCarts').'&id_cart', + 'title' => $this->l('New Promote Carts'), 'description' => $this->l('Add a new employee account and discharge a part of your duties of shop owner.'), ); return $quick_links; @@ -470,7 +470,7 @@ class AdminHomeControllerCore extends AdminController $result['discover_prestashop'] = '
'.$this->getBlockDiscover().'
'; if (@fsockopen('api.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT)) - $result['discover_prestashop'] .= '
'; + $result['discover_prestashop'] .= '
'; else $result['discover_prestashop'] .= ''; @@ -547,7 +547,7 @@ class AdminHomeControllerCore extends AdminController $isoUser = Context::getContext()->language->iso_code; $isoCountry = Context::getContext()->country->iso_code; - $content = @file_get_contents($protocol.'://localhost:8888/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context); + $content = @file_get_contents($protocol.'://www.dev.prestashop.com/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context); if (!$content) return ''; // NOK