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:
z0rglub 2003-09-20 19:54:31 +00:00
parent 32bd8f003f
commit 355bdf46c1
6 changed files with 10 additions and 2 deletions

View file

@ -22,7 +22,7 @@ $sub = $vtp->Open( '../template/'.$user['template'].'/admin/group_perm.vtp' );
$error = array(); $error = array();
$tpl = array( 'permuser_authorized','permuser_forbidden','submit', $tpl = array( 'permuser_authorized','permuser_forbidden','submit',
'permuser_parent_forbidden','permuser_info_message', 'permuser_parent_forbidden','permuser_info_message',
'adduser_info_back' ); 'adduser_info_back','permuser_only_private' );
templatize_array( $tpl, 'lang', $sub ); templatize_array( $tpl, 'lang', $sub );
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); $vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
//--------------------------------------------------------------------- updates //--------------------------------------------------------------------- updates

View file

@ -22,7 +22,7 @@ $sub = $vtp->Open( '../template/'.$user['template'].'/admin/user_perm.vtp' );
$error = array(); $error = array();
$tpl = array( 'permuser_authorized','permuser_forbidden','submit', $tpl = array( 'permuser_authorized','permuser_forbidden','submit',
'permuser_parent_forbidden','permuser_info_message', 'permuser_parent_forbidden','permuser_info_message',
'adduser_info_back' ); 'adduser_info_back','permuser_only_private' );
templatize_array( $tpl, 'lang', $sub ); templatize_array( $tpl, 'lang', $sub );
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); $vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
//--------------------------------------------------------------------- updates //--------------------------------------------------------------------- updates

View file

@ -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_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['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['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';
} }
?> ?>

View file

@ -478,6 +478,7 @@ if ( $isadmin )
$lang['permuser_forbidden'] = 'interdit'; $lang['permuser_forbidden'] = 'interdit';
$lang['permuser_parent_forbidden'] = 'catégorie parente interdite'; $lang['permuser_parent_forbidden'] = 'catégorie parente interdite';
// start version 1.3 // 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 '; // $lang['permuser_cat_title'] = 'Modifier les permissions pour ';
// end version 1.3 // end version 1.3

View file

@ -1,6 +1,9 @@
<!--VTP_confirmation--> <!--VTP_confirmation-->
<div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div> <div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div>
<!--/VTP_confirmation--> <!--/VTP_confirmation-->
<div class="info">{#permuser_only_private}</div>
<form action="{#action}" method="post"> <form action="{#action}" method="post">
<table style="width:100%;"> <table style="width:100%;">
<!--VTP_category--> <!--VTP_category-->

View file

@ -1,6 +1,9 @@
<!--VTP_confirmation--> <!--VTP_confirmation-->
<div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div> <div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div>
<!--/VTP_confirmation--> <!--/VTP_confirmation-->
<div class="info">{#permuser_only_private}</div>
<form action="{#action}" method="post"> <form action="{#action}" method="post">
<table style="width:100%;"> <table style="width:100%;">
<!--VTP_category--> <!--VTP_category-->