mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
- multisize thumb longest side can be smaller than the square size
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster) git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -683,7 +683,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
|
||||
$ret = $script->path;
|
||||
else
|
||||
{
|
||||
$ret = embellish_url(get_root_url().$script->path);
|
||||
$ret = get_root_url().$script->path;
|
||||
if ($script->version!==false)
|
||||
{
|
||||
$ret.= '?v'. ($script->version ? $script->version : PHPWG_VERSION);
|
||||
@@ -691,7 +691,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
|
||||
}
|
||||
// trigger the event for eventual use of a cdn
|
||||
$ret = trigger_event('combined_script', $ret, $script);
|
||||
return $ret;
|
||||
return embellish_url($ret);
|
||||
}
|
||||
|
||||
function block_footer_script($params, $content, &$smarty, &$repeat)
|
||||
|
||||
Reference in New Issue
Block a user