BEGIN { ($ENV{PERLINIT}||'') =~ /(.+)/s and eval $1 }
+use utf8;
use Fcntl qw(:flock);
use Digest::MD5 qw(md5_hex);
# authorized login URL
my $url = "$ENV{PROTO}://$ENV{HTTP_HOST}/fup/".b64("from=$user&id=$id");
pq(qq(
- '<h2>for user <a href="$url">$user</a></h2>'
+ '<script>'
+ ' function show_user() { return(alert('
+ ' "server:\\t$ENV{HTTP_HOST}\\n"+'
+ ' "user:\\t$user\\n"+'
+ ' "auth-ID:\\t$id\\n"+'
+ ' "URL:\\t\\t$url"'
+ ' ));}'
+ '</script>'
+ '<h2>for user <a href="#" onclick="show_user();" title="click to see account data">$user</a></h2>'
'<table>'
));
($quota,$du) = check_sender_quota($user);
' <input type="hidden" name="user" value="$user">'
' <input type="hidden" name="id" value="$id">'
' <script>function show_id() {return(alert("auth-ID: $id"));}</script>'
- ' Change your <a href="" onclick="show_id();" title="$id">auth-ID</a> to'
+ ' Change your <a href="#" onclick="show_id();" title="$id">auth-ID</a> to'
' <input type="text" name="nid" size="16">'
' <input type="submit" value="remember it!">'
));