Changeset 29077


Ignore:
Timestamp:
Jul 26, 2014, 4:13:44 PM (10 years ago)
Author:
flop25
Message:

pivacy tour wip

Location:
trunk/plugins/TakeATour
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TakeATour/language/en_UK/plugin.lang.php

    r29058 r29077  
    131131$lang['2_7_0_stp10'] = '';
    132132$lang['2_7_0_title11'] = 'See you soon!';
    133 $lang['2_7_0_stp11'] = 'This tour is over.<p style="text-align:center">Enjoy your Piwigo 2.7!</p>If you like Piwigo and want to support us, you can contribute by helping for translations, donating, etc. <a href="http://piwigo.org/basics/contribute" target="_blank">Click here to support us</a>';
     133$lang['2_7_0_stp11'] = 'This tour is over.<p style="text-align:center">Enjoy your Piwigo 2.7!</p>If you like Piwigo and want to support us, you can contribute by helping for translations, donating, etc. <a href="http://piwigo.org/basics/contribute" target="_blank">Click here to support us</a> Thanks!';
    134134
    135135
     
    137137
    138138
    139 $lang['privacy_descrp'] = 'This tour present you all the ways to protect your photo from public access with the permission systems per album and per picture, and from copying using image protections';
     139$lang['privacy_descrp'] = 'This tour present you all the ways to protect your photo from public access with the permission systems per album and per picture, and from copying using image protections.';
    140140$lang['privacy_title1'] = 'Welcome in the Privacy Tour';
    141141$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!';
     
    169169$lang['privacy_stp15'] = 'Just before explaining the groups, a pro tip: here is the link to a page to set as private/public several albums at once. Click on it';
    170170$lang['privacy_title16'] = '';
    171 $lang['privacy_stp16'] = 'Like on your computer, you can select several albums using the keys Maj and Control, then click on the arrow to switch them.';
    172 $lang['privacy_title17'] = '';
    173 $lang['privacy_stp17'] = '';
    174 $lang['privacy_title18'] = '';
    175 $lang['privacy_stp18'] = '';
    176 $lang['privacy_title19'] = '';
    177 $lang['privacy_stp19'] = '';
     171$lang['privacy_stp16'] = 'Like on your computer, you can select several albums using the keys Maj and Control, then click on the arrow to switch them.<br><br>Now, let me introduce the groups.';
     172$lang['privacy_title17'] = 'Groups';
     173$lang['privacy_stp17'] = 'A group in Piwigo is just a set of users: so groups make easier the management permissions of album, and the management users properties. Here is the page where you can manage groups to rename, merge, duplicate, delete them. You also can set one or more groups as "default group" which means that newly registered users will be affected to those groups set as default.';
     174$lang['privacy_title18'] = 'Groups';
     175$lang['privacy_stp18'] = 'To add or remove users to groups, go to the <em>Users » Manage</em> page';
     176$lang['privacy_title19'] = 'Users';
     177$lang['privacy_stp19'] = 'Here you can quickly edit a single user by hovering it and then click on the Edit link.<br><br>You can select multiple users and edit them at once by then choosing an Action to apply.';
     178$lang['privacy_title20'] = 'Public photos';
     179$lang['privacy_stp20'] = 'Now you know how to keep your photos private, but you can wonder how to protect your public photos. You might first think about blocking the visitor to download the photo: you can\'t, because the web has been created that way (the browser of the visitor download all the resources displayed and more). The right-click can be disabled, a blank layer can be put on top of the photo etc but it will not disable the download. Full webpages can be saved by any web browser.';
     180$lang['privacy_title21'] = 'Public photos';
     181$lang['privacy_stp21'] = 'Solutions are:<ul><li>put a watermark, at least on medium and high def photos.</li><li>and disable XL and XXL sizes.</li><li>and disable the High Definition (download and display of the original photo) for the concerned users.';
     182$lang['privacy_title22'] = 'Local Config: Original protection';
     183$lang['privacy_stp22'] = '<em>For Advanced Users</em><br><br>In Piwigo, you can protect the original photos using your local configuration. Use the variable $conf[\'original_url_protection\']: by default empty, you set the value to "images" to protect only the pictures or "all" to protect also all type of media, which can be ressource consumming or might simply don\'t work on your server.<br><br>This option works for public and private content. This option currently requires you to deny the acces to the folders /upload and /galleries, by using an .htaccess file (usually a text file with "Deny from all" for content) or the server configurations.<br><br>Please note that filenames of photos uploaded using other method than FTP are <b>randomized</b>, so they are impossible to guess: that filename and so the path to the original photo can be known only if the visitor has access to a resized picture of that photo, like the thumbnail. $conf[\'original_url_protection\'] and denying access to the folders /upload and /galleries are meant to avoid that case.';
     184$lang['privacy_title23'] = 'Local Config: Privacy Level';
     185$lang['privacy_stp23'] = '<em>For Advanced Users</em><br><br>Curently Privacy Levels are hard coded in the local configuration variable $conf[\'available_permission_levels\']. You can add a new level, by adding an intermediate number, but removing a level is highly inadvisable. You may want to translate your new level: use $lang[\'Level X\'] where X is your new number.';
     186$lang['privacy_title24'] = 'It\'s been a great time';
     187$lang['privacy_stp24'] = 'This tour is over.<p style="text-align:center">Enjoy your Piwigo!</p>If you like Piwigo and want to support us, you can contribute by helping for translations, donating, etc. <a href="http://piwigo.org/basics/contribute" target="_blank">Click here to support us</a> Thanks!';
     188
     189
    178190?>
  • trunk/plugins/TakeATour/tours/privacy/tour.tpl

    r29058 r29077  
    127127  },
    128128  {
    129     path: /admin\.php\?page=photo-/,
    130     redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
    131     placement: "top",
    132     element: "#TAT_FC_17",
     129    path: "{/literal}{$TAT_path}{literal}admin.php?page=group_list",
    133130    title: "{/literal}{'privacy_title17'|@translate|@escape:'javascript'}{literal}",
    134131    content: "{/literal}{'privacy_stp17'|@translate|@escape:'javascript'}{literal}"
    135132  },
    136133  {
    137     path: /admin\.php\?page=photo-/,
    138     redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
    139     placement: "top",
     134    path: "{/literal}{$TAT_path}{literal}admin.php?page=group_list",
     135    placement: "right",
     136    element: "a[href='./admin.php?page=user_list']",
    140137    title: "{/literal}{'privacy_title18'|@translate|@escape:'javascript'}{literal}",
    141138    content: "{/literal}{'privacy_stp18'|@translate|@escape:'javascript'}{literal}"
    142139  },
    143140  {
    144     path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
    145     placement: "left",
    146     element: "#content",
     141    path: "{/literal}{$TAT_path}{literal}admin.php?page=user_list",
     142    placement: "top",
     143    element: "#userList",
    147144    title: "{/literal}{'privacy_title19'|@translate|@escape:'javascript'}{literal}",
    148     content: "{/literal}{if $TAT_FTP}{'privacy_stp19'|@translate|@escape:'javascript'}{else}{'privacy_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}",
    149     onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
     145    content: "{/literal}{'privacy_stp19'|@translate|@escape:'javascript'}{literal}",
    150146
    151147  },
    152148  {//20
    153     path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
    154     placement: "top",
    155     element: "#categoryOrdering",
     149    path: "{/literal}{$TAT_path}{literal}admin.php",
    156150    title: "{/literal}{'privacy_title20'|@translate|@escape:'javascript'}{literal}",
    157151    content: "{/literal}{'privacy_stp20'|@translate|@escape:'javascript'}{literal}"
    158152  },
    159153  {
    160     path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
    161     placement: "left",
    162     element: "#tabsheet:first-child",
     154    path: "{/literal}{$TAT_path}{literal}admin.php",
    163155    title: "{/literal}{'privacy_title21'|@translate|@escape:'javascript'}{literal}",
    164156    content: "{/literal}{'privacy_stp21'|@translate|@escape:'javascript'}{literal}"
    165157  },
    166158  {
    167     path: /admin\.php\?page=album-/,
    168     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
    169     placement: "top",
    170     element: ".selected_tab",
     159    path: "{/literal}{$TAT_path}{literal}admin.php",
    171160    title: "{/literal}{'privacy_title22'|@translate|@escape:'javascript'}{literal}",
    172161    content: "{/literal}{'privacy_stp22'|@translate|@escape:'javascript'}{literal}"
    173162  },
    174163  {
    175     path: /admin\.php\?page=album-/,
    176     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
    177     placement: "top",
    178     element: "#TAT_FC_23",
     164    path: "{/literal}{$TAT_path}{literal}admin.php",
    179165    title: "{/literal}{'privacy_title23'|@translate|@escape:'javascript'}{literal}",
    180166    content: "{/literal}{'privacy_stp23'|@translate|@escape:'javascript'}{literal}"
    181167  },
    182168  {
    183     path: /admin\.php\?page=album-/,
    184     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
    185     placement: "bottom",
    186     element: ".tabsheet",
     169    path: "{/literal}{$TAT_path}{literal}admin.php",
    187170    title: "{/literal}{'privacy_title24'|@translate|@escape:'javascript'}{literal}",
    188171    content: "{/literal}{'privacy_stp24'|@translate|@escape:'javascript'}{literal}"
    189   },
    190   {//25
    191     path: /admin\.php\?page=album-[0-9]+-permissions/,
    192     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},
    193     placement: "left",
    194     element: "#content",
    195     title: "{/literal}{'privacy_title25'|@translate|@escape:'javascript'}{literal}",
    196     content: "{/literal}{'privacy_stp25'|@translate|@escape:'javascript'}{literal}"
    197   },
    198   {
    199     path: /admin\.php\?page=album-[0-9]+-permissions/,
    200     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},
    201     placement: "top",
    202     element: "#selectStatus",
    203     title: "{/literal}{'privacy_title26'|@translate|@escape:'javascript'}{literal}",
    204     content: "{/literal}{'privacy_stp26'|@translate|@escape:'javascript'}{literal}"
    205   },
    206   {
    207     path: /admin\.php\?page=album-[0-9]+-permissions/,
    208     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},
    209     placement: "top",
    210     element: "#selectStatus",
    211     title: "{/literal}{'privacy_title27'|@translate|@escape:'javascript'}{literal}",
    212     content: "{/literal}{'privacy_stp27'|@translate|@escape:'javascript'}{literal}"
    213   },
    214   {
    215     path: /admin\.php\?page=album-[0-9]+-permissions/,
    216     redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";},
    217     placement: "top",
    218     title: "{/literal}{'privacy_title28'|@translate|@escape:'javascript'}{literal}",
    219     content: "{/literal}{'privacy_stp28'|@translate|@escape:'javascript'}{literal}"
    220   },
    221   {
    222     path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
    223     placement: "top",
    224     element: "",
    225     title: "{/literal}{'privacy_title29'|@translate|@escape:'javascript'}{literal}",
    226     content: "{/literal}{'privacy_stp29'|@translate|@escape:'javascript'}{literal}"
    227   },
    228   {//30
    229     path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
    230     placement: "right",
    231     element: "#gallery_title",
    232     title: "{/literal}{'privacy_title30'|@translate|@escape:'javascript'}{literal}",
    233     content: "{/literal}{'privacy_stp30'|@translate|@escape:'javascript'}{literal}"
    234   },
    235   {
    236     path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
    237     placement: "right",
    238     element: "#page_banner",
    239     title: "{/literal}{'privacy_title31'|@translate|@escape:'javascript'}{literal}",
    240     content: "{/literal}{'privacy_stp31'|@translate|@escape:'javascript'}{literal}"
    241   },
    242   {
    243     path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
    244     reflex: true,
    245     placement: "top",
    246     element: ".formButtons input",
    247     title: "{/literal}{'privacy_title32'|@translate|@escape:'javascript'}{literal}",
    248     content: "{/literal}{'privacy_stp32'|@translate|@escape:'javascript'}{literal}"
    249   },
    250   {
    251     path: "{/literal}{$TAT_path}{literal}admin.php?page=configuration",
    252     placement: "top",
    253     title: "{/literal}{'privacy_stp33'|@translate|@escape:'javascript'}{literal}",
    254     content: "{/literal}{'privacy_stp33'|@translate|@escape:'javascript'}{literal}",
    255     prev:30
    256   },
    257   {
    258     path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
    259     placement: "top",
    260     element: "",
    261     title: "{/literal}{'privacy_title34'|@translate|@escape:'javascript'}{literal}",
    262     content: "{/literal}{'privacy_stp34'|@translate|@escape:'javascript'}{literal}"
    263   },
    264   {//35
    265     path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
    266     placement: "top",
    267     element: "#TAT_FC_35",
    268     title: "{/literal}{'privacy_title35'|@translate|@escape:'javascript'}{literal}",
    269     content: "{/literal}{'privacy_stp35'|@translate|@escape:'javascript'}{literal}"
    270   },
    271   {
    272     path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
    273     placement: "top",
    274     element: "",
    275     title: "{/literal}{'privacy_title36'|@translate|@escape:'javascript'}{literal}",
    276     content: "{/literal}{'privacy_stp36'|@translate|@escape:'javascript'}{literal}"
    277   },
    278   {
    279     path: "{/literal}{$TAT_path}{literal}admin.php?page=themes",
    280     placement: "right",
    281     element: ".tabsheet",
    282     title: "{/literal}{'privacy_title37'|@translate|@escape:'javascript'}{literal}",
    283     content: "{/literal}{'privacy_stp37'|@translate|@escape:'javascript'}{literal}"
    284   },
    285   {
    286     path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
    287     placement: "left",
    288     element: "",
    289     title: "{/literal}{'privacy_title38'|@translate|@escape:'javascript'}{literal}",
    290     content: "{/literal}{'privacy_stp38'|@translate|@escape:'javascript'}{literal}"
    291   },
    292   {
    293     path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
    294     placement: "left",
    295     element: "#content",
    296     title: "{/literal}{'privacy_title39'|@translate|@escape:'javascript'}{literal}",
    297     content: "{/literal}{'privacy_stp39'|@translate|@escape:'javascript'}{literal}"
    298   },
    299   {//40
    300     path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
    301     placement: "bottom",
    302     element: "#TakeATour",
    303     title: "{/literal}{'privacy_title40'|@translate|@escape:'javascript'}{literal}",
    304     content: "{/literal}{'privacy_stp40'|@translate|@escape:'javascript'}{literal}"
    305   },
    306   {
    307     path: "{/literal}{$TAT_path}{literal}admin.php?page=plugins",
    308     placement: "right",
    309     element: ".tabsheet",
    310     title: "{/literal}{'privacy_title41'|@translate|@escape:'javascript'}{literal}",
    311     content: "{/literal}{'privacy_stp41'|@translate|@escape:'javascript'}{literal}"
    312   },
    313   {
    314     path: "{/literal}{$TAT_path}{literal}admin.php?page=languages",
    315     title: "{/literal}{'privacy_title42'|@translate|@escape:'javascript'}{literal}",
    316     content: "{/literal}{'privacy_stp42'|@translate|@escape:'javascript'}{literal}"
    317   },
    318   {
    319     path: "{/literal}{$TAT_path}{literal}admin.php?page=plugin-TakeATour",
    320     placement: "top",
    321     element: "",
    322     title: "{/literal}{'privacy_title43'|@translate|@escape:'javascript'}{literal}",
    323     content: "{/literal}{'privacy_stp43'|@translate|@escape:'javascript'}{literal}"
    324172  }
    325173]);
     
    330178// Start the tour
    331179tour.start();
    332 
    333 jQuery( "input[class='submit']" ).click(function() {
    334   if (tour.getCurrentStep()==5)
    335   {
    336     tour.goTo(6);
    337   }
    338 });
    339180{/literal}{/footer_script}
     181{html_style}
     182#step-21 {
     183  max-width:476px;
     184}
     185#step-22 {
     186  max-width:376px;
     187}
     188{/html_style}
Note: See TracChangeset for help on using the changeset viewer.