From 45fbfcf5049d300b0f34bab185ea7372852af203 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 14 Feb 2012 21:38:41 +0000 Subject: - 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 --- include/template.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/template.class.php') diff --git a/include/template.class.php b/include/template.class.php index 5596c2ec9..12fc9d10d 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -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); -- cgit v1.2.3