aboutsummaryrefslogtreecommitdiffstats
path: root/include/user.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-05-09 22:34:21 +0000
committerplegall <plg@piwigo.org>2005-05-09 22:34:21 +0000
commit6a9e165e32a7613bd4e381011993d2461d3b03df (patch)
tree573073e0320df332d28e72c28ea71102a1bb03b4 /include/user.inc.php
parentfd2cc0d700e601caf3af8c98156f036ffec697f4 (diff)
- user list : links to profile page and permissions page are represented by
icons (more compact) - user list : ability to associate to a group or to dissociate from a group a list of selected users - user list : ability to set user properties in "batch" mode (a selection of users at once) - user list : alternate background color for each line - (not in ChangeLog) temporary commented code to update current user language if $_POST['language'] is set (see include/user.inc.php for details) git-svn-id: http://piwigo.org/svn/trunk@787 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/user.inc.php')
-rw-r--r--include/user.inc.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/user.inc.php b/include/user.inc.php
index 6e5e0c8ed..b388943c0 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -26,13 +26,17 @@
// +-----------------------------------------------------------------------+
// Dynamic change of language with database persistency
-if (isset($_POST['language']))
-{
- $query = "UPDATE ".USERS_TABLE." SET language = '";
- $query.= $_POST['language'];
- $query.= "' WHERE id = ".$_POST['userid'].";";
- pwg_query($query);
-}
+//
+// FIXME : ce bout de code fait planter l'assignation d'un language a
+// plusieurs users simultanement dans la nouvelle page admin/user_list.php
+//
+// if (isset($_POST['language']))
+// {
+// $query = "UPDATE ".USERS_TABLE." SET language = '";
+// $query.= $_POST['language'];
+// $query.= "' WHERE id = ".$_POST['userid'].";";
+// pwg_query($query);
+// }
// retrieving connected user informations