Subversion Repositories instagram

[/] [design/] [admin2/] [templates/] [ig/] [feed.tpl] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ffruehstueck
<div class="context-block content-bookmark">
2
{* DESIGN: Header START *}<div class="box-header"><div class="box-ml">
3
<h1 class="context-title">{"User feed"|i18n('extension/instagram')} {$user_name}</h1>
4
 
5
{* DESIGN: Mainline *}<div class="header-mainline"></div>
6
 
7
{* DESIGN: Header END *}</div></div>
8
 
9
{* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content">
10
 
11
{if count($object_array)}
12
 
13
{* Items per page selector. *}
14
<div class="context-toolbar">
15
<div class="button-left">
16
<p class="table-preferences">
17
{switch match=$number_of_items}
18
{case match=25}
19
<a href={'/user/preferences/set/admin_ig_feed_list_limit/1'|ezurl}>10</a>
20
<span class="current">25</span>
21
<a href={'/user/preferences/set/admin_ig_feed_list_limit/3'|ezurl}>50</a>
22
{/case}
23
 
24
{case match=50}
25
<a href={'/user/preferences/set/admin_ig_feed_list_limit/1'|ezurl}>10</a>
26
<a href={'/user/preferences/set/admin_ig_feed_list_limit/2'|ezurl}>25</a>
27
<span class="current">50</span>
28
{/case}
29
 
30
{case}
31
<span class="current">10</span>
32
<a href={'/user/preferences/set/admin_ig_feed_list_limit/2'|ezurl}>25</a>
33
<a href={'/user/preferences/set/admin_ig_feed_list_limit/3'|ezurl}>50</a>
34
{/case}
35
 
36
37
</p>
38
</div>
39
<div class="float-break"></div>
40
</div>
41
 
42
 
43
        {foreach $object_array as $photo}
44
                <div style="float: left; padding: 10px;">
45
                        {attribute_view_gui attribute=$photo.contentobject.data_map.image image_class=small href=concat('/content/view/full/',$photo.contentobject.main_node_id)|ezurl}
46
 
47
                </div>
48
 
49
        {/foreach}
50
 
51
{* Navigator. *}
52
<div class="context-toolbar">
53
{include name=navigator
54
         uri='design:navigator/google.tpl'
55
         page_uri=concat('/ig/feed/', $user_id)
56
         item_count=$object_count
57
         view_parameters=$view_parameters
58
         item_limit=$limit}
59
</div>
60
 
61
 
62
{else}
63
    <div class="block">
64
    <p>{"No images found!"|i18n('extension/instagram')}</p>
65
    </div>
66
{/if}
67
 
68
 
69
 
70
{* DESIGN: Content END *}</div></div></div>
71
 
72
<div class="controlbar">
73
</div>
74
 
75
</div>