editviewtabs.tpl 1.85 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{if !$issitetemplate}

    <a class="pts pull-left with-heading" href="{$displaylink}">
        {str tag=displayview section=view}
    </a>
    {if $edittitle || $viewtype == 'profile'}
        <a class="pts plm pull-left with-heading" href="{$WWWROOT}view/access.php?id={$viewid}{if $new}&new=1{/if}">
            <span class="icon icon-unlock-alt"></span>
            {str tag=shareview section=view}
        </a>
    {/if}

{/if}

15
<div class="toolbar mbxl pbxl">
Naomi Guyer's avatar
Naomi Guyer committed
16

17
18
    <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}">
19
            <span class="icon icon-lg icon-pencil prs"></span>
20
21
22
23
24
25
            <span class="hidden-xs">{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}">
26
            <span class="icon icon-lg icon-columns prs"></span>
27
28
29
30
31
            <span class="hidden-xs">{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}">
32
                <span class="icon icon-lg icon-paint-brush prs"></span>
33
34
35
36
37
38
                <span class="hidden-xs">{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}">
39
                <span class="icon icon-lg icon-cogs prs"></span>
40
41
42
43
44
                <span class="hidden-xs">{str tag=edittitleanddescription section=view}</span>
            </a>
        {/if}

    </div>
Naomi Guyer's avatar
Naomi Guyer committed
45
</div>
46
47
48
49