/* new user wants to register */
if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
{
+ global $HOST,$INDEX;
$ok=1;
if(DB_get_userid_by_name($_REQUEST["Rfullname"]))
{
if($r)
echo " Welcome to e-DoKo, you are now registered, please visit the".
- " <a href=\"$host\">homepage</a> to continue.";
+ " <a href=\"".$HOST.$INDEX."\">homepage</a> to continue.";
else
echo " something went wrong, couldn't add you to the database, please contact $ADMIN_NAME at $ADMIN_EMAIL.";
}
<td><label for="Rtimezone">Timezone:</label></td>
<td>
<select id="Rtimezone" name="Rtimezone" size="1">
- <option value="1">Berlin</option>
- <option value="-8">Berkeley</option>
- <option value="13">Wellington</option>
+ <option value="Europe/London">Berlin</option>
+ <option value="Europe/Berlin">Berlin</option>
+ <option value="America/Vancouver">Berkeley</option>
+ <option value="Pacific/Auckland">Wellington</option>
</select>
(If your timezone is not listed, just select whatever you want and email the admin your correct time zone.)
</td>