Feature #20115 » 10585_v3.patch
typo3/sysext/openid/ext_tables.php (working copy) | ||
---|---|---|
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);
|
||
?>
|
typo3/sysext/openid/locallang_csh_mod.xml (revision 0) | ||
---|---|---|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||
<!-- $Id$ -->
|
||
<T3locallang>
|
||
<meta type="array">
|
||
<description>CSH labels</description>
|
||
<type>CSH</type>
|
||
<csh_table>openid</csh_table>
|
||
<fileId>EXT:openid/locallang_csh_mod.xml</fileId>
|
||
<labelContext type="array">
|
||
</labelContext>
|
||
</meta>
|
||
<data type="array">
|
||
<languageKey index="default" type="array">
|
||
<label index="option_tx_openid_openid.alttitle">OpenID identifier</label>
|
||
<label index="option_tx_openid_openid.description">Enter your OpenID identifier here, if you use want to use OpenID for backend logins.</label>
|
||
<label index="option_tx_openid_openid.details">OpenID is a free and open system to login to websites using only one single password (for your OpenID-provider). If you want to login to TYPO3 backend, enter your identifier here. Your identifier is an URL starting with http:// or https://.</label>
|
||
<label index="option_tx_openid_openid.seeAlso">http://openid.net | http://openid.net/</label>
|
||
</languageKey>
|
||
</data>
|
||
</T3locallang>
|
typo3/sysext/openid/locallang_db.xml (working copy) | ||
---|---|---|
<languageKey index="default" type="array">
|
||
<label index="be_users.tx_openid_openid">OpenID identifier:</label>
|
||
<label index="fe_users.tx_openid_openid">OpenID identifier:</label>
|
||
<label index="_MOD_user_setup.tx_openid_openid">OpenID identifier</label>
|
||
</languageKey>
|
||
</data>
|
||
</T3locallang>
|
typo3/sysext/openid/ext_conf_template.txt (revision 0) | ||
---|---|---|
# ***************************************************************************************
|
||
# 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
|
- « Previous
- 1
- 2
- Next »