- added 2 missing embellish_url

- fix css (admin bakground not existing; public IE image border)

git-svn-id: http://piwigo.org/svn/trunk@13167 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2012-02-14 21:38:41 +00:00
parent 53e9acff6b
commit 45fbfcf504
3 changed files with 20 additions and 6 deletions
+2 -2
View File
@@ -453,7 +453,7 @@ class Template {
$content = array();
foreach( $css as $file_ver )
{
$href = get_root_url() . $file_ver[0];
$href = embellish_url(get_root_url().$file_ver[0]);
if ($file_ver[1] !== false)
$href .= '?v' . ($file_ver[1] ? $file_ver[1] : PHPWG_VERSION);
// trigger the event for eventual use of a cdn
@@ -683,7 +683,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
$ret = $script->path;
else
{
$ret = get_root_url().$script->path;
$ret = embellish_url(get_root_url().$script->path);
if ($script->version!==false)
{
$ret.= '?v'. ($script->version ? $script->version : PHPWG_VERSION);