aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-20 19:54:31 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-20 19:54:31 +0000
commit355bdf46c1186afbd4196121da919be2cf0a504e (patch)
tree9791bbea22895d340d491e7777166cb8d6b9fa6a
parent32bd8f003f650a86d5c4d045f2718d86e9eb28c7 (diff)
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
-rw-r--r--admin/group_perm.php2
-rw-r--r--admin/user_perm.php2
-rw-r--r--language/english.php1
-rw-r--r--language/francais.php1
-rw-r--r--template/default/admin/group_perm.vtp3
-rw-r--r--template/default/admin/user_perm.vtp3
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-->