[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication
This commit is contained in:
13
data/web/inc/lib/vendor/illuminate/contracts/Translation/HasLocalePreference.php
vendored
Normal file
13
data/web/inc/lib/vendor/illuminate/contracts/Translation/HasLocalePreference.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Translation;
|
||||
|
||||
interface HasLocalePreference
|
||||
{
|
||||
/**
|
||||
* Get the preferred locale of the entity.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function preferredLocale();
|
||||
}
|
40
data/web/inc/lib/vendor/illuminate/contracts/Translation/Loader.php
vendored
Executable file
40
data/web/inc/lib/vendor/illuminate/contracts/Translation/Loader.php
vendored
Executable file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Translation;
|
||||
|
||||
interface Loader
|
||||
{
|
||||
/**
|
||||
* Load the messages for the given locale.
|
||||
*
|
||||
* @param string $locale
|
||||
* @param string $group
|
||||
* @param string|null $namespace
|
||||
* @return array
|
||||
*/
|
||||
public function load($locale, $group, $namespace = null);
|
||||
|
||||
/**
|
||||
* Add a new namespace to the loader.
|
||||
*
|
||||
* @param string $namespace
|
||||
* @param string $hint
|
||||
* @return void
|
||||
*/
|
||||
public function addNamespace($namespace, $hint);
|
||||
|
||||
/**
|
||||
* Add a new JSON path to the loader.
|
||||
*
|
||||
* @param string $path
|
||||
* @return void
|
||||
*/
|
||||
public function addJsonPath($path);
|
||||
|
||||
/**
|
||||
* Get an array of all the registered namespaces.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function namespaces();
|
||||
}
|
42
data/web/inc/lib/vendor/illuminate/contracts/Translation/Translator.php
vendored
Normal file
42
data/web/inc/lib/vendor/illuminate/contracts/Translation/Translator.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Translation;
|
||||
|
||||
interface Translator
|
||||
{
|
||||
/**
|
||||
* Get the translation for a given key.
|
||||
*
|
||||
* @param string $key
|
||||
* @param array $replace
|
||||
* @param string|null $locale
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($key, array $replace = [], $locale = null);
|
||||
|
||||
/**
|
||||
* Get a translation according to an integer value.
|
||||
*
|
||||
* @param string $key
|
||||
* @param \Countable|int|array $number
|
||||
* @param array $replace
|
||||
* @param string|null $locale
|
||||
* @return string
|
||||
*/
|
||||
public function choice($key, $number, array $replace = [], $locale = null);
|
||||
|
||||
/**
|
||||
* Get the default locale being used.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLocale();
|
||||
|
||||
/**
|
||||
* Set the default locale.
|
||||
*
|
||||
* @param string $locale
|
||||
* @return void
|
||||
*/
|
||||
public function setLocale($locale);
|
||||
}
|
Reference in New Issue
Block a user