use vars qw/@ISA/;
@ISA = qw/Squirrel::Row/;
-our $VERSION = "1.003";
+our $VERSION = "1.004";
sub columns {
return qw/id name title description frequency keyword archive
}
my $from = $cfg->entryIfVar('subscriptions', 'from');
unless ($from) {
- $from = $Constants::SHOP_FROM;
+ $from = $cfg->entry('shop', 'from', $Constants::SHOP_FROM);
}
unless ($from) {
$callback->('error', undef, "Configuration error: No from address configured, please set from in the subscriptions section of the config file, or \$SHOP_FROM in Constants.pm");
use base 'BSE::UI::UserCommon';
use Carp qw(confess);
-our $VERSION = "1.030";
+our $VERSION = "1.031";
use constant MAX_UNACKED_CONF_MSGS => 3;
use constant MIN_UNACKED_CONF_GAP => 2 * 24 * 60 * 60;
# check that the from address has been configured
my $from = $cfg->entry('confirmations', 'from') ||
- $cfg->entry('basic', 'emailfrom')|| $SHOP_FROM;
+ $cfg->entry('shop', 'from')|| $SHOP_FROM;
unless ($from) {
$acts{mailerror} = sub { escape_html("Configuration Error: The confirmations from address has not been configured") };
return $req->dyn_response('user/email_conferror', \%acts);
=cut
-our $VERSION = "1.012";
+our $VERSION = "1.013";
use constant MAX_UNACKED_CONF_MSGS => 3;
use constant MIN_UNACKED_CONF_GAP => 2 * 24 * 60 * 60;
# check that the from address has been configured
my $from = $cfg->entry('confirmations', 'from') ||
- $cfg->entry('basic', 'emailfrom')|| $SHOP_FROM;
+ $cfg->entry('shop', 'from')|| $SHOP_FROM;
unless ($from) {
$$rcode = 'config';
$$rmsg = "Configuration Error: The confirmations from address has not been configured";
emailuser => [ \&BSE::Util::Tags::tag_hash_plain, $email_user ],
);
my $from = $cfg->entry('confirmations', 'from') ||
- $cfg->entry('basic', 'emailfrom') || $SHOP_FROM;
+ $cfg->entry('shop', 'from') || $SHOP_FROM;
my $nopassword = $cfg->entryBool('site users', 'nopassword', 0);
my $subject = $cfg->entry('basic', 'lostpasswordsubject')
|| ($nopassword ? "Your options" : "Your password");