editviewtabs.tpl 1.85 KB
Newer Older
1
<div class="toolbar mbxl pbxl">
Naomi Guyer's avatar
Naomi Guyer committed
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
    <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}">
            <span class="fa fa-lg fa-pencil prs"></span>
            <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}">
            <span class="fa fa-lg fa-columns prs"></span>
            <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}">
                <span class="fa fa-lg fa-paint-brush prs"></span>
                <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}">
                <span class="fa fa-lg fa-cogs prs"></span>
                <span class="hidden-xs">{str tag=edittitleanddescription section=view}</span>
            </a>
        {/if}

    </div>

        {if !$issitetemplate}

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

    {/if}


47
</div>