diff --git a/mod/message.php b/mod/message.php index 734bf3471..8c4151542 100644 --- a/mod/message.php +++ b/mod/message.php @@ -2,6 +2,7 @@ require_once('include/acl_selectors.php'); require_once('include/message.php'); +require_once('include/Smilies.php'); function message_init(&$a) { @@ -460,13 +461,13 @@ function message_content(&$a) { if($a->theme['template_engine'] === 'internal') { $from_name_e = template_escape($message['from-name']); $subject_e = template_escape($message['title']); - $body_e = template_escape(smilies(bbcode($message['body']))); + $body_e = template_escape(Smilies::replace(bbcode($message['body']))); $to_name_e = template_escape($message['name']); } else { $from_name_e = $message['from-name']; $subject_e = $message['title']; - $body_e = smilies(bbcode($message['body'])); + $body_e = Smilies::replace(bbcode($message['body'])); $to_name_e = $message['name']; } diff --git a/view/theme/vier/mobile.css b/view/theme/vier/mobile.css index b67dc5f77..469146ad4 100644 --- a/view/theme/vier/mobile.css +++ b/view/theme/vier/mobile.css @@ -1,4 +1,4 @@ -aside, header, #nav-events-link, #search-box, #nav-admin-link, #activitiy-by-date-tab, #shared-links-tab, +aside, header, #nav-events-link, #nav-search-box, #nav-admin-link, #activitiy-by-date-tab, #shared-links-tab, .wall-item-location { display: none; } @@ -277,4 +277,4 @@ select:focus { } .type-link > a { height: 120px; width: 100%; overflow: hidden; display: block; } -.type-link > a > img { display: block; max-width: 100%!important; width: 100% !important; height: auto !important; } \ No newline at end of file +.type-link > a > img { display: block; max-width: 100%!important; width: 100% !important; height: auto !important; }