Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 41e6b1ba

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID 41e6b1ba1a4bacb676bd7e7e6efaa8d11617b06d
  • Vorgänger f26687f6
  • Nachfolger e90d8470

ClientConfig: Templates für Email-Server-Konfigurationen erweitert

Unterschiede anzeigen:

templates/design40_webpages/client_config/_mail_server.html
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE T8 %]
5

  
6
<div id="mail_server">
7
<div class="wrapper">
8
  <table class="tbl-horizontal">
9
    <caption>[% 'Mail Delivery' | $T8 %]</caption>
10
    <colgroup>
11
      <col class="wi-small">
12
      <col class="wi-normal">
13
      <col class="wi-wide">
14
    </colgroup>
15
    <thead>
16
      <tr>
17
        <td colspan="3">[% 'If configured, this mail server will be used for sending mails.' | $T8 %]</td>
18
      </tr>
19
    </thead>
20
    <tbody>
21
    <tr>
22
      <th>[% 'Server' | $T8 %]</th>
23
      <td>[% L.input_tag_trim('defaults.mail_delivery_host', SELF.defaults.mail_delivery_host, class='wi-normal') %]</td>
24
      <td class="long-desc">[% 'If this is empty, no mails will be sent.' | $T8 %]</td>
25
    </tr>
26
    <tr>
27
      <th>[% 'Security' | $T8 %]</th>
28
      <td>[% L.select_tag('defaults.mail_delivery_security', [ ['tls', LxERP.t8('tls')], ['ssl', LxERP.t8('ssl')], ['none', LxERP.t8('none')] ], default=SELF.defaults.mail_delivery_security, class='wi-normal') %]</td>
29
      <td class="long-desc">[% 'This determines whether or not encryption is used and which kind.' | $T8 %]</td>
30
    </tr>
31
    <tr>
32
      <th>[% 'Port' | $T8 %]</th>
33
      <td>[% L.input_tag('defaults.mail_delivery_port', SELF.defaults.mail_delivery_port, class='wi-normal') %]</td>
34
      <td class="long-desc">[% "Default: 25 for 'security=none' or 'security=tls', 465 for 'security=ssl'" | $T8 %]</td>
35
    <tr>
36
      <th>[% 'User name' | $T8 %]</th>
37
      <td>[% L.input_tag('defaults.mail_delivery_login', SELF.defaults.mail_delivery_login, class='wi-normal') %]</td>
38
    </tr>
39
    <tr>
40
      <th>[% 'Password' | $T8 %]</th>
41
      <td>[% L.input_tag('defaults.mail_delivery_password', SELF.defaults.mail_delivery_password, class='wi-normal') %]</td>
42
    </tbody>
43
  </table>
44
</div><!-- /.wrapper -->
45
<div class="wrapper">
46
  <table class="tbl-horizontal">
47
    <caption>[% 'IMAP Client' | $T8 %]</caption>
48
    <colgroup>
49
      <col class="wi-small">
50
      <col class="wi-normal">
51
      <col class="wi-wide">
52
    </colgroup>
53
    <thead>
54
      <tr>
55
        <td colspan="3">[% 'If this option is enabled, this IMAP server will be used to retrieve mails. When creating a new quote and order, a new folder will be created on the IMAP server. The mails in the corresponding folder will be loaded to the record in kivitendo.' | $T8 %]</td>
56
      </tr>
57
    </thead>
58
    <tbody>
59
    <tr>
60
      <th>[% 'Enabled' | $T8 %]</th>
61
      <td>[% L.checkbox_tag('defaults.imap_client_enabled', checked=SELF.defaults.imap_client_enabled, class='wi-normal') %]</td>
62
    </tr>
63
    <tr>
64
      <th>[% 'SSL' | $T8 %]</th>
65
      <td>[% L.checkbox_tag('defaults.imap_client_ssl', checked=SELF.defaults.imap_client_ssl, class='wi-normal') %]</td>
66
    </tr>
67
    <tr>
68
      <th>[% 'Base Folder' | $T8 %]</th>
69
      <td>[% L.input_tag_trim('defaults.imap_client_base_folder', SELF.defaults.imap_client_base_folder, class='wi-normal') %]</td>
70
      <td class="long-desc">[% "Use '/' for subfolder." | $T8 %]</td>
71
    </tr>
72
    <tr>
73
      <th>[% 'Server' | $T8 %]</th>
74
      <td>[% L.input_tag_trim('defaults.imap_client_hostname', SELF.defaults.imap_client_hostname, class='wi-normal') %]</td>
75
    </tr>
76
    <tr>
77
      <th>[% 'Port' | $T8 %]</th>
78
      <td>[% L.input_tag_trim('defaults.imap_client_port', SELF.defaults.imap_client_port, class='wi-normal') %]</td>
79
      <td class="long-desc">[% "Default: 993 for 'ssl' enabled else 143." | $T8 %]</td>
80
    </tr>
81
    <tr>
82
      <th>[% 'User name' | $T8 %]</th>
83
      <td>[% L.input_tag('defaults.imap_client_username', SELF.defaults.imap_client_username, class='wi-normal') %]</td>
84
    </tr>
85
    <tr>
86
      <th>[% 'Password' | $T8 %]</th>
87
      <td>[% L.input_tag('defaults.imap_client_password', SELF.defaults.imap_client_password, class='wi-normal') %]</td>
88
    </tr>
89
  </table>
90
</div><!-- /.wrapper -->
91
<div class="wrapper">
92
  <table class="tbl-horizontal">
93
    <caption>[% 'Sent E-Mails IMAP Server' | $T8 %]</caption>
94
    <colgroup>
95
      <col class="wi-small">
96
      <col class="wi-normal">
97
      <col class="wi-wide">
98
    </colgroup>
99
    <thead>
100
      <tr>
101
        <td colspan="3">[% 'If this option is enabled, this IMAP server will be used to store sent mails. When sending a mail, a copy will be stored in the folder on the IMAP server.' | $T8 %]</td>
102
      </tr>
103
    </thead>
104
    <tbody>
105
    <tr>
106
      <th>[% 'Enabled' | $T8 %]</th>
107
      <td>[% L.checkbox_tag('defaults.sent_emails_in_imap_enabled', checked=SELF.defaults.sent_emails_in_imap_enabled, class='wi-normal') %]</td>
108
    </tr>
109
    <tr>
110
      <th>[% 'SSL' | $T8 %]</th>
111
      <td>[% L.checkbox_tag('defaults.sent_emails_in_imap_ssl', checked=SELF.defaults.sent_emails_in_imap_ssl, class='wi-normal') %]</td>
112
    </tr>
113
    <tr>
114
      <th>[% 'Folder' | $T8 %]</th>
115
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_folder', SELF.defaults.sent_emails_in_imap_folder, class='wi-normal') %]</td>
116
      <td class="long-desc">[% "Use '/' for subfolder." | $T8 %]</td>
117
    </tr>
118
    <tr>
119
      <th>[% 'Server' | $T8 %]</th>
120
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_hostname', SELF.defaults.sent_emails_in_imap_hostname, class='wi-normal') %]</td>
121
    </tr>
122
    <tr>
123
      <th>[% 'Port' | $T8 %]</th>
124
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_port', SELF.defaults.sent_emails_in_imap_port, class='wi-normal') %]</td>
125
      <td class="long-desc">[% "Default: 993 for 'ssl' enabled else 143." | $T8 %]</td>
126
    </tr>
127
    <tr>
128
      <th>[% 'User name' | $T8 %]</th>
129
      <td>[% L.input_tag('defaults.sent_emails_in_imap_username', SELF.defaults.sent_emails_in_imap_username, class='wi-normal') %]</td>
130
    </tr>
131
    <tr>
132
      <th>[% 'Password' | $T8 %]</th>
133
      <td>[% L.input_tag('defaults.sent_emails_in_imap_password', SELF.defaults.sent_emails_in_imap_password, class='wi-normal') %]</td>
134
    </tr>
135
</div><!-- /.wrapper -->
136
</div><!-- /#stocktaking -->
templates/design40_webpages/client_config/form.html
77 77
  })
78 78

  
79 79
--></script>
80
    
80

  
81 81
<h1>[% title | html %]</h1>
82 82

  
83 83
[% INCLUDE 'common/flash.html' %]
......
100 100
    <li><a href="#features">[% LxERP.t8('Features') %]</a></li>
101 101
    <li><a href="#stocktaking">[% LxERP.t8('Stocktaking') %]</a></li>
102 102
    <li><a href="#record_links">[% LxERP.t8('Linked Records') %]</a></li>
103
    <li><a href="#mail_server">[% LxERP.t8('Mail Server') %]</a></li>
103 104
  </ul>
104 105

  
105 106
  [% PROCESS 'client_config/_ranges_of_numbers.html' %]
......
115 116
  [% PROCESS 'client_config/_stocktaking.html' %]
116 117
  [% PROCESS 'client_config/_record_links.html' %]
117 118
  [% PROCESS 'client_config/_miscellaneous.html' %]
119
  [% PROCESS 'client_config/_mail_server.html' %]
118 120
 </div>
119 121
</form>
templates/webpages/client_config/_mail_server.html
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE T8 %]
5

  
6
<div id="mail_server">
7
<div>
8
  <table>
9
    <colgroup>
10
      <col style="width: 100px">
11
      <col style="width: 200px">
12
      <col style="width: 400px">
13
    </colgroup>
14
    <thead>
15
      <tr><th class="listheading" colspan="3">[% 'Mail Delivery' | $T8 %]</th></tr>
16
      <tr><th align="left" colspan="3">[% 'If configured, this mail server will be used for sending mails.' | $T8 %]</th></tr>
17
    </thead>
18
    <tbody>
19
    <tr>
20
      <td align="right">[% 'Server' | $T8 %]</th>
21
      <td>[% L.input_tag_trim('defaults.mail_delivery_host', SELF.defaults.mail_delivery_host) %]</td>
22
      <td>[% 'If this is empty, no mails will be sent.' | $T8 %]</td>
23
    </tr>
24
    <tr>
25
      <td align="right">[% 'Security' | $T8 %]</th>
26
      <td>[% L.select_tag('defaults.mail_delivery_security', [ ['tls', LxERP.t8('tls')], ['ssl', LxERP.t8('ssl')], ['none', LxERP.t8('none')] ], default=SELF.defaults.mail_delivery_security) %]</td>
27
      <td>[% 'This determines whether or not encryption is used and which kind.' | $T8 %]</td>
28
    </tr>
29
    <tr>
30
      <td align="right">[% 'Port' | $T8 %]</th>
31
      <td>[% L.input_tag('defaults.mail_delivery_port', SELF.defaults.mail_delivery_port) %]</td>
32
      <td>[% "Default: 25 for 'security=none' or 'security=tls', 465 for 'security=ssl'" | $T8 %]</td>
33
    <tr>
34
      <td align="right">[% 'User name' | $T8 %]</th>
35
      <td>[% L.input_tag('defaults.mail_delivery_login', SELF.defaults.mail_delivery_login) %]</td>
36
    </tr>
37
    <tr>
38
      <td align="right">[% 'Password' | $T8 %]</th>
39
      <td>[% L.input_tag('defaults.mail_delivery_password', SELF.defaults.mail_delivery_password) %]</td>
40
    </tbody>
41
  </table>
42
</div>
43
<div>
44
  <table>
45
    <colgroup>
46
      <col style="width: 100px">
47
      <col style="width: 200px">
48
      <col style="width: 400px">
49
    </colgroup>
50
    <thead>
51
      <tr><th class="listheading" colspan="3">[% 'IMAP Client' | $T8 %]</th></tr>
52
      <tr><th align="left" colspan="3">[% 'If this option is enabled, this IMAP server will be used to retrieve mails. When creating a new quote and order, a new folder will be created on the IMAP server. The mails in the corresponding folder will be loaded to the record in kivitendo.' | $T8 %]</th></tr>
53
    </thead>
54
    <tbody>
55
    <tr>
56
      <td align="right">[% 'Enabled' | $T8 %]</th>
57
      <td>[% L.checkbox_tag('defaults.imap_client_enabled', checked=SELF.defaults.imap_client_enabled) %]</td>
58
    </tr>
59
    <tr>
60
      <td align="right">[% 'SSL' | $T8 %]</th>
61
      <td>[% L.checkbox_tag('defaults.imap_client_ssl', checked=SELF.defaults.imap_client_ssl) %]</td>
62
    </tr>
63
    <tr>
64
      <td align="right">[% 'Base Folder' | $T8 %]</th>
65
      <td>[% L.input_tag_trim('defaults.imap_client_base_folder', SELF.defaults.imap_client_base_folder) %]</td>
66
      <td>[% "Use '/' for subfolder." | $T8 %]</td>
67
    </tr>
68
    <tr>
69
      <td align="right">[% 'Server' | $T8 %]</th>
70
      <td>[% L.input_tag_trim('defaults.imap_client_hostname', SELF.defaults.imap_client_hostname) %]</td>
71
    </tr>
72
    <tr>
73
      <td align="right">[% 'Port' | $T8 %]</th>
74
      <td>[% L.input_tag_trim('defaults.imap_client_port', SELF.defaults.imap_client_port) %]</td>
75
      <td>[% "Default: 993 for 'ssl' enabled else 143." | $T8 %]</td>
76
    </tr>
77
    <tr>
78
      <td align="right">[% 'User name' | $T8 %]</th>
79
      <td>[% L.input_tag('defaults.imap_client_username', SELF.defaults.imap_client_username) %]</td>
80
    </tr>
81
    <tr>
82
      <td align="right">[% 'Password' | $T8 %]</th>
83
      <td>[% L.input_tag('defaults.imap_client_password', SELF.defaults.imap_client_password) %]</td>
84
    </tr>
85
  </table>
86
</div><!-- /.wrapper -->
87
<div class="wrapper">
88
  <table class="tbl-horizontal">
89
    <colgroup>
90
      <col style="width: 100px">
91
      <col style="width: 200px">
92
      <col style="width: 400px">
93
    </colgroup>
94
    <thead>
95
      <tr><th class="listheading" colspan="3">[% 'Sent E-Mails IMAP Server' | $T8 %]</th></tr>
96
      <tr><th align="left" colspan="3">[% 'If this option is enabled, this IMAP server will be used to store sent mails. When sending a mail, a copy will be stored in the folder on the IMAP server.' | $T8 %]</th></tr>
97
    </thead>
98
    <tbody>
99
    <tr>
100
      <td align="right">[% 'Enabled' | $T8 %]</th>
101
      <td>[% L.checkbox_tag('defaults.sent_emails_in_imap_enabled', checked=SELF.defaults.sent_emails_in_imap_enabled) %]</td>
102
    </tr>
103
    <tr>
104
      <td align="right">[% 'SSL' | $T8 %]</th>
105
      <td>[% L.checkbox_tag('defaults.sent_emails_in_imap_ssl', checked=SELF.defaults.sent_emails_in_imap_ssl) %]</td>
106
    </tr>
107
    <tr>
108
      <td align="right">[% 'Folder' | $T8 %]</th>
109
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_folder', SELF.defaults.sent_emails_in_imap_folder) %]</td>
110
      <td>[% "Use '/' for subfolder." | $T8 %]</td>
111
    </tr>
112
    <tr>
113
      <td align="right">[% 'Server' | $T8 %]</th>
114
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_hostname', SELF.defaults.sent_emails_in_imap_hostname) %]</td>
115
    </tr>
116
    <tr>
117
      <td align="right">[% 'Port' | $T8 %]</th>
118
      <td>[% L.input_tag_trim('defaults.sent_emails_in_imap_port', SELF.defaults.sent_emails_in_imap_port) %]</td>
119
      <td>[% "Default: 993 for 'ssl' enabled else 143." | $T8 %]</td>
120
    </tr>
121
    <tr>
122
      <td align="right">[% 'User name' | $T8 %]</th>
123
      <td>[% L.input_tag('defaults.sent_emails_in_imap_username', SELF.defaults.sent_emails_in_imap_username) %]</td>
124
    </tr>
125
    <tr>
126
      <td align="right">[% 'Password' | $T8 %]</th>
127
      <td>[% L.input_tag('defaults.sent_emails_in_imap_password', SELF.defaults.sent_emails_in_imap_password) %]</td>
128
    </tr>
129
</div><!-- /.wrapper -->
130
</div><!-- /#stocktaking -->
templates/webpages/client_config/form.html
94 94
   <li><a href="#features">[% LxERP.t8('Features') %]</a></li>
95 95
   <li><a href="#stocktaking">[% LxERP.t8('Stocktaking') %]</a></li>
96 96
   <li><a href="#record_links">[% LxERP.t8('Linked Records') %]</a></li>
97
   <li><a href="#mail_server">[% LxERP.t8('Mail Server') %]</a></li>
97 98
  </ul>
98 99

  
99 100
[% PROCESS 'client_config/_ranges_of_numbers.html' %]
......
109 110
[% PROCESS 'client_config/_stocktaking.html' %]
110 111
[% PROCESS 'client_config/_record_links.html' %]
111 112
[% PROCESS 'client_config/_miscellaneous.html' %]
113
[% PROCESS 'client_config/_mail_server.html' %]
112 114
 </div>
113 115
</form>

Auch abrufbar als: Unified diff