Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic committed Jul 20, 2024
1 parent 344accb commit e367153
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/snippets/FormLister/core/FormLister.abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function __construct(DocumentParser $modx, $cfg = [])
}
$this->lexicon = new Lexicon($modx, [
'langDir' => 'assets/snippets/FormLister/core/lang/',
'lang' => $this->getCFGDef('lang', $this->modx->getConfig('lang_code')),
'lang' => $this->getCFGDef('lang', $this->modx->getLocale()),
'handler' => $this->getCFGDef('lexiconHandler', '\\Helpers\\Lexicon\\EvoBabelLexiconHandler')
]);
$this->lexicon->fromFile('csrf');
Expand Down
2 changes: 1 addition & 1 deletion install/assets/plugins/userHelper.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* addition to FormLister
*
* @category plugin
* @version 1.21.0
* @version 1.21.1
* @internal @properties &model=Model;text; &logoutKey=Request key;text;logout &cookieName=Cookie Name;text;WebLoginPE &cookieLifetime=Cookie Lifetime, seconds;text;157680000 &maxFails=Max failed logins;text;3 &blockTime=Block for, seconds;text;3600 &trackWebUserActivity=Track web user activity;list;No,Yes;No
* @internal @events OnWebAuthentication,OnWebPageInit,OnPageNotFound,OnWebLogin,OnWebSaveUser,OnUserAuthentication,OnUserLogin,OnUserSave
* @internal @modx_category Content
Expand Down
2 changes: 1 addition & 1 deletion install/assets/snippets/FormLister.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Form processor
*
* @category snippet
* @version 1.21.0
* @version 1.21.1
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL)
* @internal @modx_category Content
* @internal @installset base, sample
Expand Down

0 comments on commit e367153

Please sign in to comment.