Changeset 29058 for trunk/plugins
- Timestamp:
- Jul 19, 2014, 10:53:06 PM (10 years ago)
- Location:
- trunk/plugins/TakeATour
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/TakeATour/language/en_UK/plugin.lang.php
r28951 r29058 133 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>'; 134 134 135 136 137 138 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'; 140 $lang['privacy_title1'] = 'Welcome in the Privacy Tour'; 141 $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!'; 142 $lang['privacy_title2'] = 'Help inside your Piwigo'; 143 $lang['privacy_stp2'] = 'You can access here to the Help integrated. Click Next to continue directly to the Help page about managing permissions'; 144 $lang['privacy_title3'] = 'Permissions'; 145 $lang['privacy_stp3'] = 'Take a moment to read the informations bellow.'; 146 $lang['privacy_title4'] = 'Permissions'; 147 $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. <br><br>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><br>The next Tab is about group managment.'; 148 $lang['privacy_title5'] = 'Permissions > Groups'; 149 $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!'; 150 $lang['privacy_title6'] = 'Privacy Level'; 151 $lang['privacy_stp6'] = 'When you upload the pictures, you can change the Privacy Level of the uploaded pictures right there...'; 152 $lang['privacy_title7'] = 'Privacy Level'; 153 $lang['privacy_stp7'] = '... or you can do that later one, here in the Batch Manager in Global Mode.<br><br>This is the page <em>Photos » Recent photos</em>, so the filter "Last Import" is set.'; 154 $lang['privacy_title8'] = 'Privacy Level'; 155 $lang['privacy_stp8'] = 'Select one or more pictures...'; 156 $lang['privacy_title9'] = 'Privacy Level'; 157 $lang['privacy_stp9'] = '... and select the action "Who can see the pictures?". Now you can change the privacy level of the selected pictures.<br><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><br>Now, I will show you the other system of permission per album based on the groups and users.'; 158 $lang['privacy_title10'] = 'Album permissions'; 159 $lang['privacy_stp10'] = 'We are in the Album list management available from the menu using <em>Albums » Manage</em><br><br>Edit on album by hovering it and then click on Edit.'; 160 $lang['privacy_title11'] = 'Album permissions'; 161 $lang['privacy_stp11'] = 'Now click on the Permissions tab'; 162 $lang['privacy_title12'] = 'Album permissions'; 163 $lang['privacy_stp12'] = 'On that page, you can choose if the album will be available for anyone or will be restricted to some users'; 164 $lang['privacy_title13'] = ''; 165 $lang['privacy_stp13'] = 'Now click on private.'; 166 $lang['privacy_title14'] = ''; 167 $lang['privacy_stp14'] = 'Then users and groups of users can be granted to access to the album.'; 168 $lang['privacy_title15'] = 'Tip'; 169 $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'; 170 $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'] = ''; 135 178 ?> -
trunk/plugins/TakeATour/tours/privacy/tour.tpl
r29046 r29058 4 4 name: "privacy", 5 5 orphan: true, 6 onEnd: function (tour) {window.location = "{/literal}{$ABS_U_ADMIN}{literal}admin.php?tour_ended=privacy";}, 7 template: "<div class='popover tour'> 8 <div class='arrow'></div> 9 <h3 class='popover-title'></h3> 10 <div class='popover-content'></div> 11 <div class='popover-navigation'> 12 <button class='btn btn-default' data-role='prev'>« {/literal}{'Prev'|@translate|@escape:'javascript'}{literal}</button> 13 <span data-role='separator'>|</span> 14 <button class='btn btn-default' data-role='next'>{/literal}{'Next '|@translate|@escape:'javascript'}{literal} »</button> 15 </div> 16 <button class='btn btn-default' data-role='end'>{/literal}{'End tour'|@translate|@escape:'javascript'}{literal}</button> 17 </nav> 18 </div>", 6 onEnd: function (tour) {window.location = "{/literal}{$ABS_U_ADMIN}{literal}admin.php?page=plugin-TakeATour&tour_ended=privacy"}, 7 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'>« {/literal}{'Prev'|@translate|@escape:'javascript'}{literal}</button> <button class='btn btn-sm btn-default' data-role='next'>{/literal}{'Next '|@translate|@escape:'javascript'}{literal} »</button> </div> <button class='btn btn-sm btn-default' data-role='end'>{/literal}{'End tour'|@translate|@escape:'javascript'}{literal}</button> </div> </div>", 19 8 }); 20 9 {/literal}{if $TAT_restart}tour.restart();{/if}{literal} … … 50 39 path: "{/literal}{$TAT_path}{literal}admin.php?page=help§ion=groups", 51 40 placement: "top", 52 element: "# uploadify",41 element: "#helpContent>p:first", 53 42 title: "{/literal}{'privacy_title5'|@translate|@escape:'javascript'}{literal}", 54 43 content: "{/literal}{'privacy_stp5'|@translate|@escape:'javascript'}{literal}" 55 44 }, 56 45 { 57 path: /admin\.php\?page=photos_add/, 58 redirect:function (tour) {window.location = "admin.php?page=photos_add";}, 59 placement: "left", 60 element: "#fileQueue", 46 path: "{/literal}{$TAT_path}{literal}admin.php?page=photos_add", 47 placement: "top", 48 element: "#showPermissions", 61 49 title: "{/literal}{'privacy_title6'|@translate|@escape:'javascript'}{literal}", 62 50 content: "{/literal}{'privacy_stp6'|@translate|@escape:'javascript'}{literal}" 63 51 }, 64 52 { 65 path: /admin\.php\?page=photos_add/, 66 redirect:function (tour) {window.location = "admin.php?page=photos_add";}, 67 placement: "top", 68 element: "#photosAddContent legend", 53 path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=prefilter-last_import", 54 placement: "top", 55 element: "", 69 56 title: "{/literal}{'privacy_title7'|@translate|@escape:'javascript'}{literal}", 70 57 content: "{/literal}{'privacy_stp7'|@translate|@escape:'javascript'}{literal}", 71 prev:4 72 }, 73 { 74 path: /admin\.php\?page=photos_add/, 75 redirect:function (tour) {window.location = "admin.php?page=photos_add";}, 76 placement: "bottom", 77 element: "#batchLink", 78 reflex:true, 58 }, 59 { 60 path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=prefilter-last_import", 61 placement: "top", 62 element: ".thumbnails", 79 63 title: "{/literal}{'privacy_title8'|@translate|@escape:'javascript'}{literal}", 80 64 content: "{/literal}{'privacy_stp8'|@translate|@escape:'javascript'}{literal}", 81 prev:4 82 }, 83 { 84 path: /admin\.php\?page=(photos_add|batch_manager&filter=prefilter-last_import|prefilter-caddie)/, 85 redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";}, 86 placement: "top", 87 element: "", 65 }, 66 { 67 path: "{/literal}{$TAT_path}{literal}admin.php?page=batch_manager&filter=prefilter-last_import", 68 placement: "top", 69 element: "#action", 88 70 title: "{/literal}{'privacy_title9'|@translate|@escape:'javascript'}{literal}", 89 71 content: "{/literal}{'privacy_stp9'|@translate|@escape:'javascript'}{literal}" 90 72 }, 91 73 {//10 92 path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/, 93 redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";}, 94 placement: "right", 95 element: ".icon-flag", 74 path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list", 75 placement: "left", 76 element: "#content", 96 77 title: "{/literal}{'privacy_title10'|@translate|@escape:'javascript'}{literal}", 97 78 content: "{/literal}{'privacy_stp10'|@translate|@escape:'javascript'}{literal}" 98 79 }, 99 80 { 100 path: /admin\.php\?page= batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,101 redirect:function (tour) {window.location = "admin.php?page= batch_manager&filter=prefilter-last_import";},102 placement: " left",103 element: " #checkActions",81 path: /admin\.php\?page=album-/, 82 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";}, 83 placement: "bottom", 84 element: ".icon-lock", 104 85 title: "{/literal}{'privacy_title11'|@translate|@escape:'javascript'}{literal}", 105 86 content: "{/literal}{'privacy_stp11'|@translate|@escape:'javascript'}{literal}" 106 87 }, 107 88 { 108 path: /admin\.php\?page= batch_manager&filter=(prefilter-caddie|prefilter-last_import)/,109 redirect:function (tour) {window.location = "admin.php?page= batch_manager&filter=prefilter-last_import";},110 placement: "top", 111 element: "# action",89 path: /admin\.php\?page=album-[0-9]+-permissions/, 90 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, 91 placement: "top", 92 element: "#categoryPermissions", 112 93 title: "{/literal}{'privacy_title12'|@translate|@escape:'javascript'}{literal}", 113 94 content: "{/literal}{'privacy_stp12'|@translate|@escape:'javascript'}{literal}" 114 95 }, 115 96 { 116 path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/, 117 redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";}, 118 placement: "bottom", 119 element: "#tabsheet .normal_tab", 97 path: /admin\.php\?page=album-[0-9]+-permissions/, 98 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, 99 placement: "bottom", 100 element: "input[value='private']", 101 reflex:true, 120 102 title: "{/literal}{'privacy_title13'|@translate|@escape:'javascript'}{literal}", 121 103 content: "{/literal}{'privacy_stp13'|@translate|@escape:'javascript'}{literal}" 122 104 }, 123 105 { 124 path: /admin\.php\?page=batch_manager&filter=(prefilter-caddie|prefilter-last_import)/, 125 redirect:function (tour) {window.location = "admin.php?page=batch_manager&filter=prefilter-last_import";}, 126 placement: "top", 127 element: "#TAT_FC_14", 128 reflex:true, 106 path: /admin\.php\?page=album-[0-9]+-permissions/, 107 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, 108 placement: "top", 109 element: "#privateOptions", 129 110 title: "{/literal}{'privacy_title14'|@translate|@escape:'javascript'}{literal}", 130 111 content: "{/literal}{'privacy_stp14'|@translate|@escape:'javascript'}{literal}", 131 onNext:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}132 112 }, 133 113 {//15 134 path: /admin\.php\?page= photo-/,135 redirect:function (tour) {window.location = "admin.php?page= photo-{/literal}{$TAT_image_id}{literal}";},136 placement: "bottom",137 element: ".selected_tab",114 path: /admin\.php\?page=album-[0-9]+-permissions/, 115 redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}-permissions";}, 116 element: "a[href='./admin.php?page=cat_options']", 117 reflex:true, 138 118 title: "{/literal}{'privacy_title15'|@translate|@escape:'javascript'}{literal}", 139 119 content: "{/literal}{'privacy_stp15'|@translate|@escape:'javascript'}{literal}" 140 120 }, 141 121 { 142 path: /admin\.php\?page=photo-/, 143 redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";}, 144 placement: "top", 145 element: "#TAT_FC_16", 122 path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_options", 123 placement: "top", 124 element: ".doubleSelect", 146 125 title: "{/literal}{'privacy_title16'|@translate|@escape:'javascript'}{literal}", 147 126 content: "{/literal}{'privacy_stp16'|@translate|@escape:'javascript'}{literal}" -
trunk/plugins/TakeATour/tpl/admin.tpl
r29046 r29058 9 9 <div class="TAT_description">{'first_contact_descrp'|@translate}</div> 10 10 <form action="{$F_ACTION}" method="post"> 11 <input type="hidden" name="submited_tour_path" value=".../../admin/themes/first_contact"> 11 <input type="hidden" name="submited_tour_path" value="tours/first_contact"> 12 <input type="hidden" name="pwg_token" value="{$pwg_token}"> 13 <input type="submit" name="button2" id="button2" value="{'Start the Tour'|@translate}"> 14 </form> 15 </fieldset> 16 {/if} 17 {if !isset($TAT_tour_ignored) or (isset($TAT_tour_ignored) and in_array(privacy, $TAT_tour_ignored))} 18 <fieldset> 19 <legend>{'Privacy'|@translate}</legend> 20 <div class="TAT_description">{'privacy_descrp'|@translate}</div> 21 <form action="{$F_ACTION}" method="post"> 22 <input type="hidden" name="submited_tour_path" value="tours/privacy"> 12 23 <input type="hidden" name="pwg_token" value="{$pwg_token}"> 13 24 <input type="submit" name="button2" id="button2" value="{'Start the Tour'|@translate}">
Note: See TracChangeset
for help on using the changeset viewer.