aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tours/privacy/tour.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-09-10 12:06:11 +0000
committerplegall <plg@piwigo.org>2014-09-10 12:06:11 +0000
commitc1697a61a0238f9023c54c37b239ea524701d86b (patch)
tree94240b0895ac40acfc4429fa89bc381e0325b462 /plugins/TakeATour/tours/privacy/tour.tpl
parent05f8828d0e86879393e0b1ffe18fb6edc317d4d4 (diff)
tour "first contact": remove steps related to permissions
git-svn-id: http://piwigo.org/svn/trunk@29454 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour/tours/privacy/tour.tpl')
-rw-r--r--plugins/TakeATour/tours/privacy/tour.tpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/TakeATour/tours/privacy/tour.tpl b/plugins/TakeATour/tours/privacy/tour.tpl
index ee6cd394b..d6476c2f8 100644
--- a/plugins/TakeATour/tours/privacy/tour.tpl
+++ b/plugins/TakeATour/tours/privacy/tour.tpl
@@ -72,8 +72,7 @@ tour.addSteps([
},
{//10
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
- placement: "left",
- element: "#content",
+ placement: "top",
title: "{/literal}{'privacy_title10'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'privacy_stp10'|@translate|@escape:'javascript'}{literal}"
},
@@ -110,6 +109,12 @@ tour.addSteps([
title: "{/literal}{'privacy_title14'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'privacy_stp14'|@translate|@escape:'javascript'}{literal}",
},
+ {
+ path: /admin\.php\?page=album-[0-9]+-permissions/,
+ redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},
+ title: "{/literal}{'first_contact_title27'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp27'|@translate|@escape:'javascript'}{literal}",
+ },
{//15
path: /admin\.php\?page=album-[0-9]+-permissions/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},