editviewtabs.tpl 2.27 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="tabswrap">
    <h3 class="rd-tab-title"><a href="#">{str tag=tabs}<span class="rd-tab"></span></a></h3>
    <ul class="in-page-tabs">
        {if $edittitle}
        <li {if $selected == 'title'} class="current-tab"{/if}>
            <a{if $selected == 'title'} class="current-tab"{/if} href="{$WWWROOT}view/edit.php?id={$viewid}{if $new}&new=1{/if}">
                {str tag=edittitleanddescription section=view}<span class="accessible-hidden">({str tag=tab}{if $selected == 'title'} {str tag=selected}{/if})</span>
            </a>
        </li>
        {/if}
        <li {if $selected == 'layout'} class="current-tab"{/if}>
            <a{if $selected == 'layout'} class="current-tab"{/if} href="{$WWWROOT}view/layout.php?id={$viewid}{if $new}&new=1{/if}">
                {str tag=editlayout section=view}<span class="accessible-hidden">({str tag=tab}{if $selected == 'layout'} {str tag=selected}{/if})</span>
            </a>
        </li>
        <li {if $selected == 'content'} class="current-tab"{/if}>
            <a{if $selected == 'content'} class="current-tab"{/if} href="{$WWWROOT}view/blocks.php?id={$viewid}{if $new}&new=1{/if}">
                {str tag=editcontent section=view}<span class="accessible-hidden">({str tag=tab}{if $selected == 'content'} {str tag=selected}{/if})</span>
            </a>
        </li>
21
        {if !$issitetemplate}
22
            {if can_use_skins(null, false, $issiteview) && $viewtype != 'dashboard'}
23
24
25
26
27
28
29
30
31
32
33
34
35
36
                <li {if $selected == 'skin'} class="current-tab"{/if}>
                    <a{if $selected == 'skin'} class="current-tab"{/if} href="{$WWWROOT}view/skin.php?id={$viewid}{if $new}&new=1{/if}">
                        {str tag=chooseskin section=skin}<span class="accessible-hidden">({str tag=tab}{if $selected == 'skin'} {str tag=selected}{/if})</span>
                    </a>
                </li>
            {/if}
            <li class="displaypage">
                <a href="{$displaylink}">{str tag=displayview section=view} &raquo;</a>
            </li>
            {if $edittitle || $viewtype == 'profile'}
            <li class="sharepage">
                <a href="{$WWWROOT}view/access.php?id={$viewid}{if $new}&new=1{/if}">{str tag=shareview section=view} &raquo;</a>
            </li>
            {/if}
37
38
39
        {/if}
    </ul>
</div>