|
Revision 1480, 0.6 kB
(checked in by auno, 9 months ago)
|
|
Merged changes from internal. #99460
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | require_once('commenter_auth_lib.php'); |
|---|
| 3 | |
|---|
| 4 | class MixiCommenterAuth extends BaseCommenterAuthProvider { |
|---|
| 5 | function get_key() { |
|---|
| 6 | return 'mixicomment'; |
|---|
| 7 | } |
|---|
| 8 | function get_label() { |
|---|
| 9 | return 'mixi Commenter Authenticator'; |
|---|
| 10 | } |
|---|
| 11 | function get_logo() { |
|---|
| 12 | return 'plugins/mixiComment/images/signin_mixi.png'; |
|---|
| 13 | } |
|---|
| 14 | function get_logo_small() { |
|---|
| 15 | return 'plugins/mixiComment/images/signin_mixi_small.gif'; |
|---|
| 16 | } |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | global $_commenter_auths; |
|---|
| 20 | $provider = new MixiCommenterAuth(); |
|---|
| 21 | $_commenter_auths[$provider->get_key()] = $provider; |
|---|
| 22 | |
|---|
| 23 | ?> |
|---|