Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it work with Vanilla 2.3 #6

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+7 −2
Diff settings

Always

Just for now

@@ -33,6 +33,11 @@ class OneallSocialLogin extends Gdn_Plugin
*/
public function __construct()
{
$Definition=&gdn::locale()->LocaleContainer->Data;
if(empty($Definition['OA_SOCIAL_LOGIN_SAVE']))
{
require_once __DIR__.'/locale/en-CA/definitions.php';
}
}
@@ -130,8 +135,8 @@ public function EntryController_RegisterBeforePassword_Handler ($Sender, $Args)
public function PluginController_OneallSocialLogin_Create ($Sender)
{
$Sender->AddCssFile($this->GetResource('design/settings.css', FALSE, FALSE));
$Sender->AddJsFile($this->GetResource('js/settings.js', FALSE, FALSE));
$Sender->AddCssFile('settings.css', 'plugins/oneallsociallogin');
$Sender->AddJsFile('settings.js', 'plugins/oneallsociallogin');
$Sender->Title(T('OA_SOCIAL_LOGIN_TITLE'));
$Sender->AddSideMenu('plugin/oneallsociallogin');
$Sender->Form = new Gdn_Form();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.