1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
Nick Liu be84cf7c08
New interface for varied social login configuration fields
Uses the new e_user_provider::getFieldsOf() API
2020-02-24 22:50:48 +01:00

82 lines
4.5 KiB
PHP

<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system -
| social plugin
+----------------------------------------------------------------------------+
*/
define("LAN_SOCIAL_ADMIN_SUMM", "Adds Facebook, Twitter and other social media widgets to e107.");
define("LAN_SOCIAL_ADMIN_00", "Applications");
define("LAN_SOCIAL_ADMIN_01", "Pages");
define("LAN_SOCIAL_ADMIN_02", "Social Signup/Login"); //tab
define("LAN_SOCIAL_ADMIN_03", "Signup/Login"); //bar
define("LAN_SOCIAL_ADMIN_04", "Provider");
define("LAN_SOCIAL_ADMIN_05", "Key/ID");
define("LAN_SOCIAL_ADMIN_06", "Secret");
define("LAN_SOCIAL_ADMIN_07", "Allows users to signup/login with their social media accounts. When enabled, this option will still allow users to signup/login even if the core user registration system above is disabled.");
define("LAN_SOCIAL_ADMIN_10", "Get a key from the provider");
define("LAN_SOCIAL_ADMIN_11", "Your");
define("LAN_SOCIAL_ADMIN_12", "page");
define("LAN_SOCIAL_ADMIN_13", "Used by some themes to provide a link to your ");
define("LAN_SOCIAL_ADMIN_14", "Share Buttons");
define("LAN_SOCIAL_ADMIN_15", "Facebook Comments");
define("LAN_SOCIAL_ADMIN_16", "Facebook Menu");
define("LAN_SOCIAL_ADMIN_17", "Twitter Menu");
define("LAN_SOCIAL_ADMIN_18", "Limit");
define("LAN_SOCIAL_ADMIN_19", "Theme");
define("LAN_SOCIAL_ADMIN_20", "Action");
define("LAN_SOCIAL_ADMIN_21", "Text while loading");
define("LAN_SOCIAL_ADMIN_22", "Width");
define("LAN_SOCIAL_ADMIN_23", "Height");
define("LAN_SOCIAL_ADMIN_24", "Display Mode");
define("LAN_SOCIAL_ADMIN_25", "Normal");
define("LAN_SOCIAL_ADMIN_26", "Dropdown");
define("LAN_SOCIAL_ADMIN_27", "Disabled");
define("LAN_SOCIAL_ADMIN_28", "Excluding the # symbol.");
define("LAN_SOCIAL_ADMIN_29", "Number of comments to display.");
define("LAN_SOCIAL_ADMIN_30", "Loading...");
define("LAN_SOCIAL_ADMIN_31", "Width in px");
define("LAN_SOCIAL_ADMIN_32", "Recommend");
define("LAN_SOCIAL_ADMIN_33", "Height in px");
define("LAN_SOCIAL_ADMIN_34", "Number of tweets to display.");
define("LAN_SOCIAL_ADMIN_35", "Light");
define("LAN_SOCIAL_ADMIN_36", "Dark");
define("LAN_SOCIAL_ADMIN_37", "Open Graph Meta");
define("LAN_SOCIAL_ADMIN_38", "Scope");
define("LAN_SOCIAL_ADMIN_39", "Providers");
define("LAN_SOCIAL_ADMIN_40", "Update User Display Name");
define("LAN_SOCIAL_ADMIN_41", "Update User Avatar");
define("LAN_SOCIAL_ADMIN_42", "Custom Image");
define("LAN_SOCIAL_ADMIN_AUTH_TYPE", "Type");
define("LAN_SOCIAL_ADMIN_AUTH_TYPE_UNKNOWN", "Unknown");
define("LAN_SOCIAL_UPDATE_REQUIRED",
"A <a href=\"" . e_ADMIN_ABS . "e107_update.php\">database update</a> is required to continue using this plugin."
);
define("LAN_SOCIAL_ADMIN_COLUMN_CONFIGURATION", "Configuration");
define("LAN_SOCIAL_ADMIN_TEST_PAGE_TOGGLE", "Test Page");
define("LAN_SOCIAL_ADMIN_TEST_PAGE_INFO", "Enable or disable the social login test page");
define("LAN_SOCIAL_ADMIN_08", "Note: In most cases, you will need to obtain an application ID and secret key from social login providers.\nIf a provider's name is a link, that link should take you to the login application configuration documentation.\n\nYou may test your configuration with the following URL after enabling the \"".LAN_SOCIAL_ADMIN_TEST_PAGE_TOGGLE."\" option:");
define("LAN_SOCIAL_ADMIN_09", "Your callback URL is: ");
define("LAN_SOCIAL_LOGIN_SECTION_UNSUPPORTED", "Broken Configured Providers");
define("LAN_SOCIAL_LOGIN_SECTION_CONFIGURED", "Manage Existing Providers");
define("LAN_SOCIAL_LOGIN_SECTION_UNCONFIGURED", "Add New Providers");
define("LAN_SOCIAL_LOGIN_SECTION_UNSUPPORTED_DESCRIPTION",
"These social login providers were configured in the past but no longer have an adapter that can support them. " .
"This may be due to them no longer existing or being replaced by a different provider."
);
define("LAN_SOCIAL_LOGIN_SECTION_CONFIGURED_DESCRIPTION",
"These social login providers are currently configured. " .
"If the master switch \"" . LAN_SOCIAL_ADMIN_02 . "\" is toggled on, each provider in this table that is " .
"also toggled on may be used for user registration and login. If you empty the fields of a provider here and save, " .
"it will move to the \"" . LAN_SOCIAL_LOGIN_SECTION_UNCONFIGURED . "\" section."
);
define("LAN_SOCIAL_LOGIN_SECTION_UNCONFIGURED_DESCRIPTION",
"These are the available social login providers, which have not been configured. " .
"Once you configure and save a provider here, it will move to the \"" . LAN_SOCIAL_LOGIN_SECTION_CONFIGURED . "\" section."
);