Index: typo3/sysext/openid/ext_tables.php
===================================================================
--- typo3/sysext/openid/ext_tables.php (revision 5693)
+++ typo3/sysext/openid/ext_tables.php (working copy)
@@ -44,4 +44,25 @@
t3lib_extMgm::addFieldsToAllPalettesOfField('fe_users', 'username', 'tx_openid_openid');
t3lib_extMgm::addLLrefForTCAdescr('fe_users', 'EXT:' . $_EXTKEY . '/locallang_csh.xml');
+// Add field to setup module
+$GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid'] = array(
+ 'type' => 'text',
+ 'label' => 'LLL:EXT:openid/locallang_db.xml:_MOD_user_setup.tx_openid_openid',
+ 'csh' => 'tx_openid_openid',
+ 'table' => 'be_users',
+);
+t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:openid/locallang_csh_mod.xml');
+
+
+// read extension config
+$_EXTCONF_OPENID = unserialize($_EXTCONF);
+
+// if users aren't allowed to change their openID
+if ($_EXTCONF_OPENID['allowUserChange'] == 0) {
+ $GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid']['access'] = 'admin';
+}
+
+$GLOBALS['TYPO3_USER_SETTINGS']['showitem'] = str_replace(',password2,', ',password2,tx_openid_openid,', $GLOBALS['TYPO3_USER_SETTINGS']['showitem']);
+
+unset($_EXTCONF_OPENID);
?>
\ No newline at end of file
Index: typo3/sysext/openid/locallang_csh_mod.xml
===================================================================
--- typo3/sysext/openid/locallang_csh_mod.xml (revision 0)
+++ typo3/sysext/openid/locallang_csh_mod.xml (revision 0)
@@ -0,0 +1,20 @@
+
+
+
+
+ CSH labels
+ CSH
+ openid
+ EXT:openid/locallang_csh_mod.xml
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: typo3/sysext/openid/locallang_db.xml
===================================================================
--- typo3/sysext/openid/locallang_db.xml (revision 5693)
+++ typo3/sysext/openid/locallang_db.xml (working copy)
@@ -8,6 +8,7 @@
+
\ No newline at end of file
Index: typo3/sysext/openid/ext_conf_template.txt
===================================================================
--- typo3/sysext/openid/ext_conf_template.txt (revision 0)
+++ typo3/sysext/openid/ext_conf_template.txt (revision 0)
@@ -0,0 +1,8 @@
+# ***************************************************************************************
+# Extension configuration variables for openid
+#
+# TYPO3 SVN ID: $Id$
+# ***************************************************************************************
+
+ # cat=basic/enable; type=boolean; label=Enable users to change their OpenID identifier. Otherwise only administrators can change their and other user's OpenID identifiers.
+allowUserChange = 1
\ No newline at end of file