mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 22:35:00 +02:00
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user