- // additions for custom from plugin
- //
- if ($use_custom_from)
- {
- echo ' <tr>' . "\n" .
- html_tag( 'td', '', 'right', $color[4], 'width="10%"' ) .
- _("From:") . '</td>' . "\n" .
- ' <td align="left" bgcolor="' . $color[4] . '" width="90%">' .
- ' <input type="text" name="custom_from" size="60" value="';
- global $custom_from;
- if (isset($custom_from))
- echo $custom_from;
- else
- {
- $fn = getPref($data_dir, $username, 'full_name');
- $em = getPref($data_dir, $username, 'email_address');
- echo htmlspecialchars($fn);
- if ($em != '') {
- if($fn != '') {
- echo htmlspecialchars(' <' . $em . '>');
- } else {
- echo htmlspecialchars($em);
- }
- }
- }
-
- echo '">' .
- ' </td>' . "\n" .
- ' </tr>' . "\n";
- }
-