blocks.tpl 2.37 KB
Newer Older
1
2
3
4
{include file="header.tpl"}

{include file="columnfullstart.tpl"}

5
    <form action="{$formurl}" method="post">
6
7
        <input type="hidden" id="viewid" name="id" value="{$view}">
        <input type="hidden" name="change" value="1">
8
        <input type="hidden" id="category" name="c" value="{$category}">
9
        {if $new}<input type="hidden" name="new" value="1">{/if}
10
11
12
13
14
15
16
17
18
19
20
        <div id="page">
            <div id="top-pane">
                <div id="category-list">
                    {$category_list}
                </div>
                <div id="blocktype-list">
                    {$blocktype_list}
                </div>
                <div id="blocktype-footer"></div>
            </div>

21
            <div class="fr" style="font-size: smaller; padding-right: 5px;">
22
                <strong><a href="view.php?id={$view}">Display my view &raquo;</a></strong>
23
24
            </div>

25
            <a id="layout-link" href="layout.php?id={$view}&c={$category}&new={$new}"{if !$can_change_layout} class="disabled"{/if}>{str tag='changeviewlayout' section='view'}</a>
26
27
28
29

            <div id="bottom-pane">
                <div id="column-container">
                    {$columns}
30
                    <div class="cb">
31
32
33
34
35
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            {literal}
36
            insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, IMG({'src': config.theme['images/loading.gif'], 'alt': ''}), ' ', get_string('loading')));
37
38
39
40
41
            {/literal}
            </script>
        </div>
    </form>

42
    <div id="view-wizard-controls" class="center">
43
{if $new}
44
45
46
47
48
49
50
51
52
53
        <form action="{$WWWROOT}view/edit.php" method="GET">
            <input type="hidden" name="id" value="{$view}">
            <input type="hidden" name="new" value="1">
            <input type="submit" class="submit" value="{str tag='back'}">
        </form>
        <form action="{$WWWROOT}view/access.php" method="GET">
            <input type="hidden" name="id" value="{$view}">
            <input type="hidden" name="new" value="1">
            <input class="submit" type="submit" value="{str tag='next'}">
        </form>
54
{else}
55
56
57
        <form action="{$WWWROOT}view/" method="GET">
            <input class="submit" type="submit" value="{str tag='done'}">
        </form>
58
{/if}
59
    </div>
60
61
62
{include file="columnfullend.tpl"}

{include file="footer.tpl"}