Revision 4cada74a
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
672 | 672 |
$form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login}); |
673 | 673 |
$form->{follow_up_notify_by_email} = $myconfig{follow_up_notify_by_email}; |
674 | 674 |
|
675 |
$::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery);
|
|
675 |
$::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor5/ckeditor ckeditor5/translations/de);
|
|
676 | 676 |
|
677 | 677 |
setup_am_config_action_bar(); |
678 | 678 |
$form->header(); |
bin/mozilla/dn.pl | ||
---|---|---|
321 | 321 |
$form->{"title"} = $locale->text("Set eMail text"); |
322 | 322 |
$form->header( |
323 | 323 |
no_layout => 1, |
324 |
use_javascripts => [ qw(ckeditor/ckeditor ckeditor/adapters/jquery) ],
|
|
324 |
use_javascripts => [ qw(ckeditor5/ckeditor ckeditor5/translations/de) ],
|
|
325 | 325 |
); |
326 | 326 |
print($form->parse_html_template("dunning/set_email")); |
327 | 327 |
|
bin/mozilla/do.pl | ||
---|---|---|
551 | 551 |
$form->{follow_up_trans_info} = $form->{donumber} .'('. $form->{VC_OBJ}->name .')' if $form->{VC_OBJ}; |
552 | 552 |
$form->{longdescription_dialog_size_percentage} = SL::Helper::UserPreferences::DisplayPreferences->new()->get_longdescription_dialog_size_percentage(); |
553 | 553 |
|
554 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.File kivi.MassDeliveryOrderPrint kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor/ckeditor ckeditor/adapters/jquery kivi.io));
|
|
554 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.File kivi.MassDeliveryOrderPrint kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor5/ckeditor ckeditor5/translations/de kivi.io));
|
|
555 | 555 |
|
556 | 556 |
setup_do_action_bar(); |
557 | 557 |
|
bin/mozilla/generictranslations.pl | ||
---|---|---|
183 | 183 |
setup_generictranslations_edit_email_strings_action_bar(); |
184 | 184 |
|
185 | 185 |
$form->{title} = $locale->text('Edit preset email strings'); |
186 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor/ckeditor ckeditor/adapters/jquery));
|
|
186 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor5/ckeditor ckeditor5/translations/de));
|
|
187 | 187 |
$form->header(); |
188 | 188 |
print $form->parse_html_template('generictranslations/edit_email_strings',{ 'MAIL_STRINGS' => \%mail_strings }); |
189 | 189 |
|
bin/mozilla/ir.pl | ||
---|---|---|
522 | 522 |
$TMPL_VAR->{payment_terms_obj} = get_payment_terms_for_invoice(); |
523 | 523 |
$form->{duedate} = $TMPL_VAR->{payment_terms_obj}->calc_date(reference_date => $form->{invdate}, due_date => $form->{duedate})->to_kivitendo if $TMPL_VAR->{payment_terms_obj}; |
524 | 524 |
|
525 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_project client_js autocomplete_chart));
|
|
525 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor5/ckeditor ckeditor5/translations/de kivi.io autocomplete_project client_js autocomplete_chart));
|
|
526 | 526 |
|
527 | 527 |
setup_ir_action_bar($TMPL_VAR); |
528 | 528 |
|
bin/mozilla/is.pl | ||
---|---|---|
694 | 694 |
), @custom_hiddens, |
695 | 695 |
map { $_.'_rate', $_.'_description', $_.'_taxnumber', $_.'_tax_id' } split / /, $form->{taxaccounts}]; |
696 | 696 |
|
697 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor/ckeditor ckeditor/adapters/jquery kivi.io client_js));
|
|
697 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor5/ckeditor ckeditor5/translations/de kivi.io client_js));
|
|
698 | 698 |
|
699 | 699 |
$TMPL_VAR{payment_terms_obj} = get_payment_terms_for_invoice(); |
700 | 700 |
$form->{duedate} = $TMPL_VAR{payment_terms_obj}->calc_date(reference_date => $form->{invdate}, due_date => $form->{duedate})->to_kivitendo if $TMPL_VAR{payment_terms_obj}; |
bin/mozilla/oe.pl | ||
---|---|---|
644 | 644 |
} |
645 | 645 |
} |
646 | 646 |
|
647 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase kivi.File kivi.Part kivi.CustomerVendor kivi.Validator show_form_details show_history show_vc_details ckeditor/ckeditor ckeditor/adapters/jquery kivi.io));
|
|
647 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase kivi.File kivi.Part kivi.CustomerVendor kivi.Validator show_form_details show_history show_vc_details ckeditor5/ckeditor ckeditor5/translations/de kivi.io));
|
|
648 | 648 |
|
649 | 649 |
|
650 | 650 |
# original snippets: |
bin/mozilla/rp.pl | ||
---|---|---|
1005 | 1005 |
my $locale = $main::locale; |
1006 | 1006 |
my $cgi = $::request->{cgi}; |
1007 | 1007 |
|
1008 |
$::request->{layout}->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery);
|
|
1008 |
$::request->{layout}->use_javascript("${_}.js") for qw(ckeditor5/ckeditor ckeditor5/translations/de);
|
|
1009 | 1009 |
|
1010 | 1010 |
my $report = SL::ReportGenerator->new(\%myconfig, $form); |
1011 | 1011 |
|
Auch abrufbar als: Unified diff
ckeditor5: update der javascripte in bin/mozilla/ controllern
Da die meist im footer sind, kann P.textarea_tag das javascript noch
nicht registrieren