aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/theme.php
blob: 3e55b658a7adb22b7b661abacf6f72a2889e7e98 (plain) (blame)
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
<?php
$a->theme_info = array();

$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {

$('.group-edit-icon').hover(
	function() {
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
	function() {
		$(this).removeClass('icon'); $(this).addClass('iconspacer');}
	);

$('.sidebar-group-element').hover(
	function() {
		id = $(this).attr('id');
		$('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},

	function() {
		id = $(this).attr('id');
		$('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
	);
});
</script>
EOT;