use BSE::Util::Iterate;
use constant DISPLAY_TIMEOUT => 300;
-our $VERSION = "1.001";
+our $VERSION = "1.002";
my %actions =
(
my $r = $ENV{SCRIPT_NAME}."?form=".$form->{id};
my $logon = "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($r)
- ."&message=".escape_uri($form->{logon_message});
+ ."&m=".escape_uri($form->{logon_message});
return BSE::Template->get_refresh($logon, $req->cfg);
}
use BSE::Util::Tags qw(tag_hash);
use BSE::Util::HTML qw(escape_uri);
-our $VERSION = "1.001";
+our $VERSION = "1.002";
# we don't do anything fancy on dispatch yet, so don't use the
# dispatch classes
my $cfg = $req->cfg;
my $refresh = "/cgi-bin/image.pl?id=$article->{id}&imid=$image->{id}";
my $logon =
- $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&message=You+need+to+logon+to+view+this+image";
+ $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&m=You+need+to+logon+to+view+this+image";
return BSE::Template->get_refresh($logon, $cfg);
}
}
use BSE::Template;
our @ISA = qw(BSE::UI::Dispatch);
-our $VERSION = "1.008";
+our $VERSION = "1.009";
# we don't do anything fancy on dispatch yet, so don't use the
# dispatch classes
else {
my $refresh = $article->{link};
my $logon =
- $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&message=You+need+to+logon+to+view+this+article";
+ $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&m=You+need+to+logon+to+view+this+article";
return BSE::Template->get_refresh($logon, $cfg);
}
}
use BSE::Util::Secure qw(make_secret);
use BSE::Template;
-our $VERSION = "1.046";
+our $VERSION = "1.047";
=head1 NAME
if ($msgid) {
$msg = $req->cfg->entry('messages', $msgid, $msg);
}
- $parms{message} = $msg if $msg;
+ $parms{m} = $msg if $msg;
$parms{mid} = $msgid if $msgid;
$url .= "?" . join("&", map "$_=".escape_uri($parms{$_}), keys %parms);
use base 'BSE::UI::UserCommon';
use Carp qw(confess);
-our $VERSION = "1.036";
+our $VERSION = "1.037";
use constant MAX_UNACKED_CONF_MSGS => 3;
use constant MIN_UNACKED_CONF_GAP => 2 * 24 * 60 * 60;
my $url = $cfg->entryErr('site', 'url') . "/cgi-bin/user.pl?userpage=1";
if (defined $msg) {
- $url .= '&message='.escape_uri($msg);
+ $url .= '&m='.escape_uri($msg);
}
refresh_to($url);
}
my $cfg = $req->cfg;
my $refresh = "/cgi-bin/user.pl?file=" . $file->id;
my $logon =
- $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&message=You+need+to+logon+download+this+file";
+ $cfg->entry('site', 'url') . "/cgi-bin/user.pl?show_logon=1&r=".escape_uri($refresh)."&m=You+need+to+logon+download+this+file";
return $req->get_refresh($logon);
return;
}