2012-12-22 15:36:35 -05:00
|
|
|
<script>
|
|
|
|
$(function(){
|
|
|
|
$("#tab_1 a").click(function(e){
|
|
|
|
$("#login_standard").show();
|
|
|
|
$("#login_openid").hide();
|
|
|
|
$("#tab_1").addClass("active");
|
|
|
|
$("#tab_2").removeClass("active");
|
|
|
|
e.preventDefault();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
$("#tab_2 a").click(function(e){
|
|
|
|
$("#login_openid").show();
|
|
|
|
$("#login_standard").hide();
|
|
|
|
$("#tab_2").addClass("active");
|
|
|
|
$("#tab_1").removeClass("active");
|
|
|
|
e.preventDefault();
|
|
|
|
return false;
|
2018-03-07 14:13:02 -05:00
|
|
|
|
2012-12-22 15:36:35 -05:00
|
|
|
});
|
2018-03-07 14:13:02 -05:00
|
|
|
|
2012-12-22 15:36:35 -05:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{{if $noOid}}
|
|
|
|
<h3>{{$login_title}}</h3>
|
|
|
|
{{else}}
|
|
|
|
<ul class="tabs">
|
|
|
|
<li id="tab_1" class="tab button active"><a href="#">{{$tab_1}}</a></li>
|
|
|
|
<li id="tab_2" class="tab button"><a href="#">{{$tab_2}}</a></li>
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|
|
|
|
{{$login_form}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $lastusers_title}}
|
|
|
|
<h3>{{$lastusers_title}}</h3>
|
|
|
|
<div class='items-wrapper'>
|
|
|
|
{{foreach $lastusers_items as $i}}
|
|
|
|
{{$i}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $photos_title}}
|
|
|
|
<h3>{{$photos_title}}</h3>
|
|
|
|
<div class='items-wrapper'>
|
|
|
|
{{foreach $photos_items as $i}}
|
|
|
|
{{$i}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $like_title}}
|
|
|
|
<h3>{{$like_title}}</h3>
|
|
|
|
<ul id='likes'>
|
|
|
|
{{foreach $like_items as $i}}
|
|
|
|
<li>{{$i}}</li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|