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

{include file="columnfullstart.tpl"}
4

5
6
    {str tag="editblockspagedescription" section="view"}

7
    <form action="{$formurl}" method="post">
8
        <input type="submit" name="{$action_name}" id="action-dummy" class="hidden">
9
10
        <input type="hidden" id="viewid" name="id" value="{$view}">
        <input type="hidden" name="change" value="1">
11
        <input type="hidden" id="category" name="c" value="{$category}">
12
        {if $new}<input type="hidden" name="new" value="1">{/if}
13
14
15
16
17
18
19
20
21
22
23
        <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>

24
            <div class="fr" id="btn-displaymyview">
25
                <strong><a href="view.php?id={$view}&amp;new={$new}">{str tag=displaymyview section=view} &raquo;</a></strong>
26
27
            </div>

28
            <strong><a id="layout-link" href="columns.php?id={$view}&amp;c={$category}&amp;new={$new}"{if !$can_change_layout} class="disabled"{/if}>{str tag='changeviewlayout' section='view'}</a></strong> {contextualhelp plugintype="core" pluginname="view" section="changeviewlayout"}
29
30
31

            <div id="bottom-pane">
                <div id="column-container">
32
33
34
                <div id="blocksinstruction" class="center">
                    {str tag='blocksintructionnoajax' section='view'}
                </div>
35
                    {$columns}
36
                    <div class="cb">
37
38
39
40
41
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            {literal}
42
            insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, IMG({'src': config.theme['images/loading.gif'], 'alt': ''}), ' ', get_string('loading')));
43
44
45
46
47
            {/literal}
            </script>
        </div>
    </form>

48
    <div id="view-wizard-controls" class="center">
49
{if $new}
50
51
52
53
54
        <form action="" method="POST">
            <input type="hidden" name="id" value="{$view}">
            <input type="hidden" name="new" value="1">
            <input type="submit" name="cancel" class="submit" value="{str tag='cancel'}" onclick="return confirm('{str tag='confirmcancelcreatingview' section='view'}');">
        </form>
55
56
57
58
59
60
61
62
63
64
        <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>
65
{else}
66
        <form action="{$WWWROOT}view/{if $groupid}groupviews.php{else if $institution}institutionviews.php{/if}" method="GET">
67
68
    {if $groupid}
            <input type="hidden" name="group" value="{$groupid}">
69
70
    {else if $institution}
            <input type="hidden" name="institution" value="{$institution}">
71
    {/if}
72
73
            <input class="submit" type="submit" value="{str tag='done'}">
        </form>
74
{/if}
75
    </div>
76
77
78
{include file="columnfullend.tpl"}

{include file="footer.tpl"}