// Moved html and js compression from global smarty config to front office smarty config
This commit is contained in:
1 parent
f9b3174b9c
commit
288021224c
3 files changed
+6
-5
No files matched your search
@@ -546,6 +546,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
|
|||||||
|
|
||||||
.default_modules_list_display_type #modules_list_container_content li table tr td{border: none}
|
.default_modules_list_display_type #modules_list_container_content li table tr td{border: none}
|
||||||
.default_modules_list_display_type #modules_list_container_content li table {border: solid 1px #ccc; height: 115px}
|
.default_modules_list_display_type #modules_list_container_content li table {border: solid 1px #ccc; height: 115px}
|
||||||
|
#modules_list_container_tab ul li {margin:5px;height:140px}
|
||||||
|
|
||||||
/*MODULE POSITION*/
|
/*MODULE POSITION*/
|
||||||
.blocLiveEdit { float:right; clear:right; background-color: #EBEDF4; border: 1px solid #C2C4D9;display: block; width:250px;}
|
.blocLiveEdit { float:right; clear:right; background-color: #EBEDF4; border: 1px solid #C2C4D9;display: block; width:250px;}
|
||||||
|
|||||||
@@ -55,11 +55,6 @@ if (defined('_PS_ADMIN_DIR_'))
|
|||||||
else
|
else
|
||||||
require_once (dirname(__FILE__).'/smartyfront.config.inc.php');
|
require_once (dirname(__FILE__).'/smartyfront.config.inc.php');
|
||||||
|
|
||||||
if (Configuration::get('PS_HTML_THEME_COMPRESSION'))
|
|
||||||
$smarty->registerFilter('output', 'smartyMinifyHTML');
|
|
||||||
if (Configuration::get('PS_JS_HTML_THEME_COMPRESSION'))
|
|
||||||
$smarty->registerFilter('output', 'smartyPackJSinHTML');
|
|
||||||
|
|
||||||
smartyRegisterFunction($smarty, 'modifier', 'truncate', 'smarty_modifier_truncate');
|
smartyRegisterFunction($smarty, 'modifier', 'truncate', 'smarty_modifier_truncate');
|
||||||
smartyRegisterFunction($smarty, 'modifier', 'secureReferrer', array('Tools', 'secureReferrer'));
|
smartyRegisterFunction($smarty, 'modifier', 'secureReferrer', array('Tools', 'secureReferrer'));
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,11 @@
|
|||||||
global $smarty;
|
global $smarty;
|
||||||
$smarty->setTemplateDir(_PS_THEME_DIR_.'tpl');
|
$smarty->setTemplateDir(_PS_THEME_DIR_.'tpl');
|
||||||
|
|
||||||
|
if (Configuration::get('PS_HTML_THEME_COMPRESSION'))
|
||||||
|
$smarty->registerFilter('output', 'smartyMinifyHTML');
|
||||||
|
if (Configuration::get('PS_JS_HTML_THEME_COMPRESSION'))
|
||||||
|
$smarty->registerFilter('output', 'smartyPackJSinHTML');
|
||||||
|
|
||||||
function smartyTranslate($params, &$smarty)
|
function smartyTranslate($params, &$smarty)
|
||||||
{
|
{
|
||||||
global $_LANG;
|
global $_LANG;
|
||||||
|
|||||||
Reference in new issue
Block a user