Revize 2256
Přidáno uživatelem Ondřej Fibich před asi 11 roky(ů)
freenetis/branches/1.1/application/controllers/members.php | ||
---|---|---|
|
||
$total_ips = $ip_model->count_ips_and_redirections_of_member($member_id);
|
||
|
||
// get new selector
|
||
if (is_numeric($this->input->post('record_per_page')))
|
||
$limit_results = (int) $this->input->post('record_per_page');
|
||
|
||
// limit check
|
||
if (($sql_offset = ($page - 1) * $limit_results) > $total_ips)
|
||
$sql_offset = 0;
|
||
... | ... | |
'order_by_direction' => $order_by_direction,
|
||
'limit_results' => $limit_results,
|
||
'variables' => $member_id . '/',
|
||
'url_array_ofset' => 1,
|
||
'query_string' => $this->input->get(),
|
||
'url_array_ofset' => 1
|
||
));
|
||
|
||
if ($this->acl_check_new('Redirect_Controller', 'redirect') &&
|
freenetis/branches/1.1/application/libraries/grid/Order_field.php | ||
---|---|---|
}
|
||
|
||
$pre_url = $url_array[1] . '/' . $url_array[2] . '/' . $variables;
|
||
$pre_url .= ( $this->use_selector) ? $url_array[3 + $url_array_ofset] . '/' : '';
|
||
|
||
if ($this->use_paginator)
|
||
{
|
||
$pre_url .= $url_array[3 + $url_array_ofset] . '/';
|
||
}
|
||
|
||
if ($new_order_by == $order_by)
|
||
{
|
||
$order_by_direction = strtoupper($order_by_direction) == 'ASC' ? 'DESC' : 'ASC';
|
Také k dispozici: Unified diff
Opravy:
- fixes #828: Razeni v tabulce IP adres clena nefunguje