diff --git a/admin/user_perm.php b/admin/user_perm.php index b0384dd0c..ba9411dc7 100644 --- a/admin/user_perm.php +++ b/admin/user_perm.php @@ -67,6 +67,11 @@ elseif (isset($_POST['trueify']) // | template init | // +-----------------------------------------------------------------------+ +if ($page['user'] == $conf['guest_id']) +{ + $page['warnings'][] = l10n('Users not logged in will have these permissions applied. Grant access to private albums only with great caution.'); +} + $template->set_filenames( array( 'user_perm' => 'user_perm.tpl', diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 429e9d6f9..5fde73e05 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -1437,5 +1437,6 @@ $lang['Change logo'] = 'Change logo'; $lang['Latest update'] = 'Latest update'; $lang['See available updates'] = 'See available updates'; $lang['You are about to delete %s groups, are you sure?'] = 'You are about to delete %s groups, are you sure?'; +$lang['Users not logged in will have these permissions applied. Grant access to private albums only with great caution.'] = 'Users not logged in will have these permissions applied. Grant access to private albums only with great caution.'; // Leave this line empty \ No newline at end of file diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 8a44fd3a4..ba8bf8aa1 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -1444,5 +1444,6 @@ $lang['Understood, do not show again'] = 'Compris, ne plus afficher'; $lang['Latest update'] = 'Dernière mise à jour'; $lang['See available updates'] = 'Voir les mises à jour disponibles'; $lang['You are about to delete %s groups, are you sure?'] = 'Vous êtes sur le point de supprimer %s groupes, êtes-vous sûr ?'; +$lang['Users not logged in will have these permissions applied. Grant access to private albums only with great caution.'] = 'Ces permissions s\'appliqueront aux utilisateurs non connectés. Faites ainsi preuve de la plus grande précaution en accordant l\'accès aux albums privés.'; // Leave this line empty