Project

General

Profile

« Previous | Next » 

Revision 1240

Added by Dietmar almost 15 years ago

Ticket #907 js files in backend themes are stored at wrong places
add include/jquery/plugins/toggle_zip.js
removed toggle_zip.js in backend themes

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14
12-Jan-2010 Dietmar Woellbrink (Luisehahne)
14
13-Jan-2010 Dietmar Woellbrink (Luisehahne)
15
#	Ticket #907 js files in backend themes are stored at wrong places
16
+	add include/jquery/plugins/toggle_zip.js
17
-	removed toggle_zip.js in backend themes
18
112-Jan-2010 Dietmar Woellbrink (Luisehahne)
15 19
#	fix open_basedir restriction in effect in save_post.php
16 20
11-Jan-2010 Dietmar Woellbrink (Luisehahne)
17 21
!	fix load_module, load_language (tks to Webbird)
branches/2.8.x/wb/include/jquery/plugins/toggle_zip.js
1
function toggle() {
2
	var check = document.getElementById("file2");
3
	if (check.style.visibility == "visible") {
4
		for (i=2; i<=10; i++) {
5
			document.getElementById("file" + i).style.visibility = "hidden";
6
		}
7
		document.getElementById("delzip").style.display = "inline";
8
	} else {
9
		for (i=2; i<=10; i++) {
10
			document.getElementById("file" + i).style.visibility = "visible";
11
		}
12
		document.getElementById("delzip").style.display = "none";
13
	}
14
}
branches/2.8.x/wb/admin/interface/version.php
70 70

  
71 71
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
72 72
if(!defined('VERSION')) define('VERSION', '2.8.1');
73
if(!defined('REVISION')) define('REVISION', '1239');
73
if(!defined('REVISION')) define('REVISION', '1240');
74 74

  
75 75
?>
branches/2.8.x/wb/templates/wb_theme/templates/toggle_zip.js
1
function toggle() {
2
	var check = document.getElementById("file2");
3
	if (check.style.visibility == "visible") {
4
		for (i=2; i<=10; i++) {
5
			document.getElementById("file" + i).style.visibility = "hidden";
6
		}
7
		document.getElementById("delzip").style.display = "inline";
8
	} else {
9
		for (i=2; i<=10; i++) {
10
			document.getElementById("file" + i).style.visibility = "visible";
11
		}
12
		document.getElementById("delzip").style.display = "none";
13
	}
14
}
branches/2.8.x/wb/templates/wb_theme/templates/media.htt
1 1
<!-- BEGIN main_block -->
2 2

  
3
<script src="{THEME_URL}/templates/toggle_zip.js" type="text/javascript"></script>
3
<script src="{WB_URL}/include/jquery/plugins/toggle_zip.js" type="text/javascript"></script>
4 4

  
5 5
<h2>{HEADING_BROWSE_MEDIA}</h2>
6 6

  
branches/2.8.x/wb/templates/argos_theme/templates/toggle_zip.js
1
function toggle() {
2
	var check = document.getElementById("file2");
3
	if (check.style.visibility == "visible") {
4
		for (i=2; i<=10; i++) {
5
			document.getElementById("file" + i).style.visibility = "hidden";
6
		}
7
		document.getElementById("delzip").style.display = "inline";
8
	} else {
9
		for (i=2; i<=10; i++) {
10
			document.getElementById("file" + i).style.visibility = "visible";
11
		}
12
		document.getElementById("delzip").style.display = "none";
13
	}
14
}
branches/2.8.x/wb/templates/argos_theme/templates/media.htt
1 1
<!-- BEGIN main_block -->
2
<script src="{THEME_URL}/templates/toggle_zip.js" type="text/javascript"></script>
2
<script src="{WB_URL}/include/jquery/plugins/toggle_zip.js" type="text/javascript"></script>
3 3

  
4 4
<table cellpadding="0" cellspacing="0" border="0">
5 5
  <tr>

Also available in: Unified diff