From ba5fcfda0f1cb21d84c1f6d1ca3b92a4502eb014 Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 23 Jun 2014 20:08:45 +0000 Subject: adjustments for 2.7 js updated to 9.0.3 git-svn-id: http://piwigo.org/svn/trunk@28775 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/TakeATour/tours/first_contact/tour.tpl | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'plugins/TakeATour/tours/first_contact/tour.tpl') diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl b/plugins/TakeATour/tours/first_contact/tour.tpl index 6b9d2afb3..48acd5927 100644 --- a/plugins/TakeATour/tours/first_contact/tour.tpl +++ b/plugins/TakeATour/tours/first_contact/tour.tpl @@ -17,7 +17,7 @@ tour.addSteps([ { path: "{/literal}{$TAT_path}{literal}admin.php", placement: "right", - element: ".icon-plus-circled", + element: "a[href='./admin.php?page=photos_add']", reflex:true, title: "{/literal}{'first_contact_title2'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp2'|@translate|@escape:'javascript'}{literal}", @@ -31,7 +31,7 @@ tour.addSteps([ }, { path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", - placement: "left", + placement: "right", element: "#albumSelection", title: "{/literal}{'first_contact_title4'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp4'|@translate|@escape:'javascript'}{literal}" @@ -39,31 +39,28 @@ tour.addSteps([ {//5 path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", placement: "top", - element: "#uploadify", + element: ".plupload_add", title: "{/literal}{'first_contact_title5'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp5'|@translate|@escape:'javascript'}{literal}" }, { - path: /admin\.php\?page=photos_add/, - redirect:function (tour) {window.location = "admin.php?page=photos_add";}, - placement: "left", - element: "#fileQueue", + path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", + placement: "top", + element: ".plupload_start", title: "{/literal}{'first_contact_title6'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp6'|@translate|@escape:'javascript'}{literal}" }, { - path: /admin\.php\?page=photos_add/, - redirect:function (tour) {window.location = "admin.php?page=photos_add";}, + path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", placement: "top", - element: "#photosAddContent legend", + element: "#afterUploadActions", title: "{/literal}{'first_contact_title7'|@translate|@escape:'javascript'}{literal}", content: "{/literal}{'first_contact_stp7'|@translate|@escape:'javascript'}{literal}", prev:4 }, { - path: /admin\.php\?page=photos_add/, - redirect:function (tour) {window.location = "admin.php?page=photos_add";}, - placement: "bottom", + path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", + placement: "top", element: "#batchLink", reflex:true, title: "{/literal}{'first_contact_title8'|@translate|@escape:'javascript'}{literal}", @@ -341,7 +338,7 @@ tour.init(); // Start the tour tour.start(); -jQuery( "input[class='submit']" ).click(function() { +jQuery( ".plupload_start" ).click(function() { if (tour.getCurrentStep()==5) { tour.goTo(6); -- cgit v1.2.3