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

index.tpl « templates « VisitorGenerator « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3477285ac0414b20bc6f9e54a243441f93e0f60 (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
{include file="CoreAdminHome/templates/header.tpl"}

<h2>{'VisitorGenerator_VisitorGenerator'|translate}</h2>
<p>{'VisitorGenerator_PluginDescription'|translate}</p>
<p>You can overwrite the log file that is used to generate fake visits (change {$accessLogPath}). This is a log file of requests to "piwik.php" in the format
    "Apache combined log".</p>
<form method="POST" action="{url module=VisitorGenerator action=generate}">
    <table class="adminTable" style="width: 600px;">
        <tr>
            <td><label for="idSite">{'General_ChooseWebsite'|translate}</label></td>
            <td>
                {include file="CoreHome/templates/sites_selection.tpl"
                showAllSitesItem=false showSelectedSite=true switchSiteOnSelect=false inputName=idSite}
            </td>
        </tr>
        <tr>
            <td><label for="daysToCompute">{'VisitorGenerator_DaysToCompute'|translate}</label></td>
            <td><input type="text" value="1" name="daysToCompute"/></td>
        </tr>
    </table>
    {'VisitorGenerator_Warning'|translate}<br/>
    {'VisitorGenerator_NotReversible'|translate:'<b>':'</b>'}<br/><br/>

    <p><strong>This will generate approximately {$countActionsPerRun} fake actions on this site for each day</strong>.<br/>
    </p>
    {'VisitorGenerator_AreYouSure'|translate}<br/><br/>
    <input type="checkbox" name="choice" id="choice" value="yes"/> <label for="choice">{'VisitorGenerator_ChoiceYes'|translate}</label>
    <br/>
    <input type="hidden" value="{$token_auth}" name="token_auth"/>
    <input type="hidden" value="{$nonce}" name="form_nonce"/>
    <br/>

    NOTE: It might take a few minutes to generate visits and actions, please be patient...<br/>
    There is also a faster tool that will import large test data in Piwik, see the <a href='https://github.com/piwik/piwik/tree/master/tests#testing-data'>README</a>.</p>
    <br/>
    <input type="submit" value="{'VisitorGenerator_Submit'|translate}" name="submit" class="submit"/>
</form>

{include file="CoreAdminHome/templates/footer.tpl"}