Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 601f4f28

Von Moritz Bunkus vor mehr als 2 Jahren hinzugefügt

  • ID 601f4f28b4887975c059918c3fe5f73cd3530867
  • Vorgänger c9b7a9cd
  • Nachfolger 8b4cefe7

E-Mails als HTML verschicken: Bearbeiten Benutzer-Signatur

Unterschiede anzeigen:

bin/mozilla/am.pl
669 669
  $myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details}));
670 670
  $form->{CAN_CHANGE_PASSWORD} = $main::auth->can_change_password();
671 671
  $form->{todo_cfg}            = { TODO->get_user_config('login' => $::myconfig{login}) };
672

  
673
  $::request->{layout}->use_javascript("jquery.multiselect2side.js");
674 672
  $form->{title}               = $locale->text('Edit Preferences for #1', $::myconfig{login});
675 673

  
674
  $::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery);
675

  
676 676
  setup_am_config_action_bar();
677 677
  $form->header();
678 678

  
679
  $form->{full_signature} = $form->create_email_signature();
679
  $form->{company_signature} = SL::DB::Default->get->signature;
680 680

  
681 681
  print $form->parse_html_template('am/config');
682 682

  
locale/de/all
649 649
  'Check Details'               => 'Bitte Angaben überprüfen',
650 650
  'Check connectivity'          => 'Verbindungstest',
651 651
  'Check for duplicates'        => 'Dublettencheck',
652
  'Check full signature'        => 'Volle Signatur prüfen',
653 652
  'Check on ap transaction'     => 'Prüfen bei Kreditorenbuchung',
654 653
  'Check on ar transaction'     => 'Prüfen bei Debitorenbuchung',
655 654
  'Check on gl transaction'     => 'Prüfen bei Dialogbuchung',
......
698 697
  'Company name'                => 'Firmenname',
699 698
  'Company name and address'    => 'Firmenname und -adresse',
700 699
  'Company settings'            => 'Firmeneinstellungen',
700
  'Company\'s email signature'  => 'Firmen-E-Mail-Signatur',
701 701
  'Compare to'                  => 'Gegenüberstellen zu',
702 702
  'Complexities'                => 'Komplexitätsgrade',
703 703
  'Complexity'                  => 'Komplexität',
......
1325 1325
  'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten',
1326 1326
  'Edit title'                  => 'Titiel bearbeiten',
1327 1327
  'Edit units'                  => 'Einheiten bearbeiten',
1328
  'Edit user signature'         => 'Benutzersignatur bearbeiten',
1329 1328
  'Editable'                    => 'Bearbeitbar',
1330 1329
  'Either there are no open invoices, or you have already initiated bank transfers with the open amounts for those that are still open.' => 'Entweder gibt es keine offenen Rechnungen, oder es wurden bereits Überweisungen über die offenen Beträge aller offenen Rechnungen erstellt.',
1331 1330
  'Element disabled'            => 'Element deaktiviert',
1332 1331
  'Email'                       => 'E-Mail',
1332
  'Email address'               => 'E-Mail-Adresse',
1333 1333
  'Email journal'               => 'E-Mail-Journal',
1334 1334
  'Email of the delivery order recipient' => 'E-Mail des Lieferscheinempfängers',
1335 1335
  'Email of the invoice recipient' => 'E-Mail des Rechnungsempfängers',
1336
  'Email signature'             => 'E-Mail-Signatur',
1336 1337
  'Employee'                    => 'Bearbeiter',
1337 1338
  'Employee #1 saved!'          => 'Benutzer #1 gespeichert!',
1338 1339
  'Employee (database ID)'      => 'Bearbeiter (Datenbank-ID)',
templates/webpages/am/config.html
1 1
[%- USE T8 %]
2 2
[%- USE LxERP %]
3 3
[%- USE HTML %]
4
[%- USE L %]
4
[%- USE L %][%- USE P -%]
5 5

  
6 6
<h1>[% title %]</h1>
7 7

  
......
34 34
     </tr>
35 35

  
36 36
     <tr>
37
      <th align="right">[% 'E-mail' | $T8 %]</th>
37
      <th align="right">[% 'Email address' | $T8 %]</th>
38 38
      <td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
39 39
     </tr>
40 40

  
41 41
     <tr valign="top">
42
      <th align="right">[% 'Signature' | $T8 %]</th>
43
      <td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
44
         <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
45
         <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a>
46
         <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
47
          </td> </tr>
42
      <th align="right">[% 'Email signature' | $T8 %]</th>
43
      <td>
44
       [% P.textarea_tag("signature", MYCONFIG.signature, class="toggletextarea texteditor", rows="5", cols="50") %]
45
      </td>
46
     </tr>
47

  
48
     <tr valign="top">
49
      <th align="right">[% "Company's email signature" | $T8 %]</th>
50
      <td>[% P.restricted_html(company_signature) %]</td>
51
     </tr>
52

  
48 53
     <tr>
49 54
      <th align="right">[% 'Phone' | $T8 %]</th>
50 55
      <td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
......
333 338
   </div>
334 339
  </div>
335 340
 </form>
336

  
337
 <script type="text/javascript">
338
  <!--
339
$(function() {
340
  $("#full_signature").toggle();
341
  $("#edit_signature").toggle();
342
  $('.togglelink').click(function() {
343
    $('.toggletextarea').toggle();
344
    $('.togglelink').toggle();
345
    return false;
346
  });
347
});
348
    -->
349
 </script>

Auch abrufbar als: Unified diff