mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
e_url detection moved to application.php . Resolved conflicts between older URL scheme and new one when rootnamespace is in use.
This commit is contained in:
@@ -2610,6 +2610,8 @@ class e_parse extends e_parser
|
||||
*/
|
||||
function thumbSrcSet($src='', $width=null)
|
||||
{
|
||||
$multiply = null;
|
||||
|
||||
if(is_array($width))
|
||||
{
|
||||
$parm = $width;
|
||||
@@ -2648,8 +2650,8 @@ class e_parse extends e_parser
|
||||
return $this->thumbUrl($src, $parm)." ".$parm['h']."h ".$multiply;
|
||||
}
|
||||
|
||||
$width = (!empty($parm['w']) || !empty($parm['h'])) ? (intval($parm['w']) * $multiply) : ($this->thumbWidth * $multiply);
|
||||
$height = (!empty($parm['h']) || !empty($parm['w'])) ? (intval($parm['h']) * $multiply) : ($this->thumbHeight * $multiply);
|
||||
$width = (!empty($parm['w']) || !empty($parm['h'])) ? (intval($parm['w']) * $multiply) : (intval($this->thumbWidth) * $multiply);
|
||||
$height = (!empty($parm['h']) || !empty($parm['w'])) ? (intval($parm['h']) * $multiply) : (intval($this->thumbHeight) * $multiply);
|
||||
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user