Revision 601f4f28
Von Moritz Bunkus vor etwa 3 Jahren hinzugefügt
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
E-Mails als HTML verschicken: Bearbeiten Benutzer-Signatur