Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tablesCreation.tpl « templates « Installation « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fc03008d2c9af8457c47e94ec1ae0b327c9ca120 (plain)
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
56
57
58
59
60
61
62
63
<h2>{'Installation_Tables'|translate}</h2>

{if isset($someTablesInstalled)}
    <div class="warning">{'Installation_TablesWithSameNamesFound'|translate:"<span id='linkToggle'>":"</span>"}
        <img src="themes/default/images/warning_medium.png"/>
    </div>
    <div id="toggle" style="display:none;color:#4F2410">
        <small><i>{'Installation_TablesFound'|translate}:
                <br/>{$tablesInstalled} </i></small>
    </div>
    {if isset($showReuseExistingTables)}
        <p>{'Installation_TablesWarningHelp'|translate}</p>
        <p class="nextStep"><a href="{url action=$nextModuleName}">{'Installation_TablesReuse'|translate} &raquo;</a></p>
    {else}
        <p class="nextStep"><a href="{url action=$previousPreviousModuleName}">&laquo; {'Installation_GoBackAndDefinePrefix'|translate}</a></p>
    {/if}
    <p class="nextStep"><a href="{url deleteTables=1}" id="eraseAllTables">{'Installation_TablesDelete'|translate} &raquo;</a></p>
{/if}

{if isset($existingTablesDeleted)}
    <div class="success"> {'Installation_TablesDeletedSuccess'|translate}
        <img src="themes/default/images/success_medium.png"/></div>
{/if}

{if isset($tablesCreated)}
    <div class="success"> {'Installation_TablesCreatedSuccess'|translate}
        <img src="themes/default/images/success_medium.png"/></div>
{/if}

{literal}
<script>
    $(document).ready(function () {
        {/literal}
        var strConfirmEraseTables = "{'Installation_ConfirmDeleteExistingTables'|translate:"[$tablesInstalled]":"<br />"} ";
        {literal}

        // toggle the display of the tables detected during the installation when clicking
        // on the span "linkToggle"
        $("#linkToggle")
                .css("border-bottom", "thin dotted #ff5502")

                .hover(function () {
                    $(this).css({ cursor: "pointer"});
                },
                function () {
                    $(this).css({ cursor: "auto"});
                })
                .css("border-bottom", "thin dotted #ff5502")
                .click(function () {
                    $("#toggle").toggle();
                });

        $("#eraseAllTables")
                .click(function () {
                    if (!confirm(strConfirmEraseTables)) {
                        return false;
                    }
                });

        ;
    });
</script>
{/literal}