diff options
author | robocoder <anthon.pang@gmail.com> | 2009-10-30 23:24:15 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-10-30 23:24:15 +0300 |
commit | 1c28b866cdced47c8e35d621b272ee79b014d09a (patch) | |
tree | 9d5b367d8bfa0c60bf860e5d353802a5fdccc31d /core/SmartyPlugins | |
parent | 2e52453c9d8f9b4e690ec4dd4b902f9d82ad752b (diff) |
fixes #510 - Update jquery.js
* update jQuery to 1.3.2
* add jquery-ui.js 1.7.2
* move loading of external .css before scripts
* remove ui.mouse.js
* remove ui.sortable_modif.js
git-svn-id: http://dev.piwik.org/svn/trunk@1553 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/SmartyPlugins')
-rw-r--r-- | core/SmartyPlugins/outputfilter.ajaxcdn.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/SmartyPlugins/outputfilter.ajaxcdn.php b/core/SmartyPlugins/outputfilter.ajaxcdn.php index 8a9c692524..7c2de1e65e 100644 --- a/core/SmartyPlugins/outputfilter.ajaxcdn.php +++ b/core/SmartyPlugins/outputfilter.ajaxcdn.php @@ -35,15 +35,18 @@ function smarty_outputfilter_ajaxcdn($source, &$smarty) } $jquery_version = Zend_Registry::get('config')->General->jquery_version; + $jqueryui_version = Zend_Registry::get('config')->General->jqueryui_version; $swfobject_version = Zend_Registry::get('config')->General->swfobject_version; $pattern = array( '~<script type="text/javascript" src="libs/jquery/jquery\.js([^"]*)">~', + '~<script type="text/javascript" src="libs/jquery/jquery-ui\.js([^"]*)">~', '~<script type="text/javascript" src="libs/swfobject/swfobject\.js([^"]*)">~', ); $replace = array( '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/'.$jquery_version.'/jquery.min.js">', + '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/'.$jqueryui_version.'/jquery-ui.min.js">', '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/'.$swfobject_version.'/swfobject.js">', ); |