Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3fc38171

Von Andreas Rudin vor etwa 6 Jahren hinzugefügt

  • ID 3fc381717c5e7f0f657f604880fac7b7be4e492b
  • Vorgänger 9439c4f2
  • Nachfolger a58ef474

HP Aenderungen bis Oktober 2018

Unterschiede anzeigen:

templates/webpages/am/config.html
14 14
  <li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
15 15
</ul>
16 16

  
17
 
17

  
18 18
<div id="page_personal_settings">
19
	<div class="wrapper">
20
		<table class="tbl-horizontal">
19
  <div class="wrapper">
20
    <table class="tbl-horizontal">
21
      <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
21 22
      <caption> [% 'Personal settings' | $T8 %] </caption>
23
      <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
22 24
      <tbody>
23
			<tr>
24
				<th>[% 'Name' | $T8 %]</th>
25
				<td>
26
          <input type="text" name="name" class="wi-wide" value="[% HTML.escape(MYCONFIG.name) %]">
27
				</td>
28
			</tr>
29
			<tr>
30
				<th>[% 'Password' | $T8 %]</th>
31
				<td> 
32
          [% IF CAN_CHANGE_PASSWORD %] 
25
      <tr>
26
        <th>[% 'Name' | $T8 %]</th>
27
        <td><input type="text" name="name" class="wi-wide" value="[% HTML.escape(MYCONFIG.name) %]"></td>
28
      </tr>
29
      <tr>
30
        <th>[% 'Password' | $T8 %]</th>
31
        <td>
32
          [% IF CAN_CHANGE_PASSWORD %]
33 33
            <input type="password" name="new_password" class="wi-wide" value="********">
34
          [% ELSE %] 
34
          [% ELSE %]
35 35
            <input type="hidden" name="new_password" value="********" class="wi-wide">
36
          [% END %] 
37
				</td>
38
			</tr>
39
			<tr>
40
				<th>[% 'E-mail' | $T8 %]</th>
41
				<td><input type="text" name="email" class="wi-wide" value="[% HTML.escape(MYCONFIG.email) %]"></td>
42
			</tr>
43
			<tr>
44
				<th>[% 'Signature' | $T8 %]</th>
45
				<td>
46
				  <textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
36
          [% END %]
37
        </td>
38
      </tr>
39
      <tr>
40
        <th>[% 'E-mail' | $T8 %]</th>
41
        <td><input type="text" name="email" class="wi-wide" value="[% HTML.escape(MYCONFIG.email) %]"></td>
42
      </tr>
43
      <tr>
44
        <th>[% 'Signature' | $T8 %]</th>
45
        <td>
46
          <textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
47 47
          <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50">[% HTML.escape(full_signature) %]</textarea>
48
          </span> <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a> <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a> 
49
				</td>
50
			</tr>
51
			<tr>
52
				<th>[% 'Phone' | $T8 %]</th>
53
				<td><input type="text" name="tel" class="wi-wide" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
54
			</tr>
55
			<tr>
56
				<th>[% 'Fax' | $T8 %]</th>
57
				<td><input type="text" name="fax" class="wi-wide" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
58
			</tr>
59
			<tr>
60
				<th>[% 'taxincluded checked' | $T8 %]</th>
61
				<td> [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked, class='wi-small') %]</td>
62
			</tr>
63
			<tr>
64
				<th>[% 'Focus position after update' | $T8 %]</th>
65
				<td> [% L.select_tag( 'focus_position', [ ['new_description', LxERP.t8('New row, description')], ['new_partnumber', LxERP.t8('New row, partnumber')], ['new_qty', LxERP.t8('New row, qty')], ['last_description', LxERP.t8('Last row, description')], ['last_partnumber', LxERP.t8('Last row, partnumber')], ['last_qty', LxERP.t8('Last row, qty')], ], default => MYCONFIG.focus_position, class='wi-wide') %] 
66
				</td>
67
			</tr>
68
			<tr>
69
				<th>[% 'Item multi selection with qty' | $T8 %]</th>
70
				<td> [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect, class='wi-small') %] 
71
				</td>
72
			</tr>
48
          </span> <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a> <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
49
        </td>
50
      </tr>
51
      <tr>
52
        <th>[% 'Phone' | $T8 %]</th>
53
        <td><input type="text" name="tel" class="wi-wide" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
54
      </tr>
55
      <tr>
56
        <th>[% 'Fax' | $T8 %]</th>
57
        <td><input type="text" name="fax" class="wi-wide" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
58
      </tr>
59
      <tr>
60
        <th>[% 'taxincluded checked' | $T8 %]</th>
61
        <td> [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked, class='wi-small') %]</td>
62
      </tr>
63
      <tr>
64
        <th>[% 'Focus position after update' | $T8 %]</th>
65
        <td> [% L.select_tag( 'focus_position', [ ['new_description', LxERP.t8('New row, description')], ['new_partnumber', LxERP.t8('New row, partnumber')], ['new_qty', LxERP.t8('New row, qty')], ['last_description', LxERP.t8('Last row, description')], ['last_partnumber', LxERP.t8('Last row, partnumber')], ['last_qty', LxERP.t8('Last row, qty')], ], default => MYCONFIG.focus_position, class='wi-wide') %]
66
        </td>
67
      </tr>
68
      <tr>
69
        <th>[% 'Item multi selection with qty' | $T8 %]</th>
70
        <td> [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect, class='wi-small') %]
71
        </td>
72
      </tr>
73 73
    </tbody>
74
		</table>
75
	</div><!-- /.wrapper -->
74
    </table>
75
  </div><!-- /.wrapper -->
76 76
</div><!-- /#page_personal_settings -->
77 77

  
78 78
<div id="page_display_options">
79 79
  <div class="wrapper">
80 80
    <table class="tbl-horizontal">
81
    <colgroup> <col class="wi-lightwide"><col class="wi-lightwide"> </colgroup> 
81
    <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
82 82
    <caption>[% 'Display options' | $T8 %]</caption>
83 83
    <tbody>
84 84
     <tr>
85 85
      <th>[% 'Date Format' | $T8 %]</th>
86
      <td>
87
        [% L.select_tag('dateformat', DATEFORMATS, value_key='value', title_key='name', class="wi-small") %]
88
      </td>
86
      <td>[% L.select_tag('dateformat', DATEFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
89 87
     </tr>
90 88
     <tr>
91 89
       <th>[% 'Time Format' | $T8 %]</th>
92
       <td>
93
         [% L.select_tag('timeformat', TIMEFORMATS, value_key='value', title_key='name', class="wi-small") %]
94
       </td>
90
       <td>[% L.select_tag('timeformat', TIMEFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
95 91
     </tr>
96 92
     <tr>
97 93
      <th>[% 'Output Number Format' | $T8 %]</th>
98
      <td>
99
        [% L.select_tag('numberformat', NUMBERFORMATS, value_key='value', title_key='name', class="wi-small") %]
100
      </td>
94
      <td>[% L.select_tag('numberformat', NUMBERFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
101 95
     </tr>
102 96
     <tr>
103 97
      <th>[% 'Language' | $T8 %]</th>
104
      <td>
105
        [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name', class='wi-lightwide') %]
106
      </td>
98
      <td>[% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name', class='wi-lightwide') %]</td>
107 99
     </tr>
108 100
     <tr>
109 101
      <th>[% 'Stylesheet' | $T8 %]</th>
110
      <td>
111
        [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name', class='wi-lightwide') %]
112
      </td>
102
      <td>[% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name', class='wi-lightwide') %]</td>
113 103
     </tr>
114 104
     <tr>
115 105
      <th>[% 'Setup Menu' | $T8 %]</th>
......
141 131
     </tr>
142 132
     <tr>
143 133
      <th>[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
144
      <td>
145
        [% L.input_tag('form_cvars_nr_cols',  MYCONFIG.form_cvars_nr_cols || 3, class='wi-verysmall') %]
146
      </td>
134
      <td>[% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, class='wi-verysmall') %]</td>
147 135
     </tr>
148 136
    </tbody>
149 137
    </table>
150 138
  </div><!-- /.wrapper -->
151 139
</div><!-- /#page_display_options -->
152 140

  
153
 
141

  
154 142
<div id="page_print_options">
155
	<div class="wrapper">
156
		<input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
157
		<table class="tbl-horizontal">
158
		  <caption>[% 'Print options' | $T8 %]</caption>
159
			<tbody>
160
				<tr>
161
					<th>[% 'Default template format' | $T8 %]</th>
162
					<td> [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name', class='wi-normal') %] 
163
					</td>
164
				</tr>
165
				<tr>
166
					<th>[% 'Default output medium' | $T8 %]</th>
167
					<td> [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name', class='wi-normal') %] 
168
					</td>
169
				</tr>
170
				<tr>
171
					<th>[% 'Default printer' | $T8 %]</th>
172
					<td> [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1, class='wi-normal') %] 
173
					</td>
174
				</tr>
175
				<tr>
176
					<th>[% 'Number of copies' | $T8 %]</th>
177
					<td>
178
					<input type="text" name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]" class="wi-normal">
179
					</td>
180
				</tr>
181
			</tbody>
182
		</table>
183
	</div><!-- /.wrapper -->
143
  <div class="wrapper">
144
    <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
145
    <table class="tbl-horizontal">
146
      <caption>[% 'Print options' | $T8 %]</caption>
147
      <tbody>
148
        <tr>
149
          <th>[% 'Default template format' | $T8 %]</th>
150
          <td> [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name', class='wi-normal') %]
151
          </td>
152
        </tr>
153
        <tr>
154
          <th>[% 'Default output medium' | $T8 %]</th>
155
          <td> [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name', class='wi-normal') %]
156
          </td>
157
        </tr>
158
        <tr>
159
          <th>[% 'Default printer' | $T8 %]</th>
160
          <td> [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1, class='wi-normal') %]
161
          </td>
162
        </tr>
163
        <tr>
164
          <th>[% 'Number of copies' | $T8 %]</th>
165
          <td>
166
          <input type="text" name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]" class="wi-normal">
167
          </td>
168
        </tr>
169
      </tbody>
170
    </table>
171
  </div><!-- /.wrapper -->
184 172
</div><!-- /#page_print_options -->
185 173

  
186 174

  
187
<div id="page_todo_list_options"> 
175
<div id="page_todo_list_options">
188 176
  <div class="wrapper">
189 177
    <table class="tbl-horizontal">
190 178
    <caption>[% 'Todo list options' | $T8 %]</caption>
191
      <colgroup> <col class="wi-normal"><col class="wi-normal"> </colgroup> 
179
      <colgroup> <col class="wi-normal"><col class="wi-normal"> </colgroup>
192 180
    <tbody>
193 181
      <tr>
194 182
        <th>[% 'Show your TODO list after logging in' | $T8 %]</th>
195
        <td> 
183
        <td>
196 184
        <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
197
        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label> 
185
        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
198 186
        <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
199
        <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label> 
187
        <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
200 188
        </td>
201 189
      </tr>
202 190
      <tr>
......
204 192
      </tr>
205 193
      <tr>
206 194
        <th>[% 'Show follow ups...' | $T8 %]</th>
207
        <td> 
195
        <td>
208 196
          <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
209 197
          <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label> <br>
210 198
          <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
211
          <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label> 
199
          <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
212 200
        </td>
213 201
      </tr>
214
      [% IF AUTH.assert('sales_quotation_edit', 'may_fail') %] 
202
      [% IF AUTH.assert('sales_quotation_edit', 'may_fail') %]
215 203
      <tr>
216 204
        <th>[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
217
        <td> 
205
        <td>
218 206
          <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
219 207
          <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label> <br>
220 208
          <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
221
          <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label> 
209
          <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
222 210
        </td>
223 211
      </tr>
224
      [% END %] 
212
      [% END %]
225 213
    </tbody>
226 214
    </table>
227 215
  </div><!-- /.wrapper -->

Auch abrufbar als: Unified diff