Changeset 28243 for trunk/plugins
- Timestamp:
- Apr 21, 2014, 6:09:17 PM (11 years ago)
- Location:
- trunk/plugins/TakeATour
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/TakeATour/main.inc.php
r28208 r28243 27 27 28 28 /** Setup the tour **/ 29 if (pwg_get_session_var('tour_to_launch') and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" ) 29 $version_=str_replace('.','_',PHPWG_VERSION); 30 if (pwg_get_session_var('tour_to_launch')!=$version_ and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour") 30 31 { 31 32 pwg_unset_session_var('tour_to_launch'); -
trunk/plugins/TakeATour/tours/first_contact/tour.tpl
r28169 r28243 11 11 { 12 12 path: "{/literal}{$TAT_path}{literal}admin.php", 13 title: "{/literal}{'first_contact_title1'|@translate }{literal}",14 content: "{/literal}{'first_contact_stp1'|@translate }{literal}"13 title: "{/literal}{'first_contact_title1'|@translate|@escape:'javascript'}{literal}", 14 content: "{/literal}{'first_contact_stp1'|@translate|@escape:'javascript'}{literal}" 15 15 }, 16 16 { … … 19 19 element: ".icon-plus-circled", 20 20 reflex:true, 21 title: "{/literal}{'first_contact_title2'|@translate }{literal}",22 content: "{/literal}{'first_contact_stp2'|@translate }{literal}",21 title: "{/literal}{'first_contact_title2'|@translate|@escape:'javascript'}{literal}", 22 content: "{/literal}{'first_contact_stp2'|@translate|@escape:'javascript'}{literal}", 23 23 }, 24 24 { … … 26 26 placement: "bottom", 27 27 element: ".selected_tab", 28 title: "{/literal}{'first_contact_title3'|@translate }{literal}",29 content: "{/literal}{'first_contact_stp3'|@translate }{literal}",28 title: "{/literal}{'first_contact_title3'|@translate|@escape:'javascript'}{literal}", 29 content: "{/literal}{'first_contact_stp3'|@translate|@escape:'javascript'}{literal}", 30 30 }, 31 31 { … … 33 33 placement: "left", 34 34 element: "#albumSelection", 35 title: "{/literal}{'first_contact_title4'|@translate }{literal}",36 content: "{/literal}{'first_contact_stp4'|@translate }{literal}"35 title: "{/literal}{'first_contact_title4'|@translate|@escape:'javascript'}{literal}", 36 content: "{/literal}{'first_contact_stp4'|@translate|@escape:'javascript'}{literal}" 37 37 }, 38 38 {//5 … … 40 40 placement: "top", 41 41 element: "#uploadify", 42 title: "{/literal}{'first_contact_title5'|@translate }{literal}",43 content: "{/literal}{'first_contact_stp5'|@translate }{literal}"42 title: "{/literal}{'first_contact_title5'|@translate|@escape:'javascript'}{literal}", 43 content: "{/literal}{'first_contact_stp5'|@translate|@escape:'javascript'}{literal}" 44 44 }, 45 45 { … … 48 48 placement: "left", 49 49 element: "#fileQueue", 50 title: "{/literal}{'first_contact_title6'|@translate }{literal}",51 content: "{/literal}{'first_contact_stp6'|@translate }{literal}"50 title: "{/literal}{'first_contact_title6'|@translate|@escape:'javascript'}{literal}", 51 content: "{/literal}{'first_contact_stp6'|@translate|@escape:'javascript'}{literal}" 52 52 }, 53 53 { … … 56 56 placement: "top", 57 57 element: "#photosAddContent legend", 58 title: "{/literal}{'first_contact_title7'|@translate }{literal}",59 content: "{/literal}{'first_contact_stp7'|@translate }{literal}",58 title: "{/literal}{'first_contact_title7'|@translate|@escape:'javascript'}{literal}", 59 content: "{/literal}{'first_contact_stp7'|@translate|@escape:'javascript'}{literal}", 60 60 prev:4 61 61 }, … … 66 66 element: "#batchLink", 67 67 reflex:true, 68 title: "{/literal}{'first_contact_title8'|@translate }{literal}",69 content: "{/literal}{'first_contact_stp8'|@translate }{literal}",68 title: "{/literal}{'first_contact_title8'|@translate|@escape:'javascript'}{literal}", 69 content: "{/literal}{'first_contact_stp8'|@translate|@escape:'javascript'}{literal}", 70 70 prev:4 71 71 }, … … 75 75 placement: "top", 76 76 element: "", 77 title: "{/literal}{'first_contact_title9'|@translate }{literal}",78 content: "{/literal}{'first_contact_stp9'|@translate }{literal}"77 title: "{/literal}{'first_contact_title9'|@translate|@escape:'javascript'}{literal}", 78 content: "{/literal}{'first_contact_stp9'|@translate|@escape:'javascript'}{literal}" 79 79 }, 80 80 {//10 … … 83 83 placement: "right", 84 84 element: ".icon-flag", 85 title: "{/literal}{'first_contact_title10'|@translate }{literal}",86 content: "{/literal}{'first_contact_stp10'|@translate }{literal}"85 title: "{/literal}{'first_contact_title10'|@translate|@escape:'javascript'}{literal}", 86 content: "{/literal}{'first_contact_stp10'|@translate|@escape:'javascript'}{literal}" 87 87 }, 88 88 { … … 91 91 placement: "left", 92 92 element: "#checkActions", 93 title: "{/literal}{'first_contact_title11'|@translate }{literal}",94 content: "{/literal}{'first_contact_stp11'|@translate }{literal}"93 title: "{/literal}{'first_contact_title11'|@translate|@escape:'javascript'}{literal}", 94 content: "{/literal}{'first_contact_stp11'|@translate|@escape:'javascript'}{literal}" 95 95 }, 96 96 { … … 99 99 placement: "top", 100 100 element: "#action", 101 title: "{/literal}{'first_contact_title12'|@translate }{literal}",102 content: "{/literal}{'first_contact_stp12'|@translate }{literal}"101 title: "{/literal}{'first_contact_title12'|@translate|@escape:'javascript'}{literal}", 102 content: "{/literal}{'first_contact_stp12'|@translate|@escape:'javascript'}{literal}" 103 103 }, 104 104 { … … 107 107 placement: "bottom", 108 108 element: "#tabsheet .normal_tab", 109 title: "{/literal}{'first_contact_title13'|@translate }{literal}",110 content: "{/literal}{'first_contact_stp13'|@translate }{literal}"109 title: "{/literal}{'first_contact_title13'|@translate|@escape:'javascript'}{literal}", 110 content: "{/literal}{'first_contact_stp13'|@translate|@escape:'javascript'}{literal}" 111 111 }, 112 112 { … … 116 116 element: "#TAT_FC_14", 117 117 reflex:true, 118 title: "{/literal}{'first_contact_title14'|@translate }{literal}",119 content: "{/literal}{'first_contact_stp14'|@translate }{literal}",118 title: "{/literal}{'first_contact_title14'|@translate|@escape:'javascript'}{literal}", 119 content: "{/literal}{'first_contact_stp14'|@translate|@escape:'javascript'}{literal}", 120 120 onNext:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";} 121 121 }, … … 125 125 placement: "bottom", 126 126 element: ".selected_tab", 127 title: "{/literal}{'first_contact_title15'|@translate }{literal}",128 content: "{/literal}{'first_contact_stp15'|@translate }{literal}"127 title: "{/literal}{'first_contact_title15'|@translate|@escape:'javascript'}{literal}", 128 content: "{/literal}{'first_contact_stp15'|@translate|@escape:'javascript'}{literal}" 129 129 }, 130 130 { … … 133 133 placement: "top", 134 134 element: "#TAT_FC_16", 135 title: "{/literal}{'first_contact_title16'|@translate }{literal}",136 content: "{/literal}{'first_contact_stp16'|@translate }{literal}"135 title: "{/literal}{'first_contact_title16'|@translate|@escape:'javascript'}{literal}", 136 content: "{/literal}{'first_contact_stp16'|@translate|@escape:'javascript'}{literal}" 137 137 }, 138 138 { … … 141 141 placement: "top", 142 142 element: "#TAT_FC_17", 143 title: "{/literal}{'first_contact_title17'|@translate }{literal}",144 content: "{/literal}{'first_contact_stp17'|@translate }{literal}"143 title: "{/literal}{'first_contact_title17'|@translate|@escape:'javascript'}{literal}", 144 content: "{/literal}{'first_contact_stp17'|@translate|@escape:'javascript'}{literal}" 145 145 }, 146 146 { … … 148 148 redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}, 149 149 placement: "top", 150 title: "{/literal}{'first_contact_title18'|@translate }{literal}",151 content: "{/literal}{'first_contact_stp18'|@translate }{literal}"150 title: "{/literal}{'first_contact_title18'|@translate|@escape:'javascript'}{literal}", 151 content: "{/literal}{'first_contact_stp18'|@translate|@escape:'javascript'}{literal}" 152 152 }, 153 153 { … … 155 155 placement: "left", 156 156 element: "#content", 157 title: "{/literal}{'first_contact_title19'|@translate }{literal}",158 content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate }{else}{'first_contact_stp19_b'|@translate}{/if}{literal}",157 title: "{/literal}{'first_contact_title19'|@translate|@escape:'javascript'}{literal}", 158 content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate|@escape:'javascript'}{else}{'first_contact_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}", 159 159 onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}, 160 160 … … 164 164 placement: "top", 165 165 element: "#categoryOrdering", 166 title: "{/literal}{'first_contact_title20'|@translate }{literal}",167 content: "{/literal}{'first_contact_stp20'|@translate }{literal}"166 title: "{/literal}{'first_contact_title20'|@translate|@escape:'javascript'}{literal}", 167 content: "{/literal}{'first_contact_stp20'|@translate|@escape:'javascript'}{literal}" 168 168 }, 169 169 { … … 171 171 placement: "left", 172 172 element: "#tabsheet:first-child", 173 title: "{/literal}{'first_contact_title21'|@translate }{literal}",174 content: "{/literal}{'first_contact_stp21'|@translate }{literal}"173 title: "{/literal}{'first_contact_title21'|@translate|@escape:'javascript'}{literal}", 174 content: "{/literal}{'first_contact_stp21'|@translate|@escape:'javascript'}{literal}" 175 175 }, 176 176 { … … 179 179 placement: "top", 180 180 element: ".selected_tab", 181 title: "{/literal}{'first_contact_title22'|@translate }{literal}",182 content: "{/literal}{'first_contact_stp22'|@translate }{literal}"181 title: "{/literal}{'first_contact_title22'|@translate|@escape:'javascript'}{literal}", 182 content: "{/literal}{'first_contact_stp22'|@translate|@escape:'javascript'}{literal}" 183 183 }, 184 184 { … … 187 187 placement: "top", 188 188 element: "#TAT_FC_23", 189 title: "{/literal}{'first_contact_title23'|@translate }{literal}",190 content: "{/literal}{'first_contact_stp23'|@translate }{literal}"189 title: "{/literal}{'first_contact_title23'|@translate|@escape:'javascript'}{literal}", 190 content: "{/literal}{'first_contact_stp23'|@translate|@escape:'javascript'}{literal}" 191 191 }, 192 192 { … … 195 195 placement: "bottom", 196 196 element: ".tabsheet", 197 title: "{/literal}{'first_contact_title24'|@translate }{literal}",198 content: "{/literal}{'first_contact_stp24'|@translate }{literal}"197 title: "{/literal}{'first_contact_title24'|@translate|@escape:'javascript'}{literal}", 198 content: "{/literal}{'first_contact_stp24'|@translate|@escape:'javascript'}{literal}" 199 199 }, 200 200 {//25 … … 203 203 placement: "left", 204 204 element: "#content", 205 title: "{/literal}{'first_contact_title25'|@translate }{literal}",206 content: "{/literal}{'first_contact_stp25'|@translate }{literal}"205 title: "{/literal}{'first_contact_title25'|@translate|@escape:'javascript'}{literal}", 206 content: "{/literal}{'first_contact_stp25'|@translate|@escape:'javascript'}{literal}" 207 207 }, 208 208 { … … 211 211 placement: "top", 212 212 element: "#selectStatus", 213 title: "{/literal}{'first_contact_title26'|@translate }{literal}",214 content: "{/literal}{'first_contact_stp26'|@translate }{literal}"213 title: "{/literal}{'first_contact_title26'|@translate|@escape:'javascript'}{literal}", 214 content: "{/literal}{'first_contact_stp26'|@translate|@escape:'javascript'}{literal}" 215 215 }, 216 216 { … … 219 219 placement: "top", 220 220 element: "#selectStatus", 221 title: "{/literal}{'first_contact_title27'|@translate }{literal}",222 content: "{/literal}{'first_contact_stp27'|@translate }{literal}"221 title: "{/literal}{'first_contact_title27'|@translate|@escape:'javascript'}{literal}", 222 content: "{/literal}{'first_contact_stp27'|@translate|@escape:'javascript'}{literal}" 223 223 }, 224 224 { … … 226 226 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, 227 227 placement: "top", 228 title: "{/literal}{'first_contact_title28'|@translate }{literal}",229 content: "{/literal}{'first_contact_stp28'|@translate }{literal}"230 }, 231 { 232 path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration", 233 placement: "top", 234 element: "", 235 title: "{/literal}{'first_contact_title29'|@translate }{literal}",236 content: "{/literal}{'first_contact_stp29'|@translate }{literal}"228 title: "{/literal}{'first_contact_title28'|@translate|@escape:'javascript'}{literal}", 229 content: "{/literal}{'first_contact_stp28'|@translate|@escape:'javascript'}{literal}" 230 }, 231 { 232 path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration", 233 placement: "top", 234 element: "", 235 title: "{/literal}{'first_contact_title29'|@translate|@escape:'javascript'}{literal}", 236 content: "{/literal}{'first_contact_stp29'|@translate|@escape:'javascript'}{literal}" 237 237 }, 238 238 {//30 … … 240 240 placement: "right", 241 241 element: "#gallery_title", 242 title: "{/literal}{'first_contact_title30'|@translate }{literal}",243 content: "{/literal}{'first_contact_stp30'|@translate }{literal}"242 title: "{/literal}{'first_contact_title30'|@translate|@escape:'javascript'}{literal}", 243 content: "{/literal}{'first_contact_stp30'|@translate|@escape:'javascript'}{literal}" 244 244 }, 245 245 { … … 247 247 placement: "right", 248 248 element: "#page_banner", 249 title: "{/literal}{'first_contact_title31'|@translate }{literal}",250 content: "{/literal}{'first_contact_stp31'|@translate }{literal}"249 title: "{/literal}{'first_contact_title31'|@translate|@escape:'javascript'}{literal}", 250 content: "{/literal}{'first_contact_stp31'|@translate|@escape:'javascript'}{literal}" 251 251 }, 252 252 { … … 255 255 placement: "top", 256 256 element: ".formButtons input", 257 title: "{/literal}{'first_contact_title32'|@translate }{literal}",258 content: "{/literal}{'first_contact_stp32'|@translate }{literal}"259 }, 260 { 261 path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration", 262 placement: "top", 263 title: "{/literal}{'first_contact_stp33'|@translate }{literal}",264 content: "{/literal}{'first_contact_stp33'|@translate }{literal}",257 title: "{/literal}{'first_contact_title32'|@translate|@escape:'javascript'}{literal}", 258 content: "{/literal}{'first_contact_stp32'|@translate|@escape:'javascript'}{literal}" 259 }, 260 { 261 path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration", 262 placement: "top", 263 title: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}", 264 content: "{/literal}{'first_contact_stp33'|@translate|@escape:'javascript'}{literal}", 265 265 prev:30 266 266 }, … … 269 269 placement: "top", 270 270 element: "", 271 title: "{/literal}{'first_contact_title34'|@translate }{literal}",272 content: "{/literal}{'first_contact_stp34'|@translate }{literal}"271 title: "{/literal}{'first_contact_title34'|@translate|@escape:'javascript'}{literal}", 272 content: "{/literal}{'first_contact_stp34'|@translate|@escape:'javascript'}{literal}" 273 273 }, 274 274 {//35 … … 276 276 placement: "top", 277 277 element: "#TAT_FC_35", 278 title: "{/literal}{'first_contact_title35'|@translate }{literal}",279 content: "{/literal}{'first_contact_stp35'|@translate }{literal}"278 title: "{/literal}{'first_contact_title35'|@translate|@escape:'javascript'}{literal}", 279 content: "{/literal}{'first_contact_stp35'|@translate|@escape:'javascript'}{literal}" 280 280 }, 281 281 { … … 283 283 placement: "top", 284 284 element: "", 285 title: "{/literal}{'first_contact_title36'|@translate }{literal}",286 content: "{/literal}{'first_contact_stp36'|@translate }{literal}"285 title: "{/literal}{'first_contact_title36'|@translate|@escape:'javascript'}{literal}", 286 content: "{/literal}{'first_contact_stp36'|@translate|@escape:'javascript'}{literal}" 287 287 }, 288 288 { … … 290 290 placement: "right", 291 291 element: ".tabsheet", 292 title: "{/literal}{'first_contact_title37'|@translate }{literal}",293 content: "{/literal}{'first_contact_stp37'|@translate }{literal}"292 title: "{/literal}{'first_contact_title37'|@translate|@escape:'javascript'}{literal}", 293 content: "{/literal}{'first_contact_stp37'|@translate|@escape:'javascript'}{literal}" 294 294 }, 295 295 { … … 297 297 placement: "left", 298 298 element: "", 299 title: "{/literal}{'first_contact_title38'|@translate }{literal}",300 content: "{/literal}{'first_contact_stp38'|@translate }{literal}"299 title: "{/literal}{'first_contact_title38'|@translate|@escape:'javascript'}{literal}", 300 content: "{/literal}{'first_contact_stp38'|@translate|@escape:'javascript'}{literal}" 301 301 }, 302 302 { … … 304 304 placement: "left", 305 305 element: "#content", 306 title: "{/literal}{'first_contact_title39'|@translate }{literal}",307 content: "{/literal}{'first_contact_stp39'|@translate }{literal}"306 title: "{/literal}{'first_contact_title39'|@translate|@escape:'javascript'}{literal}", 307 content: "{/literal}{'first_contact_stp39'|@translate|@escape:'javascript'}{literal}" 308 308 }, 309 309 {//40 … … 311 311 placement: "bottom", 312 312 element: "#TakeATour", 313 title: "{/literal}{'first_contact_title40'|@translate }{literal}",314 content: "{/literal}{'first_contact_stp40'|@translate }{literal}"313 title: "{/literal}{'first_contact_title40'|@translate|@escape:'javascript'}{literal}", 314 content: "{/literal}{'first_contact_stp40'|@translate|@escape:'javascript'}{literal}" 315 315 }, 316 316 { … … 318 318 placement: "right", 319 319 element: ".tabsheet", 320 title: "{/literal}{'first_contact_title41'|@translate }{literal}",321 content: "{/literal}{'first_contact_stp41'|@translate }{literal}"320 title: "{/literal}{'first_contact_title41'|@translate|@escape:'javascript'}{literal}", 321 content: "{/literal}{'first_contact_stp41'|@translate|@escape:'javascript'}{literal}" 322 322 }, 323 323 { 324 324 path: "{/literal}{$TAT_path}{literal}admin.php?page=languages", 325 title: "{/literal}{'first_contact_title42'|@translate }{literal}",326 content: "{/literal}{'first_contact_stp42'|@translate }{literal}"325 title: "{/literal}{'first_contact_title42'|@translate|@escape:'javascript'}{literal}", 326 content: "{/literal}{'first_contact_stp42'|@translate|@escape:'javascript'}{literal}" 327 327 }, 328 328 { … … 330 330 placement: "top", 331 331 element: "", 332 title: "{/literal}{'first_contact_title43'|@translate }{literal}",333 content: "{/literal}{'first_contact_stp43'|@translate }{literal}"332 title: "{/literal}{'first_contact_title43'|@translate|@escape:'javascript'}{literal}", 333 content: "{/literal}{'first_contact_stp43'|@translate|@escape:'javascript'}{literal}" 334 334 } 335 335 ]);
Note: See TracChangeset
for help on using the changeset viewer.