mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-09 11:38:07 +03:00
Issue #60
This commit is contained in:
parent
d50e89ec69
commit
2cbdd09ec0
|
@ -523,7 +523,7 @@ class ActionSettings extends Action {
|
|||
/**
|
||||
* Проверяем имя
|
||||
*/
|
||||
if (func_check(getRequest('profile_name'),'text',2,20)) {
|
||||
if (func_check(getRequest('profile_name'),'text',2,Config::Get('module.user.name_max'))) {
|
||||
$this->oUserCurrent->setProfileName(getRequest('profile_name'));
|
||||
} else {
|
||||
$this->oUserCurrent->setProfileName(null);
|
||||
|
|
|
@ -200,6 +200,7 @@ $config['module']['user']['usernote_text_max'] = 250; // Максималь
|
|||
$config['module']['user']['usernote_per_page'] = 20; // Число заметок на одну страницу
|
||||
$config['module']['user']['userfield_max_identical'] = 2; // Максимальное число контактов одного типа
|
||||
$config['module']['user']['profile_photo_width'] = 250; // ширина квадрата фотографии в профиле, px
|
||||
$config['module']['user']['name_max'] = 30; // максимальная длинна имени в профиле пользователя
|
||||
// Модуль Comment
|
||||
$config['module']['comment']['per_page'] = 20; // Число комментариев на одну страницу(это касается только полного списка комментариев прямого эфира)
|
||||
$config['module']['comment']['bad'] = -5; // Рейтинг комментария, начиная с которого он будет скрыт
|
||||
|
|
Loading…
Reference in a new issue