mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Multibyte utf8 method tests and fixes.
This commit is contained in:
@@ -3,17 +3,16 @@
|
||||
|
||||
function setimage_shortcode($parm, $mode='')
|
||||
{
|
||||
### Reset to defaults TODO site prefs
|
||||
if(isset($parm['default']))
|
||||
{
|
||||
$parm['w'] = 100;
|
||||
$parm['h'] = 0;
|
||||
$parm['crop'] = 0;
|
||||
}
|
||||
e107::getParser()->thumbWidth = varset($parm['w'],0);
|
||||
e107::getParser()->thumbHeight = varset($parm['h'],0);
|
||||
e107::getParser()->thumbCrop = varset($parm['crop'],0);
|
||||
e107::getParser()->thumbWidth(varset($parm['w'],0));
|
||||
e107::getParser()->thumbHeight(varset($parm['h'],0));
|
||||
e107::getParser()->thumbCrop(varset($parm['crop'],0));
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user