aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-02-14 21:38:41 +0000
committerrvelices <rv-github@modusoptimus.com>2012-02-14 21:38:41 +0000
commit45fbfcf5049d300b0f34bab185ea7372852af203 (patch)
tree59a250cc5a39388e1288976b465ba71df3bf6fdf /include/template.class.php
parent53e9acff6bf0b91c7bb957b9c62beb55074b070d (diff)
- 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
Diffstat (limited to 'include/template.class.php')
-rw-r--r--include/template.class.php4
1 files changed, 2 insertions, 2 deletions
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);