Sources/Profile-Modify.php 1 location
|
@@ 3587-3588 (lines=2) @@
|
| 3584 |
|
} |
| 3585 |
|
|
| 3586 |
|
// Did we come up with some changes? If so remake the string. |
| 3587 |
|
if ($width != -1 || $height != -1) |
| 3588 |
|
$replaces[$image] = '[img' . ($width != -1 ? ' width=' . round($width) : '') . ($height != -1 ? ' height=' . round($height) : '') . ']' . $matches[7][$key] . '[/img]'; |
| 3589 |
|
} |
| 3590 |
|
if (!empty($replaces)) |
| 3591 |
|
$value = str_replace(array_keys($replaces), array_values($replaces), $value); |
Sources/ManageSettings.php 1 location
|
@@ 1113-1116 (lines=4) @@
|
| 1110 |
|
} |
| 1111 |
|
|
| 1112 |
|
// Did we come up with some changes? If so remake the string. |
| 1113 |
|
if ($width != -1 || $height != -1) |
| 1114 |
|
{ |
| 1115 |
|
$replaces[$image] = '[img' . ($width != -1 ? ' width=' . round($width) : '') . ($height != -1 ? ' height=' . round($height) : '') . ']' . $matches[7][$key] . '[/img]'; |
| 1116 |
|
} |
| 1117 |
|
|
| 1118 |
|
// Record that we got one. |
| 1119 |
|
$image_count_holder[$image] = isset($image_count_holder[$image]) ? $image_count_holder[$image] + 1 : 1; |