]> git.mxchange.org Git - friendica-addons.git/blob - communityhome/communityhome.tpl
Add an INSTALL.txt as an alternative solution to bug #520
[friendica-addons.git] / communityhome / communityhome.tpl
1 <script>
2         $(function(){
3                 $("#tab_1 a").click(function(e){
4                         $("#login_standard").show();
5                         $("#login_openid").hide();
6                         $("#tab_1").addClass("active");
7                         $("#tab_2").removeClass("active");
8                         e.preventDefault();
9                         return false;
10                 });
11                 $("#tab_2 a").click(function(e){
12                         $("#login_openid").show();
13                         $("#login_standard").hide();
14                         $("#tab_2").addClass("active");
15                         $("#tab_1").removeClass("active");
16                         e.preventDefault();
17                         return false;
18                         
19                 });
20                 
21         });
22 </script>
23 {{ if $noOid }}
24         <h3>$login_title</h3>
25 {{ else }}
26 <ul class="tabs">
27         <li id="tab_1" class="tab button active"><a href="#">$tab_1</a></li>
28         <li id="tab_2" class="tab button"><a href="#">$tab_2</a></li>
29 </ul>
30 {{ endif }}
31 $login_form
32
33
34 {{ if $lastusers_title }}
35 <h3>$lastusers_title</h3>
36 <div class='items-wrapper'>
37 {{ for $lastusers_items as $i }}
38         $i
39 {{ endfor }}
40 </div>
41 {{ endif }}
42
43
44 {{ if $activeusers_title }}
45 <h3>$activeusers_title</h3>
46 <div class='items-wrapper'>
47 {{ for $activeusers_items as $i }}
48         $i
49 {{ endfor }}
50 </div>
51 {{ endif }}
52
53 {{ if $photos_title }}
54 <h3>$photos_title</h3>
55 <div class='items-wrapper'>
56 {{ for $photos_items as $i }}
57         $i
58 {{ endfor }}
59 </div>
60 {{ endif }}
61
62
63 {{ if $like_title }}
64 <h3>$like_title</h3>
65 <ul id='likes'>
66 {{ for $like_items as $i }}
67         <li>$i</li>
68 {{ endfor }}
69 </ul>
70 {{ endif }}