Sources/Profile-Modify.php 1 location
|
@@ 3653-3654 (lines=2) @@
|
| 3650 |
|
} |
| 3651 |
|
|
| 3652 |
|
// Did we come up with some changes? If so remake the string. |
| 3653 |
|
if ($width != -1 || $height != -1) |
| 3654 |
|
$replaces[$image] = '[img' . ($width != -1 ? ' width=' . round($width) : '') . ($height != -1 ? ' height=' . round($height) : '') . ']' . $matches[7][$key] . '[/img]'; |
| 3655 |
|
} |
| 3656 |
|
if (!empty($replaces)) |
| 3657 |
|
$value = str_replace(array_keys($replaces), array_values($replaces), $value); |
Sources/ManageSettings.php 1 location
|
@@ 1107-1110 (lines=4) @@
|
| 1104 |
|
} |
| 1105 |
|
|
| 1106 |
|
// Did we come up with some changes? If so remake the string. |
| 1107 |
|
if ($width != -1 || $height != -1) |
| 1108 |
|
{ |
| 1109 |
|
$replaces[$image] = '[img' . ($width != -1 ? ' width=' . round($width) : '') . ($height != -1 ? ' height=' . round($height) : '') . ']' . $matches[7][$key] . '[/img]'; |
| 1110 |
|
} |
| 1111 |
|
|
| 1112 |
|
// Record that we got one. |
| 1113 |
|
$image_count_holder[$image] = isset($image_count_holder[$image]) ? $image_count_holder[$image] + 1 : 1; |