Customize Personal Settings
You need cookies enabled in order to personalize your settings.
END
$html << <
Charset
Current Setting |
Description |
CHARSET
[["Use normal strings","ascii"],
["Use special characters (#{UTFCHARS})","utf"]].each{|description,href|
selected = href == (USEUTF ? "utf" : "ascii")
$html << ""
$html << CROSS if selected
$html << " | "
$html << "" unless selected
$html << description
$html << "" unless selected
$html << " |
"
}
$html << <
CHARSET
$html << <
Stylesheet
CHARSET
[["default","dudle.css"],
["PrimeLife","primelife.css"],
["TU Dresden","tud.css"]].each{|descr,cssfile|
$html << "- #{descr}
"
}
$html << <
CHARSET
username = $cgi.cookies["username"][0]
if $cgi.include?("delete_username")
username = ""
$html.add_cookie("username",username,"/",Time.now - 1*60*60*24*365)
elsif $cgi.include?("username")
username = $cgi["username"]
$html.add_cookie("username",username,"/",Time.now + 1*60*60*24*365)
end
$html << <
Default Username
CHARSET
$html << ""
$html << "