Add script 'get-openssl-version.sh'.
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
# users.auth.php
|
||||
# <?php exit()?>
|
||||
# Don't modify the lines above
|
||||
#
|
||||
# Userfile
|
||||
#
|
||||
# Format:
|
||||
#
|
||||
# login:passwordhash:Real Name:email:groups,comma,separated
|
||||
|
||||
|
||||
user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
|
||||
user_2:$1$2uJ5C3ib$edo0EDEb/yLAFHme7RK851:User 2:user2@example.com:user,second_group,third_group
|
||||
user_3:$1$yqnlDqgZ$Sste968uKhuxH6wIQt6/D/:User 3:user3@example.com:user,fourth_group,first_group,third_group
|
||||
user_4:$1$tXjajS9s$peoGPBQep.P245H1Lfloj0:User 4:user4@example.com:user,third_group
|
||||
user_5:$1$IWrqdhol$xXOmufjZ2hW1aAVp7zDP.1:User 5:user5@example.com:user,second_group,fifth_group
|
@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* These tests are designed to test the capacity of pluginauth to handle
|
||||
* correct escaping of colon field delimiters and backslashes in user content.
|
||||
*
|
||||
* (Note that these tests set some Real Names, etc. that are may not be
|
||||
* valid in the broader dokuwiki context, but the tests ensure that
|
||||
* authplain won't get unexpectedly surprised.)
|
||||
*
|
||||
* @group plugin_authplain
|
||||
* @group auth_plugins
|
||||
* @group plugins
|
||||
* @group bundled_plugins
|
||||
*/
|
||||
class helper_plugin_authplain_escaping_test extends DokuWikiTest {
|
||||
|
||||
protected $pluginsEnabled = array('authplain');
|
||||
/** @var auth_plugin_authplain */
|
||||
protected $auth;
|
||||
|
||||
protected function reloadUsers() {
|
||||
/* auth caches data loaded from file, but recreated object forces reload */
|
||||
$this->auth = new auth_plugin_authplain();
|
||||
}
|
||||
|
||||
function setUp() : void {
|
||||
global $config_cascade;
|
||||
parent::setUp();
|
||||
$name = $config_cascade['plainauth.users']['default'];
|
||||
copy($name, $name.".orig");
|
||||
$this->reloadUsers();
|
||||
}
|
||||
|
||||
function tearDown() : void {
|
||||
global $config_cascade;
|
||||
parent::tearDown();
|
||||
$name = $config_cascade['plainauth.users']['default'];
|
||||
copy($name.".orig", $name);
|
||||
}
|
||||
|
||||
public function testMediawikiPasswordHash() {
|
||||
global $conf;
|
||||
$conf['passcrypt'] = 'mediawiki';
|
||||
$this->auth->createUser("mwuser", "12345", "Mediawiki User", "me@example.com");
|
||||
$this->reloadUsers();
|
||||
$this->assertTrue($this->auth->checkPass("mwuser", "12345"));
|
||||
$mwuser = $this->auth->getUserData("mwuser");
|
||||
$this->assertStringStartsWith(":B:",$mwuser['pass']);
|
||||
$this->assertEquals("Mediawiki User",$mwuser['name']);
|
||||
}
|
||||
|
||||
public function testNameWithColons() {
|
||||
$name = ":Colon: User:";
|
||||
$this->auth->createUser("colonuser", "password", $name, "me@example.com");
|
||||
$this->reloadUsers();
|
||||
$user = $this->auth->getUserData("colonuser");
|
||||
$this->assertEquals($name,$user['name']);
|
||||
}
|
||||
|
||||
public function testNameWithBackslashes() {
|
||||
$name = "\\Slash\\ User\\";
|
||||
$this->auth->createUser("slashuser", "password", $name, "me@example.com");
|
||||
$this->reloadUsers();
|
||||
$user = $this->auth->getUserData("slashuser");
|
||||
$this->assertEquals($name,$user['name']);
|
||||
}
|
||||
|
||||
public function testModifyUser() {
|
||||
global $conf;
|
||||
$conf['passcrypt'] = 'mediawiki';
|
||||
$user = $this->auth->getUserData("testuser");
|
||||
$user['name'] = "\\New:Crazy:Name\\";
|
||||
$user['pass'] = "awesome new password";
|
||||
$this->auth->modifyUser("testuser", $user);
|
||||
$this->reloadUsers();
|
||||
|
||||
$saved = $this->auth->getUserData("testuser");
|
||||
$this->assertEquals($saved['name'], $user['name']);
|
||||
$this->assertTrue($this->auth->checkPass("testuser", $user['pass']));
|
||||
}
|
||||
|
||||
// really only required for developers to ensure this plugin will
|
||||
// work with systems running on PCRE 6.6 and lower.
|
||||
public function testLineSplit(){
|
||||
$names = array(
|
||||
'plain',
|
||||
'ut-fठ8',
|
||||
'colon:',
|
||||
'backslash\\',
|
||||
'alltogether\\ठ:'
|
||||
);
|
||||
$userpass = 'user:password_hash:';
|
||||
$other_user_data = ':email@address:group1,group2';
|
||||
|
||||
foreach ($names as $testname) {
|
||||
$escaped = str_replace(array('\\',':'),array('\\\\','\\:'),$testname); // escape : & \
|
||||
$test_line = $userpass.$escaped.$other_user_data;
|
||||
$result = $this->callInaccessibleMethod($this->auth, 'splitUserData', [$test_line]);
|
||||
|
||||
$this->assertEquals($escaped, $result[2]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see testCleaning
|
||||
*/
|
||||
public function provideCleaning()
|
||||
{
|
||||
return [
|
||||
['user', 'user'],
|
||||
['USER', 'user'],
|
||||
[' USER ', 'user'],
|
||||
[' US ER ', 'us_er'],
|
||||
['http://foo;bar', 'http_foo_bar'],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $input
|
||||
* @param string $expected
|
||||
* @dataProvider provideCleaning
|
||||
*/
|
||||
public function testCleaning($input, $expected)
|
||||
{
|
||||
$this->assertEquals($expected, $this->auth->cleanUser($input));
|
||||
$this->assertEquals($expected, $this->auth->cleanGroup($input));
|
||||
}
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class userdata_test
|
||||
*
|
||||
* Test group retrieval
|
||||
*
|
||||
* @group plugins
|
||||
*/
|
||||
class userdata_test extends DokuWikiTest
|
||||
{
|
||||
/** @var auth_plugin_authplain */
|
||||
protected $auth;
|
||||
|
||||
/**
|
||||
* Load auth with test conf
|
||||
* @throws Exception
|
||||
*/
|
||||
public function setUp() : void
|
||||
{
|
||||
parent::setUp();
|
||||
global $config_cascade;
|
||||
$config_cascade['plainauth.users']['default'] = __DIR__ . '/conf/auth.users.php';
|
||||
$this->auth = new auth_plugin_authplain();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test that all groups are retrieved in the correct order, without duplicates
|
||||
*/
|
||||
public function test_retrieve_groups()
|
||||
{
|
||||
$expected = ['user', 'first_group', 'second_group', 'third_group', 'fourth_group', 'fifth_group'];
|
||||
$actual = $this->auth->retrieveGroups();
|
||||
$this->assertEquals($expected, $actual);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test with small and large limits
|
||||
*/
|
||||
public function test_retrieve_groups_limit()
|
||||
{
|
||||
$expected = ['user', 'first_group'];
|
||||
$actual = $this->auth->retrieveGroups(0, 2);
|
||||
$this->assertEquals($expected, $actual);
|
||||
|
||||
$expected = ['user', 'first_group', 'second_group', 'third_group', 'fourth_group', 'fifth_group'];
|
||||
$actual = $this->auth->retrieveGroups(0, 20);
|
||||
$this->assertEquals($expected, $actual);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test with small and large offsets
|
||||
*/
|
||||
public function test_retrieve_groups_offset()
|
||||
{
|
||||
$expected = ['third_group', 'fourth_group', 'fifth_group'];
|
||||
$actual = $this->auth->retrieveGroups(3,10);
|
||||
$this->assertEquals($expected, $actual);
|
||||
|
||||
$expected = [];
|
||||
$actual = $this->auth->retrieveGroups(10,3);
|
||||
$this->assertEquals($expected, $actual);
|
||||
}
|
||||
}
|
481
snippets/dokuwiki-2023-04-04/lib/plugins/authplain/auth.php
Normal file
481
snippets/dokuwiki-2023-04-04/lib/plugins/authplain/auth.php
Normal file
@ -0,0 +1,481 @@
|
||||
<?php
|
||||
|
||||
use dokuwiki\Logger;
|
||||
use dokuwiki\Utf8\Sort;
|
||||
|
||||
/**
|
||||
* Plaintext authentication backend
|
||||
*
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
* @author Jan Schumann <js@schumann-it.com>
|
||||
*/
|
||||
class auth_plugin_authplain extends DokuWiki_Auth_Plugin
|
||||
{
|
||||
/** @var array user cache */
|
||||
protected $users = null;
|
||||
|
||||
/** @var array filter pattern */
|
||||
protected $pattern = array();
|
||||
|
||||
/** @var bool safe version of preg_split */
|
||||
protected $pregsplit_safe = false;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* Carry out sanity checks to ensure the object is
|
||||
* able to operate. Set capabilities.
|
||||
*
|
||||
* @author Christopher Smith <chris@jalakai.co.uk>
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
global $config_cascade;
|
||||
|
||||
if (!@is_readable($config_cascade['plainauth.users']['default'])) {
|
||||
$this->success = false;
|
||||
} else {
|
||||
if (@is_writable($config_cascade['plainauth.users']['default'])) {
|
||||
$this->cando['addUser'] = true;
|
||||
$this->cando['delUser'] = true;
|
||||
$this->cando['modLogin'] = true;
|
||||
$this->cando['modPass'] = true;
|
||||
$this->cando['modName'] = true;
|
||||
$this->cando['modMail'] = true;
|
||||
$this->cando['modGroups'] = true;
|
||||
}
|
||||
$this->cando['getUsers'] = true;
|
||||
$this->cando['getUserCount'] = true;
|
||||
$this->cando['getGroups'] = true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check user+password
|
||||
*
|
||||
* Checks if the given user exists and the given
|
||||
* plaintext password is correct
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @param string $user
|
||||
* @param string $pass
|
||||
* @return bool
|
||||
*/
|
||||
public function checkPass($user, $pass)
|
||||
{
|
||||
$userinfo = $this->getUserData($user);
|
||||
if ($userinfo === false) return false;
|
||||
|
||||
return auth_verifyPassword($pass, $this->users[$user]['pass']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return user info
|
||||
*
|
||||
* Returns info about the given user needs to contain
|
||||
* at least these fields:
|
||||
*
|
||||
* name string full name of the user
|
||||
* mail string email addres of the user
|
||||
* grps array list of groups the user is in
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @param string $user
|
||||
* @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied
|
||||
* @return array|false
|
||||
*/
|
||||
public function getUserData($user, $requireGroups = true)
|
||||
{
|
||||
if ($this->users === null) $this->loadUserData();
|
||||
return isset($this->users[$user]) ? $this->users[$user] : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a string suitable for saving as a line
|
||||
* in the file database
|
||||
* (delimiters escaped, etc.)
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $pass
|
||||
* @param string $name
|
||||
* @param string $mail
|
||||
* @param array $grps list of groups the user is in
|
||||
* @return string
|
||||
*/
|
||||
protected function createUserLine($user, $pass, $name, $mail, $grps)
|
||||
{
|
||||
$groups = join(',', $grps);
|
||||
$userline = array($user, $pass, $name, $mail, $groups);
|
||||
$userline = str_replace('\\', '\\\\', $userline); // escape \ as \\
|
||||
$userline = str_replace(':', '\\:', $userline); // escape : as \:
|
||||
$userline = join(':', $userline)."\n";
|
||||
return $userline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new User
|
||||
*
|
||||
* Returns false if the user already exists, null when an error
|
||||
* occurred and true if everything went well.
|
||||
*
|
||||
* The new user will be added to the default group by this
|
||||
* function if grps are not specified (default behaviour).
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $pwd
|
||||
* @param string $name
|
||||
* @param string $mail
|
||||
* @param array $grps
|
||||
* @return bool|null|string
|
||||
*/
|
||||
public function createUser($user, $pwd, $name, $mail, $grps = null)
|
||||
{
|
||||
global $conf;
|
||||
global $config_cascade;
|
||||
|
||||
// user mustn't already exist
|
||||
if ($this->getUserData($user) !== false) {
|
||||
msg($this->getLang('userexists'), -1);
|
||||
return false;
|
||||
}
|
||||
|
||||
$pass = auth_cryptPassword($pwd);
|
||||
|
||||
// set default group if no groups specified
|
||||
if (!is_array($grps)) $grps = array($conf['defaultgroup']);
|
||||
|
||||
// prepare user line
|
||||
$userline = $this->createUserLine($user, $pass, $name, $mail, $grps);
|
||||
|
||||
if (!io_saveFile($config_cascade['plainauth.users']['default'], $userline, true)) {
|
||||
msg($this->getLang('writefail'), -1);
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->users[$user] = compact('pass', 'name', 'mail', 'grps');
|
||||
return $pwd;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify user data
|
||||
*
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
* @param string $user nick of the user to be changed
|
||||
* @param array $changes array of field/value pairs to be changed (password will be clear text)
|
||||
* @return bool
|
||||
*/
|
||||
public function modifyUser($user, $changes)
|
||||
{
|
||||
global $ACT;
|
||||
global $config_cascade;
|
||||
|
||||
// sanity checks, user must already exist and there must be something to change
|
||||
if (($userinfo = $this->getUserData($user)) === false) {
|
||||
msg($this->getLang('usernotexists'), -1);
|
||||
return false;
|
||||
}
|
||||
|
||||
// don't modify protected users
|
||||
if (!empty($userinfo['protected'])) {
|
||||
msg(sprintf($this->getLang('protected'), hsc($user)), -1);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!is_array($changes) || !count($changes)) return true;
|
||||
|
||||
// update userinfo with new data, remembering to encrypt any password
|
||||
$newuser = $user;
|
||||
foreach ($changes as $field => $value) {
|
||||
if ($field == 'user') {
|
||||
$newuser = $value;
|
||||
continue;
|
||||
}
|
||||
if ($field == 'pass') $value = auth_cryptPassword($value);
|
||||
$userinfo[$field] = $value;
|
||||
}
|
||||
|
||||
$userline = $this->createUserLine(
|
||||
$newuser,
|
||||
$userinfo['pass'],
|
||||
$userinfo['name'],
|
||||
$userinfo['mail'],
|
||||
$userinfo['grps']
|
||||
);
|
||||
|
||||
if (!io_replaceInFile($config_cascade['plainauth.users']['default'], '/^'.$user.':/', $userline, true)) {
|
||||
msg('There was an error modifying your user data. You may need to register again.', -1);
|
||||
// FIXME, io functions should be fail-safe so existing data isn't lost
|
||||
$ACT = 'register';
|
||||
return false;
|
||||
}
|
||||
|
||||
if(isset($this->users[$user])) unset($this->users[$user]);
|
||||
$this->users[$newuser] = $userinfo;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove one or more users from the list of registered users
|
||||
*
|
||||
* @author Christopher Smith <chris@jalakai.co.uk>
|
||||
* @param array $users array of users to be deleted
|
||||
* @return int the number of users deleted
|
||||
*/
|
||||
public function deleteUsers($users)
|
||||
{
|
||||
global $config_cascade;
|
||||
|
||||
if (!is_array($users) || empty($users)) return 0;
|
||||
|
||||
if ($this->users === null) $this->loadUserData();
|
||||
|
||||
$deleted = array();
|
||||
foreach ($users as $user) {
|
||||
// don't delete protected users
|
||||
if (!empty($this->users[$user]['protected'])) {
|
||||
msg(sprintf($this->getLang('protected'), hsc($user)), -1);
|
||||
continue;
|
||||
}
|
||||
if (isset($this->users[$user])) $deleted[] = preg_quote($user, '/');
|
||||
}
|
||||
|
||||
if (empty($deleted)) return 0;
|
||||
|
||||
$pattern = '/^('.join('|', $deleted).'):/';
|
||||
if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
|
||||
msg($this->getLang('writefail'), -1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// reload the user list and count the difference
|
||||
$count = count($this->users);
|
||||
$this->loadUserData();
|
||||
$count -= count($this->users);
|
||||
return $count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a count of the number of user which meet $filter criteria
|
||||
*
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
*
|
||||
* @param array $filter
|
||||
* @return int
|
||||
*/
|
||||
public function getUserCount($filter = array())
|
||||
{
|
||||
|
||||
if ($this->users === null) $this->loadUserData();
|
||||
|
||||
if (!count($filter)) return count($this->users);
|
||||
|
||||
$count = 0;
|
||||
$this->constructPattern($filter);
|
||||
|
||||
foreach ($this->users as $user => $info) {
|
||||
$count += $this->filter($user, $info);
|
||||
}
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bulk retrieval of user data
|
||||
*
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
*
|
||||
* @param int $start index of first user to be returned
|
||||
* @param int $limit max number of users to be returned
|
||||
* @param array $filter array of field/pattern pairs
|
||||
* @return array userinfo (refer getUserData for internal userinfo details)
|
||||
*/
|
||||
public function retrieveUsers($start = 0, $limit = 0, $filter = array())
|
||||
{
|
||||
|
||||
if ($this->users === null) $this->loadUserData();
|
||||
|
||||
Sort::ksort($this->users);
|
||||
|
||||
$i = 0;
|
||||
$count = 0;
|
||||
$out = array();
|
||||
$this->constructPattern($filter);
|
||||
|
||||
foreach ($this->users as $user => $info) {
|
||||
if ($this->filter($user, $info)) {
|
||||
if ($i >= $start) {
|
||||
$out[$user] = $info;
|
||||
$count++;
|
||||
if (($limit > 0) && ($count >= $limit)) break;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves groups.
|
||||
* Loads complete user data into memory before searching for groups.
|
||||
*
|
||||
* @param int $start index of first group to be returned
|
||||
* @param int $limit max number of groups to be returned
|
||||
* @return array
|
||||
*/
|
||||
public function retrieveGroups($start = 0, $limit = 0)
|
||||
{
|
||||
$groups = [];
|
||||
|
||||
if ($this->users === null) $this->loadUserData();
|
||||
foreach($this->users as $user => $info) {
|
||||
$groups = array_merge($groups, array_diff($info['grps'], $groups));
|
||||
}
|
||||
Sort::ksort($groups);
|
||||
|
||||
if($limit > 0) {
|
||||
return array_splice($groups, $start, $limit);
|
||||
}
|
||||
return array_splice($groups, $start);
|
||||
}
|
||||
|
||||
/**
|
||||
* Only valid pageid's (no namespaces) for usernames
|
||||
*
|
||||
* @param string $user
|
||||
* @return string
|
||||
*/
|
||||
public function cleanUser($user)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
return cleanID(str_replace([':', '/', ';'], $conf['sepchar'], $user));
|
||||
}
|
||||
|
||||
/**
|
||||
* Only valid pageid's (no namespaces) for groupnames
|
||||
*
|
||||
* @param string $group
|
||||
* @return string
|
||||
*/
|
||||
public function cleanGroup($group)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
return cleanID(str_replace([':', '/', ';'], $conf['sepchar'], $group));
|
||||
}
|
||||
|
||||
/**
|
||||
* Load all user data
|
||||
*
|
||||
* loads the user file into a datastructure
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
protected function loadUserData()
|
||||
{
|
||||
global $config_cascade;
|
||||
|
||||
$this->users = $this->readUserFile($config_cascade['plainauth.users']['default']);
|
||||
|
||||
// support protected users
|
||||
if (!empty($config_cascade['plainauth.users']['protected'])) {
|
||||
$protected = $this->readUserFile($config_cascade['plainauth.users']['protected']);
|
||||
foreach (array_keys($protected) as $key) {
|
||||
$protected[$key]['protected'] = true;
|
||||
}
|
||||
$this->users = array_merge($this->users, $protected);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Read user data from given file
|
||||
*
|
||||
* ignores non existing files
|
||||
*
|
||||
* @param string $file the file to load data from
|
||||
* @return array
|
||||
*/
|
||||
protected function readUserFile($file)
|
||||
{
|
||||
$users = array();
|
||||
if (!file_exists($file)) return $users;
|
||||
|
||||
$lines = file($file);
|
||||
foreach ($lines as $line) {
|
||||
$line = preg_replace('/#.*$/', '', $line); //ignore comments
|
||||
$line = trim($line);
|
||||
if (empty($line)) continue;
|
||||
|
||||
$row = $this->splitUserData($line);
|
||||
$row = str_replace('\\:', ':', $row);
|
||||
$row = str_replace('\\\\', '\\', $row);
|
||||
|
||||
$groups = array_values(array_filter(explode(",", $row[4])));
|
||||
|
||||
$users[$row[0]]['pass'] = $row[1];
|
||||
$users[$row[0]]['name'] = urldecode($row[2]);
|
||||
$users[$row[0]]['mail'] = $row[3];
|
||||
$users[$row[0]]['grps'] = $groups;
|
||||
}
|
||||
return $users;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the user line split into it's parts
|
||||
*
|
||||
* @param string $line
|
||||
* @return string[]
|
||||
*/
|
||||
protected function splitUserData($line)
|
||||
{
|
||||
$data = preg_split('/(?<![^\\\\]\\\\)\:/', $line, 5); // allow for : escaped as \:
|
||||
if(count($data) < 5) {
|
||||
$data = array_pad($data, 5, '');
|
||||
Logger::error('User line with less than 5 fields. Possibly corruption in your user file', $data);
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* return true if $user + $info match $filter criteria, false otherwise
|
||||
*
|
||||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
*
|
||||
* @param string $user User login
|
||||
* @param array $info User's userinfo array
|
||||
* @return bool
|
||||
*/
|
||||
protected function filter($user, $info)
|
||||
{
|
||||
foreach ($this->pattern as $item => $pattern) {
|
||||
if ($item == 'user') {
|
||||
if (!preg_match($pattern, $user)) return false;
|
||||
} elseif ($item == 'grps') {
|
||||
if (!count(preg_grep($pattern, $info['grps']))) return false;
|
||||
} else {
|
||||
if (!preg_match($pattern, $info[$item])) return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* construct a filter pattern
|
||||
*
|
||||
* @param array $filter
|
||||
*/
|
||||
protected function constructPattern($filter)
|
||||
{
|
||||
$this->pattern = array();
|
||||
foreach ($filter as $item => $pattern) {
|
||||
$this->pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Die gebruikersnaam wat jy gebruik het, is alreeds gebruik. Kies asseblief \'n ander gebruikersnaam.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'عذرا، يوجد مشترك بنفس الاسم.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Təssüf ki bu ad ilə istifadəçi artıq mövcuddur.';
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Kiril <neohidra@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Вече съществува потребител с избраното име.';
|
||||
$lang['usernotexists'] = 'За съжаление потребителят не съществува.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'দুঃখিত, এই লগইন সঙ্গে একটি ব্যবহারকারী ইতিমধ্যেই বিদ্যমান.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Disculpe, pero ya existix un usuari en este nom.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Ja existeix un altre usuari amb aquest nom.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author qezwan <qezwan@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'ببوورە، بەکارهێنەرێک کە ئەم چوونەژوورەوەی هەیە.';
|
||||
$lang['usernotexists'] = 'ببوورە، ئەم بەکارهێنەرە بوونی نییە.';
|
||||
$lang['writefail'] = 'ناتوانێت دەستکاری داتای بەکارهێنەر بکات. تکایە ویکی-بەڕێوەبەرەکە بکەرەوە';
|
||||
$lang['protected'] = 'داتای بەکارهێنەر %s پارێزراوە و ناتوانرێت دەستکاری بکرێت یان بسڕدرێتەوە.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
|
||||
* @author Daniel Slováček <danslo@danslo.cz>
|
||||
*/
|
||||
$lang['userexists'] = 'Uživatel se stejným jménem už je zaregistrován.';
|
||||
$lang['usernotexists'] = 'Omlouváme se, uživatel tohoto jména neexistuje.';
|
||||
$lang['writefail'] = 'Nelze změnit údaje uživatele. Informujte prosím správce wiki';
|
||||
$lang['protected'] = 'Data pro uživatele %s jsou chráněna a nemůžou být upravena nebo smazána.';
|
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Sori, mae defnyddiwr gyda\'r enw hwnnw eisoes yn bodoli.';
|
||||
$lang['usernotexists'] = 'Sori, \'dyw\'r defnyddiwr hwnnw ddim yn bodoli.';
|
||||
$lang['writefail'] = 'Methu â newid data defnyddiwr. Rhowch wybod i Weinydd y Wici';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Jacob Palm <mail@jacobpalm.dk>
|
||||
* @author Kenneth Schack Banner <kescba@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Dette brugernavn er allerede i brug.';
|
||||
$lang['usernotexists'] = 'Beklager, brugeren eksisterer ikke.';
|
||||
$lang['writefail'] = 'Ude af stand til at redigere bruger data. Kontakt venligst Wiki-Administratoren';
|
||||
$lang['protected'] = 'Data for brugeren %s er beskyttet, og kan ikke ændres eller slettes.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author rnck <dokuwiki@rnck.de>
|
||||
*/
|
||||
$lang['userexists'] = 'Der Benutzername existiert leider schon.';
|
||||
$lang['usernotexists'] = 'Entschuldigung, dieser Nutzer existiert nicht.';
|
||||
$lang['writefail'] = 'Konnte Nutzer-Daten nicht modifizieren. Bitte informiere einen Admin.';
|
||||
$lang['protected'] = 'Die Daten für den Nutzer %s sind geschützt und können nicht verändert oder gelöscht werden.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
* @author Carsten Perthel <carsten@cpesoft.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Der Benutzername existiert leider schon.';
|
||||
$lang['usernotexists'] = 'Dieser Benutzer existiert nicht.';
|
||||
$lang['writefail'] = 'Kann Benutzerdaten nicht ändern. Bitte informieren Sie den Wiki-Administratoren';
|
||||
$lang['protected'] = 'Die Daten des Benutzers %s sind geschützt und können nicht verändert oder gelöscht werden.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Katerina Katapodi <extragold1234@hotmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Αυτός ο λογαριασμός υπάρχει ήδη.';
|
||||
$lang['usernotexists'] = 'Λυπάμαι, αυτός ο χρήστης δεν υπάρχει.';
|
||||
$lang['writefail'] = 'Δεν μπόρεσε να τροποποιήσει τα δεδομένα χρήστη. Παρακαλώ ενημερώστε το Wiki-Admin';
|
||||
$lang['protected'] = ' Τα δεδομένα χρήστη %s είναι εμπιστευτικά και δεν μπορούν να τροποποιηθούν ή απαλειφθούν.';
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Sorry, a user with this login already exists.';
|
||||
$lang['usernotexists'] = 'Sorry, that user doesn\'t exist.';
|
||||
$lang['writefail'] = 'Unable to modify user data. Please inform the Wiki-Admin';
|
||||
$lang['protected'] = 'Data for user %s is protected and can not be modified or deleted.';
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Pardonu, ĉi tiu uzanto-nomo jam ekzistas.';
|
||||
$lang['usernotexists'] = 'Pardonu, tiu uzanto ne ekzistas.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Domingo Redal <docxml@gmail.com>
|
||||
* @author Enny Rodriguez <aquilez.4@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Lo siento, ya existe un usuario con este nombre.';
|
||||
$lang['usernotexists'] = 'Lo sentimos, no existe ese usuario.';
|
||||
$lang['writefail'] = 'No es posible modificar los datos del usuario. Por favor, informa al Administrador del Wiki';
|
||||
$lang['protected'] = 'Los datos del usuario %s están protegidos y no pueden ser modificados o eliminados.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Tegelikult on sellise nimega kasutaja juba olemas.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Barkatu, izen bereko erabiltzailea existitzen da.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>
|
||||
* @author sam01 <m.sajad079@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'نام کاربریای که وارد کردید قبلن استفاده شده است. خواهشمندیم یک نام دیگر انتخاب کنید.';
|
||||
$lang['usernotexists'] = 'متاسفانه این کاربر وجود ندارد.';
|
||||
$lang['writefail'] = 'امکان ویرایش اطلاعات کاربر وجود ندارد. لطفا ادمین ویکی را مطلع نمایید.';
|
||||
$lang['protected'] = 'دادهها برای کاربر %s محافظت شده و قابل تغییر نیست یا حذف شده اند.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Käyttäjä tällä käyttäjänimellä on jo olemassa.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Hetta brúkaranavn er upptiki.';
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Carbain Frédéric <fcarbain@yahoo.fr>
|
||||
* @author Nicolas Friedli <nicolas@theologique.ch>
|
||||
* @author Schplurtz le Déboulonné <Schplurtz@laposte.net>
|
||||
*/
|
||||
$lang['userexists'] = 'Désolé, ce nom d\'utilisateur est déjà pris.';
|
||||
$lang['usernotexists'] = 'Désolé, cet utilisateur n\'existe pas.';
|
||||
$lang['writefail'] = 'Impossible de modifier les données utilisateur. Merci d\'en informer l\'administrateur du wiki.';
|
||||
$lang['protected'] = 'Les données du compte d\'utilisateur %s sont protégées et ne peuvent être ni modifiées ni supprimées.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Sentímolo, mais xa existe un usuario con ese nome.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'משתמש בשם זה כבר נרשם, עמך הסליחה.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Davor Turkalj <turki.bsc@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Korisnik s tim korisničkim imenom već postoji.';
|
||||
$lang['usernotexists'] = 'Nažalost korisnik ne postoji';
|
||||
$lang['writefail'] = 'Ne mogu izmijeniti korisničke podatke. Molim obavijestite svog Wiki administratora';
|
||||
$lang['protected'] = 'Podaci za korisnika %s su zaštićeni i ne mogu biti izmijenjeni ili obrisani.';
|
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Marton Sebok <sebokmarton@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Sajnáljuk, ilyen azonosítójú felhasználónk már van.';
|
||||
$lang['usernotexists'] = 'Sajnos ez a felhasználó nem létezik.';
|
||||
$lang['writefail'] = 'A felhasználói adatok módosítása sikertelen. Kérlek, fordulj a wiki rendszergazdájához!';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Regrettabilemente, un usator con iste nomine ja existe.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Bologö dödöu, no so zangoguna\'ö töi da\'a.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Maaf, user dengan user login ini telah ada.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Afsakið, notandi með þessu nafni er þegar skráður inn.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Torpedo <dgtorpedo@gmail.com>
|
||||
* @author Riccardo <riccardofila@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Il nome utente inserito esiste già.';
|
||||
$lang['usernotexists'] = 'Spiacente, quell\'utente non esiste.';
|
||||
$lang['writefail'] = 'Impossibile modificare i dati utente. Per favore informa l\'Amministratore del Wiki';
|
||||
$lang['protected'] = 'I dati relativi all\'utente %s sono protetti e non possono essere modificati o cancellati.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author HokkaidoPerson <dosankomali@yahoo.co.jp>
|
||||
* @author Hideaki SAWADA <chuno@live.jp>
|
||||
*/
|
||||
$lang['userexists'] = '恐れ入りますが、このユーザー名は既に存在しています。';
|
||||
$lang['usernotexists'] = '恐れ入りますが、このユーザーは未登録です。';
|
||||
$lang['writefail'] = 'ユーザーデータを変更できません。管理者に問い合わせてください。';
|
||||
$lang['protected'] = 'ユーザ %s のデータは保護されており、変更・削除はできません。';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'მსგავსი ლოგინი უკვე არსებობს';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Кешіріңіз, бұл түпнұскамен де пайдаланушы бар.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'សុំអាទោស នាមប្រើនេះមានរួចហើ។';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Myeongjin <aranet100@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = '죄송하지만 같은 이름을 사용하는 사용자가 있습니다.';
|
||||
$lang['usernotexists'] = '죄송하지만 해당 사용자가 존재하지 않습니다.';
|
||||
$lang['writefail'] = '사용자 데이터를 수정할 수 없습니다. 위키 관리자에게 문의하시기 바랍니다';
|
||||
$lang['protected'] = '%s 사용자의 데이터는 잠겨 있어 수정하거나 삭제할 수 없습니다.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Sorry, a user with this login already exists.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Nomen Sodalis ab aliquo iam elegitur.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Et get schonn e Benotzer mat deem Numm.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Vartotojas su pasirinktu prisijungimo vardu jau egzistuoja.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Atvaino, tāds lietotājs jau ir.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Indrisy fa efa nisy namandrika io anarana io.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Жалам, корисник со ова корисничко име веќе постои.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'या नावाने सदस्याची नोंदणी झालेली आहे, कृपया दुसरे सदस्य नाव निवडा.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Maaf, nama pengguna yang dimasukkan telah diguna. Sila pilih nama yang lain.';
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'यो नामको प्रयोगकर्ता पहिले देखि रहेको छ।';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Hugo Smet <hugo.smet@scarlet.be>
|
||||
* @author Sjoerd <sjoerd@sjomar.eu>
|
||||
*/
|
||||
$lang['userexists'] = 'Er bestaat al een gebruiker met deze loginnaam.';
|
||||
$lang['usernotexists'] = 'Sorry, deze gebruiker bestaat niet.';
|
||||
$lang['writefail'] = 'Onmogelijk om de gebruikers data te wijzigen. Gelieve de Wiki-Admin te informeren.';
|
||||
$lang['protected'] = 'Gegevens van gebruiker %s zijn beschermd en kunnen niet worden veranderd of verwijderd';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Arne Hanssen <arne.hanssen@getmail.no>
|
||||
*/
|
||||
$lang['userexists'] = 'Det finnes allerede en konto med dette brukernavnet.';
|
||||
$lang['usernotexists'] = 'Beklager, denne bruker fins ikke.';
|
||||
$lang['writefail'] = 'Klarte ikke endre brukerdata. Dette bør meldes til wikiens administrator';
|
||||
$lang['protected'] = 'Data for bruker %s er beskyttet og kan ikke endres eller slettes.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Max <maxrb146@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Użytkownik o tej nazwie już istnieje.';
|
||||
$lang['usernotexists'] = 'Przepraszamy, użytkownik nie istnieje';
|
||||
$lang['writefail'] = 'Nie można modyfikować danych użytkownika. Proszę skontaktować się z administratorem ';
|
||||
$lang['protected'] = 'Dane użytkownika %s są chronione, nie mogą być modyfikowane oraz usuwane';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Frederico Gonçalves Guimarães <frederico@teia.bio.br>
|
||||
* @author Felipe Castro <fefcas@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Desculpe, mas já existe um usuário com esse nome.';
|
||||
$lang['usernotexists'] = 'Desculpe, mas esse usuário não existe.';
|
||||
$lang['writefail'] = 'Não foi possível modificar os dados do usuário. Por favor, informe ao administrador do Wiki.';
|
||||
$lang['protected'] = 'Dados para o usuário %s estão protegidos e não podem ser modificados ou apagados.';
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Paulo Schopf <pschopf@gmail.com>
|
||||
* @author Paulo Carmino <contato@paulocarmino.com>
|
||||
* @author Guilherme Sá <guilherme.sa@hotmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Este nome de usuário já existe. Escolha outro.';
|
||||
$lang['usernotexists'] = 'Desculpe, esse usuário não existe.';
|
||||
$lang['writefail'] = 'Não foi possível modificar dados do usuário. Favor informar ao Wiki-Admin.';
|
||||
$lang['protected'] = 'Os dados do usuário %s estão protegidos e não podem ser modificados ou excluídos.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Ne pare rău, un utilizator cu acest nume este deja autentificat.';
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author RainbowSpike <1@2.ru>
|
||||
* @author Aleksandr Selivanov <alexgearbox@yandex.ru>
|
||||
* @author Radimir <radimir.shevchenko@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Извините, пользователь с таким логином уже существует.';
|
||||
$lang['usernotexists'] = 'Этот пользователь не зарегистрирован.';
|
||||
$lang['writefail'] = 'Невозможно обновить данные пользователя. Свяжитесь с администратором вики';
|
||||
$lang['protected'] = 'Данные пользователя %s защищены и не могут быть изменены или удалены.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Martin Michalek <michalek.dev@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Užívateľ s rovnakým menom je už zaregistrovaný.';
|
||||
$lang['usernotexists'] = 'Ľutujem, daný používateľ neexistuje.';
|
||||
$lang['writefail'] = 'Nie je možné zmeniť údaje používateľa, informujte prosím administrátora Wiki.';
|
||||
$lang['protected'] = 'Údaje používateľa %s sú chránené a nemôžu by zmenené alebo vymazané.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Uporabnik s tem imenom že obstaja.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Na vjen keq, ekziston një përdorues tjetër me të njëjtin emër.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Извините, корисник са истим именом већ постоји.';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Patrik K Lundberg <patrik.kotiranta.lundberg@gmail.com>
|
||||
* @author Tor Härnqvist <tor@harnqvist.se>
|
||||
*/
|
||||
$lang['userexists'] = 'Det finns redan en användare med det användarnamnet.';
|
||||
$lang['usernotexists'] = 'Tyvärr, den användaren existerar inte.';
|
||||
$lang['writefail'] = 'Kunde inte ändra användardata. Var god informera Wiki-administratören';
|
||||
$lang['protected'] = 'Datan för användare %s är skyddad och kan inte modifieras eller raderas.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'ชื่อบัญชีที่ใส่นั้นมีผู้อื่นได้ใช้แล้ว กรุณาเลือกชื่อผู้ใช้อื่น';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = 'Üzgünüz, bu isime sahip bir kullanıcı zaten mevcut.';
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Nina Zolotova <nina-z@i.ua>
|
||||
*/
|
||||
$lang['userexists'] = 'Користувач з таким іменем вже існує.';
|
||||
$lang['usernotexists'] = 'Вибачте, такого користувача не існує.';
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author Thien Hau <thienhau.9a14@gmail.com>
|
||||
*/
|
||||
$lang['userexists'] = 'Xin lỗi, thành viên có thông tin đăng nhập này đã tồn tại.';
|
||||
$lang['usernotexists'] = 'Xin lỗi, thành viên đó không tồn tại.';
|
||||
$lang['writefail'] = 'Không thể sửa đổi dữ liệu thành viên. Vui lòng thông báo cho Quản trị viên Wiki';
|
||||
$lang['protected'] = 'Dữ liệu cho thành viên %s được bảo vệ và không thể sửa đổi hoặc xóa.';
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
*/
|
||||
$lang['userexists'] = '很抱歉,有人已使用了這個帳號。';
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*
|
||||
* @author lainme <lainme993@gmail.com>
|
||||
* @author tai <tai_tang@126.com>
|
||||
*/
|
||||
$lang['userexists'] = '对不起,该用户名已经存在。';
|
||||
$lang['usernotexists'] = '抱歉,该用户不存在';
|
||||
$lang['writefail'] = '无法修改用户数据。请联系维基管理员';
|
||||
$lang['protected'] = '用户 %s 的数据被保护和无法被编辑或删除。';
|
@ -0,0 +1,7 @@
|
||||
base authplain
|
||||
author Andreas Gohr
|
||||
email andi@splitbrain.org
|
||||
date 2015-07-18
|
||||
name Plain Auth Plugin
|
||||
desc Provides user authentication against DokuWiki's local password storage
|
||||
url http://www.dokuwiki.org/plugin:authplain
|
Reference in New Issue
Block a user