diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-06-02 04:46:33 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-06-02 04:46:33 +0400 |
commit | 868e2257f9b067a3e05a95e3b6590d5dd6f41780 (patch) | |
tree | 7297c87e83c401d8d94dc21c0646c327623abf90 /plugins/SitesManager/templates | |
parent | 4a0a79943979b81b0fd73731cf73b39051463fc8 (diff) |
- refs #355 now displaying the new OO JS tag by default in install & in admin UI + showing some help + renaming the "js code" to consistent "JavaScript Tracking Tag"
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/DisplayJavascriptCode.tpl | 7 | ||||
-rw-r--r-- | plugins/SitesManager/templates/JavascriptTagHelp.tpl | 3 | ||||
-rw-r--r-- | plugins/SitesManager/templates/SitesManager.tpl | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/plugins/SitesManager/templates/DisplayJavascriptCode.tpl b/plugins/SitesManager/templates/DisplayJavascriptCode.tpl index e601c8dc58..baaf950a11 100644 --- a/plugins/SitesManager/templates/DisplayJavascriptCode.tpl +++ b/plugins/SitesManager/templates/DisplayJavascriptCode.tpl @@ -22,6 +22,11 @@ code { </style> {/literal} -<p>{'SitesManager_JsCodeHelp'|translate}:</p> +<p>{'SitesManager_JsTrackingTagHelp'|translate}:</p> <code>{$jsTag}</code> + + +<ul style="list-style-type:disc; padding-left:20px"> +{include file=SitesManager/templates/JavascriptTagHelp.tpl} +</ul>
\ No newline at end of file diff --git a/plugins/SitesManager/templates/JavascriptTagHelp.tpl b/plugins/SitesManager/templates/JavascriptTagHelp.tpl new file mode 100644 index 0000000000..9a2f4c040e --- /dev/null +++ b/plugins/SitesManager/templates/JavascriptTagHelp.tpl @@ -0,0 +1,3 @@ +<li>The best is to add the tag just before your </body> at the bottom of your pages.</li> +<li>You can generally edit your website templates and add this code in a "footer" file.</li> +<li>For advanced users, please check out the <a target="_blank" href="misc/redirectToUrl.php?url=http://piwik.org/docs/javascript-tracking/">Piwik Javascript Tracking documentation</a>.</li> diff --git a/plugins/SitesManager/templates/SitesManager.tpl b/plugins/SitesManager/templates/SitesManager.tpl index d90a27c29f..84466376a5 100644 --- a/plugins/SitesManager/templates/SitesManager.tpl +++ b/plugins/SitesManager/templates/SitesManager.tpl @@ -41,7 +41,7 @@ <th>{'SitesManager_Urls'|translate}</th> <th> </th> <th> </th> - <th> {'SitesManager_JsCode'|translate} </th> + <th> {'SitesManager_JsTrackingTag'|translate} </th> </tr> </thead> <tbody> @@ -52,7 +52,7 @@ <td id="urls" class="editableSite">{foreach from=$site.alias_urls item=url}{$url}<br />{/foreach}</td> <td><img src='plugins/UsersManager/images/edit.png' class="editSite" id="row{$i}" href='#' alt="" /></td> <td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row{$i}" value="{'General_Delete'|translate}" alt="" /></td> - <td><a href='{url action=displayJavascriptCode idsite=$site.idsite}'>{'SitesManager_ShowJsCode'|translate}</a></td> + <td><a href='{url action=displayJavascriptCode idsite=$site.idsite}'>{'SitesManager_ShowTrackingTag'|translate}</a></td> </tr> {/foreach} |