Subversion Repositories instagram

[/] [design/] [admin2/] [templates/] [ig/] [feed.tpl] - Rev 2

Compare with Previous | Blame | View Log

<div class="context-block content-bookmark">
{* DESIGN: Header START *}<div class="box-header"><div class="box-ml">
<h1 class="context-title">{"User feed"|i18n('extension/instagram')} {$user_name}</h1>

{* DESIGN: Mainline *}<div class="header-mainline"></div>

{* DESIGN: Header END *}</div></div>

{* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content">

{if count($object_array)}

{* Items per page selector. *}
<div class="context-toolbar">
<div class="button-left">
<p class="table-preferences">
{switch match=$number_of_items}
{case match=25}
<a href={'/user/preferences/set/admin_ig_feed_list_limit/1'|ezurl}>10</a>
<span class="current">25</span>
<a href={'/user/preferences/set/admin_ig_feed_list_limit/3'|ezurl}>50</a>
{/case}

{case match=50}
<a href={'/user/preferences/set/admin_ig_feed_list_limit/1'|ezurl}>10</a>
<a href={'/user/preferences/set/admin_ig_feed_list_limit/2'|ezurl}>25</a>
<span class="current">50</span>
{/case}

{case}
<span class="current">10</span>
<a href={'/user/preferences/set/admin_ig_feed_list_limit/2'|ezurl}>25</a>
<a href={'/user/preferences/set/admin_ig_feed_list_limit/3'|ezurl}>50</a>
{/case}

{/switch}
</p>
</div>
<div class="float-break"></div>
</div>


        {foreach $object_array as $photo}
                <div style="float: left; padding: 10px;">
                        {attribute_view_gui attribute=$photo.contentobject.data_map.image image_class=small href=concat('/content/view/full/',$photo.contentobject.main_node_id)|ezurl}
                       
                </div>
       
        {/foreach}

{* Navigator. *}
<div class="context-toolbar">
{include name=navigator
         uri='design:navigator/google.tpl'
         page_uri=concat('/ig/feed/', $user_id)
         item_count=$object_count
         view_parameters=$view_parameters
         item_limit=$limit}
</div>


{else}
    <div class="block">
    <p>{"No images found!"|i18n('extension/instagram')}</p>
    </div>
{/if}



{* DESIGN: Content END *}</div></div></div>

<div class="controlbar">
</div>

</div>
 

Compare with Previous | Blame | View Log