~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/manage/customize_listing.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 psd_id = {$smarty.get.id|intval|default:''};
8
 
  {literal}
 
8
 
9
9
  function retrieveStatuses(f)
10
10
  {
11
11
      if (psd_id == '') {
18
18
  function validateForm(f)
19
19
  {
20
20
      if (getSelectedOption(f, 'project') == '-1') {
21
 
          alert('{/literal}{t escape=js}Please choose the project that you wish to customize.{/t}{literal}');
 
21
          alert('{t escape=js}Please choose the project that you wish to customize.{/t}');
22
22
          selectField(f, 'project');
23
23
          return false;
24
24
      }
27
27
  function checkDelete(f)
28
28
  {
29
29
      if (!Validation.hasOneChecked('items[]')) {
30
 
          alert('{/literal}{t escape=js}Please select at least one of the customizations.{/t}{literal}');
 
30
          alert('{t escape=js}Please select at least one of the customizations.{/t}');
31
31
          return false;
32
32
      }
33
 
      if (!confirm('{/literal}{t escape=js}This action will remove the selected entries.{/t}{literal}')) {
 
33
      if (!confirm('{t escape=js}This action will remove the selected entries.{/t}')) {
34
34
          return false;
35
35
      } else {
36
36
          return true;
44
44
  });
45
45
  //-->
46
46
  </script>
47
 
{/literal}
 
47
 
48
48
 
49
49
 
50
50
<form id="customize_form" method="post">