Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2248

Přidáno uživatelem Ondřej Fibich před asi 11 roky(ů)

freenetis_1.1.0~beta3

Upravy:
- nastaveni poctu zobrazene uz. posty v tabulce

Opravy:
- velikost buttonku pokud je <input type="submit" ..>, mimo formulare (v gridech, ..)

Zobrazit rozdíly:

freenetis/branches/1.1/application/controllers/mail.php
$this->user_id
);
if (is_numeric($this->input->post('record_per_page')))
{
$limit_results = (int) $this->input->post('record_per_page');
}
if (($sql_offset = ($page - 1) * $limit_results) > $total_messages)
{
$sql_offset = 0;
}
// finds all user's inbox messages
$messages = $mail_message_model->get_all_inbox_messages_by_user_id(
......
$grid = new Grid('mail/inbox', '', array
(
'use_paginator' => true,
'use_selector' => false,
'use_selector' => true,
'total_items' => $total_messages,
'current' => $limit_results,
'selector_increace' => 500,
'selector_min' => 500,
'selector_max_multiplier' => 20,
'base_url' => Config::get('lang') . '/mail/inbox/'
. $limit_results,
'uri_segment' => 'page',
......
$grid->datasource($messages);
// form is post
if ($_POST && count($_POST))
if ($_POST && count($_POST) && isset($_POST['operation']))
{
$operation = $_POST['operation'];
$user_id = $this->session->get('user_id');
......
$this->session->get('user_id')
);
if (is_numeric($this->input->post('record_per_page')))
{
$limit_results = (int) $this->input->post('record_per_page');
}
if (($sql_offset = ($page - 1) * $limit_results) > $total_messages)
{
$sql_offset = 0;
}
// finds all user's sent messages
$messages = $mail_message_model->get_all_sent_messages_by_user_id(
......
$grid = new Grid('mail/sent', '', array
(
'use_paginator' => true,
'use_selector' => false,
'use_selector' => true,
'total_items' => $total_messages,
'current' => $limit_results,
'selector_increace' => 500,
'selector_min' => 500,
'selector_max_multiplier' => 20,
'base_url' => Config::get('lang').'/mail/sent/'
. $limit_results,
'uri_segment' => 'page',
......
$grid->datasource($messages);
// form is post
if ($_POST && count($_POST))
if ($_POST && count($_POST) && isset($_POST['operation']))
{
$operation = $_POST['operation'];
$user_id = $this->session->get('user_id');
freenetis/branches/1.1/media/css/forms.css
width:194px;
padding:2px;
}
input[type="submit"] {
width:auto;
}
textarea {
width:330px;
padding:2px;
freenetis/branches/1.1/version.php
* The current version of FreenetIS.
* This value must be changed by developers in a new release of FreenetIS.
*/
define('FREENETIS_VERSION', '1.1.0~beta2');
define('FREENETIS_VERSION', '1.1.0~beta3');

Také k dispozici: Unified diff