~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/manage/account_managers.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:
5
5
<!--
6
6
var url = '{$smarty.server.PHP_SELF}';
7
7
var cam_id = {$smarty.get.id|default:''|intval};
8
 
{literal}
 
8
 
9
9
function populateCustomerComboBox()
10
10
{
11
11
  if (cam_id == '') {
18
18
function checkDelete()
19
19
{
20
20
  if (!Validation.hasOneChecked('items[]')) {
21
 
      alert('{/literal}{t escape=js}Please select at least one of the account managers.{/t}{literal}');
 
21
      alert('{t escape=js}Please select at least one of the account managers.{/t}');
22
22
      return false;
23
23
  }
24
 
  if (!confirm('{/literal}{t escape=js}This action will remove the selected account managers.{/t}{literal}')) {
 
24
  if (!confirm('{t escape=js}This action will remove the selected account managers.{/t}')) {
25
25
      return false;
26
26
  } else {
27
27
      return true;
37
37
  });
38
38
//-->
39
39
</script>
40
 
{/literal}
 
40
 
41
41
<form name="manager_form" method="post">
42
42
{if $smarty.get.cat|default:'' == 'edit'}
43
43
<input type="hidden" name="cat" value="update">