Ejemplo n.º 1
0
                    $yval = stripslashes($yval);
                }
                // $yval = htmlentities ( $yval );
                echo '
      <input type="hidden" name="' . $xkey . '" value="' . $yval . '" />';
            }
        } else {
            if (get_magic_quotes_gpc()) {
                $xval = stripslashes($xval);
            }
            // $xval = htmlentities ( $xval );
            echo '
      <input type="hidden" name="' . $xkey . '" value="' . $xval . '" />';
        }
    }
    echo '
      <table>
        <tr>' . (!empty($ALLOW_CONFLICT_OVERRIDE) && $ALLOW_CONFLICT_OVERRIDE == 'Y' ? '
          <td><input type="submit" name="confirm_conflicts" value="' . translate('Save') . '" /></td>' : '') . '
          <td><input type="button" value="' . translate('Cancel') . '" onclick="history.back()" /><td>
        </tr>
      </table>
    </form>';
    ob_end_flush();
} else {
    // Process errors.
    $mail->MailError($mailerError, $error);
}
?>