Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 74a7dbca

Přidáno uživatelem Michal Kliment před více než 9 roky(ů)

Merge from SVN branch 1.2.

Zobrazit rozdíly:

application/controllers/sms.php
$form->dateselect('stamp')
->label(__('Date') . ':');
$form->textarea('text')
$form->textarea('sms_text')
->label('Text')
->rules('length[1,760]|required')
->style('width: 530px; height: 150px');
$form->input('counter')
->style('width:530px;');
->style('width:530px;')
->label('<span></span>'); //use empty span element to prevent adding ":" after empty label
$form->hidden('s_id')
->value($sms_id);
......
$sms->sms_message_id = $form_data['s_id'];
$sms->stamp = date('Y-m-d H:i:s', time());
$sms->send_date = date('Y-m-d H:i:s', $form_data['stamp']);
$sms->text = text::cs_utf2ascii($form_data['text']);
$sms->text = text::cs_utf2ascii($form_data['sms_text']);
$sms->sender = $form_data['sender_number'];
$sms->receiver = $phone;
$sms->driver = $form_data['sms_driver'];

Také k dispozici: Unified diff