[ghelda-devel] [38] Ongoing work for Groups.php |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/ghelda-devel Archives
]
Revision: 38
Author: odyx
Date: 2009-05-01 14:15:20 +0200 (Fri, 01 May 2009)
Log Message:
-----------
Ongoing work for Groups.php
Modified Paths:
--------------
trunk/plugins/Groups.php
Modified: trunk/plugins/Groups.php
===================================================================
--- trunk/plugins/Groups.php 2009-04-29 21:24:35 UTC (rev 37)
+++ trunk/plugins/Groups.php 2009-05-01 12:15:20 UTC (rev 38)
@@ -278,7 +278,15 @@
// Modification asked
if($_POST[$this->configH['URL']['action']] == 'change') {
-
+ // Get the fields from the keyed array
+ $fields = array_keys($this->configH[$this->name]['fields_link']);
+ gold('fields = ', $fields);
+ // Go along the various Group'IDs
+ foreach( $_POST[$this->name.'_'.G_GROUPS_ID] as $pg_id => $group_id ) {
+ trigger_error($pg_id.' => '.$group_id,G_E_DISPLAY);
+ // If the group_id has not been chosen => we have nothing to write
+ if( $group_id == G_GROUPS_ID_NEW ) continue;
+ }
}
// Groups table