Changeset - r27:4d96cfceba10
[Not reviewed]
v0.7 default
0 2 0
Wolfgang Scherer (ws) - 13 years ago 2012-03-31 21:18:55
wolfgang.scherer@gmx.de
index.php: cut'n'paste error fixed.
2 files changed with 16 insertions and 2 deletions:
0 comments (0 inline, 0 general)
index.php
Show inline comments
 
@@ -460,7 +460,7 @@ if ($x_wsv_raw || $EXPERT_ENABLED)
 
    // raw message
 
    $form[] = sprintf('<span class="label">%s<sup>*</sup>:</span>', get_text('message'));
 
    $form[] = (
 
        '<textarea name="body" cols="56" rows="'.$text_rows.'"'
 
        '<textarea name="message" cols="56" rows="'.$text_rows.'"'
 
        .' style="vertical-align: top; width: 440px;">' . htmlspecialchars($vacation_msg, ENT_NOQUOTES, "UTF-8") . '</textarea><br />');
 

	
 
    $form[] = '<span class="label">&nbsp;</span>';
lib/util.php
Show inline comments
 
@@ -298,8 +298,22 @@ function message_split($message)
 
        }
 
        $headers[] = $line;
 
    }
 
    $body = implode($lines, "\n");
 

	
 
    $body = implode($lines, "\n");
 
    global $_debug;
 
    if ( $_debug ) {
 
        echo "<pre>\n";
 
        echo "--------------------------------------------------\n";
 
        echo "headers\n";
 
        echo "--------------------------------------------------\n";
 
        var_dump($headers);
 
        echo "--------------------------------------------------\n";
 
        echo "body\n";
 
        echo "--------------------------------------------------\n";
 
        var_dump($body);
 
        echo "</pre>\n";
 
    }
 

	
 
    return Array($headers, $body);
 
}
 

	
0 comments (0 inline, 0 general)