* prevent ' style="Array"' from the html output
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3095
7612ce4b-ef26-0410-bec9-
ea0150e637f0
if ($xtr_prop) {
echo ' '.$prop;
}
if ($xtr_prop) {
echo ' '.$prop;
}
- if ($style && !$usecss) {
+ if ($style && !$usecss && !is_array($style)) {
+ /* last premisse is to prevent 'style="Array"' in the output */
echo ' style="'.$style.'"';
}
if ($javascript) {
echo ' style="'.$style.'"';
}
if ($javascript) {
echo $text;
foreach ($style as $k => $v) { /* if value of key value = true close the tag */
if ($v) {
echo $text;
foreach ($style as $k => $v) { /* if value of key value = true close the tag */
if ($v) {
+ $indentmore = $indent . ' ';
for($i = 0;$i<$cnt;$i++) {
$el = $this->html_el[$i];
for($i = 0;$i<$cnt;$i++) {
$el = $this->html_el[$i];
- $el->echoHtml($usecss,$indent);
+ $el->echoHtml($usecss,$indentmore);
}
if ($style && !$usecss) {
foreach ($style as $k => $v) { /* if value of key value = true close the tag */
if ($v) {
}
if ($style && !$usecss) {
foreach ($style as $k => $v) { /* if value of key value = true close the tag */
if ($v) {