1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-28 20:45:00 +03:00

Исправление опечаток в комментариях к коду

This commit is contained in:
Gran 2014-10-30 20:52:20 +03:00
parent 12cf29605b
commit 2ca6aa839f

View file

@ -100,7 +100,7 @@ class ActionPeople extends Action
$iPage = 1; $iPage = 1;
} }
/** /**
* Получаем из реквеста первые быквы для поиска пользователей по логину * Получаем из реквеста первые буквы для поиска пользователей по логину
*/ */
$sTitle = getRequest('sText'); $sTitle = getRequest('sText');
if (is_string($sTitle) and mb_strlen($sTitle, 'utf-8')) { if (is_string($sTitle) and mb_strlen($sTitle, 'utf-8')) {
@ -109,7 +109,7 @@ class ActionPeople extends Action
$sTitle = ''; $sTitle = '';
} }
/** /**
* Как именно искать: совпадение в любой частилогина, или только начало или конец логина * Как именно искать: совпадение в любой части логина, или только начало или конец логина
*/ */
if ($sTitle) { if ($sTitle) {
if (getRequest('isPrefix')) { if (getRequest('isPrefix')) {
@ -183,7 +183,7 @@ class ActionPeople extends Action
*/ */
$iPage = $this->GetParamEventMatch(1, 2) ? $this->GetParamEventMatch(1, 2) : 1; $iPage = $this->GetParamEventMatch(1, 2) ? $this->GetParamEventMatch(1, 2) : 1;
/** /**
* Получаем список вязей пользователей со страной * Получаем список связей пользователей со страной
*/ */
$aResult = $this->Geo_GetTargets(array('country_id' => $oCountry->getId(), 'target_type' => 'user'), $iPage, $aResult = $this->Geo_GetTargets(array('country_id' => $oCountry->getId(), 'target_type' => 'user'), $iPage,
Config::Get('module.user.per_page')); Config::Get('module.user.per_page'));
@ -317,4 +317,4 @@ class ActionPeople extends Action
$this->Viewer_Assign('sMenuHeadItemSelect', $this->sMenuHeadItemSelect); $this->Viewer_Assign('sMenuHeadItemSelect', $this->sMenuHeadItemSelect);
$this->Viewer_Assign('sMenuItemSelect', $this->sMenuItemSelect); $this->Viewer_Assign('sMenuItemSelect', $this->sMenuItemSelect);
} }
} }