Revize 534
Přidáno uživatelem Jiří Sviták před asi 15 roky(ů)
freenetis/trunk/kohana/application/controllers/members.php | ||
---|---|---|
$sql_offset = 0;
|
||
$query = $model_members->get_all_members($sql_offset, (int)$limit_results, $order_by, $order_by_direction, $filter->values());
|
||
|
||
if ($total_members == 1)
|
||
url::redirect(url_lang::base().'members/show/'.$query->current()->id);
|
||
|
||
// it creates grid to view all members
|
||
$headline = url_lang::lang('texts.List of all members');
|
||
$grid = new Grid(url_lang::base().'members', $headline, array(
|
freenetis/trunk/kohana/application/controllers/users.php | ||
---|---|---|
|
||
$query = $model_users->get_all_users($sql_offset, (int)$limit_results, $order_by, $order_by_direction, $filter->values());
|
||
|
||
if ($total_users == 1)
|
||
url::redirect(url_lang::base().'users/show/'.$query->current()->id);
|
||
|
||
$arr_gets = array();
|
||
foreach ($this->input->get() as $key=>$value) $arr_gets[] = $key.'='.$value;
|
||
$query_string = '?'.implode('&',$arr_gets);
|
Také k dispozici: Unified diff
Oprava hloupe chyby - po instalaci neslo pridavat nove cleny. Bylo tam pravidlo, ze kdyz je vysledkem filtrovani jeden clen, tak se skoci primo na jeho profil. Po instalaci proto nebylo mozne videt tlacitko "Pridat noveho clena".