more session related changes
This commit is contained in:
parent
1a959e2681
commit
d470a7cdd4
63 changed files with 377 additions and 317 deletions
|
|
@ -331,5 +331,26 @@ sub useEmptyStyle {
|
|||
$self->{_useEmptyStyle} = shift;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 userStyle ( content )
|
||||
|
||||
Wrapper's the content in the user style defined in the settings.
|
||||
|
||||
=head3 content
|
||||
|
||||
The content to be wrappered.
|
||||
|
||||
=cut
|
||||
|
||||
sub userStyle {
|
||||
my $self = shift;
|
||||
my $output = shift;
|
||||
if ($output) {
|
||||
return $self->process($output,$self->session->setting->get("userFunctionStyleId"));
|
||||
} else {
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue