{/if}
{/foreach}
diff --git a/classes/controller/Controller.php b/classes/controller/Controller.php
index 27ebaf040..5309aca01 100644
--- a/classes/controller/Controller.php
+++ b/classes/controller/Controller.php
@@ -334,12 +334,14 @@ abstract class ControllerCore
}
}
else
+ {
$plugin_path = Media::getJqueryPluginPath($name, $folder);
if(!empty($plugin_path['css']))
$this->addCSS($plugin_path['css']);
if(!empty($plugin_path['js']))
$this->addJS($plugin_path['js']);
+ }
}
/**
diff --git a/controllers/front/OrderDetailController.php b/controllers/front/OrderDetailController.php
index a5f9321c1..1130bbc85 100644
--- a/controllers/front/OrderDetailController.php
+++ b/controllers/front/OrderDetailController.php
@@ -26,6 +26,8 @@
class OrderDetailControllerCore extends FrontController
{
+ public $php_self = 'order-detail';
+
public $auth = true;
public $authRedirection = 'history';
public $ssl = true;
diff --git a/install-dev/langs/pl/install.php b/install-dev/langs/pl/install.php
index 7b23e1327..ba2a0767e 100644
--- a/install-dev/langs/pl/install.php
+++ b/install-dev/langs/pl/install.php
@@ -82,7 +82,7 @@ return array(
'You must enter a database login' => 'Podaj login dla bazy danych',
'Tables prefix is invalid' => 'Prefiks tebeli jest niepoprawny ',
'Wrong engine chosen for MySQL' => 'Silnik dla MySQL jest niepoprawny',
- 'Cannot convert database data to utf-8' => 'Nie można przekonwertowąć bazy danych na utf-8',
+ 'Cannot convert database data to utf-8' => 'Nie można przekonwertować bazy danych na utf-8',
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Co najmniej jedna tabela z tym samym prefiksem została znaleziona - proszę zmienić aktualny prefiks lub usunąć istniejące tabele.',
'Database Server is not found. Please verify the login, password and server fields' => 'Nie można połączyć się z serwerem bazy danych. Sprawdź swój login i hasło.',
'Connection to MySQL server succeeded, but database "%s" not found' => 'Połączenie do serwera MySQL odbyło się poprawnie lecz baza danych "%is" nie została znaleziona.',
diff --git a/js/retro-compat.js.php b/js/retro-compat.js.php
index 33aee8c9f..361f0caa9 100755
--- a/js/retro-compat.js.php
+++ b/js/retro-compat.js.php
@@ -3,7 +3,8 @@
include('../config/config.inc.php');
header('content-type: application/x-javascript');
-$plugins_folder = __DIR__.'/jquery/plugins/';
+$jquery_folder = dirname(__FILE__).'/jquery/';
+$plugins_folder = $jquery_folder.'plugins/';
$plugins = array(
'ajaxfileupload.js' =>
@@ -51,7 +52,7 @@ $plugins = array(
'jquery.hoverIntent.minified.js' =>
array('new_file' => $plugins_folder.'jquery.hoverIntent.js', 'name' => 'hoverIntent'),
'jquery-ui-1.8.10.custom.min.js' =>
- array('new_file' => __DIR__.'/jquery/jquery-ui.will.be.removed.in.1.6.js', 'name' => ''),
+ array('new_file' => $jquery_folder.'jquery-ui.will.be.removed.in.1.6.js', 'name' => ''),
'jquery.treeview.async.js' =>
array('new_file' => $plugins_folder.'treeview-categories/jquery.treeview-categories.async.js', 'name' => 'treeview-categories.async'),
'jquery.treeview.edit.js' =>