mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
This commit is contained in:
commit
45e60cb52a
@ -524,6 +524,14 @@ class Poche
|
||||
$longlastingsession = isset($_POST['longlastingsession']);
|
||||
$passwordTest = ($isauthenticated) ? $user['password'] : Tools::encodeString($password . $login);
|
||||
Session::login($user['username'], $user['password'], $login, $passwordTest, $longlastingsession, array('poche_user' => new User($user)));
|
||||
|
||||
# reload l10n
|
||||
$language = $user['config']['language'];
|
||||
@putenv('LC_ALL=' . $language);
|
||||
setlocale(LC_ALL, $language);
|
||||
bindtextdomain($language, LOCALE);
|
||||
textdomain($language);
|
||||
|
||||
$this->messages->add('s', _('welcome to your wallabag'));
|
||||
Tools::logm('login successful');
|
||||
Tools::redirect($referer);
|
||||
|
@ -59,7 +59,7 @@
|
||||
@define ('LOCALE', ROOT . '/locale');
|
||||
@define ('CACHE', ROOT . '/cache');
|
||||
|
||||
@define ('PAGINATION', '10');
|
||||
@define ('PAGINATION', '12');
|
||||
|
||||
//limit for download of articles during import
|
||||
@define ('IMPORT_LIMIT', 5);
|
||||
|
@ -4,7 +4,7 @@
|
||||
{% trans "Save a link" %}</h2>
|
||||
<input type="hidden" name="autoclose" value="1" />
|
||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||
<span id="add-link-result"></span>
|
||||
<input type="submit" value="{% trans "save link!" %}" />
|
||||
<div id="add-link-result"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -630,7 +630,7 @@ a.add-to-wallabag-link-after:after {
|
||||
|
||||
#add-link-result {
|
||||
font-weight: bold;
|
||||
margin-top: 10px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user