aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/TakeATour/css/bootstrap-essential.css220
-rw-r--r--plugins/TakeATour/css/bootstrap-tour-standalone.css339
-rw-r--r--plugins/TakeATour/css/bootstrap-tour.min.css19
-rw-r--r--plugins/TakeATour/css/clear.css3
-rw-r--r--plugins/TakeATour/css/roma.css98
-rw-r--r--plugins/TakeATour/language/fr_FR/plugin.lang.php14
-rw-r--r--plugins/TakeATour/main.inc.php12
-rw-r--r--plugins/TakeATour/tours/first_contact/tour.tpl.bak347
-rw-r--r--plugins/TakeATour/tours/privacy/Text-1.txt38
-rw-r--r--plugins/TakeATour/tours/privacy/tour.tpl191
-rw-r--r--plugins/TakeATour/tpl/js_css.tpl5
11 files changed, 912 insertions, 374 deletions
diff --git a/plugins/TakeATour/css/bootstrap-essential.css b/plugins/TakeATour/css/bootstrap-essential.css
deleted file mode 100644
index ebc6c82f9..000000000
--- a/plugins/TakeATour/css/bootstrap-essential.css
+++ /dev/null
@@ -1,220 +0,0 @@
-.tooltip {
- position: absolute;
- z-index: 1030;
- display: block;
- font-size: 12px;
- line-height: 1.4;
- visibility: visible;
- filter: alpha(opacity=0);
- opacity: 0;
-}
-.tooltip.in {
- filter: alpha(opacity=90);
- opacity: .9;
-}
-.tooltip.top {
- padding: 5px 0;
- margin-top: -3px;
-}
-.tooltip.right {
- padding: 0 5px;
- margin-left: 3px;
-}
-.tooltip.bottom {
- padding: 5px 0;
- margin-top: 3px;
-}
-.tooltip.left {
- padding: 0 5px;
- margin-left: -3px;
-}
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- background-color: #000;
- border-radius: 4px;
-}
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-.tooltip.top-left .tooltip-arrow {
- bottom: 0;
- left: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-.tooltip.top-right .tooltip-arrow {
- right: 5px;
- bottom: 0;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000;
-}
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000;
-}
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- left: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- right: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- white-space: normal;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
-}
-.popover.top {
- margin-top: -10px;
-}
-.popover.right {
- margin-left: 10px;
-}
-.popover.bottom {
- margin-top: 10px;
-}
-.popover.left {
- margin-left: -10px;
-}
-.popover-title {
- padding: 8px 14px;
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0;
-}
-.popover-content {
- padding: 9px 14px;
-}
-.popover .arrow,
-.popover .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-.popover .arrow {
- border-width: 11px;
-}
-.popover .arrow:after {
- content: "";
- border-width: 10px;
-}
-.popover.top .arrow {
- bottom: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-color: #999;
- border-top-color: rgba(0, 0, 0, .25);
- border-bottom-width: 0;
-}
-.popover.top .arrow:after {
- bottom: 1px;
- margin-left: -10px;
- content: " ";
- border-top-color: #fff;
- border-bottom-width: 0;
-}
-.popover.right .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-right-color: #999;
- border-right-color: rgba(0, 0, 0, .25);
- border-left-width: 0;
-}
-.popover.right .arrow:after {
- bottom: -10px;
- left: 1px;
- content: " ";
- border-right-color: #fff;
- border-left-width: 0;
-}
-.popover.bottom .arrow {
- top: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-width: 0;
- border-bottom-color: #999;
- border-bottom-color: rgba(0, 0, 0, .25);
-}
-.popover.bottom .arrow:after {
- top: 1px;
- margin-left: -10px;
- content: " ";
- border-top-width: 0;
- border-bottom-color: #fff;
-}
-.popover.left .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-right-width: 0;
- border-left-color: #999;
- border-left-color: rgba(0, 0, 0, .25);
-}
-.popover.left .arrow:after {
- right: 1px;
- bottom: -10px;
- content: " ";
- border-right-width: 0;
- border-left-color: #fff;
-}
-#TAT_FC_14 .actions {
- display: block !important;
-} \ No newline at end of file
diff --git a/plugins/TakeATour/css/bootstrap-tour-standalone.css b/plugins/TakeATour/css/bootstrap-tour-standalone.css
new file mode 100644
index 000000000..25b338bf6
--- /dev/null
+++ b/plugins/TakeATour/css/bootstrap-tour-standalone.css
@@ -0,0 +1,339 @@
+/* ===========================================================
+# bootstrap-tour - v0.9.3
+# http://bootstraptour.com
+# ==============================================================
+# Copyright 2012-2013 Ulrich Sossou
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/
+/*!
+ * Bootstrap v3.1.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+.btn {
+ display: inline-block;
+ margin-bottom: 0;
+ font-weight: normal;
+ text-align: center;
+ vertical-align: middle;
+ cursor: pointer;
+ background-image: none;
+ border: 1px solid transparent;
+ white-space: nowrap;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.428571429;
+ border-radius: 4px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+.btn:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+.btn:hover,
+.btn:focus {
+ color: #333333;
+ text-decoration: none;
+}
+.btn:active,
+.btn.active {
+ outline: 0;
+ background-image: none;
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+}
+.btn.disabled,
+.btn[disabled],
+fieldset[disabled] .btn {
+ cursor: not-allowed;
+ pointer-events: none;
+ opacity: 0.65;
+ filter: alpha(opacity=65);
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+.btn-default {
+ color: #333333;
+ background-color: #ffffff;
+ border-color: #cccccc;
+}
+.btn-default:hover,
+.btn-default:focus,
+.btn-default:active,
+.btn-default.active,
+.open .dropdown-toggle.btn-default {
+ color: #333333;
+ background-color: #ebebeb;
+ border-color: #adadad;
+}
+.btn-default:active,
+.btn-default.active,
+.open .dropdown-toggle.btn-default {
+ background-image: none;
+}
+.btn-default.disabled,
+.btn-default[disabled],
+fieldset[disabled] .btn-default,
+.btn-default.disabled:hover,
+.btn-default[disabled]:hover,
+fieldset[disabled] .btn-default:hover,
+.btn-default.disabled:focus,
+.btn-default[disabled]:focus,
+fieldset[disabled] .btn-default:focus,
+.btn-default.disabled:active,
+.btn-default[disabled]:active,
+fieldset[disabled] .btn-default:active,
+.btn-default.disabled.active,
+.btn-default[disabled].active,
+fieldset[disabled] .btn-default.active {
+ background-color: #ffffff;
+ border-color: #cccccc;
+}
+.btn-default .badge {
+ color: #ffffff;
+ background-color: #333333;
+}
+.btn-sm {
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+.fade {
+ opacity: 0;
+ -webkit-transition: opacity 0.15s linear;
+ transition: opacity 0.15s linear;
+}
+.fade.in {
+ opacity: 1;
+}
+.collapse {
+ display: none;
+}
+.collapse.in {
+ display: block;
+}
+.collapsing {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition: height 0.35s ease;
+ transition: height 0.35s ease;
+}
+.btn-group {
+ position: relative;
+ display: inline-block;
+ vertical-align: middle;
+}
+.btn-group > .btn {
+ position: relative;
+ float: left;
+}
+.btn-group > .btn:hover,
+.btn-group > .btn:focus,
+.btn-group > .btn:active,
+.btn-group > .btn.active {
+ z-index: 2;
+}
+.btn-group > .btn:focus {
+ outline: none;
+}
+.btn-group .btn + .btn {
+ margin-left: -1px;
+}
+.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
+ border-radius: 0;
+}
+.btn-group > .btn:first-child {
+ margin-left: 0;
+}
+.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+}
+.btn-group > .btn:last-child:not(:first-child) {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+.popover {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1010;
+ display: none;
+ max-width: 276px;
+ padding: 1px;
+ text-align: left;
+ background-color: #ffffff;
+ background-clip: padding-box;
+ border: 1px solid #cccccc;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 6px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ white-space: normal;
+}
+.popover.top {
+ margin-top: -10px;
+}
+.popover.right {
+ margin-left: 10px;
+}
+.popover.bottom {
+ margin-top: 10px;
+}
+.popover.left {
+ margin-left: -10px;
+}
+.popover-title {
+ margin: 0;
+ padding: 8px 14px;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 18px;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #ebebeb;
+ border-radius: 5px 5px 0 0;
+}
+.popover-content {
+ padding: 9px 14px;
+}
+.popover > .arrow,
+.popover > .arrow:after {
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+.popover > .arrow {
+ border-width: 11px;
+}
+.popover > .arrow:after {
+ border-width: 10px;
+ content: "";
+}
+.popover.top > .arrow {
+ left: 50%;
+ margin-left: -11px;
+ border-bottom-width: 0;
+ border-top-color: #999999;
+ border-top-color: rgba(0, 0, 0, 0.25);
+ bottom: -11px;
+}
+.popover.top > .arrow:after {
+ content: " ";
+ bottom: 1px;
+ margin-left: -10px;
+ border-bottom-width: 0;
+ border-top-color: #ffffff;
+}
+.popover.right > .arrow {
+ top: 50%;
+ left: -11px;
+ margin-top: -11px;
+ border-left-width: 0;
+ border-right-color: #999999;
+ border-right-color: rgba(0, 0, 0, 0.25);
+}
+.popover.right > .arrow:after {
+ content: " ";
+ left: 1px;
+ bottom: -10px;
+ border-left-width: 0;
+ border-right-color: #ffffff;
+}
+.popover.bottom > .arrow {
+ left: 50%;
+ margin-left: -11px;
+ border-top-width: 0;
+ border-bottom-color: #999999;
+ border-bottom-color: rgba(0, 0, 0, 0.25);
+ top: -11px;
+}
+.popover.bottom > .arrow:after {
+ content: " ";
+ top: 1px;
+ margin-left: -10px;
+ border-top-width: 0;
+ border-bottom-color: #ffffff;
+}
+.popover.left > .arrow {
+ top: 50%;
+ right: -11px;
+ margin-top: -11px;
+ border-right-width: 0;
+ border-left-color: #999999;
+ border-left-color: rgba(0, 0, 0, 0.25);
+}
+.popover.left > .arrow:after {
+ content: " ";
+ right: 1px;
+ border-right-width: 0;
+ border-left-color: #ffffff;
+ bottom: -10px;
+}
+
+.tour-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1100;
+ background-color: #000;
+ opacity: 0.8;
+}
+.tour-step-backdrop {
+ position: relative;
+ z-index: 1101;
+ background: inherit;
+}
+.tour-step-background {
+ position: absolute;
+ z-index: 1100;
+ background: inherit;
+ border-radius: 6px;
+}
+.popover[class*="tour-"] {
+ z-index: 1100;
+}
+.popover[class*="tour-"] .popover-navigation {
+ padding: 9px 14px;
+}
+.popover[class*="tour-"] .popover-navigation *[data-role="end"] {
+ float: right;
+}
+.popover[class*="tour-"] .popover-navigation *[data-role="prev"],
+.popover[class*="tour-"] .popover-navigation *[data-role="next"],
+.popover[class*="tour-"] .popover-navigation *[data-role="end"] {
+ cursor: pointer;
+}
+.popover[class*="tour-"] .popover-navigation *[data-role="prev"].disabled,
+.popover[class*="tour-"] .popover-navigation *[data-role="next"].disabled,
+.popover[class*="tour-"] .popover-navigation *[data-role="end"].disabled {
+ cursor: default;
+}
+.popover[class*="tour-"].orphan {
+ position: fixed;
+ margin-top: 0;
+}
+.popover[class*="tour-"].orphan .arrow {
+ display: none;
+}
diff --git a/plugins/TakeATour/css/bootstrap-tour.min.css b/plugins/TakeATour/css/bootstrap-tour.min.css
deleted file mode 100644
index 95fab6ad7..000000000
--- a/plugins/TakeATour/css/bootstrap-tour.min.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ===========================================================
-# bootstrap-tour - v0.8.1
-# http://bootstraptour.com
-# ==============================================================
-# Copyright 2012-2013 Ulrich Sossou
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-*/
-.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000;opacity:.8}.tour-step-backdrop{position:relative;z-index:1031;background:inherit}.tour-step-background{position:absolute;z-index:1030;background:inherit;border-radius:6px}.popover[class*=tour-]{z-index:1030}.popover[class*=tour-] .popover-navigation{padding:9px 14px}.popover[class*=tour-] .popover-navigation [data-role=end]{float:right}.popover[class*=tour-] .popover-navigation [data-role=prev],.popover[class*=tour-] .popover-navigation [data-role=next],.popover[class*=tour-] .popover-navigation [data-role=end]{cursor:pointer}.popover[class*=tour-] .popover-navigation [data-role=prev].disabled,.popover[class*=tour-] .popover-navigation [data-role=next].disabled,.popover[class*=tour-] .popover-navigation [data-role=end].disabled{cursor:default}.popover[class*=tour-].orphan{position:fixed;margin-top:0}.popover[class*=tour-].orphan .arrow{display:none} \ No newline at end of file
diff --git a/plugins/TakeATour/css/clear.css b/plugins/TakeATour/css/clear.css
new file mode 100644
index 000000000..43b4d72e7
--- /dev/null
+++ b/plugins/TakeATour/css/clear.css
@@ -0,0 +1,3 @@
+.popover-title, .popover-content {
+ color: #666;
+} \ No newline at end of file
diff --git a/plugins/TakeATour/css/roma.css b/plugins/TakeATour/css/roma.css
new file mode 100644
index 000000000..6f6b5b665
--- /dev/null
+++ b/plugins/TakeATour/css/roma.css
@@ -0,0 +1,98 @@
+.btn:hover,
+.btn:focus {
+ color: #ccc;
+}
+.btn:active,
+.btn.active {
+ -webkit-box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.125);
+ box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.125);
+}
+
+.btn-default {
+ /*color: #ff3363;
+ background-color: #111111;
+ border-color: #ff3363;*/
+ color: #ccc;
+ background-color: #111111;
+ border-color: #333;
+
+}
+.btn-default:hover,
+.btn-default:focus,
+.btn-default:active,
+.btn-default.active,
+.open .dropdown-toggle.btn-default {
+ color: #ff3363;
+ background-color: #141414;
+ border-color: #ff3363;
+/* color: #ccc;
+ background-color: #141414;
+ border-color: #525252;*/
+}
+.btn-default.disabled,
+.btn-default[disabled],
+fieldset[disabled] .btn-default,
+.btn-default.disabled:hover,
+.btn-default[disabled]:hover,
+fieldset[disabled] .btn-default:hover,
+.btn-default.disabled:focus,
+.btn-default[disabled]:focus,
+fieldset[disabled] .btn-default:focus,
+.btn-default.disabled:active,
+.btn-default[disabled]:active,
+fieldset[disabled] .btn-default:active,
+.btn-default.disabled.active,
+.btn-default[disabled].active,
+fieldset[disabled] .btn-default.active {
+ color: #666;
+ background-color: #000;
+ border-color: #333333;
+}
+.btn-default .badge {
+ color: #000;
+ background-color: #ccc;
+}
+
+.popover {
+ background-color: #222;
+ border: 1px solid #333333;
+ box-shadow: 0 5px 10px rgba(170, 170, 170, 0.2);
+}
+.popover-title, .popover-content {
+ color: #aaa;
+}
+.popover-title {
+ background-color: #111111;
+ border-bottom: 1px solid #141414;
+}
+.popover.top > .arrow {
+ border-top-color: #666666;
+ border-top-color: rgba(170, 170, 170, 0.25);
+}
+.popover.top > .arrow:after {
+ border-top-color: #222;
+}
+.popover.right > .arrow {
+ border-right-color: #666666;
+ border-right-color: rgba(170, 170, 170, 0.25);
+}
+.popover.right > .arrow:after {
+ border-right-color: #222;
+}
+.popover.bottom > .arrow {
+ border-bottom-color: #666666;
+ border-bottom-color: rgba(170, 170, 170, 0.25);
+}
+.popover.bottom > .arrow:after {
+ border-bottom-color: #222;
+}
+.popover.left > .arrow {
+ border-left-color: #666666;
+ border-left-color: rgba(170, 170, 170, 0.25);
+}
+.popover.left > .arrow:after {
+ border-left-color: #222;
+}
+.tour-backdrop {
+ background-color: #fff;
+}
diff --git a/plugins/TakeATour/language/fr_FR/plugin.lang.php b/plugins/TakeATour/language/fr_FR/plugin.lang.php
index d2343f4c3..161b2e6a2 100644
--- a/plugins/TakeATour/language/fr_FR/plugin.lang.php
+++ b/plugins/TakeATour/language/fr_FR/plugin.lang.php
@@ -96,20 +96,6 @@ $lang['first_contact_stp26'] = 'Vous pouvez ici basculer l\'album courant comme
$lang['first_contact_stp27'] = 'Remarque importante : les webmestres et administrateurs n\'ont pas de passe-droits lorsqu\'ils naviguent dans la partie publique, mais ils peuvent accéder à tous les albums et photos dans la partie administration.';
$lang['first_contact_stp28'] = 'Nous allons maintenant observer les options disponibles pour faire fonctionner Piwigo à votre façon. Cliquez sur Configuration->Options juste sur Suivant.';
$lang['first_contact_stp25'] = 'Comme vous pouvez le lire dans l\'aide de votre Piwigo (lien en haut à droite), les permissions sur les albums sont positionnées par groupe ou par utilisateur. Vous pouvez rendre publique/privé plusieurs albums simultanément en utilisant la page d\'administration des propriétés des albums.';
-$lang['2_7_0_stp10'] = '';
-$lang['2_7_0_stp4'] = '';
-$lang['2_7_0_stp5'] = '';
-$lang['2_7_0_stp6'] = '';
-$lang['2_7_0_stp7'] = '';
-$lang['2_7_0_stp8'] = '';
-$lang['2_7_0_stp9'] = '';
-$lang['2_7_0_title10'] = '';
-$lang['2_7_0_title4'] = '';
-$lang['2_7_0_title5'] = '';
-$lang['2_7_0_title6'] = '';
-$lang['2_7_0_title7'] = '';
-$lang['2_7_0_title8'] = '';
-$lang['2_7_0_title9'] = '';
$lang['2_7_0_stp3'] = 'La recherche rapide a été retravaillée :<br/>
- ajout de l\'opérateur OR<br/>
- possibilité de grouper en utilisant les parenthèses ()<br/>
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php
index 1d7153ef1..f5f2d91d7 100644
--- a/plugins/TakeATour/main.inc.php
+++ b/plugins/TakeATour/main.inc.php
@@ -41,12 +41,16 @@ else*/if ( pwg_get_session_var('tour_to_launch') )
function TAT_tour_setup()
{
- global $template, $TAT_restart;
+ global $template, $TAT_restart, $conf;
$tour_to_launch=pwg_get_session_var('tour_to_launch');
- load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/');
- load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) );
+ load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/', array('force_fallback'=>'en_UK'));
$template->set_filename('TAT_js_css', PHPWG_PLUGINS_PATH.'TakeATour/tpl/js_css.tpl');
- $template->parse('TAT_js_css');//http://piwigo.org/forum/viewtopic.php?id=23248
+ $template->assign(
+ array(
+ 'ADMIN_THEME' => $conf['admin_theme'],
+ )
+ );
+ $template->parse('TAT_js_css');
if (isset($TAT_restart) and $TAT_restart)
{
$TAT_restart=false;
diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl.bak b/plugins/TakeATour/tours/first_contact/tour.tpl.bak
new file mode 100644
index 000000000..6576d0037
--- /dev/null
+++ b/plugins/TakeATour/tours/first_contact/tour.tpl.bak
@@ -0,0 +1,347 @@
+{footer_script require='jquery.bootstrap-tour'}{literal}
+
+var tour = new Tour({
+ name: "first_contact",
+ orphan: true,
+ 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}
+
+tour.addSteps([
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php",
+ title: "{/literal}{'first_contact_title1'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp1'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php",
+ placement: "right",
+ 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}",
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
+ placement: "bottom",
+ element: ".selected_tab",
+ title: "{/literal}{'first_contact_title3'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp3'|@translate|@escape:'javascript'}{literal}",
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
+ placement: "right",
+ element: "#albumSelection",
+ title: "{/literal}{'first_contact_title4'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp4'|@translate|@escape:'javascript'}{literal}"
+ },
+ {//5
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
+ placement: "top",
+ element: ".plupload_add",
+ title: "{/literal}{'first_contact_title5'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp5'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ 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: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
+ placement: "top",
+ element: "#afterUploadActions",
+ title: "{/literal}{'first_contact_title7'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp7'|@translate|@escape:'javascript'}{literal}",
+ prev:4
+ },
+ {
+ 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}",
+ content: "{/literal}{'first_contact_stp8'|@translate|@escape:'javascript'}{literal}",
+ prev:4
+ },
+ {
+ path: /admin\.php\?page=(photos_add|batch_manager&filter=prefilter-last_import|prefilter-caddie)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "top",
+ element: "",
+ title: "{/literal}{'first_contact_title9'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp9'|@translate|@escape:'javascript'}{literal}"
+ },
+ {//10
+ path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "right",
+ element: ".icon-flag",
+ title: "{/literal}{'first_contact_title10'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp10'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "left",
+ element: "#checkActions",
+ title: "{/literal}{'first_contact_title11'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp11'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "top",
+ element: "#action",
+ title: "{/literal}{'first_contact_title12'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp12'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "bottom",
+ element: "#tabsheet .normal_tab",
+ title: "{/literal}{'first_contact_title13'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp13'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
+ redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
+ placement: "top",
+ element: "#TAT_FC_14",
+ reflex:true,
+ title: "{/literal}{'first_contact_title14'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp14'|@translate|@escape:'javascript'}{literal}",
+ onNext:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}
+ },
+ {//15
+ path: /admin\.php\?page=photo-/,
+ redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
+ placement: "bottom",
+ element: ".selected_tab",
+ title: "{/literal}{'first_contact_title15'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp15'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=photo-/,
+ redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
+ placement: "top",
+ element: "#TAT_FC_16",
+ title: "{/literal}{'first_contact_title16'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp16'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=photo-/,
+ redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
+ placement: "top",
+ element: "#TAT_FC_17",
+ title: "{/literal}{'first_contact_title17'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp17'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=photo-/,
+ redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
+ placement: "top",
+ title: "{/literal}{'first_contact_title18'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp18'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
+ placement: "left",
+ element: "#content",
+ title: "{/literal}{'first_contact_title19'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate|@escape:'javascript'}{else}{'first_contact_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}",
+ onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
+
+ },
+ {//20
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
+ placement: "top",
+ element: "#categoryOrdering",
+ title: "{/literal}{'first_contact_title20'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp20'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
+ placement: "left",
+ element: "#tabsheet:first-child",
+ title: "{/literal}{'first_contact_title21'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp21'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=album-/,
+ redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
+ placement: "top",
+ element: ".selected_tab",
+ title: "{/literal}{'first_contact_title22'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp22'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=album-/,
+ redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
+ placement: "top",
+ element: "#TAT_FC_23",
+ title: "{/literal}{'first_contact_title23'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp23'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: /admin\.php\?page=album-/,
+ redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
+ placement: "bottom",
+ element: ".tabsheet",
+ 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}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
+ placement: "top",
+ element: "",
+ title: "{/literal}{'first_contact_title29'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_title29'|@translate|@escape:'javascript'}{literal}"
+ },
+ {//30
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
+ placement: "right",
+ element: "#gallery_title",
+ title: "{/literal}{'first_contact_title30'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp30'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
+ placement: "right",
+ element: "#page_banner",
+ title: "{/literal}{'first_contact_title31'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp31'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
+ reflex: true,
+ placement: "top",
+ element: ".formButtons input",
+ title: "{/literal}{'first_contact_title32'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp32'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
+ placement: "top",
+ title: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}",
+ prev:30
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
+ placement: "top",
+ element: "",
+ title: "{/literal}{'first_contact_title34'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp34'|@translate|@escape:'javascript'}{literal}"
+ },
+ {//35
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
+ placement: "top",
+ element: "#TAT_FC_35",
+ title: "{/literal}{'first_contact_title35'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp35'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
+ placement: "top",
+ element: "",
+ title: "{/literal}{'first_contact_title36'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp36'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
+ placement: "right",
+ element: ".tabsheet",
+ title: "{/literal}{'first_contact_title37'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp37'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
+ placement: "left",
+ element: "",
+ title: "{/literal}{'first_contact_title38'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp38'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
+ placement: "left",
+ element: "#content",
+ title: "{/literal}{'first_contact_title39'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp39'|@translate|@escape:'javascript'}{literal}"
+ },
+ {//40
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
+ placement: "bottom",
+ element: "#TakeATour",
+ title: "{/literal}{'first_contact_title40'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp40'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
+ placement: "right",
+ element: ".tabsheet",
+ title: "{/literal}{'first_contact_title41'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp41'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=languages",
+ title: "{/literal}{'first_contact_title42'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp42'|@translate|@escape:'javascript'}{literal}"
+ },
+ {
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=plugin-TakeATour",
+ placement: "top",
+ element: "",
+ title: "{/literal}{'first_contact_title43'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'first_contact_stp43'|@translate|@escape:'javascript'}{literal}"
+ }
+]);
+
+// Initialize the tour
+tour.init();
+
+// Start the tour
+tour.start();
+
+jQuery( ".plupload_start" ).click(function() {
+ if (tour.getCurrentStep()==5)
+ {
+ tour.goTo(6);
+ }
+});
+{/literal}{/footer_script} \ No newline at end of file
diff --git a/plugins/TakeATour/tours/privacy/Text-1.txt b/plugins/TakeATour/tours/privacy/Text-1.txt
index e71dc91db..8a8ff8239 100644
--- a/plugins/TakeATour/tours/privacy/Text-1.txt
+++ b/plugins/TakeATour/tours/privacy/Text-1.txt
@@ -1,23 +1,23 @@
$lang['privacy_descrp'] = 'This tour present you all the ways to protect your photo from the permission systems per album and per picture, and the image protection from copying';
-$lang['privacy_title1'] = 'Welcome in your Piwigo gallery';
-$lang['privacy_stp1'] = 'Hello! I will be your guide to discover Piwigo. Please follow my instructions, and click Next (or use the arrows of your keyboard) to navigate. If you go to an other page of the administration, you will be redirected to the current page of the Tour. If you are stuck and can\'t end the tour, going to <em>Plugins » Take A Tour</em> will end the tour.<br>Let\'s start by adding pictures!';
-$lang['privacy_title2'] = '';
-$lang['privacy_stp2'] = 'The link is here. Click Next to continue';
-$lang['privacy_title3'] = 'Add Photo Page';
-$lang['privacy_stp3'] = 'This first tab is where you add photos directly from your browser. The other tabs are about the other ways to upload photos';
-$lang['privacy_title4'] = 'Lets add photo!';
-$lang['privacy_stp4'] = 'First choose an album; create one if there is no album yet.';
-$lang['privacy_title5'] = '';
-$lang['privacy_stp5'] = 'Then click the button to select photos to send from your computer';
-$lang['privacy_title6'] = '';
-$lang['privacy_stp6'] = 'You see that photos are being listed. Add at least 2 pictures and when you\'re ready click the button Start Upload';
-$lang['privacy_title7'] = '';
-$lang['privacy_stp7'] = 'Here a summary of your uploaded pictures. See that Piwigo has generated itself the thumbnails. You can know add more photos with the link at the bottom, edit the properties of a picture by clicking on it, or click to manage all the uploaded pictures in the Batch Manager...';
-$lang['privacy_title8'] = '';
-$lang['privacy_stp8'] = 'Let\'s edit them! Click on the link. If you don\'t see it click Prev to add at least 2 photos.';
-$lang['privacy_title9'] = 'The Batch Manager';
-$lang['privacy_stp9'] = 'You are know in the Batch Manager, where you can batch edit multiple pictures. Here the Caddy is set as a filter because we comes from the upload result page.';
-$lang['privacy_title10'] = '';
+$lang['privacy_title1'] = 'Welcome in the Privacy Tour';
+$lang['privacy_stp1'] = 'Hello! I will be your guide to discover how to protect your pictures in Piwigo. Please follow my instructions, and click Next (or use the arrows of your keyboard) to navigate. If you go to an other page of the administration, you will be redirected to the current page of the Tour. If you are stuck and can\'t end the tour, going to <em>Plugins » Take A Tour</em> will end the tour.<br>Let\'s start!';
+$lang['privacy_title2'] = 'Help inside your Piwigo';
+$lang['privacy_stp2'] = 'You can access here to the Help integrated. Click Next to continue directly to the Help page about managing permissions';
+$lang['privacy_title3'] = 'Permissions';
+$lang['privacy_stp3'] = 'Take a moment to read the informations bellow.';
+$lang['privacy_title4'] = 'Permissions';
+$lang['privacy_stp4'] = 'So we have two systems for managing the permissions to access to the pictures. They are independent, so you can create a group called Family, but that group has nothing to do with the privacy level Family. The levels of privacy are applied per picture, and the group/user permissions are applied per album. You can use both or only one system, that's flexible.<br>The next Tab is about group managment.';
+$lang['privacy_title5'] = 'Permissions > Groups';
+$lang['privacy_stp5'] = 'Bellow is explained how you can manage the Groups.<br>Those permissions are only for the access of the pictures and the albums, when browsing on the public part or for the external applications. We will see later other protections, but let's now practice!';
+$lang['privacy_title6'] = 'Privacy Level';
+$lang['privacy_stp6'] = 'When you upload the pictures, you can change the Privacy Level of the uploaded pictures right there...';
+$lang['privacy_title7'] = 'Privacy Level';
+$lang['privacy_stp7'] = '... or you can do that later one, here in the Batch Manager in Global Mode. This is the page <em>Photos » Recent photos</em>, so the filter "Last Import" is set.';
+$lang['privacy_title8'] = 'Privacy Level';
+$lang['privacy_stp8'] = 'Select one or more pictures...';
+$lang['privacy_title9'] = 'Privacy Level';
+$lang['privacy_stp9'] = '... and select the action "Who can see the pictures?". Now you can change the privacy level of the selected pictures.<br>But you can also do that for a specific picture, on its edition page. You can access to it from the public part, or from here.<br>Now, I will show you the other system of permission per album based on the groups and users.';
+$lang['privacy_title10'] = 'Album permissions';
$lang['privacy_stp10'] = 'Here is the link to directly access to your caddy: that/s a tool for administrators to easily add pictures to a set in order to edit them in the Batch Manager. You can add photos to the caddy from the public picture page when logged as an admin, or using the action \"Add to caddy\" on the Batch Manager';
$lang['privacy_title11'] = 'How to edit a photos';
$lang['privacy_stp11'] = 'So you can select from here one or more photos';
diff --git a/plugins/TakeATour/tours/privacy/tour.tpl b/plugins/TakeATour/tours/privacy/tour.tpl
index 1a4c03b7f..52ae96a5d 100644
--- a/plugins/TakeATour/tours/privacy/tour.tpl
+++ b/plugins/TakeATour/tours/privacy/tour.tpl
@@ -22,53 +22,52 @@ var tour = new Tour({
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}"
+ title: "{/literal}{'privacy_title1'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp1'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php",
- placement: "right",
- element: ".icon-plus-circled",
- reflex:true,
- title: "{/literal}{'first_contact_title2'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp2'|@translate|@escape:'javascript'}{literal}",
+ placement: "bottom",
+ element: ".icon-help-circled",
+ title: "{/literal}{'privacy_title2'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp2'|@translate|@escape:'javascript'}{literal}",
},
{
- path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
- placement: "bottom",
- element: ".selected_tab",
- title: "{/literal}{'first_contact_title3'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp3'|@translate|@escape:'javascript'}{literal}",
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=help&section=permissions",
+ placement: "top",
+ element: "#helpContent",
+ title: "{/literal}{'privacy_title3'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp3'|@translate|@escape:'javascript'}{literal}",
},
{
- path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
- placement: "left",
- element: "#albumSelection",
- title: "{/literal}{'first_contact_title4'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp4'|@translate|@escape:'javascript'}{literal}"
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=help&section=permissions",
+ placement: "top",
+ element: "#helpContent",
+ title: "{/literal}{'privacy_title4'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp4'|@translate|@escape:'javascript'}{literal}"
},
{//5
- path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add",
+ path: "{/literal}{$TAT_path}{literal}admin.php?page=help&section=groups",
placement: "top",
element: "#uploadify",
- title: "{/literal}{'first_contact_title5'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp5'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title5'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_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",
- title: "{/literal}{'first_contact_title6'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp6'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title6'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp6'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=photos_add/,
redirect:function (tour) {window.location = "admin.php?page=photos_add";},
placement: "top",
element: "#photosAddContent legend",
- title: "{/literal}{'first_contact_title7'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp7'|@translate|@escape:'javascript'}{literal}",
+ title: "{/literal}{'privacy_title7'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp7'|@translate|@escape:'javascript'}{literal}",
prev:4
},
{
@@ -77,8 +76,8 @@ tour.addSteps([
placement: "bottom",
element: "#batchLink",
reflex:true,
- title: "{/literal}{'first_contact_title8'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp8'|@translate|@escape:'javascript'}{literal}",
+ title: "{/literal}{'privacy_title8'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp8'|@translate|@escape:'javascript'}{literal}",
prev:4
},
{
@@ -86,40 +85,40 @@ tour.addSteps([
redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
placement: "top",
element: "",
- title: "{/literal}{'first_contact_title9'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp9'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title9'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp9'|@translate|@escape:'javascript'}{literal}"
},
{//10
path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
placement: "right",
element: ".icon-flag",
- title: "{/literal}{'first_contact_title10'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp10'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title10'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp10'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
placement: "left",
element: "#checkActions",
- title: "{/literal}{'first_contact_title11'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp11'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title11'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp11'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
placement: "top",
element: "#action",
- title: "{/literal}{'first_contact_title12'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp12'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title12'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp12'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";},
placement: "bottom",
element: "#tabsheet .normal_tab",
- title: "{/literal}{'first_contact_title13'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp13'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title13'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp13'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,
@@ -127,8 +126,8 @@ tour.addSteps([
placement: "top",
element: "#TAT_FC_14",
reflex:true,
- title: "{/literal}{'first_contact_title14'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp14'|@translate|@escape:'javascript'}{literal}",
+ title: "{/literal}{'privacy_title14'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp14'|@translate|@escape:'javascript'}{literal}",
onNext:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}
},
{//15
@@ -136,38 +135,38 @@ tour.addSteps([
redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
placement: "bottom",
element: ".selected_tab",
- title: "{/literal}{'first_contact_title15'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp15'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title15'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp15'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=photo-/,
redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
placement: "top",
element: "#TAT_FC_16",
- title: "{/literal}{'first_contact_title16'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp16'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title16'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp16'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=photo-/,
redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
placement: "top",
element: "#TAT_FC_17",
- title: "{/literal}{'first_contact_title17'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp17'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title17'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp17'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=photo-/,
redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
placement: "top",
- title: "{/literal}{'first_contact_title18'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp18'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title18'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp18'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
placement: "left",
element: "#content",
- title: "{/literal}{'first_contact_title19'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate|@escape:'javascript'}{else}{'first_contact_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}",
+ title: "{/literal}{'privacy_title19'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{if $TAT_FTP}{'privacy_stp19'|@translate|@escape:'javascript'}{else}{'privacy_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}",
onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
},
@@ -175,174 +174,174 @@ tour.addSteps([
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
placement: "top",
element: "#categoryOrdering",
- title: "{/literal}{'first_contact_title20'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp20'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title20'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp20'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
placement: "left",
element: "#tabsheet:first-child",
- title: "{/literal}{'first_contact_title21'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp21'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title21'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp21'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=album-/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
placement: "top",
element: ".selected_tab",
- title: "{/literal}{'first_contact_title22'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp22'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title22'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp22'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=album-/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
placement: "top",
element: "#TAT_FC_23",
- title: "{/literal}{'first_contact_title23'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp23'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title23'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp23'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=album-/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
placement: "bottom",
element: ".tabsheet",
- title: "{/literal}{'first_contact_title24'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp24'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title24'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_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}"
+ title: "{/literal}{'privacy_title25'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_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}"
+ title: "{/literal}{'privacy_title26'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_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}"
+ title: "{/literal}{'privacy_title27'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_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}"
+ title: "{/literal}{'privacy_title28'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp28'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
placement: "top",
element: "",
- title: "{/literal}{'first_contact_title29'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp29'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title29'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp29'|@translate|@escape:'javascript'}{literal}"
},
{//30
path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
placement: "right",
element: "#gallery_title",
- title: "{/literal}{'first_contact_title30'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp30'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title30'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp30'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
placement: "right",
element: "#page_banner",
- title: "{/literal}{'first_contact_title31'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp31'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title31'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp31'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
reflex: true,
placement: "top",
element: ".formButtons input",
- title: "{/literal}{'first_contact_title32'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp32'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title32'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp32'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
placement: "top",
- title: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}",
+ title: "{/literal}{'privacy_stp33'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp33'|@translate|@escape:'javascript'}{literal}",
prev:30
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
placement: "top",
element: "",
- title: "{/literal}{'first_contact_title34'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp34'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title34'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp34'|@translate|@escape:'javascript'}{literal}"
},
{//35
path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
placement: "top",
element: "#TAT_FC_35",
- title: "{/literal}{'first_contact_title35'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp35'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title35'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp35'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
placement: "top",
element: "",
- title: "{/literal}{'first_contact_title36'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp36'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title36'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp36'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
placement: "right",
element: ".tabsheet",
- title: "{/literal}{'first_contact_title37'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp37'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title37'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp37'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
placement: "left",
element: "",
- title: "{/literal}{'first_contact_title38'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp38'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title38'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp38'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
placement: "left",
element: "#content",
- title: "{/literal}{'first_contact_title39'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp39'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title39'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp39'|@translate|@escape:'javascript'}{literal}"
},
{//40
path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
placement: "bottom",
element: "#TakeATour",
- title: "{/literal}{'first_contact_title40'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp40'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title40'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp40'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
placement: "right",
element: ".tabsheet",
- title: "{/literal}{'first_contact_title41'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp41'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title41'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp41'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=languages",
- title: "{/literal}{'first_contact_title42'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp42'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title42'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp42'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=plugin-TakeATour",
placement: "top",
element: "",
- title: "{/literal}{'first_contact_title43'|@translate|@escape:'javascript'}{literal}",
- content: "{/literal}{'first_contact_stp43'|@translate|@escape:'javascript'}{literal}"
+ title: "{/literal}{'privacy_title43'|@translate|@escape:'javascript'}{literal}",
+ content: "{/literal}{'privacy_stp43'|@translate|@escape:'javascript'}{literal}"
}
]);
diff --git a/plugins/TakeATour/tpl/js_css.tpl b/plugins/TakeATour/tpl/js_css.tpl
index 240263ad5..cfc7cdcab 100644
--- a/plugins/TakeATour/tpl/js_css.tpl
+++ b/plugins/TakeATour/tpl/js_css.tpl
@@ -1,3 +1,4 @@
{combine_script id='jquery.bootstrap-tour' load='header' require='jquery' path='plugins/TakeATour/js/custom-bootstrap-tour-standalone.js'}
-{combine_css path="plugins/TakeATour/css/bootstrap-essential.css"}
-{combine_css path="plugins/TakeATour/css/bootstrap-tour.min.css"} \ No newline at end of file
+{combine_css path="plugins/TakeATour/css/bootstrap-tour-standalone.css"}
+{if $ADMIN_THEME=='clear'}{combine_css path="plugins/TakeATour/css/clear.css"}{/if}
+{if $ADMIN_THEME=='roma'}{combine_css path="plugins/TakeATour/css/roma.css"}{/if} \ No newline at end of file