added newsletter
This commit is contained in:
parent
5fc1c6bdae
commit
63cb6c3723
8 changed files with 729 additions and 1101 deletions
|
|
@ -19,7 +19,7 @@ use WebGUI::Asset;
|
|||
use WebGUI::Form;
|
||||
use WebGUI::Utility;
|
||||
use WebGUI::International;
|
||||
use JSON;
|
||||
use JSON -convert_blessed_universally;
|
||||
|
||||
our @ISA = qw(WebGUI::Asset);
|
||||
|
||||
|
|
@ -664,9 +664,10 @@ EOHTML1
|
|||
if ( $ask ) {
|
||||
$config->{mode} = "none";
|
||||
}
|
||||
$self->session->log->debug("config: $config->{mode} ");
|
||||
|
||||
$out .= $self->getLoadPlugins;
|
||||
$out .= "\ttinyMCE.init(" . JSON->new->pretty->encode( $config ) . " );\n";
|
||||
$out .= "\ttinyMCE.init(" . JSON->new->allow_blessed->pretty->encode( $config ) . " );\n";
|
||||
$out .= "</script>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue