fixes #2210 add links to the new documentation in help pages

This commit is contained in:
plegall 2024-08-26 13:55:44 +02:00
parent 815a0221aa
commit c27d166d46
4 changed files with 17 additions and 46 deletions

View file

@ -46,7 +46,15 @@ $template->assign(
) )
); );
if (substr($user['language'], 0, 3) == 'fr_') $language_prefix = substr($user['language'], 0, 3);
if ('en_' == $language_prefix)
{
$page['messages'][] = sprintf(
'Need help to use Piwigo? <a href="%s" target="_blank">Check the online documentation</a> !',
'https://doc.piwigo.org/'
);
}
elseif ('fr_' == $language_prefix)
{ {
$page['messages'][] = sprintf( $page['messages'][] = sprintf(
'Besoin d\'aide pour utiliser Piwigo ? Consultez la <a href="%s" target="_blank">documentation en ligne</a> !', 'Besoin d\'aide pour utiliser Piwigo ? Consultez la <a href="%s" target="_blank">documentation en ligne</a> !',

View file

@ -25,3 +25,5 @@
<p class="nextStepLink"><a href="admin.php?page=photos_add&section=ftp">Go to FTP</a></p> <p class="nextStepLink"><a href="admin.php?page=photos_add&section=ftp">Go to FTP</a></p>
</div> </div>
<p>For more information on adding photos to Piwigo, read the dedicated article in our online documentation: <a href="https://doc.piwigo.org/import-and-manage-photos/importing-photos-into-piwigo" target="_blank" class="icon-lifebuoy">Importing photos into Piwigo</a>.</p>

View file

@ -9,3 +9,5 @@ Manage</span>.</p>
interdiction : if user "jack" belongs to groups "family" and "friends", and interdiction : if user "jack" belongs to groups "family" and "friends", and
that only group "family" can see album "Christmas 2010" album then that only group "family" can see album "Christmas 2010" album then
"jack" will be able to see "Christmas 2010".</p> "jack" will be able to see "Christmas 2010".</p>
<p>To find out more about user groups, see the dedicated article in our online documentation: <a href="https://doc.piwigo.org/managing-users/user-groups" target="_blank" class="icon-lifebuoy">User groups</a>.</p>

View file

@ -1,57 +1,16 @@
<fieldset> <fieldset>
<legend>Permissions on albums</legend> <legend>Permissions on albums</legend>
<p>If privacy levels do not fit your needs, you can also manage permissions on albums for a user or a group. You can manage permissions on photos and albums at the same time, without conflict.</p> <p>The simplest and most common way of managing access rights to photos is to use album permissions.</p>
<p>You can forbid access to albums. Switch the album access type to <p>To find out how album permissions work, read the dedicated article in our online documentation: <a href="https://doc.piwigo.org/organizing-albums/permissions-and-album-visibility" target="_blank" class="icon-lifebuoy">Permissions and album visibility</a>.</p>
"private" if you want to manage permissions.</p>
<p>You can set a album to private by editing a single album
(<span class="pwgScreen">Administration &raquo; Albums &raquo; Manage
&raquo; edit</span>) or by setting options to your whole album tree
(<span class="pwgScreen">Administration &raquo; Albums &raquo;
Properties &raquo; Public / Private</span>).</p>
<p>Once the album is private, you can manage permissions for groups and
users with 3 screens:</p>
<ul>
<li><span class="pwgScreen">Administration &raquo; Users &raquo; Manage &raquo;
permissions action</span> (one link per user)</li>
<li><span class="pwgScreen">Administration &raquo; Users &raquo; Groups &raquo;
permissions action</span> (one link per group)</li>
<li><span class="pwgScreen">Administration &raquo; Albums &raquo; Manage &raquo; edit
album permissions action</span> (one link per album)</li>
</ul>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>Permissions on photos</legend> <legend>Permissions on photos</legend>
<p>Each photo has a <strong>privacy level</strong> (a lock). Each user also has a privacy level (a key). There are 5 privacy levels:</p> <p>If you're not happy with permissions per album, you can also manage permissions per photo using confidentiality levels. You can manage permissions by photo and by album at the same time, without conflict.</p>
<ol>
<li>None</li>
<li><em>Contacts</em></li>
<li><em>Friends (which is higher than a contact)</em></li>
<li><em>Family (which is higher than a friend)</em></li>
<li><em>Admins (which is higher than any other level)</em></li>
</ol>
<p>Higher levels have permissions on lower levels. For a given user, the higher the privacy level, the more photos he can see.</p> <p>To find out how to set and use photo confidentiality levels, see the dedicated article in our online documentation: <a href="https://doc.piwigo.org/managing-users/privacy-levels" target="_blank" class="icon-lifebuoy">Privacy levels</a>.</p>
<p>For example, if photo "peter_wedding-0024.jpg" has <em>"Family"</em> privacy level, then:</p>
<ul>
<li>Peter (who is an <em>"Admin"</em>) will see the photo because <em>"Admins"</em> can see all photos</li>
<li>Beth (who is a <em>"Family"</em> member) will also see the photo</li>
<li>Mary (who is just a <em>"Friend"</em>) won't see the photo</li>
</ul>
<p>A user that has no permission to see the content of a album won't see the album itself, not even its title. The same principle applies to a tag.</p>
<p>You can set the privacy level of a user on <span class="pwgScreen">Administration &raquo; Users &raquo; Manage</span> screen.</p>
</fieldset> </fieldset>