| @@ 1130-1134 (lines=5) @@ | ||
| 1127 | $width = ' width="' . $params['{width}'] . '"'; |
|
| 1128 | $height = ' height="' . $params['{height}'] . '"'; |
|
| 1129 | } |
|
| 1130 | elseif (!empty($params['{width}']) && empty($params['{height}'])) |
|
| 1131 | { |
|
| 1132 | $width = ' width="' . $params['{width}'] . '"'; |
|
| 1133 | $height = ''; |
|
| 1134 | } |
|
| 1135 | elseif (empty($params['{width}']) && !empty($params['{height}'])) |
|
| 1136 | { |
|
| 1137 | $width = ''; |
|
| @@ 1135-1139 (lines=5) @@ | ||
| 1132 | $width = ' width="' . $params['{width}'] . '"'; |
|
| 1133 | $height = ''; |
|
| 1134 | } |
|
| 1135 | elseif (empty($params['{width}']) && !empty($params['{height}'])) |
|
| 1136 | { |
|
| 1137 | $width = ''; |
|
| 1138 | $height = ' height="' . $params['{height}'] . '"'; |
|
| 1139 | } |
|
| 1140 | else |
|
| 1141 | { |
|
| 1142 | $width = ' width="' . $currentAttachment['width'] . '"'; |
|