From c1697a61a0238f9023c54c37b239ea524701d86b Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 10 Sep 2014 12:06:11 +0000 Subject: tour "first contact": remove steps related to permissions git-svn-id: http://piwigo.org/svn/trunk@29454 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/TakeATour/tours/first_contact/tour.tpl | 33 -------------------------- plugins/TakeATour/tours/privacy/tour.tpl | 9 +++++-- 2 files changed, 7 insertions(+), 35 deletions(-) (limited to 'plugins/TakeATour/tours') diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl b/plugins/TakeATour/tours/first_contact/tour.tpl index dbc92e387..a1cb11994 100644 --- a/plugins/TakeATour/tours/first_contact/tour.tpl +++ b/plugins/TakeATour/tours/first_contact/tour.tpl @@ -190,39 +190,6 @@ tour.addSteps([ { path: /admin\.php\?page=album-[0-9]+(|-properties)$/, redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";}, - placement: "bottom", - element: "li.normal_tab:nth-child(3) > a:nth-child(1)", - reflex: true, - title: "{/literal}{'first_contact_title24'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'first_contact_stp24'|@translate|@escape:'javascript'}{literal}" - }, - {//25 - path: /admin\.php\?page=album-[0-9]+-permissions/, - redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, - placement: "left", - element: "#content", - title: "{/literal}{'first_contact_title25'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'first_contact_stp25'|@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";}, - placement: "top", - element: "#selectStatus", - title: "{/literal}{'first_contact_title26'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'first_contact_stp26'|@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";}, - placement: "top", - element: "#selectStatus", - title: "{/literal}{'first_contact_title27'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'first_contact_stp27'|@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";}, placement: "top", title: "{/literal}{'first_contact_title28'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp28'|@translate|@escape:'javascript'}{literal}" 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";}, -- cgit v1.2.3