<?php

class LoginAddons extends NormalAddons
{
    protected $version = '3.0';
    protected $author = '智士软件';
    protected $site = 'http://www.thinksns.com';
    protected $info = '支持新浪分享、腾讯分享、QQ、人人、百度、淘宝帐号登录';
    protected $pluginName = '第三方登录插件V3';
    protected $tsVersion = '3.0';

    public function getHooksInfo()
    {
        $hooks['list'] = array('LoginHooks');

        return $hooks;
    }

    public function adminMenu()
    {
        return array('login_plugin_login' => '同步登录管理');
    }

    public function start()
    {
        return true;
    }

    public function install()
    {
        return true;
    }

    public function uninstall()
    {
        return true;
    }
}
