From 4e71ba9d3ea40cd2d817965e5eed4a2fe1b876b3 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 24 Jul 2015 22:44:39 +0200 Subject: Remove core plugins from core repository --- plugins/TakeATour/tours/2_7_0/config.inc.php | 42 ------------ plugins/TakeATour/tours/2_7_0/tour.tpl | 98 ---------------------------- 2 files changed, 140 deletions(-) delete mode 100644 plugins/TakeATour/tours/2_7_0/config.inc.php delete mode 100644 plugins/TakeATour/tours/2_7_0/tour.tpl (limited to 'plugins/TakeATour/tours/2_7_0') diff --git a/plugins/TakeATour/tours/2_7_0/config.inc.php b/plugins/TakeATour/tours/2_7_0/config.inc.php deleted file mode 100644 index 76b671632..000000000 --- a/plugins/TakeATour/tours/2_7_0/config.inc.php +++ /dev/null @@ -1,42 +0,0 @@ -assign('TAT_index', make_index_url(array('section' => 'categories'))); - $template->assign('TAT_search', get_root_url().'search.php'); - - //picture id - if (isset($_GET['page']) and preg_match('/^photo-(\d+)(?:-(.*))?$/', $_GET['page'], $matches)) - { - $_GET['image_id'] = $matches[1]; - } - check_input_parameter('image_id', $_GET, false, PATTERN_ID); - if (isset($_GET['image_id']) and pwg_get_session_var('TAT_image_id')==null) - { - $template->assign('TAT_image_id', $_GET['image_id']); - pwg_set_session_var('TAT_image_id', $_GET['image_id']); - } - elseif (is_numeric(pwg_get_session_var('TAT_image_id'))) - { - $template->assign('TAT_image_id', pwg_get_session_var('TAT_image_id')); - } - else - { - $query = ' - SELECT id - FROM '.IMAGES_TABLE.' - ORDER BY RAND() - LIMIT 1 - ;'; - $row = pwg_db_fetch_assoc(pwg_query($query)); - $template->assign('TAT_image_id', $row['id']); - } -?> \ No newline at end of file diff --git a/plugins/TakeATour/tours/2_7_0/tour.tpl b/plugins/TakeATour/tours/2_7_0/tour.tpl deleted file mode 100644 index 54e1bda3c..000000000 --- a/plugins/TakeATour/tours/2_7_0/tour.tpl +++ /dev/null @@ -1,98 +0,0 @@ -{footer_script require='jquery.bootstrap-tour'}{literal} - -var tour = new Tour({ - name: "2_7_0", - orphan: true, - onEnd: function (tour) {window.location = "{/literal}{$ABS_U_ADMIN}{literal}admin.php?page=plugin-TakeATour&tour_ended=2_7_0"}, - template: "

", -}); -{/literal}{if $TAT_restart}tour.restart();{/if}{literal} - -tour.addSteps([ - { - path: "{/literal}{$TAT_path}{literal}admin.php", - title: "{/literal}{'2_7_0_title1'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp1'|@translate|@escape:'javascript'}{literal}" - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=plugin-TakeATour", - placement: "left", - element: "#content", - title: "{/literal}{'2_7_0_title2'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp2'|@translate|@escape:'javascript'}{literal}", - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", - placement: "top", - title: "{/literal}{'2_7_0_title2b'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp2b'|@translate|@escape:'javascript'}{literal}", - }, - { - path: "{/literal}{$TAT_path}{$TAT_search}{literal}", - placement: "left", - element: "#content", - title: "{/literal}{'2_7_0_title4'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp4'|@translate|@escape:'javascript'}{literal}" - }, - {//5 - path: "{/literal}{$TAT_path}{literal}admin.php?page=photo-{/literal}{$TAT_image_id}{literal}", - placement: "top", - element: ".icon-calendar", - title: "{/literal}{'2_7_0_title5'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp5'|@translate|@escape:'javascript'}{literal}" - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=photo-{/literal}{$TAT_image_id}{literal}", - placement: "top", - element: "#catModify > fieldset:nth-child(2) > p:nth-child(5) > strong", - title: "{/literal}{'2_7_0_title6'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp6'|@translate|@escape:'javascript'}{literal}" - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list", - element: "#autoOrderOpen", - onShown: function (tour) {jQuery("#autoOrderOpen").trigger("click");}, - title: "{/literal}{'2_7_0_title7'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp7'|@translate|@escape:'javascript'}{literal}", - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=prefilter-caddie", - element: "#empty_caddie", - placement: "right", - title: "{/literal}{'2_7_0_title8'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp8'|@translate|@escape:'javascript'}{literal}", - prev:4 - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=search-taken:2013..2015", - element: "#filter_search input[name=q]", - title: "{/literal}{'2_7_0_title9'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp9'|@translate|@escape:'javascript'}{literal}" - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=filesize-1..5", - element: "#filter_filesize", - placement: "top", - title: "{/literal}{'2_7_0_title10'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp10'|@translate|@escape:'javascript'}{literal}" - }, - { - path: "{/literal}{$TAT_path}{literal}admin.php?page=plugin-TakeATour", - title: "{/literal}{'2_7_0_title11'|@translate|@escape:'javascript'}{literal}", - content: "{/literal}{'2_7_0_stp11'|@translate|@escape:'javascript'}{literal}" - } -]); - -// Initialize the tour -tour.init(); - -// Start the tour -tour.start(); - -jQuery( "input[class='submit']" ).click(function() { - if (tour.getCurrentStep()==5) - { - tour.goTo(6); - } -}); -{/literal}{/footer_script} \ No newline at end of file -- cgit v1.2.3