diff options
-rw-r--r-- | admin/group_perm.php | 2 | ||||
-rw-r--r-- | admin/user_perm.php | 2 | ||||
-rw-r--r-- | language/english.php | 1 | ||||
-rw-r--r-- | language/francais.php | 1 | ||||
-rw-r--r-- | template/default/admin/group_perm.vtp | 3 | ||||
-rw-r--r-- | template/default/admin/user_perm.vtp | 3 |
6 files changed, 10 insertions, 2 deletions
diff --git a/admin/group_perm.php b/admin/group_perm.php index 6c7006411..1e75c87a1 100644 --- a/admin/group_perm.php +++ b/admin/group_perm.php @@ -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 diff --git a/admin/user_perm.php b/admin/user_perm.php index d95d73c6b..7b4dc353b 100644 --- a/admin/user_perm.php +++ b/admin/user_perm.php @@ -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 diff --git a/language/english.php b/language/english.php index faa964cb3..85117f5bd 100644 --- a/language/english.php +++ b/language/english.php @@ -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'; } ?> diff --git a/language/francais.php b/language/francais.php index e1b12a2f2..f9596186d 100644 --- a/language/francais.php +++ b/language/francais.php @@ -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 diff --git a/template/default/admin/group_perm.vtp b/template/default/admin/group_perm.vtp index bee6b222e..c3b4eeb14 100644 --- a/template/default/admin/group_perm.vtp +++ b/template/default/admin/group_perm.vtp @@ -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--> diff --git a/template/default/admin/user_perm.vtp b/template/default/admin/user_perm.vtp index c6dc496ff..6b25ca9f9 100644 --- a/template/default/admin/user_perm.vtp +++ b/template/default/admin/user_perm.vtp @@ -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--> |