blocks.tpl 1.83 KB
Newer Older
1
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
47
48
49
50
51
52
53
54
55
{include file="header.tpl"}

{include file="columnfullstart.tpl"}

    <form action="" method="post">
        <input type="hidden" id="viewid" name="id" value="{$view}">
        <input type="hidden" name="change" value="1">
        <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>

            <a id="layout-link" href="layout.php?id=1"{if !$can_change_layout} style="display: none;"{/if}>Change View Layout</a>

            <div id="bottom-pane">
                <div id="column-container">
                    {$columns}
                    <div id="clearer">
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            {literal}
            insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, 'Loading...'));
            {/literal}
            </script>
        </div>
    </form>

{* TODO theme me *}
{if $new}
        <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>
{else}
    <form action="{$WWWROOT}view/" method="GET">
        <input class="submit" type="submit" value="{str tag='done'}">
    </form>
{/if}
{include file="columnfullend.tpl"}

{include file="footer.tpl"}