/
googleplus.inline.view.tpl
69 lines (55 loc) · 2.6 KB
/
googleplus.inline.view.tpl
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{if $post}
<div class="clearfix alert stats">
{include file="post.index._top-post.tpl"}
<div class="grid_6 center keystats omega">
<div class="big-number">
{if $post->favlike_count_cache}
<h1>{$post->favlike_count_cache}</h1>
<h3>+1{if $post->reply_count_cache neq 1}s{/if}
in {$post->adj_pub_date|relative_datetime}</h3>
</div>
</div>
{/if}
</div>
{/if}
{if $display eq 'all_gplus_posts' or $gplus_posts}
<div class="section">
<div class="clearfix">
{insert name="help_link" id=$display}
<h2>{if $parent_name}<a href="?v={$parent}&u={$instance->network_username|urlencode}&n={$instance->network|urlencode}">{$parent_name}</a> → {/if}{$header}</h2>
{if $description}<h3>{$description}</h3>{/if}
</div>
<div class="header">
{if $is_searchable}<a href="#" class="grid_search" title="Search" onclick="return false;"><span id="grid_search_icon">Search</span></a>{/if}
{if $logged_in_user and $display eq 'all_gplus_posts'} | <a href="{$site_root_path}post/export.php?u={$instance->network_username|urlencode}&n={$instance->network|urlencode}">Export</a>{/if}
</div>
{if $is_searchable}
{include file="_grid.search.tpl"}
<script type="text/javascript" src="{$site_root_path}assets/js/grid_search.js"></script>
{/if}
{if ($display eq 'all_gplus_posts' and not $gplus_posts) or
($display eq 'most_replied_to_posts' and not $gplus_posts) }
<div class="alert urgent">
<p>
<span class="ui-icon ui-icon-info" style="float: left; margin:.3em 0.3em 0 0;"></span>
No posts to display.
</p>
</div>
{/if}
{if $gplus_posts}
<div id="all-posts-div">
{foreach from=$gplus_posts key=tid item=t name=foo}
{include file="_post.counts_no_author.tpl" post=$t show_favorites_instead_of_retweets="true"}
{/foreach}
</div>
{/if}
<div class="view-all" id="older-posts-div">
{if $next_page}
<a href="{$site_root_path}?{if $smarty.get.v}v={$smarty.get.v}&{/if}{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}page={$next_page}" id="next_page">< Older Posts</a>
{/if}
{if $last_page}
| <a href="{$site_root_path}?{if $smarty.get.v}v={$smarty.get.v}&{/if}{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}page={$last_page}" id="last_page">Newer Posts ></a>
{/if}
</div>
</div>
{/if}