Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c478920d

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

Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..

Zobrazit rozdíly:

application/controllers/sms.php
$form->dateselect('stamp')
->label(__('Date') . ':');
$form->textarea('sms_text')
->label('Text')
$form->textarea('text')
->rules('length[1,760]|required')
->style('width: 530px; height: 150px');
$form->input('counter')
->style('width:530px;')
->label('<span></span>'); //use empty span element to prevent adding ":" after empty label
->style('width:530px;');
$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['sms_text']);
$sms->text = text::cs_utf2ascii($form_data['text']);
$sms->sender = $form_data['sender_number'];
$sms->receiver = $phone;
$sms->driver = $form_data['sms_driver'];

Také k dispozici: Unified diff