]> git.mxchange.org Git - friendica.git/blob - view/theme/darkzero/theme.php
added index to config and pconfig table
[friendica.git] / view / theme / darkzero / theme.php
1 <?php
2
3 /*
4  * Name: Darkzero
5  * Version: 1.0
6  * Author: Fabio Communi <fabrix.xm@gmail.com>
7  * Maintainer: Fabio Communi <fabrix.xm@gmail.com>
8  * Maintainer: Mike Macgirvin <mike@macgirvin.com>
9  */
10
11 $a->theme_info = array(
12   'extends' => 'duepuntozero',
13 );
14
15 $a->page['htmlhead'] .= <<< EOT
16 <script>
17 $(document).ready(function() {
18
19 $('html').click(function() { $("#nav-notifications-menu" ).hide(); });
20
21 $('.group-edit-icon').hover(
22         function() {
23                 $(this).addClass('icon'); $(this).removeClass('iconspacer');},
24         function() {
25                 $(this).removeClass('icon'); $(this).addClass('iconspacer');}
26         );
27
28 $('.sidebar-group-element').hover(
29         function() {
30                 id = $(this).attr('id');
31                 $('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
32
33         function() {
34                 id = $(this).attr('id');
35                 $('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
36         );
37
38
39 $('.savedsearchdrop').hover(
40         function() {
41                 $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
42         function() {
43                 $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
44         );
45
46 $('.savedsearchterm').hover(
47         function() {
48                 id = $(this).attr('id');
49                 $('#drop-' + id).addClass('icon');      $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
50
51         function() {
52                 id = $(this).attr('id');
53                 $('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
54         );
55
56 });
57
58
59 </script>
60 EOT;