removed the CLT hotel form

svn path=/trunk/; revision=22690
This commit is contained in:
nicoulas 2012-03-11 16:23:05 +00:00
parent 20c45d2eee
commit 883d54dfd3
4 changed files with 0 additions and 291 deletions

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<textset>
<errors>
<text id="error">An error occured when attempting to send your
message.</text>
<text id="missing_first_name">Please specify your name.</text>
<text id="missing_family_email">Please specify your e-mail.</text>
<text id="missing_tel_gsm">Please specify your phone number.</text>
<text id="invalid_email">This e-mail is not valid.</text>
<text id="invalid_invoice_address">The invoice is too long.</text>
<text id="invalid_comment">The comment is too long.</text>
</errors>
<response>
<text id="1">
Your reservation was successful!
You will recieve a confirmation per email soon.
</text>
</response>
</textset>

View File

@ -1,82 +0,0 @@
#!/usr/bin/perl
use utf8;
use strict;
use warnings;
use File::Basename;
use Cwd "abs_path";
use CGI;
use POSIX qw(strftime);
use Text::Wrap;
$Text::Wrap::columns = 72;
our $base_directory;
BEGIN { $base_directory = dirname(abs_path("../tools/WebBuild")); }
use lib $base_directory;
use WebBuild::FormValidation;
use WebBuild::DynamicContent;
my $form = WebBuild::FormValidation->new;
my $content = WebBuild::DynamicContent->new;
my $query = new CGI;
$form->validates_presence_of("first_name");
$form->validates_presence_of("family_name");
$form->validates_format_of("email", type => "email");
$content->layout("../events/clt/clt-hotel.de.html");
if ($form->has_errors) {
$content->content($form->get_errors);
$content->render;
exit;
}
my $date = strftime "%Y-%m-%d", localtime;
my $time = strftime "%s", localtime;
open(MAIL, "|/usr/lib/sendmail -t -f birgit.huesken\@fsfe.org");
print MAIL "Reply-To: " . $query->param("email") . "\n";
print MAIL "From: office\@fsfeurope.org\n";
print MAIL "To: birgit.huesken\@fsfe.org\n";
print MAIL "Cc: dus\@office.fsfeurope.org\n";
my $subject = "New reservation for the CLT Hotel from " . $query->param("first_name") . " " . $query->param("family_name");
print MAIL "Subject: $subject" . "\n";
print MAIL "Content-Type: text/plain; charset=UTF-8\n\n";
print MAIL "We have received a new reservation for the CLT Hotel.\n\n";
print MAIL "Name: " . $query->param("first_name") . " " . $query->param("family_name") . "(Fellowhsip Nummer: " . $query->param("fellowship_no") . ")\n";
print MAIL "Phone: " . $query->param("tel_gsm") . "\n";
print MAIL "E-mail: " . $query->param("email") . "\n\n";
print MAIL "Room: " . $query->param("room") . "\n";
print MAIL "---\nDoppelzimmer?\n";
print MAIL "Second bed name: " . $query->param("second_bed_name") . "\n";
print MAIL "Like to share?: " . $query->param("like_to_share") . "\n";
print MAIL "Sponsor second bed: " . $query->param("sponsor_second_bed") . "\n";
print MAIL "Breakfast Samstag?: " . $query->param("breakfast_sa") . "\n";
print MAIL "Breakfast Samstag number: " . $query->param("breakfast_sa_no") . "\n";
print MAIL "Breakfast Samstag?: " . $query->param("breakfast_su") . "\n";
print MAIL "Breakfast Samstag?: " . $query->param("breakfast_su_no") . "\n";
print MAIL "---\nInvoice address:\n";
print MAIL wrap('','',$query->param("invoice_address")) . "\n";
print MAIL "---\nComment:\n";
print MAIL wrap('','',$query->param("invoice_address")) . "\n";
print MAIL "---\n\n";
my $output = <<ENDHTML;
<div id="flash">
<p>
Deine Daten wurden gesendet. Wir werden uns schnellstmoeglich mit
Dir in Verbindung setzen.
</p>
</div>
ENDHTML
$content->content($output);
$content->render;

View File

@ -132,11 +132,6 @@
Du erhältst eine E-Mail mit den Zahlungsinformationen.
Sobald der Geldeingang verbucht ist, gilt Deine Anmeldung als bestätigt.
</p>
<h3>Du benötigst noch eine Unterkunft in Chemnitz?</h3>
<p>
Du kannst über die FSFE ein <a href="/events/clt/clt-hotel.html">Zimmer im Hotel Europark</a> reservieren.
</p>
</body>

View File

@ -1,184 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<html>
<head>
<title>Chemnitzer LinuxTag - Hotel reservierung</title>
<link href="/style/grid.css" rel="stylesheet" />
</head>
<body>
<h1>
CLT 2012
<br/>
Zimmerreservierung für Hotel Europark
</h1>
<p>
Anmeldungen möglich bis <b>10.03.2012</b> (bzw. so lange Zimmer zur Verfügung stehen).
</p>
<p>
Für die Reservierung eines Zimmers während der <a href="http://chemnitzer.linux-tage.de" target="_blank">CLT 2012</a>, fülle bitte das nachstehende Formular aus.
</p>
<p>
Die FSFE stellt lediglich den Kontakt zum Hotel Europark her.
Die Zahlung des Zimmerpreises erfolgt vor Ort im Hotel Europark.
Evtl. anfallende Stornierungskosten gehen zu Deinen Lasten.
</p>
<p>
Der FSFE-Bus wird samstags und sonntags morgens um <b>ca. 8:30h</b> vom Hotel zum Veranstaltungsort fahren.
Am Samstag Abend wird es <b>eine</b> Fahrt vom Veranstaltungsort zum Hotel geben. Die Uhrzeit wird mit dem Busfahrer vor Ort abgesprochen.
</p>
<form action="/cgi-bin/clt-hotel.pl" method="post">
<table>
<tbody><tr>
<td>
Vorname
<br /><small>Pflichtangabe</small>
</td>
<td>
<input size="35" name="first_name" type="text"/>
</td>
</tr>
<tr>
<td>
Nachname
<br /><small>Pflichtangabe</small>
</td>
<td>
<input size="35" name="family_name" type="text"/>
</td>
</tr>
<tr>
<td>
Fellowship Nr.
</td>
<td>
<input size="5" name="fellowship_no" type="text"/>
</td>
</tr>
<tr>
<td>
Ich benötige
<br /><small>Pflichtangabe</small>
</td>
<td>
<select name="room">
<option>Doppelzimmer, Kat.1, 40,- EUR pro Nacht</option>
<option>Einzelzimmer, Kat.1, 30,- EUR pro Nacht</option>
<option>Doppelzimmer, Kat.3, 30,- EUR pro Nacht</option>
<option>Einzelzimmer, Kat.3, 22,- EUR pro Nacht</option>
</select>
<br />
<small>Die Beschreibungen der Zimmerkategorien sind beim <a href="http://www.europark.de/hotel.html" target="_blank">Hotel Europark</a> nachzulesen.</small>
<br/>
<small>Preise pro Zimmer pro Nacht, ohne Frühstück</small>
</td>
</tr>
<tr>
<td>
</td>
<td>
[Bei Doppelzimmern]
<br/>Name des zweiten Gastes im Doppelzimmer
<br/>
<input size="35" name="second_bed_name" type="text"/>
<br/><small>Für den zweiten Gast muß das Formular nicht erneut ausgefüllt werden.</small>
<br/>
<br/>
<input name="like_to_share" value="yes" type="checkbox"/>
Ich möchte das Zimmer mit einer anderen Person teilen. Bitte stellt den Kontakt zu Interessierten her!
<br/>
<br/>
<input name="sponsor_second_bed" value="yes" type="checkbox"/>
Ich möchte das zweite Bett einem weiteren Besucher zur Verfügung stellen, der es benötigt. Bitte stellt den Kontakt zu Interessierten her!
</td>
</tr>
<tr>
<td>
Ich möchte das Frühstück im Hotel dazubuchen.
<br/>
<small>6,- € pro Person pro Frühstück</small>
</td>
<td>
<br/>
<br/>
<input name="breakfast_sa" value="yes" type="checkbox"/>
Frühstück am Samstag.
Personenzahl: <input size="1" name="breakfast_sa_no" type="text"/>
<br/>
<br/>
<input name="breakfast_su" value="yes" type="checkbox"/>
Frühstück am Sonntag.
Personenzahl: <input size="1" name="breakfast_su_no" type="text"/>
</td>
</tr>
<tr>
<td>
Ich brauche eine Rechnung für meine Firma. <em>Vollständige</em> Rechnungsadresse:
</td>
<td>
<textarea cols="35" rows="5" name="invoice_address"></textarea>
</td>
</tr>
<tr>
<td>
Mobilfunknummer
<br /><small>Angabe empfohlen</small>
</td>
<td>
<input size="35" name="tel_gsm" type="text"/>
</td>
</tr>
<tr>
<td>
E-Mail-Adresse
<br /><small>Pflichtangabe</small>
</td>
<td>
<input size="35" name="email" type="text"/>
</td>
</tr>
<tr>
<td colspan="2">
Fragen? Anregungen? Kommentare?
<br/>
<textarea cols="60" rows="5" name="comment"></textarea>
</td>
</tr>
</tbody></table>
<input name="send" value="Daten absenden" type="submit"/>
</form>
<h3>Wie geht es weiter?</h3>
<p>
Du erhältst eine E-Mail mit der Bestätigung, ob das Zimmer in der gewünschten Kategorie noch zur Verfügung steht.
</p>
<h3>Du möchtest mit dem Bus von Düsseldorf nach Chemnitz?</h3>
<p>
Die FSFE organisiert einen <a href="/events/clt/clt-bus.html">Bus</a>.
</p>
</body>
<timestamp>$Date: 2011-11-18 14:07:15 +0100 (ven. 18 nov. 2011) $ $Author: hugo $</timestamp>
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->