editviewtabs.tpl 2.06 KB
Newer Older
1
2
<div class="btn-group btn-toolbar btn-group-top">
    <a class="btn btn-default {if $selected == 'content'}active{/if}" href="{$WWWROOT}view/blocks.php?id={$viewid}{if $new}&new=1{/if}" title="{str tag=editcontent section=view}">
3
        <span class="icon icon-lg icon-pencil" role="presentation" aria-hidden="true"></span>
4
5
6
        <span class="btn-title">{str tag=editcontent section=view}</span>
    </a>
    <a class="btn btn-default {if $selected == 'layout'}active{/if}" href="{$WWWROOT}view/layout.php?id={$viewid}{if $new}&new=1{/if}" title="{str tag=editlayout section=view}">
7
        <span class="icon icon-lg icon-columns" role="presentation" aria-hidden="true"></span>
8
9
10
11
        <span class="btn-title">{str tag=editlayout section=view}</span>
    </a>
    {if !$issitetemplate && can_use_skins(null, false, $issiteview)}
        <a class="btn btn-default {if $selected == 'skin'}active{/if}" href="{$WWWROOT}view/skin.php?id={$viewid}{if $new}&new=1{/if}" title="{str tag=chooseskin section=skin}">
12
            <span class="icon icon-lg icon-paint-brush" role="presentation" aria-hidden="true"></span>
13
14
15
16
17
            <span class="btn-title">{str tag=chooseskin section=skin}</span>
        </a>
    {/if}
    {if $edittitle}
        <a class="btn btn-default {if $selected == 'title'}active{/if}" href="{$WWWROOT}view/edit.php?id={$viewid}{if $new}&new=1{/if}" title="{str tag=edittitleanddescription section=view}">
18
            <span class="icon icon-lg icon-cogs" role="presentation" aria-hidden="true"></span>
19
20
21
22
            <span class="btn-title">{str tag=edittitleanddescription section=view}</span>
        </a>
    {/if}
</div>
Naomi Guyer's avatar
Naomi Guyer committed
23
{if !$issitetemplate}
24
25
<div class="with-heading">
    <a href="{$displaylink}">
Naomi Guyer's avatar
Naomi Guyer committed
26
27
28
        {str tag=displayview section=view}
    </a>
    {if $edittitle || $viewtype == 'profile'}
29
    <a href="{$WWWROOT}view/access.php?id={$viewid}{if $collectionid}&collection={$collectionid}{/if}{if $new}&new=1{/if}">
30
        <span class="icon icon-unlock-alt" role="presentation" aria-hidden="true"></span>
31
32
        {str tag=shareview section=view}
    </a>
Naomi Guyer's avatar
Naomi Guyer committed
33
34
    {/if}
</div>
35
{/if}
36