~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/manage/email_alias.tpl.html

  • Committer: Elan Ruusamäe
  • Date: 2015-04-03 17:16:08 UTC
  • Revision ID: glen@delfi.ee-20150403171608-u41tcmt49uayv0g4
discard {literal} from templates

it is rarely needed in Smarty3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
{block "title"}{t}Email Aliases for {$username|escape:"html"}{/t}{/block}
4
4
 
5
5
{block "content"}
6
 
{literal}
 
6
 
7
7
<script type="text/javascript">
8
8
<!--
9
9
function validateForm()
10
10
{
11
11
    if (!Validation.isEmail(Eventum.getField('alias').val())) {
12
 
        alert('{/literal}{t escape=js}Please enter a valid email address.{/t}{literal}');
 
12
        alert('{t escape=js}Please enter a valid email address.{/t}');
13
13
        return false;
14
14
    }
15
15
    return true;
17
17
function removeEmails()
18
18
{
19
19
    if (!Validation.hasOneChecked('item[]')) {
20
 
        alert('{/literal}{t escape=js}Please choose which aliases need to be removed.{/t}{literal}');
 
20
        alert('{t escape=js}Please choose which aliases need to be removed.{/t}');
21
21
        return false;
22
22
    }
23
 
    if (!confirm('{/literal}{t escape=js}WARNING: This action will permanently remove the selected email aliases from the email account.{/t}{literal}')) {
 
23
    if (!confirm('{t escape=js}WARNING: This action will permanently remove the selected email aliases from the email account.{/t}')) {
24
24
        return false;
25
25
    }
26
26
    return true;
34
34
  });
35
35
//-->
36
36
</script>
37
 
{/literal}
 
37
 
38
38
       <h3>{t}Email Aliases for {$username|escape:"html"}{/t}</h3>
39
39
 
40
40
        <form id="save_form" method="post">