|
@@ 256-256 (lines=1) @@
|
| 253 |
|
if (isset($params['align']) && $params['align'] != 'none') { |
| 254 |
|
$attr['align'] = $params['align']; |
| 255 |
|
} |
| 256 |
|
foreach ($attr as $k => $v) { |
| 257 |
|
$attributes .= ($v ? ' ' . $k . '="' . $v . '"' : ''); |
| 258 |
|
} |
| 259 |
|
$attributes .= ' ' . $params['attrib']; |
|
@@ 333-333 (lines=1) @@
|
| 330 |
|
'style' => $params['style'], |
| 331 |
|
'target' => $params['target'], |
| 332 |
|
); |
| 333 |
|
foreach ($attr as $k => $v) { |
| 334 |
|
$attributes .= ($v ? ' ' . $k . '="' . $v . '"' : ''); |
| 335 |
|
} |
| 336 |
|
$attributes .= ' ' . $params['attrib']; // add extra |
|
@@ 364-364 (lines=1) @@
|
| 361 |
|
'class' => $params['class'], |
| 362 |
|
'style' => $params['style'], |
| 363 |
|
); |
| 364 |
|
foreach ($attr as $k => $v) { |
| 365 |
|
$attributes .= ($v ? ' ' . $k . '="' . $v . '"' : ''); |
| 366 |
|
} |
| 367 |
|
$attributes .= ' ' . $params['attrib']; // add extra |