use BSE::Util::HTML;
use Carp qw(cluck confess);
-our $VERSION = "1.032";
+our $VERSION = "1.033";
=head1 NAME
=cut
sub response {
- my ($req, $template, $acts) = @_;
+ my ($req, $template, $acts, %opts) = @_;
require BSE::Template;
my @sets;
return BSE::Template->get_response($template, $req->cfg, $acts,
$template, \@sets, $req->{vars},
- dynamic => 1);
+ dynamic => 1, %opts);
}
=item dyn_user_tags()
use Carp qw(confess cluck);
use Config ();
-our $VERSION = "1.014";
+our $VERSION = "1.015";
my %formats =
(
[ "<:", ":>" ],
[ "[:", ":]" ],
];
- $topts{error_not_defined} =
- $cfg->entry("basic", "error_not_defined", 1);
+ unless ($opts{twopass}) {
+ $topts{error_not_defined} =
+ $cfg->entry("basic", "error_not_defined", 1);
+ }
}
return Squirrel::Template->new(%topts);
use base qw(BSE::UI::AdminDispatch);
use BSE::ImageClean;
-our $VERSION = "1.001";
+our $VERSION = "1.002";
=head1 NAME
my ($self, $req, $template) = @_;
my %acts = $req->admin_tags;
- my $temp_result = $req->response($template, \%acts);
+ my $temp_result = $req->response($template, \%acts, twopass => 1);
my ($prefix, $per_message, $suffix) =
split /<:\s*iterator\s+(?:begin|end)\s+messages\s*:>/, $temp_result->{content};