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