summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-06-21 23:55:43 +0200
committerMichael Tänzer <neo@nhng.de>2014-06-21 23:55:43 +0200
commit98d7e6833b3fb094d88b8aea74077e6f646665e8 (patch)
tree4e37c4e353a8ea3ea3add92aa81eac5c054c7340 /www
parenta723dd33e4aeaaccba00192647b4638ae4be48fe (diff)
downloadcacert-devel-98d7e6833b3fb094d88b8aea74077e6f646665e8.tar.gz
cacert-devel-98d7e6833b3fb094d88b8aea74077e6f646665e8.tar.xz
cacert-devel-98d7e6833b3fb094d88b8aea74077e6f646665e8.zip
bug 1226: Remove really redundant code
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www')
-rw-r--r--www/wot.php61
1 files changed, 1 insertions, 60 deletions
diff --git a/www/wot.php b/www/wot.php
index 3351233..e1d1572 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -453,66 +453,7 @@ function send_reminder()
sendmail($_SESSION['profile']['email'], "[CAcert.org] "._("You've Assured Another Member."), $body, "support@cacert.org", "", "", "CAcert Support");
- showheader(_("My CAcert.org Account!"));
- echo "<p>"._("Shortly you and the person you were assuring will receive an email confirmation. There is no action on your behalf required to complete this.")."</p>";
-?><form method="post" action="wot.php">
-<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
- <tr>
- <td colspan="2" class="title"><?=_("Assure Someone")?></td>
- </tr>
- <tr>
- <td class="DataTD"><?=_("Email")?>:</td>
- <td class="DataTD"><input type="text" name="email" id="email" value=""></td>
- </tr>
- <tr>
- <td class="DataTD">
- <?=_("Date of Birth")?><br/>
- (<?=_("yyyy/mm/dd")?>)</td>
- <td class="DataTD">
- <input type="text" name="year" value="<?=array_key_exists('year',$_SESSION['assuresomeone']) ? sanitizeHTML($_SESSION['assuresomeone']['year']):""?>" size="4" autocomplete="off"></nobr>
- <select name="month">
- <?
-for($i = 1; $i <= 12; $i++)
-{
- echo "<option value='$i'";
- if(array_key_exists('month',$_SESSION['assuresomeone']) && $_SESSION['assuresomeone']['month'] == $i)
- echo " selected=\"selected\"";
- echo ">".ucwords(strftime("%B", mktime(0,0,0,$i,1,date("Y"))))." ($i)</option>\n";
-}
- ?>
- </select>
- <select name="day">
- <?
-for($i = 1; $i <= 31; $i++)
-{
- echo "<option";
- if(array_key_exists('day',$_SESSION['assuresomeone']) && $_SESSION['assuresomeone']['day'] == $i)
- echo " selected=\"selected\"";
- echo ">$i</option>";
-}
- ?>
- </select>
- </td>
- </tr>
-
- <tr>
- <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
- </tr>
-</table>
-<input type="hidden" name="oldid" value="5">
-</form>
-<SCRIPT LANGUAGE="JavaScript">
-//<![CDATA[
- function my_init()
- {
- document.getElementById("email").focus();
- }
-
- window.onload = my_init();
-//]]>
-</script>
-<?
- showfooter();
+ show_page('EnterEmail', _("Shortly you and the person you were assuring will receive an email confirmation. There is no action on your behalf required to complete this."));
exit;
}