mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
Add a message to inform that only private categories can have access rights
git-svn-id: http://piwigo.org/svn/trunk@146 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
32bd8f003f
commit
355bdf46c1
6 changed files with 10 additions and 2 deletions
|
@ -22,7 +22,7 @@ $sub = $vtp->Open( '../template/'.$user['template'].'/admin/group_perm.vtp' );
|
|||
$error = array();
|
||||
$tpl = array( 'permuser_authorized','permuser_forbidden','submit',
|
||||
'permuser_parent_forbidden','permuser_info_message',
|
||||
'adduser_info_back' );
|
||||
'adduser_info_back','permuser_only_private' );
|
||||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------------------------- updates
|
||||
|
|
|
@ -22,7 +22,7 @@ $sub = $vtp->Open( '../template/'.$user['template'].'/admin/user_perm.vtp' );
|
|||
$error = array();
|
||||
$tpl = array( 'permuser_authorized','permuser_forbidden','submit',
|
||||
'permuser_parent_forbidden','permuser_info_message',
|
||||
'adduser_info_back' );
|
||||
'adduser_info_back','permuser_only_private' );
|
||||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------------------------- updates
|
||||
|
|
|
@ -587,5 +587,6 @@ Once this file deleted , follow this instructions :
|
|||
$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Only private categories are shown';
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -478,6 +478,7 @@ if ( $isadmin )
|
|||
$lang['permuser_forbidden'] = 'interdit';
|
||||
$lang['permuser_parent_forbidden'] = 'catégorie parente interdite';
|
||||
// start version 1.3
|
||||
$lang['permuser_only_private'] = 'Seules les catégories privées sont représentées';
|
||||
// $lang['permuser_cat_title'] = 'Modifier les permissions pour ';
|
||||
// end version 1.3
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<!--VTP_confirmation-->
|
||||
<div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div>
|
||||
<!--/VTP_confirmation-->
|
||||
|
||||
<div class="info">{#permuser_only_private}</div>
|
||||
|
||||
<form action="{#action}" method="post">
|
||||
<table style="width:100%;">
|
||||
<!--VTP_category-->
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<!--VTP_confirmation-->
|
||||
<div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div>
|
||||
<!--/VTP_confirmation-->
|
||||
|
||||
<div class="info">{#permuser_only_private}</div>
|
||||
|
||||
<form action="{#action}" method="post">
|
||||
<table style="width:100%;">
|
||||
<!--VTP_category-->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue