~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/manage/monitor.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:
1
1
{extends "manage/manage.tpl.html"}
2
2
 
3
3
{block "manage_content"}
4
 
{literal}
 
4
 
5
5
<script type="text/javascript">
6
6
<!--
7
7
function validateForm() {
9
9
 
10
10
  field1 = Eventum.getField('diskcheck[status]').filter(":checked").val();
11
11
  if (field1 == 'enabled' && Validation.isFieldWhitespace("diskcheck[partition]")) {
12
 
    alert('{/literal}{t escape=js}Please fill proper partition path{/t}{literal}');
 
12
    alert('{t escape=js}Please fill proper partition path{/t}');
13
13
    Validation.selectField('diskcheck[partition]');
14
14
    return false;
15
15
  }
36
36
  });
37
37
//-->
38
38
</script>
39
 
{/literal}
 
39
 
40
40
<form name="monitor_setup_form" onSubmit="return validateForm(this);" method="post">
41
41
<input type="hidden" name="cat" value="update">
42
42
  <table class="bordered">