2 <div style='float:left; width:50px; margin: 0 6px 0 5px; padding:0;'>
3 {if $post_vars.mailto neq false}
4 {get_id_by_name name=$post_vars.mailto}
5 {elseif $post_vars.mail_to neq false}
6 {get_id_by_name name=$post_vars.mail_to}
8 {get_id_by_name name=$new_mail_name}
10 <img src='{get_image_link id=$get_id_by_name}' name="fricon" border='0' style=' float:left; width: 50px; margin:0;'>
11 <input style='width: 50px; margin:0;' type='text' name='mail_to' value="{if $post_vars.mailto neq false}{$post_vars.mailto}{elseif $post_vars.mail_to neq false}{$post_vars.mail_to}{else}{$new_mail_name}{/if}" onmouseout="vymena()">
14 <textarea name='mail_text' id='mail_text'>{$post_vars.mail_text|escape:"html"}</textarea>
15 <script language="Javascript">document.getElementById('mail_text').focus();</script>
16 <div class='controls' style='mardin:0; margin-left:61px; _margin-left:106px;'>
17 <input type='submit' name='event' value='send' />
18 <input type='submit' name='template_event' value='preview' />
19 <select name='sel_help' onchange='document.getElementById("mail_text").innerHTML += sel_help.value;'>
20 <option value='' selected>helpful</option>
21 <option value='<a href="" target="_blank"></a>'>link</option>
22 <option value='<img src="">'>image</option>
23 <option value='<b></b>'>bold</option>
24 <option value='<i></i>'>italic</option>
26 {* movement *}{include file="1549913.tpl"}
27 <script language='javascript'>
30 var checkboxes = document.getElementById('formular').elements;
31 function check_all() {
36 for (var i = 0; i < checkboxes.length; i++) {
37 if (checkboxes[i].className == "mail_checkbox")
38 checkboxes[i].checked = checked;
47 <input type='submit' name='event' value='delete_mail' />
48 <input type='submit' name='template_event' value='filter_by' />
49 <select name='search_type'>
50 <option value='mail_text'>text:</option>
51 <option value='mail_from'>from:</option>
52 <option value='mail_to'>to:</option>
53 <option value='mail_both'>both:</option>
55 <input type='checkbox' name='no_html' value='yes' /> NO HTML
56 <input type='button' value='check_all' onclick="this.value=check_all()" />