summaryrefslogtreecommitdiff
path: root/template/English/library.js
blob: bdb07ac16547bd216837afa62736b9845434b9fb (plain)
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
//
// this is part of VDR Admin
//
function open_help(url) {
	window.open(url, "_blank", "width=500, height=460, resizable=yes, scrollbars=yes, status=no, toolbar=no");
}

function del(suffix) {
	check=confirm("Delete Timer?");
	if(check) window.location.href=suffix;
}

function change(suffix) {
	check=confirm("Edit Status of Timer?");
	if(check) window.location.href=suffix;
}

function mdel() {
	check=confirm("Delete All Selected Timers?");
  if(check) document.FormName.submit();
}

function callurl( url ) {
	image = new Image();
	image.src = url;
}

function popup(URL) {
	window.open(URL, '_new', 'width=450, height=250, scrollbars=auto, resizable=yes');
}

function toolbar(URL) {
	window.open(URL, '_new', 'width=200, height=50');
}