', $context['forum_name'], '
', strip_tags($category['name']), '
', $context['name'], '
', $txt[139], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
', $topic['first_post']['subject'], ' - ', $topic['first_post']['member']['name'], '
', $txt[139], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
', $context['subject'], '
', $txt[139], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
', $message['member']['name'], ':
', $wireless_message, '
', $txt[139], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
'; } function template_wap_login() { global $context, $settings, $options, $scripturl, $txt; echo '', $context['login_error'], '
'; echo '', $txt[35], ':
', $txt[36], ':
', $_REQUEST['action'] == 'unread' ? $txt['wireless_recent_unread_posts'] : $txt['wireless_recent_unread_replies'], '
'; if (empty($context['topics'])) echo '', $txt[334], '
'; else { echo '', $txt[139], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
', $context['error_title'], '
', $context['error_message'], '
', $context['forum_name'], ' |
', $category['can_collapse'] ? '' : '', $category['name'], $category['can_collapse'] ? '' : '', ' |
', $board['new'] ? '' : '', $count < 10 ? '' . (59105 + $count) . ';' : '-', $board['new'] ? '' : ($board['children_new'] ? '.' : ''), ' ', $board['name'], ' |
', $txt['wireless_options'], ' |
', $txt['wireless_options_login'], ' |
', empty($context['user']['unread_messages']) ? $txt['wireless_pm_inbox'] : sprintf($txt['wireless_pm_inbox_new'], $context['user']['unread_messages']), ' |
', $txt['wireless_recent_unread_posts'], ' |
', $txt['wireless_recent_unread_replies'], ' |
', $txt['wireless_options_logout'], ' |
', $context['name'], ' |
', $txt['parent_boards'], ' |
', $board['new'] ? '- ' : ($board['children_new'] ? '-.' : '- '), '', $board['name'], ' |
', $txt[64], ' |
', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', ' |
', $count < 10 ? '' . (59105 + $count) . '; ' : '', '', $topic['first_post']['subject'], '', $topic['new'] && $context['user']['is_logged'] ? ' [' . $txt[302] . ']' : '', ' |
', $txt['wireless_navigation'], ' |
', $txt['wireless_navigation_up'], ' |
' . $txt['wireless_navigation_next'] . ' |
[*] ' . $txt['wireless_navigation_prev'] . ' |
' . $txt[33] . ' |
', $context['subject'], ' |
', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', ' |
', $message['first_new'] ? '
' : '', '
', $message['member']['name'], ': ', $wireless_message, ' |
', $txt['wireless_navigation'], ' |
', $txt['wireless_navigation_index'], ' |
' . $txt['wireless_navigation_next'] . ' |
' . $txt['wireless_navigation_prev'] . ' |
' . $txt[146] . ' |
', $txt['wireless_pm_add_buddy'], ' |
', $txt['wireless_pm_select_buddy'], ' |
[-] ', $buddy['name'], ' |
', $count < 10 ? '' . (59105 + $count) . '; ' : '', '', $buddy['name'], ' |
', $txt['wireless_navigation'], ' |
[0] ', $txt['wireless_navigation_up'], ' |
', $txt['wireless_pm_inbox'], ' |
', empty($context['links']['prev']) ? '' : '<< < ', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', empty($context['links']['next']) ? '' : ' > >> ', ' |
', $count < 10 ? '' . (59105 + $count) . '; ' : '', '', $message['subject'], ' ', $txt['wireless_pm_by'], ' ', $message['member']['name'], ' |
', $txt['wireless_navigation'], ' |
[0] ', $txt['wireless_navigation_up'], ' |
[#] ' . $txt['wireless_navigation_next'] . ' |
[*] ' . $txt['wireless_navigation_prev'] . ' |
' . $txt[321] . ' |
', $message['subject'], ' |
', $txt['wireless_pm_by'], ': ', $message['member']['name'], ' ', $txt[30], ': ', $message['time'], ' |
', $message['body'], ' |
', $txt['wireless_navigation'], ' |
[0] ', $txt['wireless_navigation_up'], ' |
', $txt['wireless_pm_reply'], ' |
', $_REQUEST['action'] == 'unread' ? $txt['wireless_recent_unread_posts'] : $txt['wireless_recent_unread_replies'], ' |
', $txt[334], ' |
', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', ' |
', $count < 10 ? '' . (59105 + $count) . '; ' : '', '', $topic['first_post']['subject'], ' |
', $txt['wireless_navigation'], ' |
[0] ', $txt['wireless_navigation_up'], ' |
[#] ' . $txt['wireless_navigation_next'] . ' |
[*] ' . $txt['wireless_navigation_prev'] . ' |
', $context['error_title'], ' |
', $context['error_message'], ' |
[0] ', $txt['wireless_error_home'], ' |
', $context['forum_name'], '
'; $count = 0; foreach ($context['categories'] as $category) { if (!empty($category['boards']) || $category['is_collapsed']) echo '', $category['can_collapse'] ? '' : '', $category['name'], $category['can_collapse'] ? '' : '', '
'; foreach ($category['boards'] as $board) { $count++; echo '', $board['new'] ? '' : '', $count < 10 ? '[' . $count . '' : '[-', $board['children_new'] ? '' : '', '] ', $board['new'] || $board['children_new'] ? '' : '', '', $board['name'], '
'; } } echo '', $txt['wireless_options'], '
'; if ($context['user']['is_guest']) echo '', $txt['wireless_options_login'], '
'; else { if ($context['allow_pm']) echo ' '; echo '', $txt['wireless_recent_unread_posts'], '
', $txt['wireless_recent_unread_replies'], '
', $txt['wireless_options_logout'], '
'; } } function template_wap2_messageindex() { global $context, $settings, $options, $scripturl, $txt; echo '', $context['name'], '
'; if (!empty($context['boards'])) { echo '', $txt['parent_boards'], '
'; foreach ($context['boards'] as $board) echo '', $board['new'] ? '[-] ' : ($board['children_new'] ? '[-] ' : '[-] '), '', $board['name'], '
'; } $count = 0; if (!empty($context['topics'])) { echo '', $txt[64], '
', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
'; foreach ($context['topics'] as $topic) { $count++; echo '', $count < 10 ? '[' . $count . '] ' : '', '', $topic['first_post']['subject'], '', $topic['new'] && $context['user']['is_logged'] ? ' [' . $txt[302] . ']' : '', '
'; } } echo '', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
', !empty($context['links']['next']) ? '[#] ' . $txt['wireless_navigation_next'] . '
' : '', !empty($context['links']['prev']) ? '[*] ' . $txt['wireless_navigation_prev'] . '
' : '', $context['can_post_new'] ? ' ' : ''; } function template_wap2_display() { global $context, $settings, $options, $scripturl, $txt; echo '', $context['subject'], '
', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
'; $alternate = true; while ($message = $context['get_message']()) { // This is a special modification to the post so it will work on phones: $wireless_message = strip_tags(str_replace(array('
', $message['member']['name'], ':
', $wireless_message, '
', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_index'], '
', !empty($context['links']['next']) ? '[#] ' . $txt['wireless_navigation_next'] . '
' : '', !empty($context['links']['prev']) ? '[*] ' . $txt['wireless_navigation_prev'] . '
' : '', $context['can_reply'] ? ' ' : ''; } function template_wap2_login() { global $context, $settings, $options, $scripturl, $txt; echo ' '; } function template_wap2_post() { global $context, $settings, $options, $scripturl, $txt; // !!! $modSettings['guest_post_no_email'] echo ' '; } function template_wap2_pm() { global $context, $settings, $options, $scripturl, $txt, $user_info; if ($_REQUEST['action'] == 'findmember') { echo ' '; if (!empty($context['last_search'])) { echo '', $txt['find_results'], '
'; if (empty($context['results'])) echo '[-] ', $txt['find_no_results'], '
'; else { echo '', empty($context['links']['prev']) ? '' : '<< < ', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', empty($context['links']['next']) ? '' : ' > >> ', '
'; $count = 0; foreach ($context['results'] as $result) { $count++; echo '[', $count < 10 ? $count : '-', '] ', $result['name'], '
'; } } } echo '', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
'; if (!empty($context['results'])) echo empty($context['links']['next']) ? '' : '[#] ' . $txt['wireless_navigation_next'] . '
', empty($context['links']['prev']) ? '' : '[*] ' . $txt['wireless_navigation_prev'] . '
'; } elseif (!empty($_GET['sa'])) { if ($_GET['sa'] == 'addbuddy') { echo '', $txt['wireless_pm_add_buddy'], '
', $txt['wireless_pm_select_buddy'], '
'; $count = 0; foreach ($context['buddies'] as $buddy) { $count++; if ($buddy['selected']) echo '[-] ', $buddy['name'], '
'; else echo '[', $count < 10 ? $count : '-', '] ', $buddy['name'], '
'; } echo '', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
'; } if ($_GET['sa'] == 'send' || $_GET['sa'] == 'send2') { echo ' '; } } elseif (empty($_GET['pmsg'])) { echo '', $txt['wireless_pm_inbox'], '
', empty($context['links']['prev']) ? '' : '<< < ', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', empty($context['links']['next']) ? '' : ' > >> ', '
'; $count = 0; while ($message = $context['get_pmessage']()) { $count++; echo '[', $count < 10 ? $count : '-', '] ', $message['subject'], ' ', $txt['wireless_pm_by'], ' ', $message['member']['name'], '
'; } echo '', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
', empty($context['links']['next']) ? '' : '[#] ' . $txt['wireless_navigation_next'] . '
', empty($context['links']['prev']) ? '' : ' ', $context['can_send_pm'] ? ' ' : ''; } else { $message = $context['get_pmessage'](); $message['body'] = strtr(strip_tags(strtr($message['body'], array('', $message['subject'], '
', $txt['wireless_pm_by'], ': ', $message['member']['name'], '
', $txt[30], ': ', $message['time'], '
', $message['body'], '
', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
'; if ($context['can_send_pm']) echo '', $txt['wireless_pm_reply'], '
'; } } function template_wap2_recent() { global $context, $settings, $options, $scripturl, $txt; echo '', $_REQUEST['action'] == 'unread' ? $txt['wireless_recent_unread_posts'] : $txt['wireless_recent_unread_replies'], '
'; $count = 0; if (empty($context['topics'])) echo '', $txt[334], '
'; else { echo '', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
'; foreach ($context['topics'] as $topic) { $count++; echo '', ($count < 10 ? '[' . $count . '] ' : ''), '', $topic['first_post']['subject'], '
'; } } echo '', $txt['wireless_navigation'], '
[0] ', $txt['wireless_navigation_up'], '
', !empty($context['links']['next']) ? '[#] ' . $txt['wireless_navigation_next'] . '
' : '', !empty($context['links']['prev']) ? '[*] ' . $txt['wireless_navigation_prev'] . '
' : ''; } function template_wap2_error() { global $context, $settings, $options, $txt, $scripturl; echo '', $context['error_title'], '
', $context['error_message'], '
'; } function template_wap2_below() { global $context, $settings, $options; echo ' '; } ?>