Clean code
This commit is contained in:
parent
1c56ffa0c4
commit
fa58d35fa1
@ -284,8 +284,8 @@ if (count($listinsetup) > 0) {
|
|||||||
print '<td>'.$langs->trans("Scopes").'</td>';
|
print '<td>'.$langs->trans("Scopes").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
foreach ($scopestodispay as $scope => $val) {
|
foreach ($scopestodispay as $scope => $val) {
|
||||||
print '<input type="checkbox" name="'.$key[4].'[]" value="'.$scope.'"'.($val ? ' checked' : '').'>';
|
print '<input type="checkbox" id="'.$keyforprovider.$scope.'" name="'.$key[4].'[]" value="'.$scope.'"'.($val ? ' checked' : '').'>';
|
||||||
print '<label style="margin-right: 10px" for="'.$key[4].'">'.$scope.'</label>';
|
print '<label style="margin-right: 10px" for="'.$keyforprovider.$scope.'">'.$scope.'</label>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,5 +36,5 @@ OAUTH_SECRET=OAuth secret
|
|||||||
OAuthProviderAdded=OAuth provider added
|
OAuthProviderAdded=OAuth provider added
|
||||||
AOAuthEntryForThisProviderAndLabelAlreadyHasAKey=An OAuth entry for this provider and label already exists
|
AOAuthEntryForThisProviderAndLabelAlreadyHasAKey=An OAuth entry for this provider and label already exists
|
||||||
URLOfServiceForAuthorization=URL provided by OAuth service for authentication
|
URLOfServiceForAuthorization=URL provided by OAuth service for authentication
|
||||||
Scopes=Scopes
|
Scopes=Permissions (Scopes)
|
||||||
ScopeUndefined=Scope undefined (see previous tab)
|
ScopeUndefined=Permissions (Scopes) undefined (see previous tab)
|
||||||
@ -34,5 +34,5 @@ OAUTH_ID=ID OAuth
|
|||||||
OAUTH_SECRET=Code secret OAuth
|
OAUTH_SECRET=Code secret OAuth
|
||||||
OAuthProviderAdded=Fournisseur OAuth ajouté
|
OAuthProviderAdded=Fournisseur OAuth ajouté
|
||||||
AOAuthEntryForThisProviderAndLabelAlreadyHasAKey=Une entrée OAuth pour ce fournisseur et ce libellé existe déjà
|
AOAuthEntryForThisProviderAndLabelAlreadyHasAKey=Une entrée OAuth pour ce fournisseur et ce libellé existe déjà
|
||||||
ScopeUndefined=Portée non définie (voir onglet précédent)
|
ScopeUndefined=Permissions (Scopes) non définies (voir onglet précédent)
|
||||||
Scopes=Portées
|
Scopes=Portées
|
||||||
Loading…
Reference in New Issue
Block a user