aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tours
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-05-04 17:16:01 +0000
committerflop25 <flop25@piwigo.org>2014-05-04 17:16:01 +0000
commitfa08b7011f8bc84ca022ec7b25052cdd19804fa5 (patch)
treebb9f01ff9a35d5c22b81c2cbd015b98314446db0 /plugins/TakeATour/tours
parent99d9484a3cd5ec6a18215e6917d3ee729480c7de (diff)
Translate button Next/prev/end
git-svn-id: http://piwigo.org/svn/trunk@28347 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/TakeATour/tours/first_contact/tour.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl b/plugins/TakeATour/tours/first_contact/tour.tpl
index d5d6799ee..6b9d2afb3 100644
--- a/plugins/TakeATour/tours/first_contact/tour.tpl
+++ b/plugins/TakeATour/tours/first_contact/tour.tpl
@@ -3,7 +3,8 @@
var tour = new Tour({
name: "first_contact",
orphan: true,
- onEnd: function (tour) {window.location = "admin.php?page=plugin-TakeATour&tour_ended=first_contact";},
+ onEnd: function (tour) {window.location = "admin.php?page=plugin-TakeATour&tour_ended=first_contact"},
+ template: "<div class='popover'> <div class='arrow'></div> <h3 class='popover-title'></h3> <div class='popover-content'></div> <div class='popover-navigation'> <div class='btn-group'> <button class='btn btn-sm btn-default' data-role='prev'>&laquo; {/literal}{'Prev'|@translate|@escape:'javascript'}{literal}</button> <button class='btn btn-sm btn-default' data-role='next'>{/literal}{'Next '|@translate|@escape:'javascript'}{literal} &raquo;</button> </div> <button class='btn btn-sm btn-default' data-role='end'>{/literal}{'End tour'|@translate|@escape:'javascript'}{literal}</button> </div> </div>",
});
{/literal}{if $TAT_restart}tour.restart();{/if}{literal}