<?php
/**
* eventCreator
* ver 2.0
*
* The iCal file event php-HTML form editor
*
* copyright (c) 2007 Kjell-Inge Gustafsson kigkonsult
* www.kigkonsult.se/iCalcreator/eventCreator/index.php
* hide@address.com
* updated 20070528
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This script is Ajax backend, texts from language array (file)
*
**/
define( '_VALID_KIG', 1 );
require_once './eventCreator.config.php'; // setup
/** grab data */
if( isset( $_REQUEST['key'] ) or TRUE) {
$key = $_REQUEST['key']; // ??.. .
// Identify as XML
header('Content-type: text/xml');
// XML Preamble
$xml = '<?xml version="1.0" encoding="utf-8"?>'."\n";
// Start XML response
$xml .= "<xmlresponse>\n";
// Build result string Javascript index
$xml .= '<displayText>'.$EClang['ATTENDEEdelText'] .'</displayText>'."\n"; // 0
$xml .= '<displayText>'.$EClang['COMMENTdelText'] .'</displayText>'."\n"; // 1
$xml .= '<displayText>'.$EClang['confirmEventRemoval'].'</displayText>'."\n"; // 2
$xml .= '<displayText>'.$EClang['confirmFileRemoval'] .'</displayText>'."\n"; // 3
$xml .= '<displayText>'.$EClang['errClassText'] .'</displayText>'."\n"; // 4
$xml .= '<displayText>'.$EClang['errDescriptionText'] .'</displayText>'."\n"; // 5
$xml .= '<displayText>'.$EClang['errEmail'] .'</displayText>'."\n"; // 6
$xml .= '<displayText>'.$EClang['errEndDate'] .'</displayText>'."\n"; // 7
$xml .= '<displayText>'.$EClang['errLocationText'] .'</displayText>'."\n"; // 8
$xml .= '<displayText>'.$EClang['errOrganizerText'] .'</displayText>'."\n"; // 9
$xml .= '<displayText>'.$EClang['errStartDate'] .'</displayText>'."\n"; // 10
$xml .= '<displayText>'.$EClang['errSummaryText'] .'</displayText>'."\n"; // 11
$xml .= '<displayText>'.$EClang['errTRIGGERemail'] .'</displayText>'."\n"; // 12
$xml .= '<displayText>'.$EClang['errUrlText'] .'</displayText>'."\n"; // 13
// End XML response
$xml .= '</xmlresponse>'."\n";
// Output XML string
echo $xml;
}
?>