Revision 8b4cefe7
Von Moritz Bunkus vor fast 3 Jahren hinzugefügt
SL/Controller/Admin.pm | ||
---|---|---|
592 | 592 |
return $self; |
593 | 593 |
} |
594 | 594 |
|
595 |
sub use_ckeditor_js { |
|
596 |
my ($self) = @_; |
|
597 |
|
|
598 |
$::request->{layout}->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery); |
|
599 |
return $self; |
|
600 |
} |
|
601 |
|
|
595 | 602 |
sub login_form { |
596 | 603 |
my ($self, %params) = @_; |
597 | 604 |
$::request->layout(SL::Layout::AdminLogin->new); |
... | ... | |
601 | 608 |
|
602 | 609 |
sub edit_user_form { |
603 | 610 |
my ($self, %params) = @_; |
604 |
$self->use_multiselect_js->render('admin/edit_user', %params); |
|
611 |
$self->use_multiselect_js->use_ckeditor_js->render('admin/edit_user', %params);
|
|
605 | 612 |
} |
606 | 613 |
|
607 | 614 |
sub edit_client_form { |
templates/webpages/admin/edit_user.html | ||
---|---|---|
40 | 40 |
|
41 | 41 |
<tr valign="top"> |
42 | 42 |
<th align="right">[% LxERP.t8('Signature') %]</th> |
43 |
<td>[% L.textarea_tag("user.config_values.signature", props.signature, rows=3, cols=35) %]</td> |
|
43 |
<td>[% L.textarea_tag("user.config_values.signature", props.signature, rows=3, cols=35, class="texteditor") %]</td>
|
|
44 | 44 |
</tr> |
45 | 45 |
|
46 | 46 |
<tr> |
Auch abrufbar als: Unified diff
E-Mails als HTML verschicken: Bearbeiten Benutzer-Signatur (Admin-Bereich)