Revize 2483
Přidáno uživatelem Ondřej Fibich před více než 9 roky(ů)
freenetis/trunk/application/controllers/messages.php | ||
---|---|---|
if (module::e('sms') &&
|
||
Message_Model::has_sms_content($message->type))
|
||
{
|
||
$sms_text = trim(text::cs_utf2ascii(strip_tags($form_data['sms_text'])));
|
||
$sms_text = trim(text::cs_utf2ascii($form_data['sms_text']));
|
||
$message->sms_text = empty($sms_text) ? NULL : $sms_text;
|
||
}
|
||
|
||
... | ... | |
Message_Model::has_sms_content($message->type))
|
||
{
|
||
// sms text
|
||
$sms_text = trim(text::cs_utf2ascii(strip_tags($form_data['sms_text'])));
|
||
$sms_text = trim(text::cs_utf2ascii($form_data['sms_text']));
|
||
// set var
|
||
$message->sms_text = empty($sms_text) ? NULL : $sms_text;
|
||
}
|
freenetis/trunk/application/views/messages/show.php | ||
---|---|---|
<?php if (module::e('sms') && $message->sms_text): ?>
|
||
<tr>
|
||
<th><?php echo __('Content of the message for SMS') ?></th>
|
||
<td class="notification_message_content"><?php echo $message->sms_text ?></td>
|
||
<td class="notification_message_content"><?php echo html::specialchars($message->sms_text) ?></td>
|
||
</tr>
|
||
<?php endif ?>
|
||
</table>
|
Také k dispozici: Unified diff
Opravy: fixes #1009: Znak < v SMS zprave pro upozorneni (merge z 1.2)