File: diff2.txt

package info (click to toggle)
xxdiff 1%3A4.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,716 kB
  • ctags: 2,245
  • sloc: cpp: 18,495; python: 6,134; sh: 1,543; ansic: 1,535; perl: 308; lex: 284; yacc: 279; lisp: 250; tcl: 213; makefile: 82
file content (71 lines) | stat: -rw-r--r-- 1,860 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
?>
<Script language="JAVASCRIPT">
function validate()
{
	var msg = "Are you sure all the cover and text information is correct?"
	if (confirm(msg))
	{
	 return true
	}
	else
	{
	  return false
	}
}
function supply()
{
  //alert(cover.supplier.options[cover.supplier.selectedIndex].text)
  if (cover.supplier.options[cover.supplier.selectedIndex].text == 'Southern Print')
  {
    cover.finish.disabled = false
    cover.print.disabled = false 
    cover.ifc.disabled = false
    cover.ibc.disabled = false
    cover.obc.disabled = false  
    
    cover.finish.style.background='#ffffff'
    cover.print.style.background='#ffffff'
    cover.ifc.style.background='#ffffff'
    cover.ibc.style.background='#ffffff'
    cover.obc.style.background='#ffffff'    			
  }
  
  if (cover.supplier.options[cover.supplier.selectedIndex].text == 'Customer')
  {
    cover.finish.style.background='#C0C0C0'
    cover.print.style.background='#C0C0C0'
    cover.ifc.style.background='#C0C0C0'
    cover.ibc.style.background='#C0C0C0'
    cover.obc.style.background='#C0C0C0'
       
    cover.finish.disabled = true
    cover.print.disabled = true
    cover.ifc.disabled = true
    cover.ibc.disabled = true
    cover.obc.disabled = true
  }

  if (cover.cover_type.options[cover.cover_type.selectedIndex].text == 'Self')
  {
    cover.ifc.style.background='#C0C0C0'
    cover.ibc.style.background='#C0C0C0'
    cover.obc.style.background='#C0C0C0'
       
    cover.ifc.disabled = true
    cover.ibc.disabled = true
    cover.obc.disabled = true
  }
  
  if (cover.cover_type.options[cover.cover_type.selectedIndex].text == 'None')
  {
    
    cover.ifc.style.background='#C0C0C0'
    cover.ibc.style.background='#C0C0C0'
    cover.obc.style.background='#C0C0C0'
  
    cover.ifc.disabled = true
    cover.ibc.disabled = true
    cover.obc.disabled = true
  }
}
</script>