Skip to content

Commit 1ca864b

Browse files
authored
Merge branch 'master' into website/svn-to-git
2 parents 69629d9 + 23e9d36 commit 1ca864b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

contact/index.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
<div class="col-md-6">
2525
<!-- send this to another host as uktrainsim doesn't support mail() -->
26-
<form role="form" action="http://wepp.co.uk/openrails/forward_message.php" method="get">
26+
<form role="form" action="http://ccgi.jakeman.plus.com/or/forward_message.php" method="get">
2727
<div class="form-group">
2828
<label for="emailAddress">Email address</label>
2929
<input type="email" class="form-control" id="emailAddress" name="from" placeholder="Enter your email address. (We do not share this.)" autofocus required>
@@ -32,9 +32,11 @@
3232
<label for="emailSubject">Subject</label>
3333
<input type="text" class="form-control" id="emailSubject" name="subject" placeholder="Enter your subject">
3434
</div>
35-
<input type = "hidden" name="send_to_name" value="or_website">
36-
<input type = "hidden" name="send_to_domain" value="jakeman.plus.com">
37-
<input type = "hidden" name="success_url" value="http://openrails.org/contact/success.php">
35+
<input type="hidden" name="send_to_name" value="or_website">
36+
<input type="hidden" name="send_to_domain" value="jakeman.plus.com">
37+
<input type="hidden" name="success_url" value="http://openrails.org/contact/success.php">
38+
<?php $ip = $_SERVER['REMOTE_ADDR']; echo "<input type='hidden' name='ip' value='$ip'>" ?>
39+
<?php $referer = $_SERVER['HTTP_REFERER']; echo "<input type='hidden' name='referer' value='$referer'>" ?>
3840
<div class="form-group">
3941
<label for="emailMessage">Message</label>
4042
<textarea class="form-control" rows="10" id="emailMessage" name="body" placeholder="Enter your message" required title="Please follow the guidance to the left about reporting problems."></textarea>

trade/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li><a href="http://pikku.msts.cz/openrails.html">Pikku Locomotive Works</a> - Czechoslovakia</li>
4141
<li><a href="http://www.trainsimulations.net/">TrainSimulations</a> - Canada</li>
4242
<li><a href="http://www.gabriele90.com/">Gabriele 90</a> - Italy</li>
43-
<li><a href=http://broadgaugeproduction.com/">Broad Gauge Productions</a> - India</li>
43+
<li><a href="http://broadgaugeproduction.com/">Broad Gauge Productions</a> - India</li>
4444
</ul>
4545
<p>&nbsp;</p>
4646
<h2>Vendors Supporting MSTS</h2>

0 commit comments

Comments
 (0)