[+] Classes : added new class Media => It contains all the method related to media like CSS, JS

[+] Classes : added new method Media::addJquery(), Media::addJqueryUI(), Media::addJqueryPlugin()
[~] Deprecated : All method related to CCC has been moved in class Media
This commit is contained in:
vAugagneur
2011-09-30 13:01:10 +00:00
parent 6f2d02442d
commit e8901103e3
289 changed files with 5588 additions and 3517 deletions
+2 -2
View File
@@ -132,13 +132,13 @@ function smarty_modifier_truncate($string, $length = 80, $etc = '...', $break_wo
function smartyMinifyHTML($tpl_output, &$smarty)
{
$tpl_output = Tools::minifyHTML($tpl_output);
$tpl_output = Media::minifyHTML($tpl_output);
return $tpl_output;
}
function smartyPackJSinHTML($tpl_output, &$smarty)
{
$tpl_output = Tools::packJSinHTML($tpl_output);
$tpl_output = Media::packJSinHTML($tpl_output);
return $tpl_output;
}