aboutsummaryrefslogtreecommitdiff
path: root/customize.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-19 11:32:46 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-19 11:32:46 +0100
commit027af11144abffdbadc2219147e0bc13ebb7ab0c (patch)
tree357b6eaeaf04ae4109b4fae79258f78ed13a51ef /customize.rb
parentb596fe35c3f2c0c28e018518eedd6458feb439ce (diff)
constant -> global variable
Diffstat (limited to 'customize.rb')
-rwxr-xr-xcustomize.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/customize.rb b/customize.rb
index 3f9bb6e..97e6a42 100755
--- a/customize.rb
+++ b/customize.rb
@@ -58,11 +58,11 @@ end
a = [["Use special characters (#{UTFCHARS})","utf", "Use this option if you see the characters in the parenthesis."],
["Use only normal strings","ascii","Use this option if you have problems with some characters."]]
-$d.html.add_cookie("ascii","true","/",Time.now + (1*60*60*24*365 * (USEUTF ? -1 : 1 )))
+$d.html.add_cookie("ascii","true","/",Time.now + (1*60*60*24*365 * ($USEUTF ? -1 : 1 )))
$d << <<CHARSET
<div id='charset'>
<h3>Charset</h3>
-#{choosetable("Charset settings",a,USEUTF ? "utf" : "ascii")}
+#{choosetable("Charset settings",a,$USEUTF ? "utf" : "ascii")}
</div>
CHARSET