code:
<?php
/**
 * StatusNet, the distributed open-source microblogging tool
 *
 * Settings for OpenID
 *
 * PHP version 5
 *
 * LICENCE: This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  Settings
 * @package   StatusNet
 * @author    Evan Prodromou <evan@status.net>
 * @copyright 2008-2009 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
 * @link      http://status.net/
 */

if (!defined('GNUSOCIAL')) {
    exit(1);
}

require_once INSTALLDIR.'/plugins/OpenID/openid.php';

/**
 * Settings for OpenID
 *
 * Lets users add, edit and delete OpenIDs from their account
 *
 * @category Settings
 * @package  StatusNet
 * @author   Evan Prodromou <evan@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
 * @link     http://status.net/
 */
class OpenidsettingsAction extends SettingsAction
{
    /**
     * Title of the page
     *
     * @return string Page title
     */
    public function title()
    {
        // TRANS: Title of OpenID settings page for a user.
        return _m('TITLE', 'OpenID settings');
    }

    /**
     * Instructions for use
     *
     * @return string Instructions for use
     */
    public function getInstructions()
    {
        // TRANS: Form instructions for OpenID settings.
        // TRANS: This message contains Markdown links in the form [description](link).
        return _m('[OpenID](%%doc.openid%%) lets you log into many sites ' .
                  'with the same user account. '.
                  'Manage your associated OpenIDs from here.');
    }

    public function showScripts()
    {
        parent::showScripts();
        $this->autofocus('openid_url');
    }

    /**
     * Show the form for OpenID management
     *
     * We have one form with a few different submit buttons to do different things.
     *
     * @return void
     */
    public function showContent()
    {
        if (!common_config('openid', 'trusted_provider')) {
            $this->elementStart('form', ['method' => 'post',
                                         'id' => 'form_settings_openid_add',
                                         'class' => 'form_settings',
                                         'action' =>
                                         common_local_url('openidsettings')]);
            $this->elementStart('fieldset', ['id' => 'settings_openid_add']);

            // TRANS: Fieldset legend.
            $this->element('legend', null, _m('LEGEND', 'Add OpenID'));
            $this->hidden('token', common_session_token());
            $this->elementStart('ul', 'form_data');
            $this->elementStart('li');
            // TRANS: Field label.
            $this->input('openid_url', _m('OpenID URL'), null,
                         // TRANS: Form guide.
                         _m('An OpenID URL which identifies you.'),
                         null, true,
                         ['placeholder'=>'https://example.com/you']);
            $this->elementEnd('li');
            $this->elementStart('li');
            // TRANS: Field label.
            $this->checkbox('openid-synch', _m('Synchronize Account'), false,
                            // TRANS: Form guide.
                            _m('Synchronize GNU social profile with this OpenID identity.'));
            $this->elementEnd('li');
            $this->elementEnd('ul');
            // TRANS: Button text for adding an OpenID URL.
            $this->submit('settings_openid_add_action-submit', _m('BUTTON', 'Add'), 'submit', 'add');
            $this->elementEnd('fieldset');
            $this->elementEnd('form');
        }
        $oid = new User_openid();

        $oid->user_id = $this->scoped->getID();

        $cnt = $oid->find();

        if ($cnt > 0) {
            // TRANS: Header on OpenID settings page.
            $this->element('h2', null, _m('HEADER', 'OpenID Actions'));

            if ($cnt == 1 && !$this->scoped->hasPassword()) {
                $this->element('p', 'form_guide',
                               // TRANS: Form guide.
                               _m('You can\'t remove your main OpenID account ' .
                                  'without either adding a password to your ' .
                                  'GNU social account or another OpenID account. ' .
                                  'You can synchronize your profile with your ' .
                                  'OpenID by clicking the button labeled "Synchronize".'));

                if ($oid->fetch()) {
                    $this->elementStart('form', ['method' => 'POST',
                                                 'id' => 'form_settings_openid_actions' . $idx,
                                                 'class' => 'form_settings',
                                                 'action' => common_local_url('openidsettings')]);
                    $this->elementStart('fieldset');
                    $this->hidden('token', common_session_token());
                    $this->element('a', ['href' => $oid->canonical], $oid->display);
                    $this->hidden("openid_url", $oid->canonical);
                    // TRANS: Button text to synchronize OpenID with the GS profile.
                    $this->submit("synch", _m('BUTTON', 'Synchronize'), 'submit synch');
                    $this->elementEnd('fieldset');
                    $this->elementEnd('form');
                }
            } else {
                $this->element('p', 'form_guide',
                               // TRANS: Form guide.
                               _m('You can remove an OpenID from your account ' .
                                  'by clicking the button labeled "Remove". ' .
                                  'You can synchronize your profile with an OpenID ' .
                                  'by clicking the button labeled "Synchronize".'));
                $idx = 0;

                while ($oid->fetch()) {
                    $this->elementStart('form', ['method' => 'POST',
                                                 'id' => 'form_settings_openid_actions' . $idx,
                                                 'class' => 'form_settings',
                                                 'action' => common_local_url('openidsettings')]);
                    $this->elementStart('fieldset');
                    $this->hidden('token', common_session_token());
                    $this->element('a', ['href' => $oid->canonical], $oid->display);
                    $this->hidden("openid_url{$idx}", $oid->canonical, 'openid_url');
                    $this->elementStart('span', ['class' => 'element_actions']);
                    // TRANS: Button text to sync an OpenID with the GS profile.
                    $this->submit("synch{$idx}", _m('BUTTON', 'Synchronize'), 'submit', 'synch');
                    // TRANS: Button text to remove an OpenID.
                    $this->submit("remove{$idx}", _m('BUTTON', 'Remove'), 'submit', 'remove');
                    $this->elementEnd('span');
                    $this->elementEnd('fieldset');
                    $this->elementEnd('form');
                    $idx++;
                }
            }
        }

        $this->elementStart('form', ['method' => 'post',
                                     'id' => 'form_settings_openid_trustroots',
                                     'class' => 'form_settings',
                                     'action' =>
                                     common_local_url('openidsettings')]);
        $this->elementStart('fieldset', ['id' => 'settings_openid_trustroots']);
        // TRANS: Fieldset legend.
        $this->element('legend', null, _m('OpenID Trusted Sites'));
        $this->hidden('token', common_session_token());
        $this->element('p', 'form_guide',
                       // TRANS: Form guide.
                       _m('The following sites are allowed to access your ' .
                          'identity and log you in. You can remove a site from ' .
                          'this list to deny it access to your OpenID.'));
        $this->elementStart('ul', 'form_data');
        $user_openid_trustroot = new User_openid_trustroot();
        $user_openid_trustroot->user_id = $this->scoped->getID();
        if ($user_openid_trustroot->find()) {
            while ($user_openid_trustroot->fetch()) {
                $this->elementStart('li');
                $this->element('input', ['name' => 'openid_trustroot[]',
                                         'type' => 'checkbox',
                                         'class' => 'checkbox',
                                         'value' => $user_openid_trustroot->trustroot,
                                         'id' => 'openid_trustroot_' . crc32($user_openid_trustroot->trustroot)]);
                $this->element('label',
                               ['class'=>'checkbox',
                                'for' => 'openid_trustroot_' . crc32($user_openid_trustroot->trustroot)],
                               $user_openid_trustroot->trustroot);
                $this->elementEnd('li');
            }
        }
        $this->elementEnd('ul');
        // TRANS: Button text to remove an OpenID trustroot.
        $this->submit('settings_openid_trustroots_action-submit', _m('BUTTON', 'Remove'), 'submit', 'remove_trustroots');
        $this->elementEnd('fieldset');

        $prefs = User_openid_prefs::getKV('user_id', $this->scoped->getID());

        $this->elementStart('fieldset');
        $this->element('legend', null, _m('LEGEND', 'Preferences'));
        $this->elementStart('ul', 'form_data');
        $this->checkbox('hide_profile_link', "Hide OpenID links from my profile", !empty($prefs) && $prefs->hide_profile_link);
        // TRANS: Button text to save OpenID prefs
        $this->submit('settings_openid_prefs_save', _m('BUTTON', 'Save'), 'submit', 'save_prefs');
        $this->elementEnd('ul');
        $this->elementEnd('fieldset');

        $this->elementEnd('form');
    }

    /**
     * Handle a POST request
     *
     * Muxes to different sub-functions based on which button was pushed
     *
     * @return void
     */
    protected function doPost()
    {
        if ($this->arg('add')) {
            if (common_config('openid', 'trusted_provider')) {
                // TRANS: Form validation error if no OpenID providers can be added.
                throw new ServerException(_m('Cannot add new providers.'));
            } else {
                $_SESSION['openid_synch'] = $this->boolean('openid-synch');

                $result = oid_authenticate($this->trimmed('openid_url'), 'finishaddopenid');
                if (is_string($result)) { // error message
                    unset($_SESSION['openid-synch']);
                    throw new ServerException($result);
                }
                return _('Added new provider.');
            }
        } elseif ($this->arg('remove')) {
            return $this->removeOpenid();
        } elseif ($this->arg('synch')) {
            return $this->synchOpenid();
        } elseif ($this->arg('remove_trustroots')) {
            return $this->removeTrustroots();
        } elseif ($this->arg('save_prefs')) {
            return $this->savePrefs();
        }

        // TRANS: Unexpected form validation error.
        throw new ServerException(_m('No known action for POST.'));
    }

    /**
     * Handles a request to remove OpenID trustroots from the user's account
     *
     * Validates input and, if everything is OK, deletes the trustroots.
     * Reloads the form with a success or error notification.
     *
     * @return void
     */
    public function removeTrustroots()
    {
        $trustroots = $this->arg('openid_trustroot', []);
        foreach ($trustroots as $trustroot) {
            $user_openid_trustroot = User_openid_trustroot::pkeyGet(
                ['user_id'=>$this->scoped->getID(), 'trustroot'=>$trustroot]
            );
            if ($user_openid_trustroot) {
                $user_openid_trustroot->delete();
            } else {
                // TRANS: Form validation error when trying to remove a non-existing trustroot.
                throw new ClientException(_m('No such OpenID trustroot.'));
            }
        }

        // TRANS: Success message after removing trustroots.
        return _m('Trustroots removed.');
    }

    /**
     * Handles a request to remove an OpenID from the user's account
     *
     * Validates input and, if everything is OK, deletes the OpenID.
     * Reloads the form with a success or error notification.
     *
     * @return void
     */
    public function removeOpenid()
    {
        $oid = User_openid::getKV('canonical', $this->trimmed('openid_url'));

        if (!$oid instanceof User_openid) {
            // TRANS: Form validation error for a non-existing OpenID.
            throw new ClientException(_m('No such OpenID.'));
        }
        if ($this->scoped->getID() != $oid->user_id) {
            // TRANS: Form validation error if OpenID is connected to another user.
            throw new ClientException(_m('That OpenID does not belong to you.'));
        }
        $oid->delete();
        // TRANS: Success message after removing an OpenID.
        return _m('OpenID removed.');
    }

    /**
     * Handles a request to synch an OpenID to the user's profile
     *
     * @return void
     */
    public function synchOpenid()
    {
        $oid = User_openid::getKV('canonical', $this->trimmed('openid_url'));

        if (!$oid instanceof User_openid) {
            throw new ClientException(_m('No such OpenID.'));
        }

        $result = oid_authenticate($this->trimmed('openid_url'), 'finishsynchopenid');
        if (is_string($result)) { // error message
            throw new ServerException($result);
        }
        return _m('Synchronized OpenID.');
    }

    /**
     * Handles a request to save preferences
     *
     * Validates input and, if everything is OK, deletes the OpenID.
     * Reloads the form with a success or error notification.
     *
     * @return void
     */
    public function savePrefs()
    {
        $orig  = null;
        $prefs = User_openid_prefs::getKV('user_id', $this->scoped->getID());

        if (!$prefs instanceof User_openid_prefs) {
            $prefs          = new User_openid_prefs();
            $prefs->user_id = $this->scoped->getID();
            $prefs->created = common_sql_now();
        } else {
            $orig = clone($prefs);
        }

        $prefs->hide_profile_link = $this->booleanintstring('hide_profile_link');

        if ($orig instanceof User_openid_prefs) {
            $prefs->update($orig);
        } else {
            $prefs->insert();
        }

        return _m('OpenID preferences saved.');
    }
}


code:
<?php
/*
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2008, 2009, StatusNet, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

if (!defined('STATUSNET')) {
    exit(1);
}

require_once INSTALLDIR.'/plugins/OpenID/openid.php';

class OpenidtrustAction extends Action
{
    var $trust_root;
    var $allowUrl;
    var $denyUrl;
    var $user;

    /**
     * Is this a read-only action?
     *
     * @return boolean false
     */
    function isReadOnly($args)
    {
        return false;
    }

    /**
     * Title of the page
     *
     * @return string title of the page
     */
    function title()
    {
        // TRANS: Title for identity verification page.
        return _m('OpenID Identity Verification');
    }

    function prepare(array $args = array())
    {
        parent::prepare($args);
        common_ensure_session();
        $this->user = common_current_user();
        if(empty($this->user)){
            /* Go log in, and then come back. */
            common_set_returnto($_SERVER['REQUEST_URI']);
            common_redirect(common_local_url('login'));
        }
        $this->trust_root = $_SESSION['openid_trust_root'];
        $this->allowUrl = $_SESSION['openid_allow_url'];
        $this->denyUrl = $_SESSION['openid_deny_url'];
        if(empty($this->trust_root) || empty($this->allowUrl) || empty($this->denyUrl)){
            // TRANS: Client error when visiting page directly.
            $this->clientError(_m('This page should only be reached during OpenID processing, not directly.'));
        }
        return true;
    }

    function handle()
    {
        parent::handle();
        if($_SERVER['REQUEST_METHOD'] == 'POST'){
            $this->handleSubmit();
        }else{
            $this->showPage();
        }
    }

    function handleSubmit()
    {
        global $_PEAR;

        unset($_SESSION['openid_trust_root']);
        unset($_SESSION['openid_allow_url']);
        unset($_SESSION['openid_deny_url']);
        if($this->arg('allow'))
        {
            //save to database
            $user_openid_trustroot = new User_openid_trustroot();
            $user_openid_trustroot->user_id = $this->user->id;
            $user_openid_trustroot->trustroot = $this->trust_root;
            $user_openid_trustroot->created = common_sql_now();
            if (!$user_openid_trustroot->insert()) {
                $err = &$_PEAR->getStaticProperty('DB_DataObject','lastError');
            }
            common_redirect($this->allowUrl, $code=302);
        }else{
            common_redirect($this->denyUrl, $code=302);
        }
    }

    /**
     * Show page notice
     *
     * Display a notice for how to use the page, or the
     * error if it exists.
     *
     * @return void
     */
    function showPageNotice()
    {
        // TRANS: Page notice. %s is a trustroot name.
        $this->element('p',null,sprintf(_m('%s has asked to verify your identity. Click Continue to verify your identity and login without creating a new password.'),$this->trust_root));
    }

    /**
     * Core of the display code
     *
     * Shows the login form.
     *
     * @return void
     */
    function showContent()
    {
        $this->elementStart('form', array('method' => 'post',
                                   'id' => 'form_openidtrust',
                                   'class' => 'form_settings',
                                   'action' => common_local_url('openidtrust')));
        $this->elementStart('fieldset');
        // TRANS: Button text to continue OpenID identity verification.
        $this->submit('allow', _m('BUTTON','Continue'));
        // TRANS: Button text to cancel OpenID identity verification.
        $this->submit('deny', _m('BUTTON','Cancel'));

        $this->elementEnd('fieldset');
        $this->elementEnd('form');
    }
}

repo_name: andremichelle/gnu

license: mit


code:
<?php
/**
 * Public XRDS for OpenID
 *
 * PHP version 5
 *
 * @category Action
 * @package  StatusNet
 * @author   Evan Prodromou <evan@status.net>
 * @author   Craig Andrews <candrews@integralblue.com>
 * @author   Robin Millette <millette@status.net>
 * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2008, 2009, StatusNet, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

if (!defined('GNUSOCIAL')) { exit(1); }

require_once __DIR__.'/../openid.php';

/**
 * Public XRDS
 *
 * @category Action
 * @package  StatusNet
 * @author   Evan Prodromou <evan@status.net>
 * @author   Robin Millette <millette@status.net>
 * @author   Craig Andrews <candrews@integralblue.com>
 * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 */
class PublicxrdsAction extends Action
{
    /**
     * Is read only?
     *
     * @return boolean true
     */
    function isReadOnly($args)
    {
        return true;
    }

    /**
     * Class handler.
     *
     * @param array $args array of arguments
     *
     * @return nothing
     */
    protected function handle()
    {
        parent::handle();
        $xrdsOutputter = new XRDSOutputter();
        $xrdsOutputter->startXRDS();
        Event::handle('StartPublicXRDS', array($this,&$xrdsOutputter));
        Event::handle('EndPublicXRDS', array($this,&$xrdsOutputter));
        $xrdsOutputter->endXRDS();
    }
}


code:
<?php
/**
 * Table Definition for user_openid
 */

if (!defined('STATUSNET')) {
    exit(1);
}

class User_openid extends Managed_DataObject
{
    ###START_AUTOCODE
    /* the code below is auto generated do not remove the above tag */

    public $__table = 'user_openid';                     // table name
    public $canonical;                       // varchar(191)  primary_key not_null
    public $display;                         // varchar(191)  unique_key not_null
    public $user_id;                         // int(4)   not_null
    public $created;                         // datetime()   not_null
    public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP

    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE

    public static function schemaDef()
    {
        return array(
            'fields' => array(
                'canonical' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'OpenID canonical string'),
                'display' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'OpenID display string'),
                'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'User ID for OpenID owner'),
                'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
                'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
            ),
            'primary key' => array('canonical'),
            'unique keys' => array(
                'user_openid_display_key' => array('display'),
            ),
            'indexes' => array(
                'user_openid_user_id_idx' => array('user_id'),
            ),
            'foreign keys' => array(
                'user_openid_user_id_fkey' => array('user', array('user_id' => 'id')),
            ),
        );
    }

    public function getID()
    {
        if (!isset($this->user_id)) {
            throw new Exception('No ID set.');
        } elseif (empty($this->user_id)) {
            throw new Exception('Empty ID for object! (not inserted yet?).');
        }
        return intval($this->user_id);
    }

    static function hasOpenID($user_id)
    {
        $oid = new User_openid();

        $oid->user_id = $user_id;

        $cnt = $oid->find();

        return ($cnt > 0);
    }
}


code:
<?php
/**
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2012, StatusNet, Inc.
 *
 * User_openid_prefs.php
 *
 * PHP version 5
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  OpenID
 * @package   StatusNet
 * @author    Evan Prodromou <evan@status.net>
 * @copyright 2012 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */

if (!defined('STATUSNET')) {
    exit(1);
}

/**
 * Store preferences for OpenID use in StatusNet
 *
 * @category OpenID
 * @package  StatusNet
 * @author   Evan Prodromou <evan@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * @see      DB_DataObject
 */

class User_openid_prefs extends Managed_DataObject
{
    public $__table = 'user_openid_prefs'; // table name

    public $user_id;            // The User with the prefs
    public $hide_profile_link;  // Hide the link on the profile block?
    public $created;            // datetime
    public $modified;           // datetime

    /**
     * The One True Thingy that must be defined and declared.
     */

    public static function schemaDef()
    {
        return [
            'description' => 'Per-user preferences for OpenID display',
            'fields' => [
                'user_id' => [
                    'type'        => 'integer',
                    'not null'    => true,
                    'description' => 'User whose prefs we are saving'
                ],
                'hide_profile_link' => [
                    'type'        => 'integer',
                    'not null'    => true,
                    'default'     => 0,
                    'description' => 'Whether to hide profile links from profile block'
                ],
                'created'  => [
                    'type'        => 'datetime',
                    'not null'    => true,
                    'description' => 'date this record was created',
                    'default'     => 'CURRENT_TIMESTAMP'
                ],
                'modified' => [
                    'type'        => 'timestamp',
                    'not null'    => true,
                    'description' => 'date this record was modified',
                    'default'     => 'CURRENT_TIMESTAMP'
                ],
            ],
                'primary key'  => ['user_id'],
                'foreign keys' => ['user_openid_prefs_user_id_fkey' => ['user', ['user_id' => 'id']],
            ],
            'indexes' => [],
        ];
    }
}


code:
<?php
/**
 * Table Definition for user_openid_trustroot
 */

if (!defined('STATUSNET')) {
    exit(1);
}

class User_openid_trustroot extends Managed_DataObject
{
    ###START_AUTOCODE
    /* the code below is auto generated do not remove the above tag */

    public $__table = 'user_openid_trustroot';                     // table name
    public $trustroot;                         // varchar(191) primary_key not_null   not 255 because utf8mb4 takes more space
    public $user_id;                         // int(4)  primary_key not_null
    public $created;                         // datetime()   not_null
    public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP

    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE

    public static function schemaDef()
    {
        return array(
            'fields' => array(
                'trustroot' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'OpenID trustroot string'),
                'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'User ID for OpenID trustroot owner'),
                'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
                'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
            ),
            'primary key' => array('trustroot', 'user_id'),
        );
    }
}


code:
%%site.name%% supports the [OpenID](http://openid.net/) standard for single signon between Web sites. OpenID lets you log into many different Web sites without using a different password for each. (See [Wikipedia's OpenID article](http://en.wikipedia.org/wiki/OpenID) for more information.)

If you already have an account on %%site.name%%, you can [login](%%action.login%%) with your username and password as usual.
To use OpenID in the future, you can [add an OpenID to your account](%%action.openidsettings%%) after you have logged in normally.

There are many [Public OpenID providers](http://wiki.openid.net/OpenID-Providers), and you may already have an OpenID-enabled account on another service.

* On wikis: If you have an account on an OpenID-enabled wiki, like [Wikitravel](http://wikitravel.org/), [wikiHow](http://www.wikihow.com/), [Vinismo](http://vinismo.com/), [AboutUs](http://aboutus.org/) or [Keiki](http://kei.ki/), you can log in to %%site.name%% by entering the **full URL** of your user page on that other wiki in the box above. For example, *http://kei.ki/en/User:Evan*.
* [Yahoo!](http://openid.yahoo.com/) : If you have an account with Yahoo!, you can log in to this site by entering your Yahoo!-provided OpenID in the box above. Yahoo! OpenID URLs have the form *https://me.yahoo.com/yourusername*.
* [AOL](http://dev.aol.com/aol-and-63-million-openids) : If you have an account with [AOL](http://www.aol.com/), like an [AIM](http://www.aim.com/) account, you can log in to %%site.name%% by entering your AOL-provided OpenID in the box above. AOL OpenID URLs have the form *http://openid.aol.com/yourusername*. Your username should be all lowercase, no spaces.
* [Blogger](http://bloggerindraft.blogspot.com/2008/01/new-feature-blogger-as-openid-provider.html), [Wordpress.com](http://faq.wordpress.com/2007/03/06/what-is-openid/), [LiveJournal](http://www.livejournal.com/openid/about.bml), [Vox](http://bradfitz.vox.com/library/post/openid-for-vox.html) : If you have a blog on any of these services, enter your blog URL in the box above. For example, *http://yourusername.blogspot.com/*, *http://yourusername.wordpress.com/*, *http://yourusername.livejournal.com/*, or *http://yourusername.vox.com/*.

Additionally, once you have an account on %%site.name%%, you can use your profile's URL (https://%%site.server%%/yourusername) as an OpenID elsewhere as well.

path: plugins/OpenID/doc-src/openid


code:
team-extension.php
    Support for Launchpad's OpenID Teams extension
    Maintainer: Canonical
    Source: https://code.edge.launchpad.net/wordpress-teams-integration
            r27 2010-04-27
    License: AGPLv3

path: plugins/OpenID/extlib/README


code:
<?php
/*
 *  Wordpress Teams plugin
 *  Copyright (C) 2009-2010 Canonical Ltd.
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Provides an example OpenID extension to query user team/group membership
 *
 * This code is based on code supplied with the openid library for simple
 * registration data.
 */

/**
 * Require the Message implementation.
 */
require_once 'Auth/OpenID/Message.php';
require_once 'Auth/OpenID/Extension.php';

/**
 * The team/group extension base class
 */
class Auth_OpenID_TeamsExtension extends Auth_OpenID_Extension {
  var $ns_uri = 'http://ns.launchpad.net/2007/openid-teams';
  var $ns_alias = 'lp';
  var $request_field = 'query_membership';
  var $response_field = 'is_member';

  /**
   * Get the string arguments that should be added to an OpenID
   * message for this extension.
   */
  function getExtensionArgs() {
    $args = array();

    if ($this->_teams) {
      $args[$this->request_field] = implode(',', $this->_teams);
    }

    return $args;
  }

  /**
   * Add the arguments from this extension to the provided message.
   *
   * Returns the message with the extension arguments added.
   */
  function toMessage(&$message) {
    if ($message->namespaces->addAlias($this->ns_uri, $this->ns_alias) === null) {
      if ($message->namespaces->getAlias($this->ns_uri) != $this->ns_alias) {
        return null;
      }
    }

    $message->updateArgs($this->ns_uri, $this->getExtensionArgs());
    return $message;
  }

  /**
   * Extract the team/group namespace URI from the given OpenID message.
   * Handles OpenID 1 and 2.
   *
   * $message: The OpenID message from which to parse team/group data.
   * This may be a request or response message.
   *
   * Returns the sreg namespace URI for the supplied message.
   *
   * @access private
   */
  function _getExtensionNS(&$message) {
    $alias = null;
    $found_ns_uri = null;

    // See if there exists an alias for the namespace
    $alias = $message->namespaces->getAlias($this->ns_uri);

    if ($alias !== null) {
      $found_ns_uri = $this->ns_uri;
    }

    if ($alias === null) {
      // There is no alias for this extension, so try to add one.
      $found_ns_uri = Auth_OpenID_TYPE_1_0;

      if ($message->namespaces->addAlias($this->ns_uri, $this->ns_alias) === null) {
        // An alias for the string 'lp' already exists, but
        // it's defined for something other than team/group membership
        return null;
      }
    }

    return $found_ns_uri;
  }
}

/**
 * The team/group extension request class
 */
class Auth_OpenID_TeamsRequest extends Auth_OpenID_TeamsExtension {
  function __init($teams) {
    if (!is_array($teams)) {
      if (!empty($teams)) {
        $teams = explode(',', $teams);
      } else {
        $teams = Array();
      }
    }

    $this->_teams = $teams;
  }

  function Auth_OpenID_TeamsRequest($teams) {
    $this->__init($teams);
  }
}

/**
 * The team/group extension response class
 */
class Auth_OpenID_TeamsResponse extends Auth_OpenID_TeamsExtension {
  var $_teams = array();

  function __init(&$resp, $signed_only=true) {
    $this->ns_uri = $this->_getExtensionNS($resp->message);

    if ($signed_only) {
      $args = $resp->getSignedNS($this->ns_uri);
    } else {
      $args = $resp->message->getArgs($this->ns_uri);
    }

    if ($args === null) {
      return null;
    }

    // An OpenID 2.0 response will handle the namespaces
    if (in_array($this->response_field, array_keys($args)) && !empty($args[$this->response_field])) {
      $this->_teams = explode(',', $args[$this->response_field]);
    }

    // Piggybacking on a 1.x request, however, won't so the field name will
    // be different
    elseif (in_array($this->ns_alias.'.'.$this->response_field, array_keys($args)) && !empty($args[$this->ns_alias.'.'.$this->response_field])) {
      $this->_teams = explode(',', $args[$this->ns_alias.'.'.$this->response_field]);
    }
  }

  function Auth_OpenID_TeamsResponse(&$resp, $signed_only=true) {
    $this->__init($resp, $signed_only);
  }

  /**
   * Get the array of teams the user is a member of
   *
   * @return array
   */
  function getTeams() {
    return $this->_teams;
  }
}

?>


code:
<?php
/**
 * StatusNet, the distributed open-source microblogging tool
 *
 * Low-level generator for HTML
 *
 * PHP version 5
 *
 * LICENCE: This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  Output
 * @package   StatusNet
 * @author    Craig Andrews <candrews@integralblue.com>
 * @copyright 2008 StatusNet, Inc.
 * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
 * @link      http://status.net/
 */

if (!defined('GNUSOCIAL')) { exit(1); }

/**
 * Low-level generator for XRDS XML
 *
 * @category Output
 * @package  StatusNet
 * @author   Craig Andrews <candrews@integralblue.com>
 * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
 * @link     http://status.net/
 *
 * @see      Action
 * @see      XMLOutputter
 */
class XRDSOutputter extends XMLOutputter
{
    public function startXRDS()
    {
        header('Content-Type: application/xrds+xml');
        $this->startXML();
        $this->elementStart('XRDS', array('xmlns' => 'xri://$xrds'));
    }

    public function endXRDS()
    {
        $this->elementEnd('XRDS');
        $this->endXML();
    }

    /**
     * Show service.
     *
     * @param string $type    XRDS type
     * @param string $uri     URI
     * @param array  $params  type parameters, null by default
     * @param array  $sigs    type signatures, null by default
     * @param string $localId local ID, null by default
     *
     * @return void
     */
    function showXrdsService($type, $uri, $params=null, $sigs=null, $localId=null)
    {
        $this->elementStart('Service');
        if ($uri) {
            $this->element('URI', null, $uri);
        }
        $this->element('Type', null, $type);
        if ($params) {
            foreach ($params as $param) {
                $this->element('Type', null, $param);
            }
        }
        if ($sigs) {
            foreach ($sigs as $sig) {
                $this->element('Type', null, $sig);
            }
        }
        if ($localId) {
            $this->element('LocalID', null, $localId);
        }
        $this->elementEnd('Service');
    }
}


code:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-10 16:49+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. TRANS: Client error message trying to log on with OpenID while already logged on.
#: actions/openidlogin.php:33 actions/finishopenidlogin.php:37
msgid "Already logged in."
msgstr ""

#. TRANS: OpenID plugin message. Rememberme logins have to reauthenticate before changing any profile settings.
#. TRANS: "OpenID" is the display text for a link with URL "(%%doc.openid%%)".
#: actions/openidlogin.php:74
#, php-format
msgid ""
"For security reasons, please re-login with your [OpenID](%%doc.openid%%) "
"before changing your settings."
msgstr ""

#. TRANS: OpenID plugin message.
#. TRANS: "OpenID" is the display text for a link with URL "(%%doc.openid%%)".
#: actions/openidlogin.php:80
#, php-format
msgid "Login with an [OpenID](%%doc.openid%%) account."
msgstr ""

#. TRANS: OpenID plugin message. Title.
#: actions/openidlogin.php:114
msgctxt "TITLE"
msgid "OpenID Login"
msgstr ""

#. TRANS: OpenID plugin logon form legend.
#: actions/openidlogin.php:132 OpenIDPlugin.php:634
msgctxt "LEGEND"
msgid "OpenID login"
msgstr ""

#. TRANS: Field label.
#: actions/openidlogin.php:140
msgctxt "LABEL"
msgid "OpenID provider"
msgstr ""

#. TRANS: Form guide.
#: actions/openidlogin.php:149 OpenIDPlugin.php:651
msgid "Enter your username."
msgstr ""

#. TRANS: Form guide.
#: actions/openidlogin.php:151 OpenIDPlugin.php:653
msgid "You will be sent to the provider's site for authentication."
msgstr ""

#. TRANS: OpenID plugin logon form field label.
#. TRANS: Field label.
#. TRANS: OpenID plugin logon form field label.
#: actions/openidlogin.php:155 actions/openidsettings.php:103
#: OpenIDPlugin.php:657
msgid "OpenID URL"
msgstr ""

#. TRANS: OpenID plugin logon form field title.
#. TRANS: OpenID plugin logon form field instructions.
#: actions/openidlogin.php:158 OpenIDPlugin.php:660
msgid "Your OpenID URL."
msgstr ""

#. TRANS: OpenID plugin logon form checkbox label for setting to put the OpenID information in a cookie.
#: actions/openidlogin.php:163
msgid "Remember me"
msgstr ""

#. TRANS: OpenID plugin logon form field title.
#: actions/openidlogin.php:165
msgid "Automatically login in the future; not for shared computers!"
msgstr ""

#. TRANS: OpenID plugin logon form button label to start logon with the data provided in the logon form.
#: actions/openidlogin.php:170
msgctxt "BUTTON"
msgid "Login"
msgstr ""

#. TRANS: Title of OpenID settings page for a user.
#: actions/openidsettings.php:57
msgctxt "TITLE"
msgid "OpenID settings"
msgstr ""

#. TRANS: Form instructions for OpenID settings.
#. TRANS: This message contains Markdown links in the form [description](link).
#: actions/openidsettings.php:69
#, php-format
msgid ""
"[OpenID](%%doc.openid%%) lets you log into many sites with the same user "
"account. Manage your associated OpenIDs from here."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidsettings.php:98
msgctxt "LEGEND"
msgid "Add OpenID"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:105
msgid "An OpenID URL which identifies you."
msgstr ""

#. TRANS: Field label.
#. TRANS: Field label in form in which to connect an OpenID to an existing user on the site.
#: actions/openidsettings.php:111 actions/finishopenidlogin.php:203
msgid "Synchronize Account"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:113 actions/finishopenidlogin.php:204
msgid "Synchronize GNU social profile with this OpenID identity."
msgstr ""

#. TRANS: Button text for adding an OpenID URL.
#: actions/openidsettings.php:117
msgctxt "BUTTON"
msgid "Add"
msgstr ""

#. TRANS: Header on OpenID settings page.
#: actions/openidsettings.php:129
msgctxt "HEADER"
msgid "OpenID Actions"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:134
msgid ""
"You can't remove your main OpenID account without either adding a password "
"to your GNU social account or another OpenID account. You can synchronize "
"your profile with your OpenID by clicking the button labeled \"Synchronize\"."
msgstr ""

#. TRANS: Button text to synchronize OpenID with the GS profile.
#. TRANS: Button text to sync an OpenID with the GS profile.
#: actions/openidsettings.php:150 actions/openidsettings.php:174
msgctxt "BUTTON"
msgid "Synchronize"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:157
msgid ""
"You can remove an OpenID from your account by clicking the button labeled "
"\"Remove\". You can synchronize your profile with an OpenID by clicking the "
"button labeled \"Synchronize\"."
msgstr ""

#. TRANS: Button text to remove an OpenID.
#. TRANS: Button text to remove an OpenID trustroot.
#: actions/openidsettings.php:176 actions/openidsettings.php:219
msgctxt "BUTTON"
msgid "Remove"
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidsettings.php:192
msgid "OpenID Trusted Sites"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:196
msgid ""
"The following sites are allowed to access your identity and log you in. You "
"can remove a site from this list to deny it access to your OpenID."
msgstr ""

#: actions/openidsettings.php:225
msgctxt "LEGEND"
msgid "Preferences"
msgstr ""

#. TRANS: Button text to save OpenID prefs
#. TRANS: Button text to save OpenID settings.
#: actions/openidsettings.php:229 actions/openidadminpanel.php:284
msgctxt "BUTTON"
msgid "Save"
msgstr ""

#. TRANS: Form validation error if no OpenID providers can be added.
#: actions/openidsettings.php:248
msgid "Cannot add new providers."
msgstr ""

#. TRANS: Unexpected form validation error.
#: actions/openidsettings.php:270
msgid "No known action for POST."
msgstr ""

#. TRANS: Form validation error when trying to remove a non-existing trustroot.
#: actions/openidsettings.php:292
msgid "No such OpenID trustroot."
msgstr ""

#. TRANS: Success message after removing trustroots.
#: actions/openidsettings.php:297
msgid "Trustroots removed."
msgstr ""

#. TRANS: Form validation error for a non-existing OpenID.
#: actions/openidsettings.php:314 actions/openidsettings.php:335
msgid "No such OpenID."
msgstr ""

#. TRANS: Form validation error if OpenID is connected to another user.
#: actions/openidsettings.php:318
msgid "That OpenID does not belong to you."
msgstr ""

#. TRANS: Success message after removing an OpenID.
#: actions/openidsettings.php:322
msgid "OpenID removed."
msgstr ""

#: actions/openidsettings.php:342
msgid "Synchronized OpenID."
msgstr ""

#: actions/openidsettings.php:374
msgid "OpenID preferences saved."
msgstr ""

#. TRANS: Error message displayed when trying to perform an action that requires a logged in user.
#: actions/finishaddopenid.php:66 actions/finishsynchopenid.php:55
msgid "Not logged in."
msgstr ""

#. TRANS: Status message in case the response from the OpenID provider is that the logon attempt was cancelled.
#: actions/finishaddopenid.php:87 actions/finishsynchopenid.php:76
#: actions/finishopenidlogin.php:254
msgid "OpenID authentication cancelled."
msgstr ""

#. TRANS: OpenID authentication failed; display the error message. %s is the error message.
#: actions/finishaddopenid.php:93 actions/finishsynchopenid.php:82
#: actions/finishopenidlogin.php:258
#, php-format
msgid "OpenID authentication failed: %s."
msgstr ""

#. TRANS: OpenID authentication error.
#. TRANS: Message displayed when OpenID authentication is aborted.
#: actions/finishaddopenid.php:110 actions/finishsynchopenid.php:99
#: actions/finishopenidlogin.php:279
msgid ""
"OpenID authentication aborted: You are not allowed to login to this site."
msgstr ""

#. TRANS: Message in case a user tries to add an OpenID that is already connected to them.
#: actions/finishaddopenid.php:121
msgid "You already have this OpenID!"
msgstr ""

#. TRANS: Message in case a user tries to add an OpenID that is already used by another user.
#: actions/finishaddopenid.php:124
msgid "Someone else already has this OpenID."
msgstr ""

#. TRANS: Message in case the OpenID object cannot be connected to the user.
#: actions/finishaddopenid.php:137
msgid "Error connecting user."
msgstr ""

#. TRANS: Message in case the user or the user profile cannot be saved in StatusNet.
#: actions/finishaddopenid.php:145 actions/finishsynchopenid.php:112
msgid "Error updating profile."
msgstr ""

#. TRANS: Title after getting the status of the OpenID authorisation request.
#: actions/finishaddopenid.php:187
msgid "OpenID Login"
msgstr ""

#. TRANS: Title after getting the status of the OpenID authorisation request.
#. TODO update after understanding the function ^
#: actions/finishsynchopenid.php:152
msgid "OpenID Synchronization"
msgstr ""

#. TRANS: Title for identity verification page.
#: actions/openidtrust.php:51
msgid "OpenID Identity Verification"
msgstr ""

#. TRANS: Client error when visiting page directly.
#: actions/openidtrust.php:69
msgid ""
"This page should only be reached during OpenID processing, not directly."
msgstr ""

#. TRANS: Page notice. %s is a trustroot name.
#: actions/openidtrust.php:118
#, php-format
msgid ""
"%s has asked to verify your identity. Click Continue to verify your identity "
"and login without creating a new password."
msgstr ""

#. TRANS: Button text to continue OpenID identity verification.
#. TRANS: button label for OAuth authorization page when needing OpenID authentication first.
#: actions/openidtrust.php:136 OpenIDPlugin.php:617
msgctxt "BUTTON"
msgid "Continue"
msgstr ""

#. TRANS: Button text to cancel OpenID identity verification.
#: actions/openidtrust.php:138
msgctxt "BUTTON"
msgid "Cancel"
msgstr ""

#. TRANS: OpenID plugin client error given trying to add an unauthorised OpenID to a user (403).
#. TRANS: %s is a request identity.
#: actions/openidserver.php:113
#, php-format
msgid "You are not authorized to use the identity %s."
msgstr ""

#. TRANS: OpenID plugin client error given when not getting a response for a given OpenID provider (500).
#: actions/openidserver.php:134
msgid "Just an OpenID provider. Nothing to see here, move along..."
msgstr ""

#. TRANS: Title for OpenID bridge administration page.
#: actions/openidadminpanel.php:53
msgctxt "TITLE"
msgid "OpenID Settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/openidadminpanel.php:64
msgid "OpenID settings"
msgstr ""

#. TRANS: Client error displayed when OpenID provider URL is too long.
#: actions/openidadminpanel.php:145
msgid "Invalid provider URL. Maximum length is 255 characters."
msgstr ""

#. TRANS: Client error displayed when Launchpad team name is too long.
#: actions/openidadminpanel.php:152
msgid "Invalid team name. Maximum length is 255 characters."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidadminpanel.php:206
msgctxt "LEGEND"
msgid "Trusted provider"
msgstr ""

#. TRANS: Form guide.
#: actions/openidadminpanel.php:209
msgid ""
"By default, users are allowed to authenticate with any OpenID provider. If "
"you are using your own OpenID service for shared sign-in, you can restrict "
"access to only your own users here."
msgstr ""

#. TRANS: Field label.
#: actions/openidadminpanel.php:218
msgid "Provider URL"
msgstr ""

#. TRANS: Field title.
#: actions/openidadminpanel.php:220
msgid ""
"All OpenID logins will be sent to this URL; other providers may not be used."
msgstr ""

#. TRANS: Checkbox label.
#: actions/openidadminpanel.php:228
msgid "Append a username to base URL"
msgstr ""

#. TRANS: Checkbox title.
#: actions/openidadminpanel.php:231
msgid ""
"Login form will show the base URL and prompt for a username to add at the "
"end. Use when OpenID provider URL should be the profile page for individual "
"users."
msgstr ""

#. TRANS: Field label.
#: actions/openidadminpanel.php:240
msgid "Required team"
msgstr ""

#. TRANS: Field title.
#: actions/openidadminpanel.php:242
msgid "Only allow logins from users in the given team (Launchpad extension)."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidadminpanel.php:255
msgctxt "LEGEND"
msgid "Options"
msgstr ""

#. TRANS: Checkbox label.
#: actions/openidadminpanel.php:263
msgid "Enable OpenID-only mode"
msgstr ""

#. TRANS: Checkbox title.
#: actions/openidadminpanel.php:266
msgid ""
"Require all users to login via OpenID. Warning: disables password "
"authentication for all users!"
msgstr ""

#. TRANS: Button title to save OpenID settings.
#: actions/openidadminpanel.php:286
msgid "Save OpenID settings."
msgstr ""

#. TRANS: Message given when there is a problem with the user's session token.
#: actions/finishopenidlogin.php:42
msgid "There was a problem with your session token. Try again, please."
msgstr ""

#: actions/finishopenidlogin.php:49
msgid "You cannot register if you do not agree to the license."
msgstr ""

#: actions/finishopenidlogin.php:60
msgid "An unknown error has occured."
msgstr ""

#. TRANS: Instructions given after a first successful logon using OpenID.
#. TRANS: %s is the site name.
#: actions/finishopenidlogin.php:77
#, php-format
msgid ""
"This is the first time you have logged into %s so we must connect your "
"OpenID to a local account. You can either create a new account, or connect "
"with your existing account, if you have one."
msgstr ""

#. TRANS: Title
#: actions/finishopenidlogin.php:84
msgctxt "TITLE"
msgid "OpenID Account Setup"
msgstr ""

#. TRANS: Fieldset legend.
#: actions/finishopenidlogin.php:122
msgid "Create new account"
msgstr ""

#. TRANS: Form guide.
#: actions/finishopenidlogin.php:125
msgid "Create a new user with this nickname."
msgstr ""

#: actions/finishopenidlogin.php:134
msgid "New nickname"
msgstr ""

#. TRANS: Field title.
#: actions/finishopenidlogin.php:137
msgid "1-64 lowercase letters or numbers, no punctuation or spaces."
msgstr ""

#. TRANS: Field label.
#: actions/finishopenidlogin.php:141
msgid "Email"
msgstr ""

#. TRANS: Field title.
#: actions/finishopenidlogin.php:144
msgid "Used only for updates, announcements, and password recovery."
msgstr ""

#. TRANS: OpenID plugin link text.
#. TRANS: %s is a link to a license with the license name as link text.
#: actions/finishopenidlogin.php:161
#, php-format
msgid ""
"My text and files are available under %s except this private data: password, "
"email address, IM address, and phone number."
msgstr ""

#. TRANS: Button label in form in which to create a new user on the site for an OpenID.
#: actions/finishopenidlogin.php:174
msgctxt "BUTTON"
msgid "Create"
msgstr ""

#. TRANS: Used as form legend for form in which to connect an OpenID to an existing user on the site.
#: actions/finishopenidlogin.php:188
msgid "Connect existing account"
msgstr ""

#. TRANS: User instructions for form in which to connect an OpenID to an existing user on the site.
#: actions/finishopenidlogin.php:191
msgid ""
"If you already have an account, login with your username and password to "
"connect it to your OpenID."
msgstr ""

#. TRANS: Field label in form in which to connect an OpenID to an existing user on the site.
#: actions/finishopenidlogin.php:195
msgid "Existing nickname"
msgstr ""

#. TRANS: Field label in form in which to connect an OpenID to an existing user on the site.
#: actions/finishopenidlogin.php:199
msgid "Password"
msgstr ""

#. TRANS: Button text in form in which to connect an OpenID to an existing user on the site.
#: actions/finishopenidlogin.php:208
msgctxt "BUTTON"
msgid "Connect"
msgstr ""

#. TRANS: OpenID plugin message. No new user registration is allowed on the site.
#. TRANS: OpenID plugin message. No new user registration is allowed on the site without an invitation code, and none was provided.
#: actions/finishopenidlogin.php:335 actions/finishopenidlogin.php:344
msgid "Registration not allowed."
msgstr ""

#. TRANS: OpenID plugin message. No new user registration is allowed on the site without an invitation code, and the one provided was not valid.
#: actions/finishopenidlogin.php:351
msgid "Not a valid invitation code."
msgstr ""

#. TRANS: OpenID plugin server error. A stored OpenID cannot be retrieved.
#. TRANS: OpenID plugin server error. A stored OpenID cannot be found.
#: actions/finishopenidlogin.php:366 actions/finishopenidlogin.php:450
msgid "Stored OpenID not found."
msgstr ""

#. TRANS: OpenID plugin server error.
#: actions/finishopenidlogin.php:375
msgid "Creating new account for OpenID that already has a user."
msgstr ""

#. TRANS: OpenID plugin message.
#: actions/finishopenidlogin.php:438
msgid "Invalid username or password."
msgstr ""

#. TRANS: OpenID plugin server error. The user or user profile could not be saved.
#: actions/finishopenidlogin.php:457
msgid "Error connecting user to OpenID."
msgstr ""

#. TRANS: Client exception thrown when an action is not available.
#: OpenIDPlugin.php:143
msgid "Unavailable action."
msgstr ""

#. TRANS: Tooltip for main menu option "Login"
#: OpenIDPlugin.php:192
msgctxt "TOOLTIP"
msgid "Login to the site."
msgstr ""

#. TRANS: Main menu option when not logged in to log in
#: OpenIDPlugin.php:195
msgctxt "MENU"
msgid "Login"
msgstr ""

#. TRANS: Tooltip for main menu option "Help"
#: OpenIDPlugin.php:200
msgctxt "TOOLTIP"
msgid "Help me!"
msgstr ""

#. TRANS: Main menu option for help on the StatusNet site
#: OpenIDPlugin.php:203
msgctxt "MENU"
msgid "Help"
msgstr ""

#. TRANS: Tooltip for main menu option "Search"
#: OpenIDPlugin.php:209
msgctxt "TOOLTIP"
msgid "Search for people or text."
msgstr ""

#. TRANS: Main menu option when logged in or when the StatusNet instance is not private
#: OpenIDPlugin.php:212
msgctxt "MENU"
msgid "Search"
msgstr ""

#. TRANS: OpenID plugin menu item on site logon page.
#. TRANS: OpenID plugin menu item on user settings page.
#. TRANS: OpenID configuration menu item.
#: OpenIDPlugin.php:269 OpenIDPlugin.php:305 OpenIDPlugin.php:479
#: OpenIDPlugin.php:559
msgctxt "MENU"
msgid "OpenID"
msgstr ""

#. TRANS: OpenID plugin tooltip for logon menu item.
#: OpenIDPlugin.php:271
msgid "Login or register with OpenID."
msgstr ""

#. TRANS: OpenID plugin tooltip for user settings menu item.
#: OpenIDPlugin.php:307
msgid "Add or remove OpenIDs."
msgstr ""

#. TRANS: Page notice for logged in users to try and get them to add an OpenID account to their StatusNet account.
#. TRANS: This message contains Markdown links in the form (description)[link].
#: OpenIDPlugin.php:421
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? [Add an OpenID to your account]"
"(%%action.openidsettings%%)!"
msgstr ""

#. TRANS: Page notice for anonymous users to try and get them to register with an OpenID account.
#. TRANS: This message contains Markdown links in the form (description)[link].
#: OpenIDPlugin.php:426
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? Try our [OpenID registration]"
"(%%action.openidlogin%%)!)"
msgstr ""

#. TRANS: Page notice on the login page to try and get them to log on with an OpenID account.
#. TRANS: This message contains Markdown links in the form (description)[link].
#: OpenIDPlugin.php:434
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? Try our [OpenID login](%%action."
"openidlogin%%)!)"
msgstr ""

#. TRANS: Tooltip for OpenID configuration menu item.
#: OpenIDPlugin.php:561
msgid "OpenID configuration."
msgstr ""

#. TRANS: Plugin description.
#: OpenIDPlugin.php:607
msgid "Use OpenID to login to the site."
msgstr ""

#. TRANS: Field label.
#: OpenIDPlugin.php:642
msgid "OpenID provider"
msgstr ""

#: openid.php:64
msgid "Unknown DB type for OpenID."
msgstr ""

#: openid.php:161
msgid "No valid URL provided for OpenID."
msgstr ""

#. TRANS: OpenID plugin server error.
#: openid.php:168
msgid "Cannot instantiate OpenID consumer object."
msgstr ""

#. TRANS: OpenID plugin message. Given when an OpenID is not valid.
#: openid.php:179
msgid "Not a valid OpenID."
msgstr ""

#. TRANS: OpenID plugin server error. Given when the OpenID authentication request fails.
#. TRANS: %s is the failure message.
#: openid.php:184
#, php-format
msgid "OpenID failure: %s."
msgstr ""

#. TRANS: OpenID plugin server error. Given when the OpenID authentication request cannot be redirected.
#. TRANS: %s is the failure message.
#: openid.php:233
#, php-format
msgid "Could not redirect to server: %s."
msgstr ""

#. TRANS: OpenID plugin user instructions.
#: openid.php:271
msgid ""
"This form should automatically submit itself. If not, click the submit "
"button to go to your OpenID provider."
msgstr ""

#. TRANS: OpenID plugin server error.
#: openid.php:307
msgid "Error saving the profile."
msgstr ""

#. TRANS: OpenID plugin server error.
#: openid.php:319
msgid "Error saving the user."
msgstr ""

#. TRANS: OpenID plugin client exception (403).
#: openid.php:349
msgid "Unauthorized URL used for OpenID login."
msgstr ""

#. TRANS: Title
#: openid.php:397
msgid "OpenID Login Submission"
msgstr ""

#. TRANS: OpenID plugin message used while requesting authorization user's OpenID login provider.
#: openid.php:408
msgid "Requesting authorization from your login provider..."
msgstr ""

#. TRANS: OpenID plugin message. User instruction while requesting authorization user's OpenID login provider.
#: openid.php:412
msgid ""
"If you are not redirected to your login provider in a few seconds, try "
"pushing the button below."
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:23+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Afrikaans (http://www.transifex.com/gnu-social/gnu-social/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: af\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: OpenID plugin server error.
#: openid.php:139
msgid "Cannot instantiate OpenID consumer object."
msgstr ""

#. TRANS: OpenID plugin message. Given when an OpenID is not valid.
#: openid.php:151
msgid "Not a valid OpenID."
msgstr ""

#. TRANS: OpenID plugin server error. Given when the OpenID authentication
#. request fails.
#. TRANS: %s is the failure message.
#: openid.php:156
#, php-format
msgid "OpenID failure: %s."
msgstr ""

#. TRANS: OpenID plugin server error. Given when the OpenID authentication
#. request cannot be redirected.
#. TRANS: %s is the failure message.
#: openid.php:206
#, php-format
msgid "Could not redirect to server: %s."
msgstr ""

#. TRANS: OpenID plugin user instructions.
#: openid.php:245
msgid ""
"This form should automatically submit itself. If not, click the submit "
"button to go to your OpenID provider."
msgstr ""

#. TRANS: OpenID plugin server error.
#: openid.php:281
msgid "Error saving the profile."
msgstr ""

#. TRANS: OpenID plugin server error.
#: openid.php:293
msgid "Error saving the user."
msgstr ""

#. TRANS: OpenID plugin client exception (403).
#: openid.php:323
msgid "Unauthorized URL used for OpenID login."
msgstr ""

#. TRANS: Title
#: openid.php:371
msgid "OpenID Login Submission"
msgstr ""

#. TRANS: OpenID plugin message used while requesting authorization user's
#. OpenID login provider.
#: openid.php:382
msgid "Requesting authorization from your login provider..."
msgstr ""

#. TRANS: OpenID plugin message. User instruction while requesting
#. authorization user's OpenID login provider.
#: openid.php:386
msgid ""
"If you are not redirected to your login provider in a few seconds, try "
"pushing the button below."
msgstr ""

#. TRANS: Error message displayed when trying to perform an action that
#. requires a logged in user.
#: actions/finishaddopenid.php:66
msgid "Not logged in."
msgstr "Nie aangeteken nie."

#. TRANS: Status message in case the response from the OpenID provider is that
#. the logon attempt was cancelled.
#: actions/finishaddopenid.php:87 actions/finishopenidlogin.php:243
msgid "OpenID authentication cancelled."
msgstr ""

#. TRANS: OpenID authentication failed; display the error message.
#. TRANS: %s is the error message.
#. TRANS: OpenID authentication failed; display the error message. %s is the
#. error message.
#: actions/finishaddopenid.php:92 actions/finishopenidlogin.php:247
#, php-format
msgid "OpenID authentication failed: %s."
msgstr ""

#. TRANS: OpenID authentication error.
#. TRANS: Message displayed when OpenID authentication is aborted.
#: actions/finishaddopenid.php:109 actions/finishopenidlogin.php:268
msgid ""
"OpenID authentication aborted: You are not allowed to login to this site."
msgstr ""

#. TRANS: Message in case a user tries to add an OpenID that is already
#. connected to them.
#: actions/finishaddopenid.php:120
msgid "You already have this OpenID!"
msgstr ""

#. TRANS: Message in case a user tries to add an OpenID that is already used
#. by another user.
#: actions/finishaddopenid.php:123
msgid "Someone else already has this OpenID."
msgstr ""

#. TRANS: Message in case the OpenID object cannot be connected to the user.
#: actions/finishaddopenid.php:136
msgid "Error connecting user."
msgstr ""

#. TRANS: Message in case the user or the user profile cannot be saved in
#. StatusNet.
#: actions/finishaddopenid.php:143
msgid "Error updating profile."
msgstr ""

#. TRANS: Title after getting the status of the OpenID authorisation request.
#: actions/finishaddopenid.php:183
msgid "OpenID Login"
msgstr ""

#. TRANS: OpenID plugin client error given trying to add an unauthorised
#. OpenID to a user (403).
#. TRANS: %s is a request identity.
#: actions/openidserver.php:115
#, php-format
msgid "You are not authorized to use the identity %s."
msgstr ""

#. TRANS: OpenID plugin client error given when not getting a response for a
#. given OpenID provider (500).
#: actions/openidserver.php:136
msgid "Just an OpenID provider. Nothing to see here, move along..."
msgstr ""

#. TRANS: Title of OpenID settings page for a user.
#: actions/openidsettings.php:57
msgctxt "TITLE"
msgid "OpenID settings"
msgstr ""

#. TRANS: Form instructions for OpenID settings.
#. TRANS: This message contains Markdown links in the form
#. [description](link).
#: actions/openidsettings.php:69
#, php-format
msgid ""
"[OpenID](%%doc.openid%%) lets you log into many sites with the same user "
"account. Manage your associated OpenIDs from here."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidsettings.php:100
msgctxt "LEGEND"
msgid "Add OpenID"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:104
msgid ""
"If you want to add an OpenID to your account, enter it in the box below and "
"click \"Add\"."
msgstr ""

#. TRANS: Field label.
#. TRANS: OpenID plugin logon form field label.
#: actions/openidsettings.php:110 actions/openidlogin.php:155
#: OpenIDPlugin.php:702
msgid "OpenID URL"
msgstr ""

#. TRANS: Button text for adding an OpenID URL.
#: actions/openidsettings.php:121
msgctxt "BUTTON"
msgid "Add"
msgstr "Voeg by"

#. TRANS: Header on OpenID settings page.
#: actions/openidsettings.php:133
msgctxt "HEADER"
msgid "Remove OpenID"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:139
msgid ""
"Removing your only OpenID would make it impossible to log in! If you need to"
" remove it, add another OpenID first."
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:155
msgid ""
"You can remove an OpenID from your account by clicking the button marked "
"\"Remove\"."
msgstr ""

#. TRANS: Button text to remove an OpenID.
#. TRANS: Button text to remove an OpenID trustroot.
#: actions/openidsettings.php:179 actions/openidsettings.php:223
msgctxt "BUTTON"
msgid "Remove"
msgstr "Verwyder"

#. TRANS: Fieldset legend.
#: actions/openidsettings.php:194
msgid "OpenID Trusted Sites"
msgstr ""

#. TRANS: Form guide.
#: actions/openidsettings.php:198
msgid ""
"The following sites are allowed to access your identity and log you in. You "
"can remove a site from this list to deny it access to your OpenID."
msgstr ""

#: actions/openidsettings.php:229
msgctxt "LEGEND"
msgid "Preferences"
msgstr ""

#. TRANS: Button text to save OpenID prefs
#. TRANS: Button text to save OpenID settings.
#: actions/openidsettings.php:237 actions/openidadminpanel.php:284
msgctxt "BUTTON"
msgid "Save"
msgstr "Stoor"

#. TRANS: Client error displayed when the session token does not match or is
#. not given.
#. TRANS: Message given when there is a problem with the user's session token.
#: actions/openidsettings.php:257 actions/finishopenidlogin.php:42
msgid "There was a problem with your session token. Try again, please."
msgstr ""

#. TRANS: Form validation error if no OpenID providers can be added.
#: actions/openidsettings.php:265
msgid "Cannot add new providers."
msgstr ""

#. TRANS: Unexpected form validation error.
#: actions/openidsettings.php:281
msgid "Something weird happened."
msgstr ""

#. TRANS: Form validation error when trying to remove a non-existing
#. trustroot.
#: actions/openidsettings.php:305
msgid "No such OpenID trustroot."
msgstr ""

#. TRANS: Success message after removing trustroots.
#: actions/openidsettings.php:310
msgid "Trustroots removed."
msgstr ""

#. TRANS: Form validation error for a non-existing OpenID.
#: actions/openidsettings.php:333
msgid "No such OpenID."
msgstr ""

#. TRANS: Form validation error if OpenID is connected to another user.
#: actions/openidsettings.php:339
msgid "That OpenID does not belong to you."
msgstr ""

#. TRANS: Success message after removing an OpenID.
#: actions/openidsettings.php:344
msgid "OpenID removed."
msgstr ""

#: actions/openidsettings.php:383
msgid "OpenID preferences saved."
msgstr ""

#. TRANS: Client error message trying to log on with OpenID while already
#. logged on.
#: actions/finishopenidlogin.php:37 actions/openidlogin.php:33
msgid "Already logged in."
msgstr "U is reeds aangeteken."

#. TRANS: Message given if user does not agree with the site's license.
#: actions/finishopenidlogin.php:48
msgid "You cannot register if you do not agree to the license."
msgstr ""

#. TRANS: Messag given on an unknown error.
#: actions/finishopenidlogin.php:57
msgid "An unknown error has occured."
msgstr ""

#. TRANS: Instructions given after a first successful logon using OpenID.
#. TRANS: %s is the site name.
#: actions/finishopenidlogin.php:73
#, php-format
msgid ""
"This is the first time you have logged into %s so we must connect your "
"OpenID to a local account. You can either create a new account, or connect "
"with your existing account, if you have one."
msgstr ""

#. TRANS: Title
#: actions/finishopenidlogin.php:80
msgctxt "TITLE"
msgid "OpenID Account Setup"
msgstr ""

#. TRANS: Fieldset legend.
#: actions/finishopenidlogin.php:118
msgid "Create new account"
msgstr ""

#. TRANS: Form guide.
#: actions/finishopenidlogin.php:121
msgid "Create a new user with this nickname."
msgstr ""

#. TRANS: Field label.
#: actions/finishopenidlogin.php:129
msgid "New nickname"
msgstr ""

#. TRANS: Field title.
#: actions/finishopenidlogin.php:132
msgid "1-64 lowercase letters or numbers, no punctuation or spaces."
msgstr ""

#. TRANS: Field label.
#: actions/finishopenidlogin.php:136
msgid "Email"
msgstr "E-pos"

#. TRANS: Field title.
#: actions/finishopenidlogin.php:138
msgid "Used only for updates, announcements, and password recovery."
msgstr ""

#. TRANS: OpenID plugin link text.
#. TRANS: %s is a link to a license with the license name as link text.
#: actions/finishopenidlogin.php:155
#, php-format
msgid ""
"My text and files are available under %s except this private data: password,"
" email address, IM address, and phone number."
msgstr ""

#. TRANS: Button label in form in which to create a new user on the site for
#. an OpenID.
#: actions/finishopenidlogin.php:168
msgctxt "BUTTON"
msgid "Create"
msgstr ""

#. TRANS: Used as form legend for form in which to connect an OpenID to an
#. existing user on the site.
#: actions/finishopenidlogin.php:182
msgid "Connect existing account"
msgstr ""

#. TRANS: User instructions for form in which to connect an OpenID to an
#. existing user on the site.
#: actions/finishopenidlogin.php:185
msgid ""
"If you already have an account, login with your username and password to "
"connect it to your OpenID."
msgstr ""

#. TRANS: Field label in form in which to connect an OpenID to an existing
#. user on the site.
#: actions/finishopenidlogin.php:189
msgid "Existing nickname"
msgstr ""

#. TRANS: Field label in form in which to connect an OpenID to an existing
#. user on the site.
#: actions/finishopenidlogin.php:193
msgid "Password"
msgstr "Wagwoord"

#. TRANS: Button text in form in which to connect an OpenID to an existing
#. user on the site.
#: actions/finishopenidlogin.php:197
msgctxt "BUTTON"
msgid "Connect"
msgstr ""

#. TRANS: OpenID plugin message. No new user registration is allowed on the
#. site.
#. TRANS: OpenID plugin message. No new user registration is allowed on the
#. site without an invitation code, and none was provided.
#: actions/finishopenidlogin.php:324 actions/finishopenidlogin.php:333
msgid "Registration not allowed."
msgstr "Registrasie nie toegelaat nie."

#. TRANS: OpenID plugin message. No new user registration is allowed on the
#. site without an invitation code, and the one provided was not valid.
#: actions/finishopenidlogin.php:340
msgid "Not a valid invitation code."
msgstr ""

#. TRANS: OpenID plugin server error. A stored OpenID cannot be retrieved.
#. TRANS: OpenID plugin server error. A stored OpenID cannot be found.
#: actions/finishopenidlogin.php:355 actions/finishopenidlogin.php:438
msgid "Stored OpenID not found."
msgstr ""

#. TRANS: OpenID plugin server error.
#: actions/finishopenidlogin.php:364
msgid "Creating new account for OpenID that already has a user."
msgstr ""

#. TRANS: OpenID plugin message.
#: actions/finishopenidlogin.php:426
msgid "Invalid username or password."
msgstr "Ongeldige gebruikersnaam of wagwoord."

#. TRANS: OpenID plugin server error. The user or user profile could not be
#. saved.
#: actions/finishopenidlogin.php:445
msgid "Error connecting user to OpenID."
msgstr ""

#. TRANS: OpenID plugin message. Rememberme logins have to reauthenticate
#. before changing any profile settings.
#. TRANS: "OpenID" is the display text for a link with URL "(%%doc.openid%%)".
#: actions/openidlogin.php:74
#, php-format
msgid ""
"For security reasons, please re-login with your [OpenID](%%doc.openid%%) "
"before changing your settings."
msgstr ""

#. TRANS: OpenID plugin message.
#. TRANS: "OpenID" is the display text for a link with URL "(%%doc.openid%%)".
#: actions/openidlogin.php:80
#, php-format
msgid "Login with an [OpenID](%%doc.openid%%) account."
msgstr ""

#. TRANS: OpenID plugin message. Title.
#: actions/openidlogin.php:114
msgctxt "TITLE"
msgid "OpenID Login"
msgstr ""

#. TRANS: OpenID plugin logon form legend.
#: actions/openidlogin.php:132 OpenIDPlugin.php:679
msgctxt "LEGEND"
msgid "OpenID login"
msgstr ""

#. TRANS: Field label.
#: actions/openidlogin.php:140
msgctxt "LABEL"
msgid "OpenID provider"
msgstr ""

#. TRANS: Form guide.
#: actions/openidlogin.php:149 OpenIDPlugin.php:696
msgid "Enter your username."
msgstr ""

#. TRANS: Form guide.
#: actions/openidlogin.php:151 OpenIDPlugin.php:698
msgid "You will be sent to the provider's site for authentication."
msgstr ""

#. TRANS: OpenID plugin logon form field title.
#. TRANS: OpenID plugin logon form field instructions.
#: actions/openidlogin.php:158 OpenIDPlugin.php:705
msgid "Your OpenID URL."
msgstr ""

#. TRANS: OpenID plugin logon form checkbox label for setting to put the
#. OpenID information in a cookie.
#: actions/openidlogin.php:163
msgid "Remember me"
msgstr "Onthou my"

#. TRANS: OpenID plugin logon form field title.
#: actions/openidlogin.php:165
msgid "Automatically login in the future; not for shared computers!"
msgstr ""

#. TRANS: OpenID plugin logon form button label to start logon with the data
#. provided in the logon form.
#: actions/openidlogin.php:170
msgctxt "BUTTON"
msgid "Login"
msgstr "Teken in"

#. TRANS: Title for OpenID bridge administration page.
#: actions/openidadminpanel.php:53
msgctxt "TITLE"
msgid "OpenID Settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/openidadminpanel.php:64
msgid "OpenID settings"
msgstr ""

#. TRANS: Client error displayed when OpenID provider URL is too long.
#: actions/openidadminpanel.php:145
msgid "Invalid provider URL. Maximum length is 255 characters."
msgstr ""

#. TRANS: Client error displayed when Launchpad team name is too long.
#: actions/openidadminpanel.php:152
msgid "Invalid team name. Maximum length is 255 characters."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidadminpanel.php:206
msgctxt "LEGEND"
msgid "Trusted provider"
msgstr ""

#. TRANS: Form guide.
#: actions/openidadminpanel.php:209
msgid ""
"By default, users are allowed to authenticate with any OpenID provider. If "
"you are using your own OpenID service for shared sign-in, you can restrict "
"access to only your own users here."
msgstr ""

#. TRANS: Field label.
#: actions/openidadminpanel.php:218
msgid "Provider URL"
msgstr ""

#. TRANS: Field title.
#: actions/openidadminpanel.php:220
msgid ""
"All OpenID logins will be sent to this URL; other providers may not be used."
msgstr ""

#. TRANS: Checkbox label.
#: actions/openidadminpanel.php:228
msgid "Append a username to base URL"
msgstr ""

#. TRANS: Checkbox title.
#: actions/openidadminpanel.php:231
msgid ""
"Login form will show the base URL and prompt for a username to add at the "
"end. Use when OpenID provider URL should be the profile page for individual "
"users."
msgstr ""

#. TRANS: Field label.
#: actions/openidadminpanel.php:240
msgid "Required team"
msgstr ""

#. TRANS: Field title.
#: actions/openidadminpanel.php:242
msgid "Only allow logins from users in the given team (Launchpad extension)."
msgstr ""

#. TRANS: Fieldset legend.
#: actions/openidadminpanel.php:255
msgctxt "LEGEND"
msgid "Options"
msgstr ""

#. TRANS: Checkbox label.
#: actions/openidadminpanel.php:263
msgid "Enable OpenID-only mode"
msgstr ""

#. TRANS: Checkbox title.
#: actions/openidadminpanel.php:266
msgid ""
"Require all users to login via OpenID. Warning: disables password "
"authentication for all users!"
msgstr ""

#. TRANS: Button title to save OpenID settings.
#: actions/openidadminpanel.php:286
msgid "Save OpenID settings."
msgstr ""

#. TRANS: Title for identity verification page.
#: actions/openidtrust.php:51
msgid "OpenID Identity Verification"
msgstr ""

#. TRANS: Client error when visiting page directly.
#: actions/openidtrust.php:69
msgid ""
"This page should only be reached during OpenID processing, not directly."
msgstr ""

#. TRANS: Page notice. %s is a trustroot name.
#: actions/openidtrust.php:118
#, php-format
msgid ""
"%s has asked to verify your identity. Click Continue to verify your identity"
" and login without creating a new password."
msgstr ""

#. TRANS: Button text to continue OpenID identity verification.
#. TRANS: button label for OAuth authorization page when needing OpenID
#. authentication first.
#: actions/openidtrust.php:136 OpenIDPlugin.php:662
msgctxt "BUTTON"
msgid "Continue"
msgstr ""

#. TRANS: Button text to cancel OpenID identity verification.
#: actions/openidtrust.php:138
msgctxt "BUTTON"
msgid "Cancel"
msgstr "Kanselleer"

#. TRANS: Client exception thrown when an action is not available.
#: OpenIDPlugin.php:139
msgid "Unavailable action."
msgstr ""

#. TRANS: Tooltip for main menu option "Login"
#: OpenIDPlugin.php:219
msgctxt "TOOLTIP"
msgid "Login to the site."
msgstr ""

#. TRANS: Main menu option when not logged in to log in
#: OpenIDPlugin.php:222
msgctxt "MENU"
msgid "Login"
msgstr "Teken in"

#. TRANS: Tooltip for main menu option "Help"
#: OpenIDPlugin.php:227
msgctxt "TOOLTIP"
msgid "Help me!"
msgstr ""

#. TRANS: Main menu option for help on the StatusNet site
#: OpenIDPlugin.php:230
msgctxt "MENU"
msgid "Help"
msgstr "Help"

#. TRANS: Tooltip for main menu option "Search"
#: OpenIDPlugin.php:236
msgctxt "TOOLTIP"
msgid "Search for people or text."
msgstr ""

#. TRANS: Main menu option when logged in or when the StatusNet instance is
#. not private
#: OpenIDPlugin.php:239
msgctxt "MENU"
msgid "Search"
msgstr ""

#. TRANS: OpenID plugin menu item on site logon page.
#. TRANS: OpenID plugin menu item on user settings page.
#. TRANS: OpenID configuration menu item.
#: OpenIDPlugin.php:296 OpenIDPlugin.php:332 OpenIDPlugin.php:524
#: OpenIDPlugin.php:604
msgctxt "MENU"
msgid "OpenID"
msgstr ""

#. TRANS: OpenID plugin tooltip for logon menu item.
#: OpenIDPlugin.php:298
msgid "Login or register with OpenID."
msgstr ""

#. TRANS: OpenID plugin tooltip for user settings menu item.
#: OpenIDPlugin.php:334
msgid "Add or remove OpenIDs."
msgstr ""

#. TRANS: Page notice for logged in users to try and get them to add an OpenID
#. account to their StatusNet account.
#. TRANS: This message contains Markdown links in the form
#. (description)[link].
#: OpenIDPlugin.php:466
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? [Add an OpenID to your "
"account](%%action.openidsettings%%)!"
msgstr ""

#. TRANS: Page notice for anonymous users to try and get them to register with
#. an OpenID account.
#. TRANS: This message contains Markdown links in the form
#. (description)[link].
#: OpenIDPlugin.php:471
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? Try our [OpenID "
"registration](%%action.openidlogin%%)!)"
msgstr ""

#. TRANS: Page notice on the login page to try and get them to log on with an
#. OpenID account.
#. TRANS: This message contains Markdown links in the form
#. (description)[link].
#: OpenIDPlugin.php:479
#, php-format
msgid ""
"(Have an [OpenID](http://openid.net/)? Try our [OpenID "
"login](%%action.openidlogin%%)!)"
msgstr ""

#. TRANS: Tooltip for OpenID configuration menu item.
#: OpenIDPlugin.php:606
msgid "OpenID configuration."
msgstr ""

#. TRANS: Plugin description.
#: OpenIDPlugin.php:652
msgid "Use <a href=\"http://openid.net/\">OpenID</a> to login to the site."
msgstr ""

#. TRANS: Field label.
#: OpenIDPlugin.php:687
msgid "OpenID provider"
msgstr ""