Changeset 20301 for extensions/oAuth/main.inc.php
- Timestamp:
- Jan 20, 2013, 9:41:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/main.inc.php
r20293 r20301 1 1 <?php 2 2 /* 3 Plugin Name: oauth3 Plugin Name: OAuth 4 4 Version: auto 5 Description: This is not a plugin. It's a oauth for future plugins.5 Description: Provides various ways to sign in your gallery (Twitter, Facebook, Google, etc.) 6 6 Plugin URI: auto 7 7 Author: Mistic … … 41 41 add_event_handler('get_admin_plugin_menu_links', 'oauth_admin_plugin_menu_links'); 42 42 43 include_once(OAUTH_PATH . 'include/admin_events.inc.php'); 43 function oauth_admin_plugin_menu_links($menu) 44 { 45 array_push($menu, array( 46 'NAME' => l10n('OAuth'), 47 'URL' => OAUTH_ADMIN, 48 )); 49 return $menu; 50 } 44 51 } 45 52 else if (!empty($hybridauth_conf) and function_exists('curl_init')) … … 87 94 if (defined('IN_ADMIN')) 88 95 { 89 $_SESSION['page_infos'][] = ' oAuth updated to version '. OAUTH_VERSION;96 $_SESSION['page_infos'][] = 'OAuth updated to version '. OAUTH_VERSION; 90 97 } 91 98 } … … 101 108 if (empty($hybridauth_conf)) 102 109 { 103 array_push($page['errors'], l10n(' oAuth: You need to configure the credentials'));110 array_push($page['errors'], l10n('OAuth: You need to configure the credentials')); 104 111 } 105 112 if (!function_exists('curl_init')) 106 113 { 107 array_push($page['errors'], l10n(' oAuth: cURL extension is needed'));114 array_push($page['errors'], l10n('OAuth: cURL extension is needed')); 108 115 } 109 116 }
Note: See TracChangeset
for help on using the changeset viewer.