1
0
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:
Cameron
2021-01-15 09:03:07 -08:00
parent 8cfb8d80cc
commit 13517e83a8
5 changed files with 178 additions and 192 deletions

View File

@@ -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));
}
?>