[ghelda-devel] [21] Update the order of fields in People.

[ Thread Index | Date Index | More lists.tuxfamily.org/ghelda-devel Archives ]


Revision: 21
Author:   odyx
Date:     2009-04-02 16:45:04 +0200 (Thu, 02 Apr 2009)

Log Message:
-----------
Update the order of fields in People.

Modified Paths:
--------------
    trunk/plugins/People/config_core.php


Modified: trunk/plugins/People/config_core.php
===================================================================
--- trunk/plugins/People/config_core.php	2009-04-02 14:25:56 UTC (rev 20)
+++ trunk/plugins/People/config_core.php	2009-04-02 14:45:04 UTC (rev 21)
@@ -32,7 +32,7 @@
 $conf['fields_core'][G_DB_PEOPLE_USERNAME]['type'] = 'VARCHAR( 50 )';
 $conf['fields_core'][G_DB_PEOPLE_USERNAME]['name'] = T_('Username');
 $conf['fields_core'][G_DB_PEOPLE_USERNAME]['restricted'] = 'unique';
-$conf['fields_core'][G_DB_PEOPLE_USERNAME]['order'] = 100;
+$conf['fields_core'][G_DB_PEOPLE_USERNAME]['order'] = 900;
 
 // Required
 $conf['fields_core'][G_DB_PEOPLE_PASSWORD]['type'] = 'VARCHAR';
@@ -40,49 +40,51 @@
 $conf['fields_core'][G_DB_PEOPLE_PASSWORD]['name'][1] = T_('Repeat the password');
 $conf['fields_core'][G_DB_PEOPLE_PASSWORD]['restricted'] = 'password';
 $conf['fields_core'][G_DB_PEOPLE_PASSWORD]['noShow'] = true;
+$conf['fields_core'][G_DB_PEOPLE_PASSWORD]['order'] = 800;
 
 // Required
 $conf['fields_core'][G_DB_PEOPLE_EMAIL]['type'] = 'VARCHAR( 256 )';
 $conf['fields_core'][G_DB_PEOPLE_EMAIL]['name'] = T_('E-mail');
-$conf['fields_core'][G_DB_PEOPLE_EMAIL]['order'] = 25;
+$conf['fields_core'][G_DB_PEOPLE_EMAIL]['order'] = 100;
 // $conf['fields_core'][G_DB_PEOPLE_EMAIL]['preg'] = ''; // TODO
 
 
 // Optional
 $conf['fields']['name']['type'] = 'VARCHAR( 128 )';
 $conf['fields']['name']['name'] = T_('Name');
-$conf['fields']['name']['order'] = 50;
+$conf['fields']['name']['order'] = 500;
 
 $conf['fields']['surname']['type'] = 'VARCHAR( 128 )';
 $conf['fields']['surname']['name'] = T_('Surname');
-$conf['fields']['surname']['order'] = 60;
+$conf['fields']['surname']['order'] = 400;
 
 $conf['fields']['genre']['type'] = 'ENUM';
 $conf['fields']['genre']['name'] = T_('Genre');
 $conf['fields']['genre']['values']['female'] = T_('female - ♀');
 $conf['fields']['genre']['values']['male'] = T_('male - ♂');
-$conf['fields']['genre']['order'] = 40;
+$conf['fields']['genre']['order'] = 600;
 
 $conf['fields']['date_birth']['type'] = 'DATE';
 $conf['fields']['date_birth']['name'] = T_('Date of birth');
-$conf['fields']['date_birth']['order'] = 30;
+$conf['fields']['date_birth']['order'] = 300;
 
 $conf['fields']['date_death']['type'] = 'DATE';
 $conf['fields']['date_death']['name'] = T_('Date of death');
-$conf['fields']['date_death']['order'] = 0;
+$conf['fields']['date_death']['order'] = 290;
 
 $conf['fields']['mobile_phone']['type'] = 'VARCHAR( 10 )';
 $conf['fields']['mobile_phone']['name'] = T_('Mobile phone number');
 $conf['fields']['mobile_phone']['preg'] = '~^[0-9]{10}$~';
-$conf['fields']['mobile_phone']['order'] = 20;
+$conf['fields']['mobile_phone']['order'] = 150;
 
 $conf['fields']['nnss']['type'] = 'VARCHAR(16)';
 $conf['fields']['nnss']['name'] = T_('New Social Security Number');
 $conf['fields']['nnss']['default'] = '000.0000.0000.00';
 // $conf['fields']['nnss']['ereg'] = '[0-9]{3}\.[0-9]{2}\.[0-9]{3}\.[0-9]{3}';
 $conf['fields']['nnss']['preg'] = '~^[0-9]{3}[.][0-9]{4}[.][0-9]{4}[.][0-9]{2}$~';
+$conf['fields']['nnss']['order'] = 100;
 
 $conf['fields']['comment']['type'] = 'TEXT';
 $conf['fields']['comment']['name'] = T_('Comment');
-
-?>
\ No newline at end of file
+$conf['fields']['comment']['order'] = 0;
+?>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/