diff --git a/config/themes/Redsy/BoardIndex.template.php b/config/themes/Redsy/BoardIndex.template.php deleted file mode 100755 index 89f11ae..0000000 --- a/config/themes/Redsy/BoardIndex.template.php +++ /dev/null @@ -1,503 +0,0 @@ - - ', $txt['members'], ': ', $context['common_stats']['total_members'], '  •  ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], '  •  ', $txt['topics'], ': ', $context['common_stats']['total_topics'], ' - ', ($settings['show_latest_member'] ? ' ' . $txt['welcome_member'] . ' ' . $context['common_stats']['latest_member']['link'] . '' . $txt['newest_member'] : '') , ' - '; - - // Show the news fader? (assuming there are things to show...) - if ($settings['show_newsfader'] && !empty($context['fader_news_lines'])) - { - echo ' -
-
-

- - ', $txt['news'], ' -

-
- -
- - '; - } - - echo ' -
- '; - - /* Each category in categories is made up of: - id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?), - new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down image), - and boards. (see below.) */ - foreach ($context['categories'] as $category) - { - // If theres no parent boards we can see, avoid showing an empty category (unless its collapsed) - if (empty($category['boards']) && !$category['is_collapsed']) - continue; - - echo ' - - - - - '; - - // Assuming the category hasn't been collapsed... - if (!$category['is_collapsed']) - { - - echo ' - '; - /* Each board in each category's boards has: - new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.), - children (see below.), link_children (easier to use.), children_new (are they new?), - topics (# of), posts (# of), link, href, and last_post. (see below.) */ - foreach ($category['boards'] as $board) - { - echo ' - - - - - - '; - } - echo ' - '; - } - echo ' - - - - - '; - } - echo ' -
-
-

'; - - // If this category even can collapse, show a link to collapse it. - if ($category['can_collapse']) - echo ' - ', $category['collapse_image'], ''; - - if (!$context['user']['is_guest'] && !empty($category['show_unread'])) - echo ' - ', $txt['view_unread_category'], ''; - - echo ' - ', $category['link'], ' -

-
-
- '; - - // If the board or children is new, show an indicator. - if ($board['new'] || $board['children_new']) - echo ' - ', $txt['new_posts'], ''; - // Is it a redirection board? - elseif ($board['is_redirect']) - echo ' - *'; - // No new posts at all! The agony!! - else - echo ' - ', $txt['old_posts'], ''; - - echo ' - - - ', $board['name'], ''; - - // Has it outstanding posts for approval? - if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) - echo ' - (!)'; - - echo ' - -

', $board['description'] , '

'; - - // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) - if (!empty($board['children'])) - { - // Sort the links into an array with new boards bold so it can be imploded. - $children = array(); - /* Each child in each board's children has: - id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */ - foreach ($board['children'] as $child) - { - if (!$child['is_redirect']) - $child['link'] = '' . $child['name'] . ($child['new'] ? ' ' : '') . ''; - else - $child['link'] = '' . $child['name'] . ''; - - // Has it posts awaiting approval? - if ($child['can_approve_posts'] && ($child['unapproved_posts'] || $child['unapproved_topics'])) - $child['link'] .= ' (!)'; - - $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; - } - echo ' -

- ', $txt['parent_boards'], ': ', implode(', ', $children), ' -

'; - } - - // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) - if (!empty($board['moderators'])) - echo ' -

', count($board['moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '

'; - - // Show some basic information about the number of posts, etc. - echo ' -
-
'; - - if ($context['user']['is_logged']) - { - echo ' -
'; - - // Mark read button. - $mark_read_button = array( - 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;' . $context['session_var'] . '=' . $context['session_id']), - ); - - echo ' -
'; - - // Show the mark all as read button? - if ($settings['show_mark_read'] && !empty($context['categories'])) - echo '
', template_button_strip($mark_read_button, 'right'), '
'; - } - - template_info_center(); -} - -function template_info_center() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // Here's where the "Info Center" starts... - echo ' -


-
-
-

- - ', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), ' -

-
- -
'; - - // Info center collapse object. - echo ' - '; -} -?> diff --git a/config/themes/Redsy/Display.template.php b/config/themes/Redsy/Display.template.php deleted file mode 100755 index 11b48e1..0000000 --- a/config/themes/Redsy/Display.template.php +++ /dev/null @@ -1,1041 +0,0 @@ -'; - - - // This is a major hack to display a background image on a particular board - // ideally boards would have a background image property or css style overrides in the database - if($context['current_board'] == 1) - { - echo ' - - '; - } - - // Let them know, if their report was a success! - if ($context['report_sent']) - { - echo ' -
- ', $txt['report_sent'], ' -
'; - } - - // Show the anchor for the top and for the first message. If the first message is new, say so. - echo ' - - ', $context['first_new_message'] ? '' : ''; - - // Is this topic also a poll? - if ($context['is_poll']) - { - echo ' -
-
-

- ', $txt['poll'], ' -

-
-
- -
-

- ', $context['poll']['question'], ' -

'; - - // Are they not allowed to vote but allowed to view the options? - if ($context['poll']['show_results'] || !$context['allow_vote']) - { - echo ' -
'; - - // Show each option with its corresponding percentage bar. - foreach ($context['poll']['options'] as $option) - { - echo ' -
', $option['option'], '
-
'; - - if ($context['allow_poll_view']) - echo ' - ', $option['bar_ndt'], ' - ', $option['votes'], ' (', $option['percent'], '%)'; - - echo ' -
'; - } - - echo ' -
'; - - if ($context['allow_poll_view']) - echo ' -

', $txt['poll_total_voters'], ': ', $context['poll']['total_votes'], '

'; - } - // They are allowed to vote! Go to it! - else - { - echo ' -
'; - - // Show a warning if they are allowed more than one option. - if ($context['poll']['allowed_warning']) - echo ' -

', $context['poll']['allowed_warning'], '

'; - - echo ' -
    '; - - // Show each option with its button - a radio likely. - foreach ($context['poll']['options'] as $option) - echo ' -
  • ', $option['vote_button'], '
  • '; - - echo ' -
-
- - -
-
'; - } - - // Is the clock ticking? - if (!empty($context['poll']['expire_time'])) - echo ' -

', ($context['poll']['is_expired'] ? $txt['poll_expired_on'] : $txt['poll_expires_on']), ': ', $context['poll']['expire_time'], '

'; - - echo ' -
- -
-
-
'; - - // Build the poll moderation button array. - $poll_buttons = array( - 'vote' => array('test' => 'allow_return_vote', 'text' => 'poll_return_vote', 'image' => 'poll_options.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start']), - 'results' => array('test' => 'show_view_results_button', 'text' => 'poll_results', 'image' => 'poll_results.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start'] . ';viewresults'), - 'change_vote' => array('test' => 'allow_change_vote', 'text' => 'poll_change_vote', 'image' => 'poll_change_vote.gif', 'lang' => true, 'url' => $scripturl . '?action=vote;topic=' . $context['current_topic'] . '.' . $context['start'] . ';poll=' . $context['poll']['id'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'allow_lock_poll', 'text' => (!$context['poll']['is_locked'] ? 'poll_lock' : 'poll_unlock'), 'image' => 'poll_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lockvoting;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'edit' => array('test' => 'allow_edit_poll', 'text' => 'poll_edit', 'image' => 'poll_edit.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;topic=' . $context['current_topic'] . '.' . $context['start']), - 'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - template_button_strip($poll_buttons); - - echo ' -
'; - } - - // Does this topic have some events linked to it? - if (!empty($context['linked_calendar_events'])) - { - echo ' -
-
-

', $txt['calendar_linked_events'], '

-
-
- -
-
    '; - - foreach ($context['linked_calendar_events'] as $event) - echo ' -
  • - ', ($event['can_edit'] ? ' ' : ''), '', $event['title'], ': ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), ' -
  • '; - - echo ' -
-
- -
-
'; - } - - // Build the normal button array. - $normal_buttons = array( - 'reply' => array('test' => 'can_reply', 'text' => 'reply', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';last_msg=' . $context['topic_last_message'], 'active' => true), - 'add_poll' => array('test' => 'can_add_poll', 'text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start']), - 'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : '') . 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');"', 'url' => $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'mark_unread' => array('test' => 'can_mark_unread', 'text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'send' => array('test' => 'can_send_topic', 'text' => 'send_topic', 'image' => 'sendtopic.gif', 'lang' => true, 'url' => $scripturl . '?action=emailuser;sa=sendtopic;topic=' . $context['current_topic'] . '.0'), - 'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'), - ); - - // Allow adding new buttons easily. - call_integration_hook('integrate_display_buttons', array(&$normal_buttons)); - - // Show the page index... "Pages: [1]". - echo ' -
- ', template_button_strip($normal_buttons, 'right'), ' - -
'; - - // Show the topic information - icon, subject, etc. - echo ' -
-
-

- ', $context['subject'], ' -

- -
'; - - if (!empty($settings['display_who_viewing'])) - { - echo ' -

'; - - // Show just numbers...? - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members']; - // Or show the actual people viewing the topic? - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - - // Now show how many guests are here too. - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], ' -

'; - } - - echo ' -
'; - - $ignoredMsgs = array(); - $removableMessageIDs = array(); - $alternate = false; - - - // Get all the messages... - while ($message = $context['get_message']()) - { - $ignoring = false; - $alternate = !$alternate; - if ($message['can_remove']) - $removableMessageIDs[] = $message['id']; - - // Are we ignoring this message? - if (!empty($message['is_ignored'])) - { - $ignoring = true; - $ignoredMsgs[] = $message['id']; - } - - // load the fish avatars - echo ''; - - // Show the message anchor and a "new" anchor if this message is new. - if ($message['id'] != $context['first_message']) - echo ' - ', $message['first_new'] ? '' : ''; - - echo ' -
-
'; - - // Show information about the poster of this message. - echo ' -
'; - - // Show avatars, images, etc.? - // if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - // { - // echo ' - // - // * - // '; - // } - // else - // { - // echo' - // - // * - // '; - // } - - - - - // show fish avatar - echo ' - - ', sprintf($txt['fish_avatar_img_alt'], $message['member']['name']),' - '; - - echo' -

'; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest']) - echo ' - ', $context['can_send_pm'] ? '' : '', '', $message['member']['online']['text'], '', $context['can_send_pm'] ? '' : ''; - - // Show a link to the member's profile. - echo ' - ', $message['member']['link'], ' -

-
    '; - - - - // Show the member's custom title, if they have one. - if (!empty($message['member']['title'])) - echo ' -
  • ', $message['member']['title'], '
  • '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - - // Show the stars if they are not in a group. - echo ' -
  • ', $message['member']['group_stars'], '
  • '; - - // Show how many posts they have made. -/* - if (!isset($context['disabled_fields']['posts'])) - echo ' -
  • ', $message['member']['posts'], '
  • '; -*/ - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
  • ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
  • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
  • +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
  • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
  • - ', $modSettings['karmaApplaudLabel'], ' - ', $modSettings['karmaSmiteLabel'], ' -
  • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
  • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
  • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
  • ', $message['member']['blurb'], '
  • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
  • -
      '; - } - echo ' -
    • ', $custom['value'], '
    • '; - } - if ($shown) - echo ' -
    -
  • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
  • -
      - ', !empty($message['member']['icq']['link']) ? '
    • ' . $message['member']['icq']['link'] . '
    • ' : '', ' - ', !empty($message['member']['msn']['link']) ? '
    • ' . $message['member']['msn']['link'] . '
    • ' : '', ' - ', !empty($message['member']['aim']['link']) ? '
    • ' . $message['member']['aim']['link'] . '
    • ' : '', ' - ', !empty($message['member']['yim']['link']) ? '
    • ' . $message['member']['yim']['link'] . '
    • ' : '', ' -
    -
  • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
  • - -
  • '; - } - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) || empty($custom['value'])) - echo ' -
  • ', $custom['title'], ': ', $custom['value'], '
  • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
  • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
  • '; - } - // Otherwise, show the guest's email. - elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum'))) - echo ' - '; - - // Done with the information about the poster... on to the post itself. - echo ' -
-
-
-
- -
'; - - // If this is the first post, (#0) just say when it was posted - otherwise give the reply #. - if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || - $message['can_tip_for_message']) - echo ' - '; - - echo' -
    '; - - // Show a checkbox for quick moderation? - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove']) - echo ' - '; - - echo' -
-
-
- -
-
- ', $message['subject'], ' -
-
« ', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ': ', $message['time'], ' »
-
-
'; - - // Ignoring this user? Hide the post. - if ($ignoring) - echo ' -
- ', $txt['ignoring_user'], ' - -
'; - - // Show the post itself, finally! - echo ' -
'; - - if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id']) - echo ' -
- ', $txt['post_awaiting_approval'], ' -
'; - echo ' -
', $message['body']; - - - // display shop items! - if(!empty($message['npc_shop_items'])) - { - echo '
'; - - foreach ($message['npc_shop_items'] as $index => $item) - { - $expired = $item['expire_time'] != -1 && time() > $item['expire_time']; - - $canAfford = $item['cost'] == 0 || $context['user']['coins'] >= $item['cost'] || $context['user']['is_guest']; - - echo '
'; - echo '

', $item['name_eng'] ,'

'; - echo ' -

', $txt['featured_item_cost']; - - if($item['cost'] == 0) - { - echo '', $txt['npc_shop_free'], ''; - } - else - { - echo '', ' ', number_format($item['cost']), ''; - } - echo '

'; - - if($item['expire_time'] != -1) - { - if($expired == false) - { - echo '

', sprintf($txt['npc_shop_expires_on'], timeformat($item['expire_time'])), '

'; - } - else - { - echo '

', sprintf($txt['npc_shop_expired_on'], timeformat($item['expire_time'])), '

'; - } - - } - - if ($expired) - { - // no button - } - else if($item['cost'] == 0 && !empty($context['user']['inventory'][$item['id']])) - { - // item is free, only allow 1 per user - echo '', $txt['npc_shop_already_own_free_item'],''; - } - else if($item['cost'] == 0) - { - echo '', $txt['npc_shop_get_free_item'],''; - } - else if($canAfford) - { - echo '', $txt['featured_item_buy'],''; - } - else - { - echo '', $txt['featured_item_cant_afford'],''; - } - echo '
'; - } - - } - - if(isset($message['topic_ban_reason'])) - { - echo '

', - $txt['banned_from_topic_post_footer'], - '
', $txt['ban_from_topic_reason'], ': ', $message['topic_ban_reason'], - '

'; - - } - else if(isset($message['id_banned_msg'])) - { - echo '

', - '!', - '

'; - } - - foreach ($message['tips'] as $x) - { - echo '

'; - if (!$x['tip']['coins'] && $x['tip']['item']) - { - echo strtoupper($x['tip']['real_name']), ' TIPPED FOR THIS POST'; - } - else - { - echo sprintf($txt['tip_for_message_post_footer'], strtoupper($x['tip']['real_name']), $x['tip']['coins']); - } - '

'; - } - - echo ' - -
-
'; - - // Can the user modify the contents of this post? Show the modify inline image. - if ($message['can_modify']) - echo ' - '; - - // Assuming there are attachments... - if (!empty($message['attachment'])) - { - echo ' - '; - } - - echo ' -
-
-
'; - - // Show "� Last Edit: Time by Person �" if this post was edited. - if ($settings['show_modify'] && !empty($message['modified']['name'])) - echo ' - « ', $txt['last_edit'], ': ', $message['modified']['time'], ' ', $txt['by'], ' ', $message['modified']['name'], ' »'; - - echo ' -
- '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
-
    '; - } - echo ' -
  • ', $custom['value'], '
  • '; - } - if ($shown) - echo ' -
-
'; - } - - // Show the member's signature? - if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) - echo ' -
', $message['member']['signature'], '
'; - - echo ' -
-
-
-
-
-
'; - } - echo ' -
-
- '; - - // Show the page index... "Pages: [1]". - echo ' -
- ', template_button_strip($normal_buttons, 'right'), ' - - -
'; - - $mod_buttons = array( - 'move' => array('test' => 'can_move', 'text' => 'move_topic', 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0'), - 'delete' => array('test' => 'can_delete', 'text' => 'remove_topic', 'image' => 'admin_rem.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['are_sure_remove_topic'] . '\');"', 'url' => $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'can_lock', 'text' => empty($context['is_locked']) ? 'set_lock' : 'set_unlock', 'image' => 'admin_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_sticky']) ? 'set_sticky' : 'set_nonsticky', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'merge' => array('test' => 'can_merge', 'text' => 'merge', 'image' => 'merge.gif', 'lang' => true, 'url' => $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic']), - 'calendar' => array('test' => 'calendar_post', 'text' => 'calendar_link', 'image' => 'linktocal.gif', 'lang' => true, 'url' => $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0'), - ); - - // Restore topic. eh? No monkey business. - if ($context['can_restore_topic']) - $mod_buttons[] = array('text' => 'restore_topic', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=restoretopic;topics=' . $context['current_topic'] . ';' . $context['session_var'] . '=' . $context['session_id']); - - // Allow adding new mod buttons easily. - call_integration_hook('integrate_mod_buttons', array(&$mod_buttons)); - - echo ' -
', template_button_strip($mod_buttons, 'bottom', array('id' => 'moderationbuttons_strip')), '
'; - - // Show the jumpto box, or actually...let Javascript do it. - echo ' -
 
'; - - if ($context['can_reply'] && !empty($options['display_quick_reply'])) - { - echo ' - -
-
-

- - + - - ', $txt['quick_reply'], ' - -

-
- -
'; - } - else - echo ' -
'; - - if ($context['show_spellchecking']) - echo ' -
- '; - - echo ' - - '; -} - -?> \ No newline at end of file diff --git a/config/themes/Redsy/GenericMenu.template.php b/config/themes/Redsy/GenericMenu.template.php deleted file mode 100755 index 5c9d133..0000000 --- a/config/themes/Redsy/GenericMenu.template.php +++ /dev/null @@ -1,360 +0,0 @@ - -
'; - - // What one are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - // For every section that appears on the sidebar... - $firstSection = true; - foreach ($menu_context['sections'] as $section) - { - // Show the section header - and pump up the line spacing for readability. - echo ' -
-
-

'; - - if ($firstSection && !empty($menu_context['can_toggle_drop_down'])) - { - echo ' - - ', $section['title'],'! - '; - } - else - { - echo ' - ', $section['title']; - } - - echo ' -

-
- -
'; - - $firstSection = false; - } - - // This is where the actual "main content" area for the admin section starts. - echo ' -
-
'; - - // If there are any "tabs" setup, this is the place to shown them. - if (!empty($context['tabs']) && empty($context['force_disable_tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the sidebar layer - closes off the main bit. -function template_generic_menu_sidebar_below() -{ - global $context, $settings, $options; - - echo ' -
-
'; -} - -// This contains the html for the side bar of the admin center, which is used for all admin pages. -function template_generic_menu_dropdown_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Which menu are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - if (!empty($menu_context['can_toggle_drop_down'])) - echo ' - *'; - - echo ' -
- -
'; - - // This is the main table - we need it so we can keep the content to the right of it. - echo ' -
'; - - // It's possible that some pages have their own tabs they wanna force... - if (!empty($context['tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the admin layer - used with admin_above to close the table started in it. -function template_generic_menu_dropdown_below() -{ - global $context, $settings, $options; - - echo ' -
'; -} - -// Some code for showing a tabbed view. -function template_generic_menu_tabs(&$menu_context) -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Handy shortcut. - $tab_context = &$menu_context['tab_data']; - - echo ' -
-

'; - - // Exactly how many tabs do we have? - foreach ($context['tabs'] as $id => $tab) - { - // Can this not be accessed? - if (!empty($tab['disabled'])) - { - $tab_context['tabs'][$id]['disabled'] = true; - continue; - } - - // Did this not even exist - or do we not have a label? - if (!isset($tab_context['tabs'][$id])) - $tab_context['tabs'][$id] = array('label' => $tab['label']); - elseif (!isset($tab_context['tabs'][$id]['label'])) - $tab_context['tabs'][$id]['label'] = $tab['label']; - - // Has a custom URL defined in the main admin structure? - if (isset($tab['url']) && !isset($tab_context['tabs'][$id]['url'])) - $tab_context['tabs'][$id]['url'] = $tab['url']; - // Any additional paramaters for the url? - if (isset($tab['add_params']) && !isset($tab_context['tabs'][$id]['add_params'])) - $tab_context['tabs'][$id]['add_params'] = $tab['add_params']; - // Has it been deemed selected? - if (!empty($tab['is_selected'])) - $tab_context['tabs'][$id]['is_selected'] = true; - // Does it have its own help? - if (!empty($tab['help'])) - $tab_context['tabs'][$id]['help'] = $tab['help']; - // Is this the last one? - if (!empty($tab['is_last']) && !isset($tab_context['override_last'])) - $tab_context['tabs'][$id]['is_last'] = true; - } - - // Find the selected tab - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['is_selected']) || (isset($menu_context['current_subsection']) && $menu_context['current_subsection'] == $sa)) - { - $selected_tab = $tab; - $tab_context['tabs'][$sa]['is_selected'] = true; - } - } - - // Show an icon and/or a help item? - if (!empty($selected_tab['icon']) || !empty($tab_context['icon']) || !empty($selected_tab['help']) || !empty($tab_context['help'])) - { - echo ' - '; - - if (!empty($selected_tab['icon']) || !empty($tab_context['icon'])) - echo ''; - - if (!empty($selected_tab['help']) || !empty($tab_context['help'])) - echo '', $txt['help'], ''; - - echo $tab_context['title'], ' - '; - } - else - { - echo ' - ', $tab_context['title']; - } - - echo ' -

-
'; - - // Shall we use the tabs? - if (!empty($settings['use_tabs'])) - { - echo ' -

- ', !empty($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], ' -

'; - - // The admin tabs. - echo ' -
- -

'; - } - // ...if not use the old style - else - { - echo ' -

'; - - // Print out all the items in this tab. - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['disabled'])) - continue; - - if (!empty($tab['is_selected'])) - { - echo ' - * ', $tab['label'], ''; - } - else - echo ' - ', $tab['label'], ''; - - if (empty($tab['is_last'])) - echo ' | '; - } - - echo ' -

-

', isset($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], '

'; - } -} - -?> \ No newline at end of file diff --git a/config/themes/Redsy/MessageIndex.template.php b/config/themes/Redsy/MessageIndex.template.php deleted file mode 100755 index 441f37d..0000000 --- a/config/themes/Redsy/MessageIndex.template.php +++ /dev/null @@ -1,478 +0,0 @@ - - #wrapper { - background-image: url(',$boardurl, '/shitpost-central.gif); - background-attachment: fixed; - } - - '; - } - - echo ' - '; - - if (!empty($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) - { - echo ' -
-
-

', $txt['parent_boards'], '

-
-
- - '; - - foreach ($context['boards'] as $board) - { - echo ' - - - - - - '; - } - echo ' - -
- '; - - // If the board or children is new, show an indicator. - if ($board['new'] || $board['children_new']) - echo ' - ', $txt['new_posts'], ''; - // Is it a redirection board? - elseif ($board['is_redirect']) - echo ' - *'; - // No new posts at all! The agony!! - else - echo ' - ', $txt['old_posts'], ''; - - echo ' - - - ', $board['name'], ''; - - // Has it outstanding posts for approval? - if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) - echo ' - (!)'; - - echo ' - -

', $board['description'] , '

'; - - // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) - if (!empty($board['moderators'])) - echo ' -

', count($board['moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '

'; - - // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) - if (!empty($board['children'])) - { - // Sort the links into an array with new boards bold so it can be imploded. - $children = array(); - /* Each child in each board's children has: - id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */ - foreach ($board['children'] as $child) - { - if (!$child['is_redirect']) - $child['link'] = '' . $child['name'] . ($child['new'] ? ' ' : '') . ''; - else - $child['link'] = '' . $child['name'] . ''; - - // Has it posts awaiting approval? - if ($child['can_approve_posts'] && ($child['unapproved_posts'] | $child['unapproved_topics'])) - $child['link'] .= ' (!)'; - - $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; - } - echo ' -

', $txt['parent_boards'], ': ', implode(', ', $children), '

'; - } - - // Show some basic information about the number of posts, etc. - echo ' -
-
-
'; - } - - if (!empty($options['show_board_desc']) && $context['description'] != '') - echo ' -

', $context['description'], '

'; - - // Create the button set... - $normal_buttons = array( - 'new_topic' => array('test' => 'can_post_new', 'text' => 'new_topic', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0', 'active' => true), - 'post_poll' => array('test' => 'can_post_poll', 'text' => 'new_poll', 'image' => 'new_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll'), - 'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : ''). 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');"', 'url' => $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'markread' => array('text' => 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - ); - - // They can only mark read if they are logged in and it's enabled! - if (!$context['user']['is_logged'] || !$settings['show_mark_read']) - unset($normal_buttons['markread']); - - // Allow adding new buttons easily. - call_integration_hook('integrate_messageindex_buttons', array(&$normal_buttons)); - - if (!$context['no_topic_listing']) - { - echo ' -
- - ', template_button_strip($normal_buttons, 'right'), ' -
'; - - // If Quick Moderation is enabled start the form. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' -
'; - - echo ' -
- - - '; - - // Are there actually any topics to show? - if (!empty($context['topics'])) - { - echo ' - - - '; - // Show a "select all" box for quick moderation? - if (empty($context['can_quick_mod'])) - echo ' - '; - else - echo ' - '; - - // Show a "select all" box for quick moderation? - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1) - echo ' - '; - - // If it's on in "image" mode, don't show anything but the column. - elseif (!empty($context['can_quick_mod'])) - echo ' - '; - } - // No topics.... just say, "sorry bub". - else - echo ' - - - '; - - echo ' - - - '; - - if (!empty($settings['display_who_viewing'])) - { - echo ' - - - '; - } - - // If this person can approve items and we have some awaiting approval tell them. - if (!empty($context['unapproved_posts_message'])) - { - echo ' - - - '; - } - - foreach ($context['topics'] as $topic) - { - // Is this topic pending approval, or does it have any posts pending approval? - if ($context['can_approve_posts'] && $topic['unapproved_posts']) - $color_class = !$topic['approved'] ? 'approvetbg' : 'approvebg'; - // We start with locked and sticky topics. - elseif ($topic['is_sticky'] && $topic['is_locked']) - $color_class = 'stickybg locked_sticky'; - // Sticky topics should get a different color, too. - elseif ($topic['is_sticky']) - $color_class = 'stickybg'; - // Locked topics get special treatment as well. - elseif ($topic['is_locked']) - $color_class = 'lockedbg'; - // Last, but not least: regular topics. - else - $color_class = 'windowbg4'; - - // Some columns require a different shade of the color class. - $alternate_class = $color_class; - - echo ' - - - - - - '; - - // Show the quick moderation options? - if (!empty($context['can_quick_mod'])) - { - echo ' - '; - } - echo ' - '; - } - - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) - { - echo ' - - - '; - } - - echo ' - -
 ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' / ', $txt['started_by'], $context['sort_by'] == 'starter' ? ' ' : '', ' ', $txt['msg_alert_none'], ' 
'; - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) === 1 ? $txt['who_member'] : $txt['members']; - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) or $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], ' -
- ! ', $context['unapproved_posts_message'], ' -
- - - - -
- ', $topic['is_sticky'] ? '' : '', '', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '', $topic['is_sticky'] ? '' : ''; - - // Is this topic new? (assuming they are logged in!) - if ($topic['new'] && $context['user']['is_logged']) - echo ' - ', $txt['new'], ''; - - echo ' -

', $txt['started_by'], ' ', $topic['first_post']['member']['link'], ' - ', $topic['pages'], ' -

-
-
-
- '; - - // Finish off the form - again. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' - -
'; - - echo ' -
- ', template_button_strip($normal_buttons, 'right'), ' - -
'; - } - - echo ' -
-
-

 

'; - - if (!$context['no_topic_listing']) - echo ' -

', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? ' - ' . $txt['participation_caption'] . '
' : '', ' - ' . $txt['normal_topic'] . '
- ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
- ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . ' -

-

- ' . $txt['locked_topic'] . '
' . ($modSettings['enableStickyTopics'] == '1' ? ' - ' . $txt['sticky_topic'] . '
' : '') . ($modSettings['pollMode'] == '1' ? ' - ' . $txt['poll'] : '') . ' -

'; - - echo ' - -
-
-
'; - - // Javascript for inline editing. - echo ' - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/Redsy/PersonalMessage.template.php b/config/themes/Redsy/PersonalMessage.template.php deleted file mode 100755 index 5338985..0000000 --- a/config/themes/Redsy/PersonalMessage.template.php +++ /dev/null @@ -1,1758 +0,0 @@ -'; - - // Show the capacity bar, if available. - if (!empty($context['limit_bar'])) - echo ' -
-

- ', $txt['pm_capacity'], ': - - - - ', $context['limit_bar']['text'], ' -

-
'; - - // Message sent? Show a small indication. - if (isset($context['pm_sent'])) - echo ' -
- ', $txt['pm_sent'], ' -
'; -} - -// Just the end of the index bar, nothing special. -function template_pm_below() -{ - global $context, $settings, $options; - - echo ' - '; -} - -function template_folder() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The every helpful javascript! - echo ' - '; - - echo ' -
'; - - // If we are not in single display mode show the subjects on the top! - if ($context['display_mode'] != 1) - { - template_subject_list(); - echo '

'; - } - - // Got some messages to display? - if ($context['get_pmessage']('message', true)) - { - // Show the helpful titlebar - generally. - if ($context['display_mode'] != 1) - echo ' -
-

- ', $txt['author'], ' - ', $txt[$context['display_mode'] == 0 ? 'messages' : 'conversation'], ' -

-
'; - - // Show a few buttons if we are in conversation mode and outputting the first message. - if ($context['display_mode'] == 2) - { - // Build the normal button array. - $conversation_buttons = array( - 'reply' => array('text' => 'reply_to_all', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=send;f=' . $context['folder'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';pmsg=' . $context['current_pm'] . ';u=all', 'active' => true), - 'delete' => array('text' => 'delete_conversation', 'image' => 'delete.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=pmactions;pm_actions[' . $context['current_pm'] . ']=delete;conversation;f=' . $context['folder'] . ';start=' . $context['start'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';' . $context['session_var'] . '=' . $context['session_id'], 'custom' => 'onclick="return confirm(\'' . addslashes($txt['remove_message']) . '?\');"'), - ); - - // Show the conversation buttons. - echo ' -
'; - - template_button_strip($conversation_buttons, 'right'); - - echo ' -
'; - } - - while ($message = $context['get_pmessage']('message')) - { - $window_class = $message['alternate'] == 0 ? 'windowbg' : 'windowbg2'; - - echo ' - -
-
-
- '; - - // Show avatars, images, etc.? - if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - { - echo ' - - * - '; - } - else - { - echo' - - * - '; - } - echo' -

'; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest']) - echo ' - ', $message['member']['online']['text'], ''; - - echo ' - ', $message['member']['link'], ' -

-
    '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - - echo ' -
  • ', $message['member']['group_stars'], '
  • '; - - // Show the member's custom title, if they have one. - if (isset($message['member']['title']) && $message['member']['title'] != '') - echo ' -
  • ', $message['member']['title'], '
  • '; - - // Show how many posts they have made. - if (!isset($context['disabled_fields']['posts'])) - echo ' -
  • ', $message['member']['posts'], '
  • '; - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
  • ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
  • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
  • +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
  • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
  • - ', $modSettings['karmaApplaudLabel'], ' ', $modSettings['karmaSmiteLabel'], ' -
  • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
  • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
  • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
  • ', $message['member']['blurb'], '
  • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
  • -
      '; - } - echo ' -
    • ', $custom['value'], '
    • '; - } - if ($shown) - echo ' -
    -
  • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
  • -
      ', !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? ' -
    • ' . $message['member']['icq']['link'] . '
    • ' : '', !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? ' -
    • ' . $message['member']['msn']['link'] . '
    • ' : '', !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? ' -
    • ' . $message['member']['aim']['link'] . '
    • ' : '', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? ' -
    • ' . $message['member']['yim']['link'] . '
    • ' : '', ' -
    -
  • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
  • - -
  • '; - } - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) || empty($custom['value'])) - echo ' -
  • ', $custom['title'], ': ', $custom['value'], '
  • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
  • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
  • '; - } - - // Done with the information about the poster... on to the post itself. - echo ' -
-
-
-
- -
- -
    '; - if (empty($context['display_mode'])) - echo ' -
  • '; - - echo ' -
-
-
- ', $message['subject'], ' -
'; - - // Show who the message was sent to. - echo ' - « ', $txt['sent_to'], ': '; - - // People it was sent directly to.... - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' - ', $txt['on'], ': ', $message['time'], ' » - '; - - // If we're in the sent items, show who it was sent to besides the "To:" people. - if (!empty($message['recipients']['bcc'])) - echo ' -
« ', $txt['pm_bcc'], ': ', implode(', ', $message['recipients']['bcc']), ' »'; - - if (!empty($message['is_replied_to'])) - echo ' -
« ', $txt['pm_is_replied_to'], ' »'; - - echo ' -
-
-
', $message['body'], '
- '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (!$shown) - { - $shown = true; - echo ' -
-
    '; - } - echo ' -
  • ', $custom['value'], '
  • '; - } - if ($shown) - echo ' -
-
'; - } - - // Show the member's signature? - if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) - echo ' -
', $message['member']['signature'], '
'; - - // Add an extra line at the bottom if we have labels enabled. - if ($context['folder'] != 'sent' && !empty($context['currently_using_labels']) && $context['display_mode'] != 2) - { - echo ' -
'; - // Add the label drop down box. - if (!empty($context['currently_using_labels'])) - { - echo ' - - '; - } - echo ' -
'; - } - - echo ' -
-
-
-
-
-
-
-
-
-
'; - } - - if (empty($context['display_mode'])) - echo ' - -
-
', $txt['pages'], ': ', $context['page_index'], '
-
-
'; - - // Show a few buttons if we are in conversation mode and outputting the first message. - elseif ($context['display_mode'] == 2 && isset($conversation_buttons)) - { - echo ' - -
'; - - template_button_strip($conversation_buttons, 'right'); - - echo ' -
'; - } - - echo ' -
'; - } - - // Individual messages = buttom list! - if ($context['display_mode'] == 1) - { - template_subject_list(); - echo '
'; - } - - echo ' - -
'; -} - -// Just list all the personal message subjects - to make templates easier. -function template_subject_list() -{ - global $context, $options, $settings, $modSettings, $txt, $scripturl; - - echo ' - - - - - - - - - - - '; - if (!$context['show_delete']) - echo ' - - - '; - $next_alternate = false; - - while ($message = $context['get_pmessage']('subject')) - { - echo ' - - - - - - - '; - $next_alternate = !$next_alternate; - } - - echo ' - -
- ', $txt['pm_change_view'], ' - - ', $txt['date'], $context['sort_by'] == 'date' ? ' ' : '', ' - - ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' - - ', ($context['from_or_to'] == 'from' ? $txt['from'] : $txt['to']), $context['sort_by'] == 'name' ? ' ' : '', ' - - -
', $txt['msg_alert_none'], '
- - ', $message['is_replied_to'] ? '' . $txt['pm_replied'] . '' : '' . $txt['pm_read'] . '', '', $message['time'], '', ($context['display_mode'] != 0 && $context['current_pm'] == $message['id'] ? '*' : ''), '', $message['subject'], '', $message['is_unread'] ? ' ' . $txt['new'] . '' : '', '', ($context['from_or_to'] == 'from' ? $message['member']['link'] : (empty($message['recipients']['to']) ? '' : implode(', ', $message['recipients']['to']))), '
-
-
', $txt['pages'], ': ', $context['page_index'], '
-
 '; - - if ($context['show_delete']) - { - if (!empty($context['currently_using_labels']) && $context['folder'] != 'sent') - { - echo ' - - '; - } - - echo ' - '; - } - - echo ' -
-
'; -} - -function template_search() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' - -
-
-

', $txt['pm_search_title'], '

-
'; - - if (!empty($context['search_errors'])) - { - echo ' -
- ', implode('
', $context['search_errors']['messages']), ' -
'; - } - - if ($context['simple_search']) - { - echo ' - '; - } - - // Advanced search! - else - { - echo ' - '; - - // Do we have some labels setup? If so offer to search by them! - if ($context['currently_using_labels']) - { - echo ' -
- -
- -
    '; - - foreach ($context['search_labels'] as $label) - echo ' -
  • - -
  • '; - - echo ' -
-

- - -


-
- -
'; - } - } - - echo ' -
'; -} - -function template_search_results() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
-

', $txt['pm_search_results'], '

-
-
- ', $txt['pages'], ': ', $context['page_index'], ' -
'; - - // complete results ? - if (empty($context['search_params']['show_complete']) && !empty($context['personal_messages'])) - echo ' - - - - - - - - - '; - - $alternate = true; - // Print each message out... - foreach ($context['personal_messages'] as $message) - { - // We showing it all? - if (!empty($context['search_params']['show_complete'])) - { - echo ' -
-

- ', $txt['search_on'], ': ', $message['time'], ' - ', $message['counter'], '  ', $message['subject'], ' -

-
-
-

', $txt['from'], ': ', $message['member']['link'], ', ', $txt['to'], ': '; - - // Show the recipients. - // !!! This doesn't deal with the sent item searching quite right for bcc. - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' -

-
-
- -
- ', $message['body'], ' -

'; - - if ($context['can_send_pm']) - { - $quote_button = create_button('quote.gif', 'reply_quote', 'reply_quote', 'align="middle"'); - $reply_button = create_button('im_reply.gif', 'reply', 'reply', 'align="middle"'); - // You can only reply if they are not a guest... - if (!$message['member']['is_guest']) - echo ' - ', $quote_button , '', $context['menu_separator'], ' - ', $reply_button , ' ', $context['menu_separator']; - // This is for "forwarding" - even if the member is gone. - else - echo ' - ', $quote_button , '', $context['menu_separator']; - } - - echo ' -

-
- -
'; - } - // Otherwise just a simple list! - else - { - // !!! No context at all of the search? - echo ' - - - - - '; - } - - $alternate = !$alternate; - } - - // Finish off the page... - if (empty($context['search_params']['show_complete']) && !empty($context['personal_messages'])) - echo ' - -
', $txt['date'], '', $txt['subject'], '', $txt['from'], '
', $message['time'], '', $message['link'], '', $message['member']['link'], '
'; - - // No results? - if (empty($context['personal_messages'])) - echo ' -
- -
-

', $txt['pm_search_none_found'], '

-
- -
'; - - echo ' -
- ', $txt['pages'], ': ', $context['page_index'], ' -
'; - -} - -function template_send() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // Show which messages were sent successfully and which failed. - if (!empty($context['send_log'])) - { - echo ' -
-

', $txt['pm_send_report'], '

-
-
- -
'; - if (!empty($context['send_log']['sent'])) - foreach ($context['send_log']['sent'] as $log_entry) - echo '', $log_entry, '
'; - if (!empty($context['send_log']['failed'])) - foreach ($context['send_log']['failed'] as $log_entry) - echo '', $log_entry, '
'; - echo ' -
- -
-
'; - } - - // Show the preview of the personal message. - if (isset($context['preview_message'])) - echo ' -
-

', $context['preview_subject'], '

-
-
- -
- ', $context['preview_message'], ' -
- -
-
'; - - // Main message editing box. - echo ' -
-

- ', $txt['new_message'], ' ', $txt['new_message'], ' -

-
'; - - echo ' -
-
- -

'; - - // If there were errors for sending the PM, show them. - if (!empty($context['post_error']['messages'])) - { - echo ' -
- ', $txt['error_while_submitting'], ' -
    '; - - foreach ($context['post_error']['messages'] as $error) - echo ' -
  • ', $error, '
  • '; - - echo ' -
-
'; - } - - echo ' -
'; - - // To and bcc. Include a button to search for members. - echo ' -
- ', $txt['pm_to'], ': -
'; - - // Autosuggest will be added by the JavaScript later on. - echo ' -
- '; - - // A link to add BCC, only visible with JavaScript enabled. - echo ' - '; - - // A div that'll contain the items found by the autosuggest. - echo ' -
'; - - echo ' -
'; - - // This BCC row will be hidden by default if JavaScript is enabled. - echo ' -
- ', $txt['pm_bcc'], ': -
-
- -
-
'; - - // The subject of the PM. - echo ' -
- ', $txt['subject'], ': -
-
- -
-

'; - - // Showing BBC? - if ($context['show_bbc']) - { - echo ' -
'; - } - - // What about smileys? - if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) - echo ' -
'; - - // Show BBC buttons, smileys and textbox. - echo ' - ', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'); - - // Require an image to be typed to save spamming? - if ($context['require_verification']) - { - echo ' -
- ', $txt['pm_visual_verification_label'], ': - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
'; - } - - // Send, Preview, spellcheck buttons. - echo ' -

-

- ', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], ' -

-

- ', template_control_richedit_buttons($context['post_box_name']), ' -

- - - - - - -
-
- -
-
'; - - // Show the message you're replying to. - if ($context['reply']) - echo ' -
-
-
-

', $txt['subject'], ': ', $context['quoted_message']['subject'], '

-
-
- -
-
- ', $txt['on'], ': ', $context['quoted_message']['time'], ' - ', $txt['from'], ': ', $context['quoted_message']['member']['name'], ' -

- ', $context['quoted_message']['body'], ' -
- -

'; - - echo ' - - - '; -} - -// This template asks the user whether they wish to empty out their folder/messages. -function template_ask_delete() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
-

', ($context['delete_all'] ? $txt['delete_message'] : $txt['delete_all']), '

-
-
- -
-

', $txt['delete_all_confirm'], '


- ', $txt['yes'], ' - ', $txt['no'], ' -
- -
'; -} - -// This template asks the user what messages they want to prune. -function template_prune() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
-
-

', $txt['pm_prune'], '

-
-
- -
-

', $txt['pm_prune_desc1'], ' ', $txt['pm_prune_desc2'], '

-
- -
-
- -
- -
'; -} - -// Here we allow the user to setup labels, remove labels and change rules for labels (i.e, do quite a bit) -function template_labels() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
-
-

', $txt['pm_manage_labels'], '

-
-
- ', $txt['pm_labels_desc'], ' -
- - - - - - - - '; - if (count($context['labels']) < 2) - echo ' - - - '; - else - { - $alternate = true; - foreach ($context['labels'] as $label) - { - if ($label['id'] == -1) - continue; - - echo ' - - - - '; - - $alternate = !$alternate; - } - } - echo ' - -
- ', $txt['pm_label_name'], ' - '; - - if (count($context['labels']) > 2) - echo ' - '; - - echo ' -
', $txt['pm_labels_no_exist'], '
- -
'; - - if (!count($context['labels']) < 2) - echo ' -
- - -
'; - - echo ' - -
-
-
-

', $txt['pm_label_add_new'], '

-
-
- -
-
-
- : -
-
- -
-
-
- -
-
- -
- -

'; -} - -// Template for reporting a personal message. -function template_report_message() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
- -
-

', $txt['pm_report_title'], '

-
-
- ', $txt['pm_report_desc'], ' -
-
- -
-
'; - - // If there is more than one admin on the forum, allow the user to choose the one they want to direct to. - // !!! Why? - if ($context['admin_count'] > 1) - { - echo ' -
- ', $txt['pm_report_admins'], ': -
-
- -
'; - } - - echo ' -
- ', $txt['pm_report_reason'], ': -
-
- -
-
-
- -
-
- -
- -
'; -} - -// Little template just to say "Yep, it's been submitted" -function template_report_message_complete() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
-

', $txt['pm_report_title'], '

-
-
- -
-

', $txt['pm_report_done'], '

- ', $txt['pm_report_return'], ' -
- -
'; -} - -// Manage rules. -function template_rules() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
-
-

', $txt['pm_manage_rules'], '

-
-
- ', $txt['pm_manage_rules_desc'], ' -
- - - - - - - - '; - - if (empty($context['rules'])) - echo ' - - - '; - - $alternate = false; - foreach ($context['rules'] as $rule) - { - echo ' - - - - '; - $alternate = !$alternate; - } - - echo ' - -
- ', $txt['pm_rule_title'], ' - '; - - if (!empty($context['rules'])) - echo ' - '; - - echo ' -
- ', $txt['pm_rules_none'], ' -
- ', $rule['name'], ' - - -
-
- [', $txt['pm_add_rule'], ']'; - - if (!empty($context['rules'])) - echo ' - [', $txt['pm_apply_rules'], ']'; - - if (!empty($context['rules'])) - echo ' - - '; - - echo ' -
-
'; - -} - -// Template for adding/editing a rule. -function template_add_rule() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - '; - - echo ' -
-
-

', $context['rid'] == 0 ? $txt['pm_add_rule'] : $txt['pm_edit_rule'], '

-
-
- -
-
-
- ', $txt['pm_rule_name'], ':
- ', $txt['pm_rule_name_desc'], ' -
-
- -
-
-
- ', $txt['pm_rule_criteria'], ''; - - // Add a dummy criteria to allow expansion for none js users. - $context['rule']['criteria'][] = array('t' => '', 'v' => ''); - - // For each criteria print it out. - $isFirst = true; - foreach ($context['rule']['criteria'] as $k => $criteria) - { - if (!$isFirst && $criteria['t'] == '') - echo '
'; - elseif (!$isFirst) - echo '
'; - - echo ' - - - - - - - '; - - // If this is the dummy we add a means to hide for non js users. - if ($isFirst) - $isFirst = false; - elseif ($criteria['t'] == '') - echo '
'; - } - - echo ' -
- -

- ', $txt['pm_rule_logic'], ': - -
-
- ', $txt['pm_rule_actions'], ''; - - // As with criteria - add a dummy action for "expansion". - $context['rule']['actions'][] = array('t' => '', 'v' => ''); - - // Print each action. - $isFirst = true; - foreach ($context['rule']['actions'] as $k => $action) - { - if (!$isFirst && $action['t'] == '') - echo '
'; - elseif (!$isFirst) - echo '
'; - - echo ' - - - - '; - - if ($isFirst) - $isFirst = false; - elseif ($action['t'] == '') - echo ' -
'; - } - - echo ' -
- -
-
- -

-
-

', $txt['pm_rule_description'], '

-
-
-
', $txt['pm_rule_js_disabled'], '
-
-
- - -
-
'; - - // Now setup all the bits! - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/Redsy/Settings.template.php b/config/themes/Redsy/Settings.template.php deleted file mode 100755 index 3d85fa1..0000000 --- a/config/themes/Redsy/Settings.template.php +++ /dev/null @@ -1,320 +0,0 @@ - 'show_board_desc', - 'label' => $txt['board_desc_inside'], - 'default' => true, - ), - array( - 'id' => 'show_children', - 'label' => $txt['show_children'], - 'default' => true, - ), - array( - 'id' => 'use_sidebar_menu', - 'label' => $txt['use_sidebar_menu'], - 'default' => true, - ), - array( - 'id' => 'show_no_avatars', - 'label' => $txt['show_no_avatars'], - 'default' => true, - ), - array( - 'id' => 'show_no_signatures', - 'label' => $txt['show_no_signatures'], - 'default' => true, - ), - array( - 'id' => 'show_no_censored', - 'label' => $txt['show_no_censored'], - 'default' => true, - ), - array( - 'id' => 'return_to_post', - 'label' => $txt['return_to_post'], - 'default' => true, - ), - array( - 'id' => 'no_new_reply_warning', - 'label' => $txt['no_new_reply_warning'], - 'default' => true, - ), - array( - 'id' => 'view_newest_first', - 'label' => $txt['recent_posts_at_top'], - 'default' => true, - ), - array( - 'id' => 'view_newest_pm_first', - 'label' => $txt['recent_pms_at_top'], - 'default' => true, - ), - array( - 'id' => 'posts_apply_ignore_list', - 'label' => $txt['posts_apply_ignore_list'], - 'default' => false, - ), - array( - 'id' => 'wysiwyg_default', - 'label' => $txt['wysiwyg_default'], - 'default' => false, - ), - array( - 'id' => 'popup_messages', - 'label' => $txt['popup_messages'], - 'default' => true, - ), - array( - 'id' => 'copy_to_outbox', - 'label' => $txt['copy_to_outbox'], - 'default' => true, - ), - array( - 'id' => 'pm_remove_inbox_label', - 'label' => $txt['pm_remove_inbox_label'], - 'default' => true, - ), - array( - 'id' => 'auto_notify', - 'label' => $txt['auto_notify'], - 'default' => true, - ), - array( - 'id' => 'topics_per_page', - 'label' => $txt['topics_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'messages_per_page', - 'label' => $txt['messages_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'calendar_start_day', - 'label' => $txt['calendar_start_day'], - 'options' => array( - 0 => $txt['days'][0], - 1 => $txt['days'][1], - 6 => $txt['days'][6], - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_reply', - 'label' => $txt['display_quick_reply'], - 'options' => array( - 0 => $txt['display_quick_reply1'], - 1 => $txt['display_quick_reply2'], - 2 => $txt['display_quick_reply3'] - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_mod', - 'label' => $txt['display_quick_mod'], - 'options' => array( - 0 => $txt['display_quick_mod_none'], - 1 => $txt['display_quick_mod_check'], - 2 => $txt['display_quick_mod_image'], - ), - 'default' => true, - ), - ); -} - -function template_settings() -{ - global $context, $settings, $options, $scripturl, $txt; - - $context['theme_settings'] = array( - array( - 'id' => 'header_logo_url', - 'label' => $txt['header_logo_url'], - 'description' => $txt['header_logo_url_desc'], - 'type' => 'text', - ), - array( - 'id' => 'redsy_copyright', - 'label' => $txt['redsy_copyright'], - 'type' => 'text', - ), - array( - 'id' => 'redsy_navbar', - 'label' => $txt['redsy_navbar'], - ), - array( - 'id' => 'redsy_navbar_height', - 'label' => $txt['redsy_navbar_height'], - 'description' => $txt['redsy_navbar_height_desc'], - 'type' => 'text', - ), - array( - 'id' => 'forum_width', - 'label' => $txt['forum_width'], - 'description' => $txt['forum_width_desc'], - 'type' => 'text', - 'size' => 8, - ), - array( - 'id' => 'smiley_sets_default', - 'label' => $txt['smileys_default_set_for_theme'], - 'options' => $context['smiley_sets'], - 'type' => 'text', - ), - '', - array( - 'id' => 'facebook_check', - 'label' => $txt['facebook_check'], - ), - array( - 'id' => 'facebook_text', - 'label' => $txt['facebook_text'], - 'type' => 'text', - ), - array( - 'id' => 'twitter_check', - 'label' => $txt['twitter_check'], - ), - array( - 'id' => 'twitter_text', - 'label' => $txt['twitter_text'], - 'type' => 'text', - ), - array( - 'id' => 'youtube_check', - 'label' => $txt['youtube_check'], - ), - array( - 'id' => 'youtube_text', - 'label' => $txt['youtube_text'], - 'type' => 'text', - ), - array( - 'id' => 'rss_check', - 'label' => $txt['rss_check'], - ), - array( - 'id' => 'rss_text', - 'label' => $txt['rss_text'], - 'type' => 'text', - ), - '', - array( - 'id' => 'linktree_link', - 'label' => $txt['current_pos_text_img'], - ), - array( - 'id' => 'show_mark_read', - 'label' => $txt['enable_mark_as_read'], - ), - array( - 'id' => 'allow_no_censored', - 'label' => $txt['allow_no_censored'], - ), - '', - array( - 'id' => 'show_newsfader', - 'label' => $txt['news_fader'], - ), - array( - 'id' => 'newsfader_time', - 'label' => $txt['admin_fader_delay'], - 'type' => 'number', - ), - array( - 'id' => 'number_recent_posts', - 'label' => $txt['number_recent_posts'], - 'description' => $txt['number_recent_posts_desc'], - 'type' => 'number', - ), - array( - 'id' => 'show_stats_index', - 'label' => $txt['show_stats_index'], - ), - array( - 'id' => 'show_latest_member', - 'label' => $txt['latest_members'], - ), - array( - 'id' => 'show_group_key', - 'label' => $txt['show_group_key'], - ), - array( - 'id' => 'display_who_viewing', - 'label' => $txt['who_display_viewing'], - 'options' => array( - 0 => $txt['who_display_viewing_off'], - 1 => $txt['who_display_viewing_numbers'], - 2 => $txt['who_display_viewing_names'], - ), - 'type' => 'number', - ), - '', - array( - 'id' => 'show_modify', - 'label' => $txt['last_modification'], - ), - array( - 'id' => 'show_profile_buttons', - 'label' => $txt['show_view_profile_button'], - ), - array( - 'id' => 'show_user_images', - 'label' => $txt['user_avatars'], - ), - array( - 'id' => 'show_blurb', - 'label' => $txt['user_text'], - ), - array( - 'id' => 'show_gender', - 'label' => $txt['gender_images'], - ), - array( - 'id' => 'hide_post_group', - 'label' => $txt['hide_post_group'], - 'description' => $txt['hide_post_group_desc'], - ), - '', - array( - 'id' => 'show_bbc', - 'label' => $txt['admin_bbc'], - ), - array( - 'id' => 'additional_options_collapsable', - 'label' => $txt['additional_options_collapsable'], - ), - ); -} - -?> \ No newline at end of file diff --git a/config/themes/Redsy/css/bootstrap.css b/config/themes/Redsy/css/bootstrap.css deleted file mode 100755 index 7ef1209..0000000 --- a/config/themes/Redsy/css/bootstrap.css +++ /dev/null @@ -1,4148 +0,0 @@ -/*! - * Bootstrap v3.3.2 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/*! - * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=dfe8c23f60c3b4da3578) - * Config saved to config.json and https://gist.github.com/dfe8c23f60c3b4da3578 - */ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ -@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic&subset=latin,greek,cyrillic,greek-ext,vietnamese,latin-ext,cyrillic-ext);html { - font-family: sans-serif; - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; -} -body { - margin: 0; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; -} -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} -audio:not([controls]) { - display: none; - height: 0; -} -[hidden], -template { - display: none; -} -a { - background-color: transparent; -} -a:active, -a:hover { - outline: 0; -} -abbr[title] { - border-bottom: 1px dotted; -} -b, -strong { - font-weight: bold; -} -dfn { - font-style: italic; -} -h1 { - font-size: 2em; - margin: 0.67em 0; -} -mark { - background: #ff0; - color: #000; -} -small { - font-size: 80%; -} -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - border: 0; -} -svg:not(:root) { - overflow: hidden; -} -figure { - margin: 1em 40px; -} -hr { - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} -pre { - overflow: auto; -} -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} -button, -input, -optgroup, -select, -textarea { - color: inherit; - font: inherit; - margin: 0; -} -button { - overflow: visible; -} -button, -select { - text-transform: none; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -button[disabled], -html input[disabled] { - cursor: default; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} -input { - line-height: normal; -} -input[type="checkbox"], -input[type="radio"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0; -} -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -input[type="search"] { - -webkit-appearance: textfield; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} -legend { - border: 0; - padding: 0; -} -textarea { - overflow: auto; -} -optgroup { - font-weight: bold; -} -table { - border-collapse: collapse; - border-spacing: 0; -} -td, -th { - padding: 0; -} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ -@media print { - *, - *:before, - *:after { - background: transparent !important; - color: #000 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } - select { - background: #fff !important; - } - .navbar { - display: none; - } - .btn > .caret, - .dropup > .btn > .caret { - border-top-color: #000 !important; - } - .label { - border: 1px solid #000; - } - .table { - border-collapse: collapse !important; - } - .table td, - .table th { - background-color: #fff !important; - } - .table-bordered th, - .table-bordered td { - border: 1px solid #ddd !important; - } -} -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -*:before, -*:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -html { - font-size: 10px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} -body { - font-family: 'Open Sans'; - font-size: 14px; - line-height: 1.42857143; - color: #333333; - background-color: #EEE; -} -input, -button, -select, -textarea { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -a { - color: #337ab7; - text-decoration: none; -} -a:hover, -a:focus { - color: #23527c; - text-decoration: underline; -} -a:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -figure { - margin: 0; -} -img { - vertical-align: middle; -} -.img-responsive { - display: block; - max-width: 100%; - height: auto; -} -.img-rounded { - border-radius: 6px; -} -.img-thumbnail { - padding: 4px; - line-height: 1.42857143; - background-color: #ffffff; - border: 1px solid #dddddd; - border-radius: 4px; - -webkit-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - display: inline-block; - max-width: 100%; - height: auto; -} -.img-circle { - border-radius: 50%; -} -hr { - margin-top: 20px; - margin-bottom: 20px; - border: 0; - border-top: 1px solid #eeeeee; -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -.sr-only-focusable:active, -.sr-only-focusable:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; -} -.container { - margin-right: auto; - margin-left: auto; - padding-left: 15px; - padding-right: 15px; -} -@media (min-width: 768px) { - .container { - min-width: 768px; - } -} -.container-fluid { - margin-right: auto; - margin-left: auto; - padding-left: 15px; - padding-right: 15px; -} -.row { - margin-left: -15px; - margin-right: -15px; -} -.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { - position: relative; - min-height: 1px; - padding-left: 15px; - padding-right: 15px; -} -.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { - float: left; -} -.col-xs-12 { - width: 100%; -} -.col-xs-11 { - width: 91.66666667%; -} -.col-xs-10 { - width: 83.33333333%; -} -.col-xs-9 { - width: 75%; -} -.col-xs-8 { - width: 66.66666667%; -} -.col-xs-7 { - width: 58.33333333%; -} -.col-xs-6 { - width: 50%; -} -.col-xs-5 { - width: 41.66666667%; -} -.col-xs-4 { - width: 33.33333333%; -} -.col-xs-3 { - width: 25%; -} -.col-xs-2 { - width: 16.66666667%; -} -.col-xs-1 { - width: 8.33333333%; -} -.col-xs-pull-12 { - right: 100%; -} -.col-xs-pull-11 { - right: 91.66666667%; -} -.col-xs-pull-10 { - right: 83.33333333%; -} -.col-xs-pull-9 { - right: 75%; -} -.col-xs-pull-8 { - right: 66.66666667%; -} -.col-xs-pull-7 { - right: 58.33333333%; -} -.col-xs-pull-6 { - right: 50%; -} -.col-xs-pull-5 { - right: 41.66666667%; -} -.col-xs-pull-4 { - right: 33.33333333%; -} -.col-xs-pull-3 { - right: 25%; -} -.col-xs-pull-2 { - right: 16.66666667%; -} -.col-xs-pull-1 { - right: 8.33333333%; -} -.col-xs-pull-0 { - right: auto; -} -.col-xs-push-12 { - left: 100%; -} -.col-xs-push-11 { - left: 91.66666667%; -} -.col-xs-push-10 { - left: 83.33333333%; -} -.col-xs-push-9 { - left: 75%; -} -.col-xs-push-8 { - left: 66.66666667%; -} -.col-xs-push-7 { - left: 58.33333333%; -} -.col-xs-push-6 { - left: 50%; -} -.col-xs-push-5 { - left: 41.66666667%; -} -.col-xs-push-4 { - left: 33.33333333%; -} -.col-xs-push-3 { - left: 25%; -} -.col-xs-push-2 { - left: 16.66666667%; -} -.col-xs-push-1 { - left: 8.33333333%; -} -.col-xs-push-0 { - left: auto; -} -.col-xs-offset-12 { - margin-left: 100%; -} -.col-xs-offset-11 { - margin-left: 91.66666667%; -} -.col-xs-offset-10 { - margin-left: 83.33333333%; -} -.col-xs-offset-9 { - margin-left: 75%; -} -.col-xs-offset-8 { - margin-left: 66.66666667%; -} -.col-xs-offset-7 { - margin-left: 58.33333333%; -} -.col-xs-offset-6 { - margin-left: 50%; -} -.col-xs-offset-5 { - margin-left: 41.66666667%; -} -.col-xs-offset-4 { - margin-left: 33.33333333%; -} -.col-xs-offset-3 { - margin-left: 25%; -} -.col-xs-offset-2 { - margin-left: 16.66666667%; -} -.col-xs-offset-1 { - margin-left: 8.33333333%; -} -.col-xs-offset-0 { - margin-left: 0%; -} -@media (min-width: 768px) { - .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { - float: left; - } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666667%; - } - .col-sm-10 { - width: 83.33333333%; - } - .col-sm-9 { - width: 75%; - } - .col-sm-8 { - width: 66.66666667%; - } - .col-sm-7 { - width: 58.33333333%; - } - .col-sm-6 { - width: 50%; - } - .col-sm-5 { - width: 41.66666667%; - } - .col-sm-4 { - width: 33.33333333%; - } - .col-sm-3 { - width: 25%; - } - .col-sm-2 { - width: 16.66666667%; - } - .col-sm-1 { - width: 8.33333333%; - } - .col-sm-pull-12 { - right: 100%; - } - .col-sm-pull-11 { - right: 91.66666667%; - } - .col-sm-pull-10 { - right: 83.33333333%; - } - .col-sm-pull-9 { - right: 75%; - } - .col-sm-pull-8 { - right: 66.66666667%; - } - .col-sm-pull-7 { - right: 58.33333333%; - } - .col-sm-pull-6 { - right: 50%; - } - .col-sm-pull-5 { - right: 41.66666667%; - } - .col-sm-pull-4 { - right: 33.33333333%; - } - .col-sm-pull-3 { - right: 25%; - } - .col-sm-pull-2 { - right: 16.66666667%; - } - .col-sm-pull-1 { - right: 8.33333333%; - } - .col-sm-pull-0 { - right: auto; - } - .col-sm-push-12 { - left: 100%; - } - .col-sm-push-11 { - left: 91.66666667%; - } - .col-sm-push-10 { - left: 83.33333333%; - } - .col-sm-push-9 { - left: 75%; - } - .col-sm-push-8 { - left: 66.66666667%; - } - .col-sm-push-7 { - left: 58.33333333%; - } - .col-sm-push-6 { - left: 50%; - } - .col-sm-push-5 { - left: 41.66666667%; - } - .col-sm-push-4 { - left: 33.33333333%; - } - .col-sm-push-3 { - left: 25%; - } - .col-sm-push-2 { - left: 16.66666667%; - } - .col-sm-push-1 { - left: 8.33333333%; - } - .col-sm-push-0 { - left: auto; - } - .col-sm-offset-12 { - margin-left: 100%; - } - .col-sm-offset-11 { - margin-left: 91.66666667%; - } - .col-sm-offset-10 { - margin-left: 83.33333333%; - } - .col-sm-offset-9 { - margin-left: 75%; - } - .col-sm-offset-8 { - margin-left: 66.66666667%; - } - .col-sm-offset-7 { - margin-left: 58.33333333%; - } - .col-sm-offset-6 { - margin-left: 50%; - } - .col-sm-offset-5 { - margin-left: 41.66666667%; - } - .col-sm-offset-4 { - margin-left: 33.33333333%; - } - .col-sm-offset-3 { - margin-left: 25%; - } - .col-sm-offset-2 { - margin-left: 16.66666667%; - } - .col-sm-offset-1 { - margin-left: 8.33333333%; - } - .col-sm-offset-0 { - margin-left: 0%; - } -} -@media (min-width: 992px) { - .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { - float: left; - } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666667%; - } - .col-md-10 { - width: 83.33333333%; - } - .col-md-9 { - width: 75%; - } - .col-md-8 { - width: 66.66666667%; - } - .col-md-7 { - width: 58.33333333%; - } - .col-md-6 { - width: 50%; - } - .col-md-5 { - width: 41.66666667%; - } - .col-md-4 { - width: 33.33333333%; - } - .col-md-3 { - width: 25%; - } - .col-md-2 { - width: 16.66666667%; - } - .col-md-1 { - width: 8.33333333%; - } - .col-md-pull-12 { - right: 100%; - } - .col-md-pull-11 { - right: 91.66666667%; - } - .col-md-pull-10 { - right: 83.33333333%; - } - .col-md-pull-9 { - right: 75%; - } - .col-md-pull-8 { - right: 66.66666667%; - } - .col-md-pull-7 { - right: 58.33333333%; - } - .col-md-pull-6 { - right: 50%; - } - .col-md-pull-5 { - right: 41.66666667%; - } - .col-md-pull-4 { - right: 33.33333333%; - } - .col-md-pull-3 { - right: 25%; - } - .col-md-pull-2 { - right: 16.66666667%; - } - .col-md-pull-1 { - right: 8.33333333%; - } - .col-md-pull-0 { - right: auto; - } - .col-md-push-12 { - left: 100%; - } - .col-md-push-11 { - left: 91.66666667%; - } - .col-md-push-10 { - left: 83.33333333%; - } - .col-md-push-9 { - left: 75%; - } - .col-md-push-8 { - left: 66.66666667%; - } - .col-md-push-7 { - left: 58.33333333%; - } - .col-md-push-6 { - left: 50%; - } - .col-md-push-5 { - left: 41.66666667%; - } - .col-md-push-4 { - left: 33.33333333%; - } - .col-md-push-3 { - left: 25%; - } - .col-md-push-2 { - left: 16.66666667%; - } - .col-md-push-1 { - left: 8.33333333%; - } - .col-md-push-0 { - left: auto; - } - .col-md-offset-12 { - margin-left: 100%; - } - .col-md-offset-11 { - margin-left: 91.66666667%; - } - .col-md-offset-10 { - margin-left: 83.33333333%; - } - .col-md-offset-9 { - margin-left: 75%; - } - .col-md-offset-8 { - margin-left: 66.66666667%; - } - .col-md-offset-7 { - margin-left: 58.33333333%; - } - .col-md-offset-6 { - margin-left: 50%; - } - .col-md-offset-5 { - margin-left: 41.66666667%; - } - .col-md-offset-4 { - margin-left: 33.33333333%; - } - .col-md-offset-3 { - margin-left: 25%; - } - .col-md-offset-2 { - margin-left: 16.66666667%; - } - .col-md-offset-1 { - margin-left: 8.33333333%; - } - .col-md-offset-0 { - margin-left: 0%; - } -} -@media (min-width: 1200px) { - .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { - float: left; - } - .col-lg-12 { - width: 100%; - } - .col-lg-11 { - width: 91.66666667%; - } - .col-lg-10 { - width: 83.33333333%; - } - .col-lg-9 { - width: 75%; - } - .col-lg-8 { - width: 66.66666667%; - } - .col-lg-7 { - width: 58.33333333%; - } - .col-lg-6 { - width: 50%; - } - .col-lg-5 { - width: 41.66666667%; - } - .col-lg-4 { - width: 33.33333333%; - } - .col-lg-3 { - width: 25%; - } - .col-lg-2 { - width: 16.66666667%; - } - .col-lg-1 { - width: 8.33333333%; - } - .col-lg-pull-12 { - right: 100%; - } - .col-lg-pull-11 { - right: 91.66666667%; - } - .col-lg-pull-10 { - right: 83.33333333%; - } - .col-lg-pull-9 { - right: 75%; - } - .col-lg-pull-8 { - right: 66.66666667%; - } - .col-lg-pull-7 { - right: 58.33333333%; - } - .col-lg-pull-6 { - right: 50%; - } - .col-lg-pull-5 { - right: 41.66666667%; - } - .col-lg-pull-4 { - right: 33.33333333%; - } - .col-lg-pull-3 { - right: 25%; - } - .col-lg-pull-2 { - right: 16.66666667%; - } - .col-lg-pull-1 { - right: 8.33333333%; - } - .col-lg-pull-0 { - right: auto; - } - .col-lg-push-12 { - left: 100%; - } - .col-lg-push-11 { - left: 91.66666667%; - } - .col-lg-push-10 { - left: 83.33333333%; - } - .col-lg-push-9 { - left: 75%; - } - .col-lg-push-8 { - left: 66.66666667%; - } - .col-lg-push-7 { - left: 58.33333333%; - } - .col-lg-push-6 { - left: 50%; - } - .col-lg-push-5 { - left: 41.66666667%; - } - .col-lg-push-4 { - left: 33.33333333%; - } - .col-lg-push-3 { - left: 25%; - } - .col-lg-push-2 { - left: 16.66666667%; - } - .col-lg-push-1 { - left: 8.33333333%; - } - .col-lg-push-0 { - left: auto; - } - .col-lg-offset-12 { - margin-left: 100%; - } - .col-lg-offset-11 { - margin-left: 91.66666667%; - } - .col-lg-offset-10 { - margin-left: 83.33333333%; - } - .col-lg-offset-9 { - margin-left: 75%; - } - .col-lg-offset-8 { - margin-left: 66.66666667%; - } - .col-lg-offset-7 { - margin-left: 58.33333333%; - } - .col-lg-offset-6 { - margin-left: 50%; - } - .col-lg-offset-5 { - margin-left: 41.66666667%; - } - .col-lg-offset-4 { - margin-left: 33.33333333%; - } - .col-lg-offset-3 { - margin-left: 25%; - } - .col-lg-offset-2 { - margin-left: 16.66666667%; - } - .col-lg-offset-1 { - margin-left: 8.33333333%; - } - .col-lg-offset-0 { - margin-left: 0%; - } -} -table { - background-color: transparent; -} -caption { - padding-top: 8px; - padding-bottom: 8px; - color: #777777; - text-align: left; -} -th { - text-align: left; -} -.table { - width: 100%; - max-width: 100%; - margin-bottom: 20px; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table > thead > tr > th { - vertical-align: bottom; - border-bottom: 2px solid #dddddd; -} -.table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, -.table > caption + thead > tr:first-child > td, -.table > colgroup + thead > tr:first-child > td, -.table > thead:first-child > tr:first-child > td { - border-top: 0; -} -.table > tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, -.table-condensed > thead > tr > td, -.table-condensed > tbody > tr > td, -.table-condensed > tfoot > tr > td { - padding: 5px; -} -.table-bordered { - border: 1px solid #dddddd; -} -.table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, -.table-bordered > thead > tr > td, -.table-bordered > tbody > tr > td, -.table-bordered > tfoot > tr > td { - border: 1px solid #dddddd; -} -.table-bordered > thead > tr > th, -.table-bordered > thead > tr > td { - border-bottom-width: 2px; -} -.table-striped > tbody > tr:nth-of-type(odd) { - background-color: #f9f9f9; -} -.table-hover > tbody > tr:hover { - background-color: #f5f5f5; -} -table col[class*="col-"] { - position: static; - float: none; - display: table-column; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - float: none; - display: table-cell; -} -.table > thead > tr > td.active, -.table > tbody > tr > td.active, -.table > tfoot > tr > td.active, -.table > thead > tr > th.active, -.table > tbody > tr > th.active, -.table > tfoot > tr > th.active, -.table > thead > tr.active > td, -.table > tbody > tr.active > td, -.table > tfoot > tr.active > td, -.table > thead > tr.active > th, -.table > tbody > tr.active > th, -.table > tfoot > tr.active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > td.active:hover, -.table-hover > tbody > tr > th.active:hover, -.table-hover > tbody > tr.active:hover > td, -.table-hover > tbody > tr:hover > .active, -.table-hover > tbody > tr.active:hover > th { - background-color: #e8e8e8; -} -.table > thead > tr > td.success, -.table > tbody > tr > td.success, -.table > tfoot > tr > td.success, -.table > thead > tr > th.success, -.table > tbody > tr > th.success, -.table > tfoot > tr > th.success, -.table > thead > tr.success > td, -.table > tbody > tr.success > td, -.table > tfoot > tr.success > td, -.table > thead > tr.success > th, -.table > tbody > tr.success > th, -.table > tfoot > tr.success > th { - background-color: #dff0d8; -} -.table-hover > tbody > tr > td.success:hover, -.table-hover > tbody > tr > th.success:hover, -.table-hover > tbody > tr.success:hover > td, -.table-hover > tbody > tr:hover > .success, -.table-hover > tbody > tr.success:hover > th { - background-color: #d0e9c6; -} -.table > thead > tr > td.info, -.table > tbody > tr > td.info, -.table > tfoot > tr > td.info, -.table > thead > tr > th.info, -.table > tbody > tr > th.info, -.table > tfoot > tr > th.info, -.table > thead > tr.info > td, -.table > tbody > tr.info > td, -.table > tfoot > tr.info > td, -.table > thead > tr.info > th, -.table > tbody > tr.info > th, -.table > tfoot > tr.info > th { - background-color: #d9edf7; -} -.table-hover > tbody > tr > td.info:hover, -.table-hover > tbody > tr > th.info:hover, -.table-hover > tbody > tr.info:hover > td, -.table-hover > tbody > tr:hover > .info, -.table-hover > tbody > tr.info:hover > th { - background-color: #c4e3f3; -} -.table > thead > tr > td.warning, -.table > tbody > tr > td.warning, -.table > tfoot > tr > td.warning, -.table > thead > tr > th.warning, -.table > tbody > tr > th.warning, -.table > tfoot > tr > th.warning, -.table > thead > tr.warning > td, -.table > tbody > tr.warning > td, -.table > tfoot > tr.warning > td, -.table > thead > tr.warning > th, -.table > tbody > tr.warning > th, -.table > tfoot > tr.warning > th { - background-color: #fcf8e3; -} -.table-hover > tbody > tr > td.warning:hover, -.table-hover > tbody > tr > th.warning:hover, -.table-hover > tbody > tr.warning:hover > td, -.table-hover > tbody > tr:hover > .warning, -.table-hover > tbody > tr.warning:hover > th { - background-color: #faf2cc; -} -.table > thead > tr > td.danger, -.table > tbody > tr > td.danger, -.table > tfoot > tr > td.danger, -.table > thead > tr > th.danger, -.table > tbody > tr > th.danger, -.table > tfoot > tr > th.danger, -.table > thead > tr.danger > td, -.table > tbody > tr.danger > td, -.table > tfoot > tr.danger > td, -.table > thead > tr.danger > th, -.table > tbody > tr.danger > th, -.table > tfoot > tr.danger > th { - background-color: #f2dede; -} -.table-hover > tbody > tr > td.danger:hover, -.table-hover > tbody > tr > th.danger:hover, -.table-hover > tbody > tr.danger:hover > td, -.table-hover > tbody > tr:hover > .danger, -.table-hover > tbody > tr.danger:hover > th { - background-color: #ebcccc; -} -.table-responsive { - overflow-x: auto; - min-height: 0.01%; -} -@media screen and (max-width: 767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #dddddd; - } - .table-responsive > .table { - margin-bottom: 0; - } - .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, - .table-responsive > .table > thead > tr > td, - .table-responsive > .table > tbody > tr > td, - .table-responsive > .table > tfoot > tr > td { - white-space: nowrap; - } - .table-responsive > .table-bordered { - border: 0; - } - .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, - .table-responsive > .table-bordered > thead > tr > td:first-child, - .table-responsive > .table-bordered > tbody > tr > td:first-child, - .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; - } - .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, - .table-responsive > .table-bordered > thead > tr > td:last-child, - .table-responsive > .table-bordered > tbody > tr > td:last-child, - .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; - } - .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, - .table-responsive > .table-bordered > tbody > tr:last-child > td, - .table-responsive > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; - } -} -fieldset { - padding: 0; - margin: 0; - border: 0; - min-width: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: inherit; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -label { - display: inline-block; - max-width: 100%; - margin-bottom: 5px; - font-weight: bold; -} -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - line-height: normal; -} -input[type="file"] { - display: block; -} -input[type="range"] { - display: block; - width: 100%; -} -select[multiple], -select[size] { - height: auto; -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -output { - display: block; - padding-top: 7px; - font-size: 14px; - line-height: 1.42857143; - color: #555555; -} -.form-control { - display: block; - width: 100%; - height: 34px; - padding: 6px 12px; - font-size: 14px; - line-height: 1.42857143; - color: #555555; - background-color: #ffffff; - background-image: none; - border: 1px solid #cccccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); -} -.form-control::-moz-placeholder { - color: #999999; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #999999; -} -.form-control::-webkit-input-placeholder { - color: #999999; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - cursor: not-allowed; - background-color: #eeeeee; - opacity: 1; -} -textarea.form-control { - height: auto; -} -input[type="search"] { - -webkit-appearance: none; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - input[type="date"], - input[type="time"], - input[type="datetime-local"], - input[type="month"] { - line-height: 34px; - } - input[type="date"].input-sm, - input[type="time"].input-sm, - input[type="datetime-local"].input-sm, - input[type="month"].input-sm, - .input-group-sm input[type="date"], - .input-group-sm input[type="time"], - .input-group-sm input[type="datetime-local"], - .input-group-sm input[type="month"] { - line-height: 30px; - } - input[type="date"].input-lg, - input[type="time"].input-lg, - input[type="datetime-local"].input-lg, - input[type="month"].input-lg, - .input-group-lg input[type="date"], - .input-group-lg input[type="time"], - .input-group-lg input[type="datetime-local"], - .input-group-lg input[type="month"] { - line-height: 46px; - } -} -.form-group { - margin-bottom: 15px; -} -.radio, -.checkbox { - position: relative; - display: block; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - min-height: 20px; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - cursor: pointer; -} -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - position: absolute; - margin-left: -20px; - margin-top: 4px \9; -} -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} -.radio-inline, -.checkbox-inline { - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - vertical-align: middle; - font-weight: normal; - cursor: pointer; -} -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"].disabled, -input[type="checkbox"].disabled, -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"] { - cursor: not-allowed; -} -.radio-inline.disabled, -.checkbox-inline.disabled, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox-inline { - cursor: not-allowed; -} -.radio.disabled label, -.checkbox.disabled label, -fieldset[disabled] .radio label, -fieldset[disabled] .checkbox label { - cursor: not-allowed; -} -.form-control-static { - padding-top: 7px; - padding-bottom: 7px; - margin-bottom: 0; -} -.form-control-static.input-lg, -.form-control-static.input-sm { - padding-left: 0; - padding-right: 0; -} -.input-sm { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-sm { - height: 30px; - line-height: 30px; -} -textarea.input-sm, -select[multiple].input-sm { - height: auto; -} -.form-group-sm .form-control { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.form-group-sm .form-control { - height: 30px; - line-height: 30px; -} -textarea.form-group-sm .form-control, -select[multiple].form-group-sm .form-control { - height: auto; -} -.form-group-sm .form-control-static { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; -} -.input-lg { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-lg { - height: 46px; - line-height: 46px; -} -textarea.input-lg, -select[multiple].input-lg { - height: auto; -} -.form-group-lg .form-control { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.form-group-lg .form-control { - height: 46px; - line-height: 46px; -} -textarea.form-group-lg .form-control, -select[multiple].form-group-lg .form-control { - height: auto; -} -.form-group-lg .form-control-static { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; -} -.has-feedback { - position: relative; -} -.has-feedback .form-control { - padding-right: 42.5px; -} -.form-control-feedback { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: block; - width: 34px; - height: 34px; - line-height: 34px; - text-align: center; - pointer-events: none; -} -.input-lg + .form-control-feedback { - width: 46px; - height: 46px; - line-height: 46px; -} -.input-sm + .form-control-feedback { - width: 30px; - height: 30px; - line-height: 30px; -} -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline, -.has-success.radio label, -.has-success.checkbox label, -.has-success.radio-inline label, -.has-success.checkbox-inline label { - color: #3c763d; -} -.has-success .form-control { - border-color: #3c763d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.has-success .form-control:focus { - border-color: #2b542c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; -} -.has-success .input-group-addon { - color: #3c763d; - border-color: #3c763d; - background-color: #dff0d8; -} -.has-success .form-control-feedback { - color: #3c763d; -} -.has-warning .help-block, -.has-warning .control-label, -.has-warning .radio, -.has-warning .checkbox, -.has-warning .radio-inline, -.has-warning .checkbox-inline, -.has-warning.radio label, -.has-warning.checkbox label, -.has-warning.radio-inline label, -.has-warning.checkbox-inline label { - color: #8a6d3b; -} -.has-warning .form-control { - border-color: #8a6d3b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.has-warning .form-control:focus { - border-color: #66512c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; -} -.has-warning .input-group-addon { - color: #8a6d3b; - border-color: #8a6d3b; - background-color: #fcf8e3; -} -.has-warning .form-control-feedback { - color: #8a6d3b; -} -.has-error .help-block, -.has-error .control-label, -.has-error .radio, -.has-error .checkbox, -.has-error .radio-inline, -.has-error .checkbox-inline, -.has-error.radio label, -.has-error.checkbox label, -.has-error.radio-inline label, -.has-error.checkbox-inline label { - color: #a94442; -} -.has-error .form-control { - border-color: #a94442; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.has-error .form-control:focus { - border-color: #843534; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; -} -.has-error .input-group-addon { - color: #a94442; - border-color: #a94442; - background-color: #f2dede; -} -.has-error .form-control-feedback { - color: #a94442; -} -.has-feedback label ~ .form-control-feedback { - top: 25px; -} -.has-feedback label.sr-only ~ .form-control-feedback { - top: 0; -} -.help-block { - display: block; - margin-top: 5px; - margin-bottom: 10px; - color: #737373; -} -@media (min-width: 768px) { - .form-inline .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .form-control-static { - display: inline-block; - } - .form-inline .input-group { - display: inline-table; - vertical-align: middle; - } - .form-inline .input-group .input-group-addon, - .form-inline .input-group .input-group-btn, - .form-inline .input-group .form-control { - width: auto; - } - .form-inline .input-group > .form-control { - width: 100%; - } - .form-inline .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio, - .form-inline .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio label, - .form-inline .checkbox label { - padding-left: 0; - } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .form-inline .has-feedback .form-control-feedback { - top: 0; - } -} -.form-horizontal .radio, -.form-horizontal .checkbox, -.form-horizontal .radio-inline, -.form-horizontal .checkbox-inline { - margin-top: 0; - margin-bottom: 0; - padding-top: 7px; -} -.form-horizontal .radio, -.form-horizontal .checkbox { - min-height: 27px; -} -.form-horizontal .form-group { - margin-left: -15px; - margin-right: -15px; -} -@media (min-width: 768px) { - .form-horizontal .control-label { - text-align: right; - margin-bottom: 0; - padding-top: 7px; - } -} -.form-horizontal .has-feedback .form-control-feedback { - right: 15px; -} -@media (min-width: 768px) { - .form-horizontal .form-group-lg .control-label { - padding-top: 14.333333px; - } -} -@media (min-width: 768px) { - .form-horizontal .form-group-sm .control-label { - padding-top: 6px; - } -} -.btn { - display: inline-block; - margin-bottom: 0; - font-weight: normal; - text-align: center; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - padding: 6px 12px; - font-size: 14px; - line-height: 1.42857143; - border-radius: 4px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.btn:focus, -.btn:active:focus, -.btn.active:focus, -.btn.focus, -.btn:active.focus, -.btn.active.focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus, -.btn.focus { - color: #333333; - text-decoration: none; -} -.btn:active, -.btn.active { - outline: 0; - background-image: none; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - cursor: not-allowed; - pointer-events: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-default { - color: #333333; - background-color: #ffffff; - border-color: #cccccc; -} -.btn-default:hover, -.btn-default:focus, -.btn-default.focus, -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - color: #333333; - background-color: #e6e6e6; - border-color: #adadad; -} -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled.focus, -.btn-default[disabled].focus, -fieldset[disabled] .btn-default.focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #ffffff; - border-color: #cccccc; -} -.btn-default .badge { - color: #ffffff; - background-color: #333333; -} -.btn-primary { - color: #ffffff; - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary.focus, -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - color: #ffffff; - background-color: #286090; - border-color: #204d74; -} -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - background-image: none; -} -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled.focus, -.btn-primary[disabled].focus, -fieldset[disabled] .btn-primary.focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary .badge { - color: #337ab7; - background-color: #ffffff; -} -.btn-success { - color: #ffffff; - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success:hover, -.btn-success:focus, -.btn-success.focus, -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - color: #ffffff; - background-color: #449d44; - border-color: #398439; -} -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled.focus, -.btn-success[disabled].focus, -fieldset[disabled] .btn-success.focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success .badge { - color: #5cb85c; - background-color: #ffffff; -} -.btn-info { - color: #ffffff; - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info:hover, -.btn-info:focus, -.btn-info.focus, -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - color: #ffffff; - background-color: #31b0d5; - border-color: #269abc; -} -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled.focus, -.btn-info[disabled].focus, -fieldset[disabled] .btn-info.focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info .badge { - color: #5bc0de; - background-color: #ffffff; -} -.btn-warning { - color: #ffffff; - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning.focus, -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - color: #ffffff; - background-color: #ec971f; - border-color: #d58512; -} -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - background-image: none; -} -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled.focus, -.btn-warning[disabled].focus, -fieldset[disabled] .btn-warning.focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning .badge { - color: #f0ad4e; - background-color: #ffffff; -} -.btn-danger { - color: #ffffff !important; - background-color: #337ab6; - border-color: #337ab6; -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger.focus, -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - color: #ffffff; - background-color: #296496; - border-color: #296496; -} -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - background-image: none; -} -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled.focus, -.btn-danger[disabled].focus, -fieldset[disabled] .btn-danger.focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { - background-color: #337ab6; - border-color: #337ab6; -} -.btn-danger .badge { - color: #337ab6; - background-color: #ffffff; -} -.btn-link { - color: #337ab7; - font-weight: normal; - border-radius: 0; -} -.btn-link, -.btn-link:active, -.btn-link.active, -.btn-link[disabled], -fieldset[disabled] .btn-link { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { - border-color: transparent; -} -.btn-link:hover, -.btn-link:focus { - color: #23527c; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { - color: #777777; - text-decoration: none; -} -.btn-lg, -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -.btn-sm, -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-xs, -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - display: none; - visibility: hidden; -} -.collapse.in { - display: block; - visibility: visible; -} -tr.collapse.in { - display: table-row; -} -tbody.collapse.in { - display: table-row-group; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition-property: height, visibility; - -o-transition-property: height, visibility; - transition-property: height, visibility; - -webkit-transition-duration: 0.35s; - -o-transition-duration: 0.35s; - transition-duration: 0.35s; - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px solid; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle:focus { - outline: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - font-size: 14px; - text-align: left; - background-color: #ffffff; - border: 1px solid #cccccc; - border: 1px solid rgba(0, 0, 0, 0.15); - border-radius: 4px; - -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); - box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); - -webkit-background-clip: padding-box; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - text-decoration: none; - color: #262626; - background-color: #f5f5f5; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #337ab7; -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #777777; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: not-allowed; -} -.open > .dropdown-menu { - display: block; -} -.open > a { - outline: 0; -} -.dropdown-menu-right { - left: auto; - right: 0; -} -.dropdown-menu-left { - left: 0; - right: auto; -} -.dropdown-header { - display: block; - padding: 3px 20px; - font-size: 12px; - line-height: 1.42857143; - color: #777777; - white-space: nowrap; -} -.dropdown-backdrop { - position: fixed; - left: 0; - right: 0; - bottom: 0; - top: 0; - z-index: 990; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} -@media (min-width: 768px) { - .navbar-right .dropdown-menu { - left: auto; - right: 0; - } - .navbar-right .dropdown-menu-left { - left: 0; - right: auto; - } -} -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn, -.btn-group-vertical > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus, -.btn-group > .btn:active, -.btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { - z-index: 2; -} -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-toolbar { - margin-left: -5px; -} -.btn-toolbar .btn-group, -.btn-toolbar .input-group { - float: left; -} -.btn-toolbar > .btn, -.btn-toolbar > .btn-group, -.btn-toolbar > .input-group { - margin-left: 5px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} -.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; -} -.btn-group > .btn-lg + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; -} -.btn-group.open .dropdown-toggle { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -} -.btn-group.open .dropdown-toggle.btn-link { - -webkit-box-shadow: none; - box-shadow: none; -} -.btn .caret { - margin-left: 0; -} -.btn-lg .caret { - border-width: 5px 5px 0; - border-bottom-width: 0; -} -.dropup .btn-lg .caret { - border-width: 0 5px 5px; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; -} -.btn-group-vertical > .btn-group > .btn { - float: none; -} -.btn-group-vertical > .btn + .btn, -.btn-group-vertical > .btn + .btn-group, -.btn-group-vertical > .btn-group + .btn, -.btn-group-vertical > .btn-group + .btn-group { - margin-top: -1px; - margin-left: 0; -} -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn:last-child:not(:first-child) { - border-bottom-left-radius: 4px; - border-top-right-radius: 0; - border-top-left-radius: 0; -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-right-radius: 0; - border-top-left-radius: 0; -} -.btn-group-justified { - display: table; - width: 100%; - table-layout: fixed; - border-collapse: separate; -} -.btn-group-justified > .btn, -.btn-group-justified > .btn-group { - float: none; - display: table-cell; - width: 1%; -} -.btn-group-justified > .btn-group .btn { - width: 100%; -} -.btn-group-justified > .btn-group .dropdown-menu { - left: auto; -} -[data-toggle="buttons"] > .btn input[type="radio"], -[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], -[data-toggle="buttons"] > .btn input[type="checkbox"], -[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} -.input-group { - position: relative; - display: table; - border-collapse: separate; -} -.input-group[class*="col-"] { - float: none; - padding-left: 0; - padding-right: 0; -} -.input-group .form-control { - position: relative; - z-index: 2; - float: left; - width: 100%; - margin-bottom: 0; -} -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn, -select[multiple].input-group-lg > .form-control, -select[multiple].input-group-lg > .input-group-addon, -select[multiple].input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn, -select[multiple].input-group-sm > .form-control, -select[multiple].input-group-sm > .input-group-addon, -select[multiple].input-group-sm > .input-group-btn > .btn { - height: auto; -} -.input-group-addon, -.input-group-btn, -.input-group .form-control { - display: table-cell; -} -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { - border-radius: 0; -} -.input-group-addon, -.input-group-btn { - width: 1%; - white-space: nowrap; - vertical-align: middle; -} -.input-group-addon { - padding: 6px 12px; - font-size: 14px; - font-weight: normal; - line-height: 1; - color: #555555; - text-align: center; - background-color: #eeeeee; - border: 1px solid #cccccc; - border-radius: 4px; -} -.input-group-addon.input-sm { - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} -.input-group-addon.input-lg { - padding: 10px 16px; - font-size: 18px; - border-radius: 6px; -} -.input-group-addon input[type="radio"], -.input-group-addon input[type="checkbox"] { - margin-top: 0; -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group > .btn, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} -.input-group-addon:first-child { - border-right: 0; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group > .btn, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child), -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} -.input-group-addon:last-child { - border-left: 0; -} -.input-group-btn { - position: relative; - font-size: 0; - white-space: nowrap; -} -.input-group-btn > .btn { - position: relative; -} -.input-group-btn > .btn + .btn { - margin-left: -1px; -} -.input-group-btn > .btn:hover, -.input-group-btn > .btn:focus, -.input-group-btn > .btn:active { - z-index: 2; -} -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group { - margin-right: -1px; -} -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group { - margin-left: -1px; -} -.nav { - margin-bottom: 0; - padding-left: 0; - list-style: none; -} -.nav > li { - position: relative; - display: block; -} -.nav > li > a { - position: relative; - display: block; - padding: 10px 15px; -} -.nav > li > a:hover, -.nav > li > a:focus, -.nav > li.active > a, -.nav > li.active > a:hover { - text-decoration: none; - background-color: #13161c; -} -.nav > li.disabled > a { - color: #777777; -} -.nav > li.disabled > a:hover, -.nav > li.disabled > a:focus { - color: #777777; - text-decoration: none; - background-color: transparent; - cursor: not-allowed; -} -.nav .open > a, -.nav .open > a:hover, -.nav .open > a:focus { - background-color: #13161c; - border-color: #337ab7; -} -.nav .nav-divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.nav > li > a > img { - max-width: none; -} -.nav-tabs { - border-bottom: 1px solid #dddddd; -} -.nav-tabs > li { - float: left; - margin-bottom: -1px; -} -.nav-tabs > li > a { - margin-right: 2px; - line-height: 1.42857143; - border: 1px solid transparent; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - color: #555555; - background-color: #ffffff; - border: 1px solid #dddddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-tabs.nav-justified { - width: 100%; - border-bottom: 0; -} -.nav-tabs.nav-justified > li { - float: none; -} -.nav-tabs.nav-justified > li > a { - text-align: center; - margin-bottom: 5px; -} -.nav-tabs.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-tabs.nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs.nav-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs.nav-justified > .active > a, -.nav-tabs.nav-justified > .active > a:hover, -.nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #dddddd; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs.nav-justified > .active > a, - .nav-tabs.nav-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #ffffff; - } -} -.nav-pills > li { - float: left; -} -.nav-pills > li > a { - border-radius: 4px; -} -.nav-pills > li + li { - margin-left: 2px; -} -.nav-pills > li.active > a, -.nav-pills > li.active > a:hover, -.nav-pills > li.active > a:focus { - color: #ffffff; - background-color: #337ab7; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li + li { - margin-top: 2px; - margin-left: 0; -} -.nav-justified { - width: 100%; -} -.nav-justified > li { - float: none; -} -.nav-justified > li > a { - text-align: center; - margin-bottom: 5px; -} -.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs-justified { - border-bottom: 0; -} -.nav-tabs-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs-justified > .active > a, -.nav-tabs-justified > .active > a:hover, -.nav-tabs-justified > .active > a:focus { - border: 1px solid #dddddd; -} -@media (min-width: 768px) { - .nav-tabs-justified > li > a { - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs-justified > .active > a, - .nav-tabs-justified > .active > a:hover, - .nav-tabs-justified > .active > a:focus { - border-bottom-color: #ffffff; - } -} -.tab-content > .tab-pane { - display: none; - visibility: hidden; -} -.tab-content > .active { - display: block; - visibility: visible; -} -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-right-radius: 0; - border-top-left-radius: 0; -} -.navbar { - position: relative; - min-height: 50px; - border: none; -} -@media (min-width: 768px) { - .navbar { - border-radius: 4px; - } -} -@media (min-width: 768px) { - .navbar-header { - float: left; - } -} -.navbar-collapse { - overflow-x: visible; - padding-right: 15px; - padding-left: 15px; - border-top: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); - -webkit-overflow-scrolling: touch; -} -.navbar-collapse.in { - overflow-y: auto; -} -@media (min-width: 768px) { - .navbar-collapse { - width: auto; - border-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-collapse.collapse { - display: block !important; - visibility: visible !important; - height: auto !important; - padding-bottom: 0; - overflow: visible !important; - } - .navbar-collapse.in { - overflow-y: visible; - } - .navbar-fixed-top .navbar-collapse, - .navbar-static-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - padding-left: 0; - padding-right: 0; - } -} -.navbar-fixed-top .navbar-collapse, -.navbar-fixed-bottom .navbar-collapse { - max-height: 340px; -} -@media (max-device-width: 480px) and (orientation: landscape) { - .navbar-fixed-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - max-height: 200px; - } -} -.container > .navbar-header, -.container-fluid > .navbar-header, -.container > .navbar-collapse, -.container-fluid > .navbar-collapse { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .container > .navbar-header, - .container-fluid > .navbar-header, - .container > .navbar-collapse, - .container-fluid > .navbar-collapse { - margin-right: 0; - margin-left: 0; - } -} -.navbar-static-top { - z-index: 1000; - border-width: 0; -} -@media (min-width: 768px) { - .navbar-static-top { - border-radius: 0; - } -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; -} -@media (min-width: 768px) { - .navbar-fixed-top, - .navbar-fixed-bottom { - border-radius: 0; - } -} -.navbar-fixed-top { - top: 0; - border-width: 0 0 1px; -} -.navbar-fixed-bottom { - bottom: 0; - margin-bottom: 0; - border-width: 1px 0 0; -} -.navbar-brand { - float: left; - padding: 15px 15px; - font-size: 18px; - line-height: 20px; - height: 50px; -} -.navbar-brand:hover, -.navbar-brand:focus { - text-decoration: none; -} -.navbar-brand > img { - display: block; -} -@media (min-width: 768px) { - .navbar > .container .navbar-brand, - .navbar > .container-fluid .navbar-brand { - margin-left: -15px; - } -} -.navbar-toggle { - position: relative; - float: right; - margin-right: 15px; - padding: 0 10px; - margin-top: 0; - margin-bottom: 0; - height: 50px; - line-height: 50px; - background-color: transparent; - background-image: none; - border: 1px solid transparent; - color: #fff; -} -.navbar-toggle:focus { - outline: 0; -} -.navbar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - border-radius: 1px; -} -.navbar-toggle .icon-bar + .icon-bar { - margin-top: 4px; -} -@media (min-width: 768px) { - .navbar-toggle { - display: none; - } -} -.navbar-nav { - margin: 7.5px -15px; -} -.navbar-nav > li > a { - padding-top: 10px; - padding-bottom: 10px; - line-height: 20px; - color: #FFF; -} -@media (max-width: 767px) { - .navbar-nav .open .dropdown-menu { - position: static; - float: none; - width: auto; - margin-top: 0; - background-color: transparent; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-nav .open .dropdown-menu > li > a, - .navbar-nav .open .dropdown-menu .dropdown-header { - padding: 5px 15px 5px 25px; - } - .navbar-nav .open .dropdown-menu > li > a { - line-height: 20px; - color: #fff; - } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { - background-image: none; - background-color: #337ab6; - } -} -@media (min-width: 768px) { - .navbar-nav { - float: left; - margin: 0; - } - .navbar-nav > li { - float: left; - } - .navbar-nav > li > a { - padding-top: 15px; - padding-bottom: 15px; - } -} -.navbar-form { - margin-left: -15px; - margin-right: -15px; - padding: 10px 15px; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); - margin-top: 8px; - margin-bottom: 8px; -} -@media (min-width: 768px) { - .navbar-form .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .navbar-form .form-control-static { - display: inline-block; - } - .navbar-form .input-group { - display: inline-table; - vertical-align: middle; - } - .navbar-form .input-group .input-group-addon, - .navbar-form .input-group .input-group-btn, - .navbar-form .input-group .form-control { - width: auto; - } - .navbar-form .input-group > .form-control { - width: 100%; - } - .navbar-form .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio, - .navbar-form .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio label, - .navbar-form .checkbox label { - padding-left: 0; - } - .navbar-form .radio input[type="radio"], - .navbar-form .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .navbar-form .has-feedback .form-control-feedback { - top: 0; - } -} -@media (max-width: 767px) { - .navbar-form .form-group { - margin-bottom: 5px; - } - .navbar-form .form-group:last-child { - margin-bottom: 0; - } -} -@media (min-width: 768px) { - .navbar-form { - width: auto; - border: 0; - margin-left: 0; - margin-right: 0; - padding-top: 0; - padding-bottom: 0; - -webkit-box-shadow: none; - box-shadow: none; - } -} -.navbar-nav > li > .dropdown-menu { - margin-top: 0; - border-top-right-radius: 0; - border-top-left-radius: 0; -} -.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { - margin-bottom: 0; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.navbar-btn { - margin-top: 8px; - margin-bottom: 8px; -} -.navbar-btn.btn-sm { - margin-top: 10px; - margin-bottom: 10px; -} -.navbar-btn.btn-xs { - margin-top: 14px; - margin-bottom: 14px; -} -.navbar-text { - margin-top: 15px; - margin-bottom: 15px; -} -@media (min-width: 768px) { - .navbar-text { - float: left; - margin-left: 15px; - margin-right: 15px; - } -} -@media (min-width: 768px) { - .navbar-left { - float: left !important; - } - .navbar-right { - float: right !important; - margin-right: -15px; - } - .navbar-right ~ .navbar-right { - margin-right: 0; - } -} -.navbar-default { - background-color: #337ab6; - border: none; -} -.navbar-default .navbar-brand { - color: #fff; - text-transform: uppercase; -} -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { - color: #E9E9E9; - background-color: transparent; -} -.navbar-default .navbar-text { - color: #777777; -} -.navbar-default .navbar-nav > li > a { - color: #fff; -} -.navbar-default .navbar-nav > li > a:hover, -.navbar-default .navbar-nav > li > a:focus, -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus, -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .open > a:hover, -.navbar-default .navbar-nav > .open > a:focus { - color: #F1F1F1; - background-color: rgba(255,255,255,.2); -} -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus { - color: #555555; - background-color: #e7e7e7; -} -.navbar-default .navbar-nav > .disabled > a, -.navbar-default .navbar-nav > .disabled > a:hover, -.navbar-default .navbar-nav > .disabled > a:focus { - color: #cccccc; - background-color: transparent; -} -.navbar-default .navbar-toggle { - border: none; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { - background-color: rgba(255,255,255,.2); -} -.navbar-default .navbar-toggle .icon-bar { - background-color: #FFF; -} -.navbar-default .navbar-collapse, -.navbar-default .navbar-form { - border-color: #e7e7e7; -} -@media (max-width: 767px) { - .navbar-default .navbar-nav .open .dropdown-menu > li > a { - color: #777777; - } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { - color: #333333; - background-color: transparent; - } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #555555; - background-color: #e7e7e7; - } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #cccccc; - background-color: transparent; - } -} -.navbar-default .navbar-link { - color: #777777; -} -.navbar-default .navbar-link:hover { - color: #333333; -} -.navbar-default .btn-link { - color: #777777; -} -.navbar-default .btn-link:hover, -.navbar-default .btn-link:focus { - color: #333333; -} -.navbar-default .btn-link[disabled]:hover, -fieldset[disabled] .navbar-default .btn-link:hover, -.navbar-default .btn-link[disabled]:focus, -fieldset[disabled] .navbar-default .btn-link:focus { - color: #cccccc; -} -.navbar-inverse { - background-color: #222222; - border-color: #080808; -} -.navbar-inverse .navbar-brand { - color: #9d9d9d; -} -.navbar-inverse .navbar-brand:hover, -.navbar-inverse .navbar-brand:focus { - color: #ffffff; - background-color: transparent; -} -.navbar-inverse .navbar-text { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a:hover, -.navbar-inverse .navbar-nav > li > a:focus { - color: #ffffff; - background-color: transparent; -} -.navbar-inverse .navbar-nav > .active > a, -.navbar-inverse .navbar-nav > .active > a:hover, -.navbar-inverse .navbar-nav > .active > a:focus { - color: #ffffff; - background-color: #080808; -} -.navbar-inverse .navbar-nav > .disabled > a, -.navbar-inverse .navbar-nav > .disabled > a:hover, -.navbar-inverse .navbar-nav > .disabled > a:focus { - color: #444444; - background-color: transparent; -} -.navbar-inverse .navbar-toggle { - border-color: #333333; -} -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #333333; -} -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #ffffff; -} -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .open > a:hover, -.navbar-inverse .navbar-nav > .open > a:focus { - background-color: #080808; - color: #ffffff; -} -@media (max-width: 767px) { - .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { - border-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu .divider { - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { - color: #9d9d9d; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #ffffff; - background-color: transparent; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #ffffff; - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #444444; - background-color: transparent; - } -} -.navbar-inverse .navbar-link { - color: #9d9d9d; -} -.navbar-inverse .navbar-link:hover { - color: #ffffff; -} -.navbar-inverse .btn-link { - color: #9d9d9d; -} -.navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link:focus { - color: #ffffff; -} -.navbar-inverse .btn-link[disabled]:hover, -fieldset[disabled] .navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link[disabled]:focus, -fieldset[disabled] .navbar-inverse .btn-link:focus { - color: #444444; -} -.breadcrumb { - padding: 0; - list-style: none; -} -.breadcrumb > li { - display: inline-block; -} -.breadcrumb > li + li:before { - content: "/\00a0"; - padding: 0 5px; - color: #cccccc; -} -.breadcrumb > .active { - color: #777777; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination > li { - display: inline; -} -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - padding: 6px 12px; - line-height: 1.42857143; - text-decoration: none; - color: #337ab7; - background-color: #ffffff; - border: 1px solid #dddddd; - margin-left: -1px; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-bottom-left-radius: 4px; - border-top-left-radius: 4px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-bottom-right-radius: 4px; - border-top-right-radius: 4px; -} -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus { - color: #23527c; - background-color: #eeeeee; - border-color: #dddddd; -} -.pagination > .active > a, -.pagination > .active > span, -.pagination > .active > a:hover, -.pagination > .active > span:hover, -.pagination > .active > a:focus, -.pagination > .active > span:focus { - z-index: 2; - color: #ffffff; - background-color: #337ab7; - border-color: #337ab7; - cursor: default; -} -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #777777; - background-color: #ffffff; - border-color: #dddddd; - cursor: not-allowed; -} -.pagination-lg > li > a, -.pagination-lg > li > span { - padding: 10px 16px; - font-size: 18px; -} -.pagination-lg > li:first-child > a, -.pagination-lg > li:first-child > span { - border-bottom-left-radius: 6px; - border-top-left-radius: 6px; -} -.pagination-lg > li:last-child > a, -.pagination-lg > li:last-child > span { - border-bottom-right-radius: 6px; - border-top-right-radius: 6px; -} -.pagination-sm > li > a, -.pagination-sm > li > span { - padding: 5px 10px; - font-size: 12px; -} -.pagination-sm > li:first-child > a, -.pagination-sm > li:first-child > span { - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} -.pagination-sm > li:last-child > a, -.pagination-sm > li:last-child > span { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} -.pager { - padding-left: 0; - margin: 20px 0; - list-style: none; - text-align: center; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #ffffff; - border: 1px solid #dddddd; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #777777; - background-color: #ffffff; - cursor: not-allowed; -} -.label { - display: inline; - padding: .2em .6em .3em; - font-size: 75%; - font-weight: bold; - line-height: 1; - color: #ffffff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25em; -} -a.label:hover, -a.label:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label:empty { - display: none; -} -.btn .label { - position: relative; - top: -1px; -} -.label-default { - background-color: #777777; -} -.label-default[href]:hover, -.label-default[href]:focus { - background-color: #5e5e5e; -} -.label-primary { - background-color: #337ab7; -} -.label-primary[href]:hover, -.label-primary[href]:focus { - background-color: #286090; -} -.label-success { - background-color: #5cb85c; -} -.label-success[href]:hover, -.label-success[href]:focus { - background-color: #449d44; -} -.label-info { - background-color: #5bc0de; -} -.label-info[href]:hover, -.label-info[href]:focus { - background-color: #31b0d5; -} -.label-warning { - background-color: #f0ad4e; -} -.label-warning[href]:hover, -.label-warning[href]:focus { - background-color: #ec971f; -} -.label-danger { - background-color: #337ab6; -} -.label-danger[href]:hover, -.label-danger[href]:focus { - background-color: #296496; -} -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: 12px; - font-weight: bold; - color: #ffffff; - line-height: 1; - vertical-align: baseline; - white-space: nowrap; - text-align: center; - background-color: #777777; - border-radius: 10px; -} -.badge:empty { - display: none; -} -.btn .badge { - position: relative; - top: -1px; -} -.btn-xs .badge { - top: 0; - padding: 1px 5px; -} -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.list-group-item.active > .badge, -.nav-pills > .active > a > .badge { - color: #337ab7; - background-color: #ffffff; -} -.list-group-item > .badge { - float: right; -} -.list-group-item > .badge + .badge { - margin-right: 5px; -} -.nav-pills > li > a > .badge { - margin-left: 3px; -} -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; -} -.alert h4 { - margin-top: 0; - color: inherit; -} -.alert .alert-link { - font-weight: bold; -} -.alert > p, -.alert > ul { - margin-bottom: 0; -} -.alert > p + p { - margin-top: 5px; -} -.alert-dismissable, -.alert-dismissible { - padding-right: 35px; -} -.alert-dismissable .close, -.alert-dismissible .close { - position: relative; - top: -2px; - right: -21px; - color: inherit; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #3c763d !important; -} -.alert-success hr { - border-top-color: #c9e2b3; -} -.alert-success .alert-link { - color: #2b542c; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #31708f; -} -.alert-info hr { - border-top-color: #a6e1ec; -} -.alert-info .alert-link { - color: #245269; -} -.alert-warning { - background-color: #fcf8e3; - border-color: #faebcc; - color: #8a6d3b; -} -.alert-warning hr { - border-top-color: #f7e1b5; -} -.alert-warning .alert-link { - color: #66512c; -} -.alert-danger { - background-color: #f2dede; - border-color: #ebccd1; - color: #a94442; -} -.alert-danger hr { - border-top-color: #e4b9c0; -} -.alert-danger .alert-link { - color: #843534; -} -.close { - float: right; - font-size: 21px; - font-weight: bold; - line-height: 1; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.5; - filter: alpha(opacity=50); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.modal-open { - overflow: hidden; -} -.modal { - display: none; - overflow: hidden; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - -webkit-overflow-scrolling: touch; - outline: 0; -} -.modal.fade .modal-dialog { - -webkit-transform: translate(0, -25%); - -ms-transform: translate(0, -25%); - -o-transform: translate(0, -25%); - transform: translate(0, -25%); - -webkit-transition: -webkit-transform 0.3s ease-out; - -o-transition: -o-transform 0.3s ease-out; - transition: transform 0.3s ease-out; -} -.modal.in .modal-dialog { - -webkit-transform: translate(0, 0); - -ms-transform: translate(0, 0); - -o-transform: translate(0, 0); - transform: translate(0, 0); -} -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} -.modal-dialog { - position: relative; - width: auto; - margin: 10px; -} -.modal-content { - position: relative; - background-color: #ffffff; - border: 1px solid #999999; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 6px; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - -webkit-background-clip: padding-box; - background-clip: padding-box; - outline: 0; -} -.modal-backdrop { - position: absolute; - top: 0; - right: 0; - left: 0; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; - filter: alpha(opacity=0); -} -.modal-backdrop.in { - opacity: 0.5; - filter: alpha(opacity=50); -} -.modal-header { - padding: 15px; - border-bottom: 1px solid #e5e5e5; - min-height: 16.42857143px; -} -.modal-header .close { - margin-top: -2px; -} -.modal-title { - margin: 0; - line-height: 1.42857143; -} -.modal-body { - position: relative; - padding: 15px; -} -.modal-footer { - padding: 15px; - text-align: right; - border-top: 1px solid #e5e5e5; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.modal-scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} -@media (min-width: 768px) { - .modal-dialog { - width: 600px; - margin: 30px auto; - } - .modal-content { - -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); - box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); - } - .modal-sm { - width: 300px; - } -} -@media (min-width: 992px) { - .modal-lg { - width: 900px; - } -} -.clearfix:before, -.clearfix:after, -.container:before, -.container:after, -.container-fluid:before, -.container-fluid:after, -.row:before, -.row:after, -.form-horizontal .form-group:before, -.form-horizontal .form-group:after, -.btn-toolbar:before, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after, -.nav:before, -.nav:after, -.navbar:before, -.navbar:after, -.navbar-header:before, -.navbar-header:after, -.navbar-collapse:before, -.navbar-collapse:after, -.pager:before, -.pager:after, -.modal-footer:before, -.modal-footer:after { - content: " "; - display: table; -} -.clearfix:after, -.container:after, -.container-fluid:after, -.row:after, -.form-horizontal .form-group:after, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:after, -.nav:after, -.navbar:after, -.navbar-header:after, -.navbar-collapse:after, -.pager:after, -.modal-footer:after { - clear: both; -} -.center-block { - display: block; - margin-left: auto; - margin-right: auto; -} -.pull-right { - float: right !important; -} -.pull-left { - float: left !important; -} -.hide { - display: none !important; -} -.show { - display: block !important; -} -.invisible { - visibility: hidden; -} -.text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.hidden { - display: none !important; - visibility: hidden !important; -} -.affix { - position: fixed; -} -@-ms-viewport { - width: device-width; -} -.visible-xs, -.visible-sm, -.visible-md, -.visible-lg { - display: none !important; -} -.visible-xs-block, -.visible-xs-inline, -.visible-xs-inline-block, -.visible-sm-block, -.visible-sm-inline, -.visible-sm-inline-block, -.visible-md-block, -.visible-md-inline, -.visible-md-inline-block, -.visible-lg-block, -.visible-lg-inline, -.visible-lg-inline-block { - display: none !important; -} -@media (max-width: 767px) { - .visible-xs { - display: block !important; - } - table.visible-xs { - display: table; - } - tr.visible-xs { - display: table-row !important; - } - th.visible-xs, - td.visible-xs { - display: table-cell !important; - } -} -@media (max-width: 767px) { - .visible-xs-block { - display: block !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline { - display: inline !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline-block { - display: inline-block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm { - display: block !important; - } - table.visible-sm { - display: table; - } - tr.visible-sm { - display: table-row !important; - } - th.visible-sm, - td.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-block { - display: block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline { - display: inline !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline-block { - display: inline-block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md { - display: block !important; - } - table.visible-md { - display: table; - } - tr.visible-md { - display: table-row !important; - } - th.visible-md, - td.visible-md { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-block { - display: block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline { - display: inline !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline-block { - display: inline-block !important; - } -} -@media (min-width: 1200px) { - .visible-lg { - display: block !important; - } - table.visible-lg { - display: table; - } - tr.visible-lg { - display: table-row !important; - } - th.visible-lg, - td.visible-lg { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-lg-block { - display: block !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline { - display: inline !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline-block { - display: inline-block !important; - } -} -@media (max-width: 767px) { - .hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-lg { - display: none !important; - } -} -.visible-print { - display: none !important; -} -@media print { - .visible-print { - display: block !important; - } - table.visible-print { - display: table; - } - tr.visible-print { - display: table-row !important; - } - th.visible-print, - td.visible-print { - display: table-cell !important; - } -} -.visible-print-block { - display: none !important; -} -@media print { - .visible-print-block { - display: block !important; - } -} -.visible-print-inline { - display: none !important; -} -@media print { - .visible-print-inline { - display: inline !important; - } -} -.visible-print-inline-block { - display: none !important; -} -@media print { - .visible-print-inline-block { - display: inline-block !important; - } -} -@media print { - .hidden-print { - display: none !important; - } -} diff --git a/config/themes/Redsy/css/font-awesome.css b/config/themes/Redsy/css/font-awesome.css deleted file mode 100755 index 9cc849d..0000000 --- a/config/themes/Redsy/css/font-awesome.css +++ /dev/null @@ -1,1823 +0,0 @@ -/*! - * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */ -/* FONT PATH - * -------------------------- */ -@font-face { - font-family: 'FontAwesome'; - src: url('../fonts/fontawesome-webfont.eot?v=4.3.0'); - src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg'); - font-weight: normal; - font-style: normal; -} -.fa { - display: inline-block; - font: normal normal normal 14px/1 FontAwesome; - font-size: inherit; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - transform: translate(0, 0); -} -/* makes the font 33% larger relative to the icon container */ -.fa-lg { - font-size: 1.33333333em; - line-height: 0.75em; - vertical-align: -15%; -} -.fa-2x { - font-size: 2em; -} -.fa-3x { - font-size: 3em; -} -.fa-4x { - font-size: 4em; -} -.fa-5x { - font-size: 5em; -} -.fa-fw { - width: 1.28571429em; - text-align: center; -} -.fa-ul { - padding-left: 0; - margin-left: 2.14285714em; - list-style-type: none; -} -.fa-ul > li { - position: relative; -} -.fa-li { - position: absolute; - left: -2.14285714em; - width: 2.14285714em; - top: 0.14285714em; - text-align: center; -} -.fa-li.fa-lg { - left: -1.85714286em; -} -.fa-border { - padding: .2em .25em .15em; - border: solid 0.08em #eeeeee; - border-radius: .1em; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.fa.pull-left { - margin-right: .3em; -} -.fa.pull-right { - margin-left: .3em; -} -.fa-spin { - -webkit-animation: fa-spin 2s infinite linear; - animation: fa-spin 2s infinite linear; -} -.fa-pulse { - -webkit-animation: fa-spin 1s infinite steps(8); - animation: fa-spin 1s infinite steps(8); -} -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -.fa-rotate-90 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); -} -.fa-rotate-180 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} -.fa-rotate-270 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); - -webkit-transform: rotate(270deg); - -ms-transform: rotate(270deg); - transform: rotate(270deg); -} -.fa-flip-horizontal { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); - -webkit-transform: scale(-1, 1); - -ms-transform: scale(-1, 1); - transform: scale(-1, 1); -} -.fa-flip-vertical { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); - -webkit-transform: scale(1, -1); - -ms-transform: scale(1, -1); - transform: scale(1, -1); -} -:root .fa-rotate-90, -:root .fa-rotate-180, -:root .fa-rotate-270, -:root .fa-flip-horizontal, -:root .fa-flip-vertical { - filter: none; -} -.fa-stack { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 2em; - vertical-align: middle; -} -.fa-stack-1x, -.fa-stack-2x { - position: absolute; - left: 0; - width: 100%; - text-align: center; -} -.fa-stack-1x { - line-height: inherit; -} -.fa-stack-2x { - font-size: 2em; -} -.fa-inverse { - color: #ffffff; -} -/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen - readers do not read off random characters that represent icons */ -.fa-glass:before { - content: "\f000"; -} -.fa-music:before { - content: "\f001"; -} -.fa-search:before,.fa-mlist_search:before { - content: "\f002"; -} -.fa-envelope-o:before { - content: "\f003"; -} -.fa-heart:before { - content: "\f004"; -} -.fa-star:before { - content: "\f005"; -} -.fa-star-o:before { - content: "\f006"; -} -.fa-user:before, -.fa-profile:before { - content: "\f007"; -} -.fa-film:before { - content: "\f008"; -} -.fa-th-large:before { - content: "\f009"; -} -.fa-th:before { - content: "\f00a"; -} -.fa-th-list:before { - content: "\f00b"; -} -.fa-check:before, -.fa-markread:before - { - content: "\f00c"; -} -.fa-remove:before, -.fa-close:before, -.fa-times:before, -.fa-mark_unread:before { - content: "\f00d"; -} -.fa-search-plus:before { - content: "\f00e"; -} -.fa-search-minus:before { - content: "\f010"; -} -.fa-power-off:before { - content: "\f011"; -} -.fa-signal:before, -.fa-add_poll:before, -.fa-post_poll:before, -.fa-results:before { - content: "\f012"; -} -.fa-gear:before, -.fa-cog:before, -.fa-admin:before { - content: "\f013"; -} -.fa-trash-o:before, -.fa-remove_poll:before{ - content: "\f014"; -} -.fa-home:before { - content: "\f015"; -} -.fa-file-o:before { - content: "\f016"; -} -.fa-clock-o:before { - content: "\f017"; -} -.fa-road:before { - content: "\f018"; -} -.fa-download:before { - content: "\f019"; -} -.fa-arrow-circle-o-down:before { - content: "\f01a"; -} -.fa-arrow-circle-o-up:before { - content: "\f01b"; -} -.fa-inbox:before { - content: "\f01c"; -} -.fa-play-circle-o:before { - content: "\f01d"; -} -.fa-rotate-right:before, -.fa-repeat:before { - content: "\f01e"; -} -.fa-refresh:before { - content: "\f021"; -} -.fa-list-alt:before { - content: "\f022"; -} -.fa-lock:before { - content: "\f023"; -} -.fa-flag:before { - content: "\f024"; -} -.fa-headphones:before { - content: "\f025"; -} -.fa-volume-off:before { - content: "\f026"; -} -.fa-volume-down:before { - content: "\f027"; -} -.fa-volume-up:before { - content: "\f028"; -} -.fa-qrcode:before { - content: "\f029"; -} -.fa-barcode:before { - content: "\f02a"; -} -.fa-tag:before { - content: "\f02b"; -} -.fa-tags:before { - content: "\f02c"; -} -.fa-book:before { - content: "\f02d"; -} -.fa-bookmark:before { - content: "\f02e"; -} -.fa-print:before { - content: "\f02f"; -} -.fa-camera:before { - content: "\f030"; -} -.fa-font:before { - content: "\f031"; -} -.fa-bold:before { - content: "\f032"; -} -.fa-italic:before { - content: "\f033"; -} -.fa-text-height:before { - content: "\f034"; -} -.fa-text-width:before { - content: "\f035"; -} -.fa-align-left:before { - content: "\f036"; -} -.fa-align-center:before { - content: "\f037"; -} -.fa-align-right:before { - content: "\f038"; -} -.fa-align-justify:before { - content: "\f039"; -} -.fa-list:before,.fa-view_all_members:before { - content: "\f03a"; -} -.fa-dedent:before, -.fa-outdent:before { - content: "\f03b"; -} -.fa-indent:before { - content: "\f03c"; -} -.fa-video-camera:before { - content: "\f03d"; -} -.fa-photo:before, -.fa-image:before, -.fa-picture-o:before { - content: "\f03e"; -} -.fa-pencil:before { - content: "\f040"; -} -.fa-map-marker:before { - content: "\f041"; -} -.fa-adjust:before { - content: "\f042"; -} -.fa-tint:before { - content: "\f043"; -} -.fa-edit:before, -.fa-pencil-square-o:before { - content: "\f044"; -} -.fa-share-square-o:before { - content: "\f045"; -} -.fa-check-square-o:before { - content: "\f046"; -} -.fa-arrows:before { - content: "\f047"; -} -.fa-step-backward:before { - content: "\f048"; -} -.fa-fast-backward:before { - content: "\f049"; -} -.fa-backward:before { - content: "\f04a"; -} -.fa-play:before { - content: "\f04b"; -} -.fa-pause:before { - content: "\f04c"; -} -.fa-stop:before { - content: "\f04d"; -} -.fa-forward:before { - content: "\f04e"; -} -.fa-fast-forward:before { - content: "\f050"; -} -.fa-step-forward:before { - content: "\f051"; -} -.fa-eject:before { - content: "\f052"; -} -.fa-chevron-left:before { - content: "\f053"; -} -.fa-chevron-right:before { - content: "\f054"; -} -.fa-plus-circle:before { - content: "\f055"; -} -.fa-minus-circle:before { - content: "\f056"; -} -.fa-times-circle:before { - content: "\f057"; -} -.fa-check-circle:before { - content: "\f058"; -} -.fa-question-circle:before { - content: "\f059"; -} -.fa-info-circle:before { - content: "\f05a"; -} -.fa-crosshairs:before { - content: "\f05b"; -} -.fa-times-circle-o:before { - content: "\f05c"; -} -.fa-check-circle-o:before { - content: "\f05d"; -} -.fa-ban:before { - content: "\f05e"; -} -.fa-arrow-left:before { - content: "\f060"; -} -.fa-arrow-right:before, -.fa-move:before{ - content: "\f061"; -} -.fa-arrow-up:before { - content: "\f062"; -} -.fa-arrow-down:before { - content: "\f063"; -} -.fa-mail-forward:before, -.fa-share:before { - content: "\f064"; -} -.fa-expand:before { - content: "\f065"; -} -.fa-compress:before { - content: "\f066"; -} -.fa-plus:before { - content: "\f067"; -} -.fa-minus:before { - content: "\f068"; -} -.fa-asterisk:before { - content: "\f069"; -} -.fa-exclamation-circle:before { - content: "\f06a"; -} -.fa-gift:before { - content: "\f06b"; -} -.fa-leaf:before { - content: "\f06c"; -} -.fa-fire:before { - content: "\f06d"; -} -.fa-eye:before { - content: "\f06e"; -} -.fa-eye-slash:before { - content: "\f070"; -} -.fa-warning:before, -.fa-exclamation-triangle:before { - content: "\f071"; -} -.fa-plane:before { - content: "\f072"; -} -.fa-calendar:before { - content: "\f073"; -} -.fa-random:before { - content: "\f074"; -} -.fa-comment:before { - content: "\f075"; -} -.fa-magnet:before { - content: "\f076"; -} -.fa-chevron-up:before { - content: "\f077"; -} -.fa-chevron-down:before { - content: "\f078"; -} -.fa-retweet:before { - content: "\f079"; -} -.fa-shopping-cart:before { - content: "\f07a"; -} -.fa-folder:before { - content: "\f07b"; -} -.fa-folder-open:before { - content: "\f07c"; -} -.fa-arrows-v:before { - content: "\f07d"; -} -.fa-arrows-h:before { - content: "\f07e"; -} -.fa-bar-chart-o:before, -.fa-bar-chart:before { - content: "\f080"; -} -.fa-twitter-square:before { - content: "\f081"; -} -.fa-facebook-square:before { - content: "\f082"; -} -.fa-camera-retro:before { - content: "\f083"; -} -.fa-key:before, -.fa-register:before { - content: "\f084"; -} -.fa-gears:before, -.fa-cogs:before { - content: "\f085"; -} -.fa-comments:before { - content: "\f086"; -} -.fa-thumbs-o-up:before { - content: "\f087"; -} -.fa-thumbs-o-down:before { - content: "\f088"; -} -.fa-star-half:before { - content: "\f089"; -} -.fa-heart-o:before { - content: "\f08a"; -} -.fa-sign-out:before, -.fa-logout:before { - content: "\f08b"; -} -.fa-linkedin-square:before { - content: "\f08c"; -} -.fa-thumb-tack:before, -.fa-sticky:before { - content: "\f08d"; -} -.fa-external-link:before { - content: "\f08e"; -} -.fa-sign-in:before, -.fa-login:before { - content: "\f090"; -} -.fa-trophy:before { - content: "\f091"; -} -.fa-github-square:before { - content: "\f092"; -} -.fa-upload:before { - content: "\f093"; -} -.fa-lemon-o:before { - content: "\f094"; -} -.fa-phone:before { - content: "\f095"; -} -.fa-square-o:before { - content: "\f096"; -} -.fa-bookmark-o:before { - content: "\f097"; -} -.fa-phone-square:before { - content: "\f098"; -} -.fa-twitter:before { - content: "\f099"; -} -.fa-facebook-f:before, -.fa-facebook:before { - content: "\f09a"; -} -.fa-github:before { - content: "\f09b"; -} -.fa-unlock:before { - content: "\f09c"; -} -.fa-credit-card:before { - content: "\f09d"; -} -.fa-rss:before { - content: "\f09e"; -} -.fa-hdd-o:before { - content: "\f0a0"; -} -.fa-bullhorn:before, -.fa-notify:before { - content: "\f0a1"; -} -.fa-bell:before { - content: "\f0f3"; -} -.fa-certificate:before { - content: "\f0a3"; -} -.fa-hand-o-right:before { - content: "\f0a4"; -} -.fa-hand-o-left:before { - content: "\f0a5"; -} -.fa-hand-o-up:before { - content: "\f0a6"; -} -.fa-hand-o-down:before { - content: "\f0a7"; -} -.fa-arrow-circle-left:before { - content: "\f0a8"; -} -.fa-arrow-circle-right:before { - content: "\f0a9"; -} -.fa-arrow-circle-up:before { - content: "\f0aa"; -} -.fa-arrow-circle-down:before { - content: "\f0ab"; -} -.fa-globe:before { - content: "\f0ac"; -} -.fa-wrench:before, -.fa-moderate:before { - content: "\f0ad"; -} -.fa-tasks:before { - content: "\f0ae"; -} -.fa-filter:before { - content: "\f0b0"; -} -.fa-briefcase:before { - content: "\f0b1"; -} -.fa-arrows-alt:before { - content: "\f0b2"; -} -.fa-group:before, -.fa-users:before, -.fa-mlist:before{ - content: "\f0c0"; -} -.fa-chain:before, -.fa-link:before { - content: "\f0c1"; -} -.fa-cloud:before { - content: "\f0c2"; -} -.fa-flask:before { - content: "\f0c3"; -} -.fa-cut:before, -.fa-scissors:before { - content: "\f0c4"; -} -.fa-copy:before, -.fa-files-o:before, -.fa-merge:before { - content: "\f0c5"; -} -.fa-paperclip:before { - content: "\f0c6"; -} -.fa-save:before, -.fa-floppy-o:before { - content: "\f0c7"; -} -.fa-square:before { - content: "\f0c8"; -} -.fa-navicon:before, -.fa-reorder:before, -.fa-bars:before { - content: "\f0c9"; -} -.fa-list-ul:before { - content: "\f0ca"; -} -.fa-list-ol:before { - content: "\f0cb"; -} -.fa-strikethrough:before { - content: "\f0cc"; -} -.fa-underline:before { - content: "\f0cd"; -} -.fa-table:before { - content: "\f0ce"; -} -.fa-magic:before { - content: "\f0d0"; -} -.fa-truck:before { - content: "\f0d1"; -} -.fa-pinterest:before { - content: "\f0d2"; -} -.fa-pinterest-square:before { - content: "\f0d3"; -} -.fa-google-plus-square:before { - content: "\f0d4"; -} -.fa-google-plus:before { - content: "\f0d5"; -} -.fa-money:before { - content: "\f0d6"; -} -.fa-caret-down:before { - content: "\f0d7"; -} -.fa-caret-up:before { - content: "\f0d8"; -} -.fa-caret-left:before { - content: "\f0d9"; -} -.fa-caret-right:before { - content: "\f0da"; -} -.fa-columns:before { - content: "\f0db"; -} -.fa-unsorted:before, -.fa-sort:before { - content: "\f0dc"; -} -.fa-sort-down:before, -.fa-sort-desc:before { - content: "\f0dd"; -} -.fa-sort-up:before, -.fa-sort-asc:before { - content: "\f0de"; -} -.fa-envelope:before, -.fa-pm:before { - content: "\f0e0"; -} -.fa-linkedin:before { - content: "\f0e1"; -} -.fa-rotate-left:before, -.fa-undo:before { - content: "\f0e2"; -} -.fa-legal:before, -.fa-gavel:before { - content: "\f0e3"; -} -.fa-dashboard:before, -.fa-tachometer:before { - content: "\f0e4"; -} -.fa-comment-o:before { - content: "\f0e5"; -} -.fa-comments-o:before { - content: "\f0e6"; -} -.fa-flash:before, -.fa-bolt:before { - content: "\f0e7"; -} -.fa-sitemap:before { - content: "\f0e8"; -} -.fa-umbrella:before { - content: "\f0e9"; -} -.fa-paste:before, -.fa-clipboard:before { - content: "\f0ea"; -} -.fa-lightbulb-o:before { - content: "\f0eb"; -} -.fa-exchange:before { - content: "\f0ec"; -} -.fa-cloud-download:before { - content: "\f0ed"; -} -.fa-cloud-upload:before { - content: "\f0ee"; -} -.fa-user-md:before { - content: "\f0f0"; -} -.fa-stethoscope:before { - content: "\f0f1"; -} -.fa-suitcase:before { - content: "\f0f2"; -} -.fa-bell-o:before { - content: "\f0a2"; -} -.fa-coffee:before { - content: "\f0f4"; -} -.fa-cutlery:before { - content: "\f0f5"; -} -.fa-file-text-o:before { - content: "\f0f6"; -} -.fa-building-o:before { - content: "\f0f7"; -} -.fa-hospital-o:before { - content: "\f0f8"; -} -.fa-ambulance:before { - content: "\f0f9"; -} -.fa-medkit:before { - content: "\f0fa"; -} -.fa-fighter-jet:before { - content: "\f0fb"; -} -.fa-beer:before { - content: "\f0fc"; -} -.fa-h-square:before { - content: "\f0fd"; -} -.fa-plus-square:before { - content: "\f0fe"; -} -.fa-angle-double-left:before { - content: "\f100"; -} -.fa-angle-double-right:before { - content: "\f101"; -} -.fa-angle-double-up:before { - content: "\f102"; -} -.fa-angle-double-down:before { - content: "\f103"; -} -.fa-angle-left:before { - content: "\f104"; -} -.fa-angle-right:before { - content: "\f105"; -} -.fa-angle-up:before { - content: "\f106"; -} -.fa-angle-down:before { - content: "\f107"; -} -.fa-desktop:before { - content: "\f108"; -} -.fa-laptop:before { - content: "\f109"; -} -.fa-tablet:before { - content: "\f10a"; -} -.fa-mobile-phone:before, -.fa-mobile:before { - content: "\f10b"; -} -.fa-circle-o:before { - content: "\f10c"; -} -.fa-quote-left:before { - content: "\f10d"; -} -.fa-quote-right:before { - content: "\f10e"; -} -.fa-spinner:before { - content: "\f110"; -} -.fa-circle:before { - content: "\f111"; -} -.fa-mail-reply:before, -.fa-reply:before { - content: "\f112"; -} -.fa-github-alt:before { - content: "\f113"; -} -.fa-folder-o:before { - content: "\f114"; -} -.fa-folder-open-o:before { - content: "\f115"; -} -.fa-smile-o:before { - content: "\f118"; -} -.fa-frown-o:before { - content: "\f119"; -} -.fa-meh-o:before { - content: "\f11a"; -} -.fa-gamepad:before { - content: "\f11b"; -} -.fa-keyboard-o:before { - content: "\f11c"; -} -.fa-flag-o:before { - content: "\f11d"; -} -.fa-flag-checkered:before { - content: "\f11e"; -} -.fa-terminal:before { - content: "\f120"; -} -.fa-code:before { - content: "\f121"; -} -.fa-mail-reply-all:before, -.fa-reply-all:before { - content: "\f122"; -} -.fa-star-half-empty:before, -.fa-star-half-full:before, -.fa-star-half-o:before { - content: "\f123"; -} -.fa-location-arrow:before { - content: "\f124"; -} -.fa-crop:before { - content: "\f125"; -} -.fa-code-fork:before { - content: "\f126"; -} -.fa-unlink:before, -.fa-chain-broken:before { - content: "\f127"; -} -.fa-question:before, -.fa-help:before { - content: "\f128"; -} -.fa-info:before { - content: "\f129"; -} -.fa-exclamation:before { - content: "\f12a"; -} -.fa-superscript:before { - content: "\f12b"; -} -.fa-subscript:before { - content: "\f12c"; -} -.fa-eraser:before { - content: "\f12d"; -} -.fa-puzzle-piece:before { - content: "\f12e"; -} -.fa-microphone:before { - content: "\f130"; -} -.fa-microphone-slash:before { - content: "\f131"; -} -.fa-shield:before { - content: "\f132"; -} -.fa-calendar-o:before { - content: "\f133"; -} -.fa-fire-extinguisher:before { - content: "\f134"; -} -.fa-rocket:before { - content: "\f135"; -} -.fa-maxcdn:before { - content: "\f136"; -} -.fa-chevron-circle-left:before { - content: "\f137"; -} -.fa-chevron-circle-right:before { - content: "\f138"; -} -.fa-chevron-circle-up:before { - content: "\f139"; -} -.fa-chevron-circle-down:before { - content: "\f13a"; -} -.fa-html5:before { - content: "\f13b"; -} -.fa-css3:before { - content: "\f13c"; -} -.fa-anchor:before { - content: "\f13d"; -} -.fa-unlock-alt:before { - content: "\f13e"; -} -.fa-bullseye:before { - content: "\f140"; -} -.fa-ellipsis-h:before { - content: "\f141"; -} -.fa-ellipsis-v:before { - content: "\f142"; -} -.fa-rss-square:before { - content: "\f143"; -} -.fa-play-circle:before { - content: "\f144"; -} -.fa-ticket:before { - content: "\f145"; -} -.fa-minus-square:before { - content: "\f146"; -} -.fa-minus-square-o:before { - content: "\f147"; -} -.fa-level-up:before { - content: "\f148"; -} -.fa-level-down:before { - content: "\f149"; -} -.fa-check-square:before { - content: "\f14a"; -} -.fa-pencil-square:before { - content: "\f14b"; -} -.fa-external-link-square:before { - content: "\f14c"; -} -.fa-share-square:before { - content: "\f14d"; -} -.fa-compass:before { - content: "\f14e"; -} -.fa-toggle-down:before, -.fa-caret-square-o-down:before { - content: "\f150"; -} -.fa-toggle-up:before, -.fa-caret-square-o-up:before { - content: "\f151"; -} -.fa-toggle-right:before, -.fa-caret-square-o-right:before { - content: "\f152"; -} -.fa-euro:before, -.fa-eur:before { - content: "\f153"; -} -.fa-gbp:before { - content: "\f154"; -} -.fa-dollar:before, -.fa-usd:before { - content: "\f155"; -} -.fa-rupee:before, -.fa-inr:before { - content: "\f156"; -} -.fa-cny:before, -.fa-rmb:before, -.fa-yen:before, -.fa-jpy:before { - content: "\f157"; -} -.fa-ruble:before, -.fa-rouble:before, -.fa-rub:before { - content: "\f158"; -} -.fa-won:before, -.fa-krw:before { - content: "\f159"; -} -.fa-bitcoin:before, -.fa-btc:before { - content: "\f15a"; -} -.fa-file:before, -.fa-new_topic:before { - content: "\f15b"; -} -.fa-file-text:before { - content: "\f15c"; -} -.fa-sort-alpha-asc:before { - content: "\f15d"; -} -.fa-sort-alpha-desc:before { - content: "\f15e"; -} -.fa-sort-amount-asc:before { - content: "\f160"; -} -.fa-sort-amount-desc:before { - content: "\f161"; -} -.fa-sort-numeric-asc:before { - content: "\f162"; -} -.fa-sort-numeric-desc:before { - content: "\f163"; -} -.fa-thumbs-up:before { - content: "\f164"; -} -.fa-thumbs-down:before { - content: "\f165"; -} -.fa-youtube-square:before { - content: "\f166"; -} -.fa-youtube:before { - content: "\f167"; -} -.fa-xing:before { - content: "\f168"; -} -.fa-xing-square:before { - content: "\f169"; -} -.fa-youtube-play:before { - content: "\f16a"; -} -.fa-dropbox:before { - content: "\f16b"; -} -.fa-stack-overflow:before { - content: "\f16c"; -} -.fa-instagram:before { - content: "\f16d"; -} -.fa-flickr:before { - content: "\f16e"; -} -.fa-adn:before { - content: "\f170"; -} -.fa-bitbucket:before { - content: "\f171"; -} -.fa-bitbucket-square:before { - content: "\f172"; -} -.fa-tumblr:before { - content: "\f173"; -} -.fa-tumblr-square:before { - content: "\f174"; -} -.fa-long-arrow-down:before { - content: "\f175"; -} -.fa-long-arrow-up:before { - content: "\f176"; -} -.fa-long-arrow-left:before { - content: "\f177"; -} -.fa-long-arrow-right:before { - content: "\f178"; -} -.fa-apple:before { - content: "\f179"; -} -.fa-windows:before { - content: "\f17a"; -} -.fa-android:before { - content: "\f17b"; -} -.fa-linux:before { - content: "\f17c"; -} -.fa-dribbble:before { - content: "\f17d"; -} -.fa-skype:before { - content: "\f17e"; -} -.fa-foursquare:before { - content: "\f180"; -} -.fa-trello:before { - content: "\f181"; -} -.fa-female:before { - content: "\f182"; -} -.fa-male:before { - content: "\f183"; -} -.fa-gittip:before, -.fa-gratipay:before { - content: "\f184"; -} -.fa-sun-o:before { - content: "\f185"; -} -.fa-moon-o:before { - content: "\f186"; -} -.fa-archive:before { - content: "\f187"; -} -.fa-bug:before { - content: "\f188"; -} -.fa-vk:before { - content: "\f189"; -} -.fa-weibo:before { - content: "\f18a"; -} -.fa-renren:before { - content: "\f18b"; -} -.fa-pagelines:before { - content: "\f18c"; -} -.fa-stack-exchange:before { - content: "\f18d"; -} -.fa-arrow-circle-o-right:before { - content: "\f18e"; -} -.fa-arrow-circle-o-left:before { - content: "\f190"; -} -.fa-toggle-left:before, -.fa-caret-square-o-left:before { - content: "\f191"; -} -.fa-dot-circle-o:before { - content: "\f192"; -} -.fa-wheelchair:before { - content: "\f193"; -} -.fa-vimeo-square:before { - content: "\f194"; -} -.fa-turkish-lira:before, -.fa-try:before { - content: "\f195"; -} -.fa-plus-square-o:before { - content: "\f196"; -} -.fa-space-shuttle:before { - content: "\f197"; -} -.fa-slack:before { - content: "\f198"; -} -.fa-envelope-square:before { - content: "\f199"; -} -.fa-wordpress:before { - content: "\f19a"; -} -.fa-openid:before { - content: "\f19b"; -} -.fa-institution:before, -.fa-bank:before, -.fa-university:before { - content: "\f19c"; -} -.fa-mortar-board:before, -.fa-graduation-cap:before { - content: "\f19d"; -} -.fa-yahoo:before { - content: "\f19e"; -} -.fa-google:before { - content: "\f1a0"; -} -.fa-reddit:before { - content: "\f1a1"; -} -.fa-reddit-square:before { - content: "\f1a2"; -} -.fa-stumbleupon-circle:before { - content: "\f1a3"; -} -.fa-stumbleupon:before { - content: "\f1a4"; -} -.fa-delicious:before { - content: "\f1a5"; -} -.fa-digg:before { - content: "\f1a6"; -} -.fa-pied-piper:before { - content: "\f1a7"; -} -.fa-pied-piper-alt:before { - content: "\f1a8"; -} -.fa-drupal:before { - content: "\f1a9"; -} -.fa-joomla:before { - content: "\f1aa"; -} -.fa-language:before { - content: "\f1ab"; -} -.fa-fax:before { - content: "\f1ac"; -} -.fa-building:before { - content: "\f1ad"; -} -.fa-child:before { - content: "\f1ae"; -} -.fa-paw:before { - content: "\f1b0"; -} -.fa-spoon:before { - content: "\f1b1"; -} -.fa-cube:before { - content: "\f1b2"; -} -.fa-cubes:before { - content: "\f1b3"; -} -.fa-behance:before { - content: "\f1b4"; -} -.fa-behance-square:before { - content: "\f1b5"; -} -.fa-steam:before { - content: "\f1b6"; -} -.fa-steam-square:before { - content: "\f1b7"; -} -.fa-recycle:before { - content: "\f1b8"; -} -.fa-automobile:before, -.fa-car:before { - content: "\f1b9"; -} -.fa-cab:before, -.fa-taxi:before { - content: "\f1ba"; -} -.fa-tree:before { - content: "\f1bb"; -} -.fa-spotify:before { - content: "\f1bc"; -} -.fa-deviantart:before { - content: "\f1bd"; -} -.fa-soundcloud:before { - content: "\f1be"; -} -.fa-database:before { - content: "\f1c0"; -} -.fa-file-pdf-o:before { - content: "\f1c1"; -} -.fa-file-word-o:before { - content: "\f1c2"; -} -.fa-file-excel-o:before { - content: "\f1c3"; -} -.fa-file-powerpoint-o:before { - content: "\f1c4"; -} -.fa-file-photo-o:before, -.fa-file-picture-o:before, -.fa-file-image-o:before { - content: "\f1c5"; -} -.fa-file-zip-o:before, -.fa-file-archive-o:before { - content: "\f1c6"; -} -.fa-file-sound-o:before, -.fa-file-audio-o:before { - content: "\f1c7"; -} -.fa-file-movie-o:before, -.fa-file-video-o:before { - content: "\f1c8"; -} -.fa-file-code-o:before { - content: "\f1c9"; -} -.fa-vine:before { - content: "\f1ca"; -} -.fa-codepen:before { - content: "\f1cb"; -} -.fa-jsfiddle:before { - content: "\f1cc"; -} -.fa-life-bouy:before, -.fa-life-buoy:before, -.fa-life-saver:before, -.fa-support:before, -.fa-life-ring:before { - content: "\f1cd"; -} -.fa-circle-o-notch:before { - content: "\f1ce"; -} -.fa-ra:before, -.fa-rebel:before { - content: "\f1d0"; -} -.fa-ge:before, -.fa-empire:before { - content: "\f1d1"; -} -.fa-git-square:before { - content: "\f1d2"; -} -.fa-git:before { - content: "\f1d3"; -} -.fa-hacker-news:before { - content: "\f1d4"; -} -.fa-tencent-weibo:before { - content: "\f1d5"; -} -.fa-qq:before { - content: "\f1d6"; -} -.fa-wechat:before, -.fa-weixin:before { - content: "\f1d7"; -} -.fa-send:before, -.fa-paper-plane:before { - content: "\f1d8"; -} -.fa-send-o:before, -.fa-paper-plane-o:before { - content: "\f1d9"; -} -.fa-history:before { - content: "\f1da"; -} -.fa-genderless:before, -.fa-circle-thin:before { - content: "\f1db"; -} -.fa-header:before { - content: "\f1dc"; -} -.fa-paragraph:before { - content: "\f1dd"; -} -.fa-sliders:before { - content: "\f1de"; -} -.fa-share-alt:before { - content: "\f1e0"; -} -.fa-share-alt-square:before { - content: "\f1e1"; -} -.fa-bomb:before { - content: "\f1e2"; -} -.fa-soccer-ball-o:before, -.fa-futbol-o:before { - content: "\f1e3"; -} -.fa-tty:before { - content: "\f1e4"; -} -.fa-binoculars:before { - content: "\f1e5"; -} -.fa-plug:before { - content: "\f1e6"; -} -.fa-slideshare:before { - content: "\f1e7"; -} -.fa-twitch:before { - content: "\f1e8"; -} -.fa-yelp:before { - content: "\f1e9"; -} -.fa-newspaper-o:before { - content: "\f1ea"; -} -.fa-wifi:before { - content: "\f1eb"; -} -.fa-calculator:before { - content: "\f1ec"; -} -.fa-paypal:before { - content: "\f1ed"; -} -.fa-google-wallet:before { - content: "\f1ee"; -} -.fa-cc-visa:before { - content: "\f1f0"; -} -.fa-cc-mastercard:before { - content: "\f1f1"; -} -.fa-cc-discover:before { - content: "\f1f2"; -} -.fa-cc-amex:before { - content: "\f1f3"; -} -.fa-cc-paypal:before { - content: "\f1f4"; -} -.fa-cc-stripe:before { - content: "\f1f5"; -} -.fa-bell-slash:before { - content: "\f1f6"; -} -.fa-bell-slash-o:before { - content: "\f1f7"; -} -.fa-trash:before, -.fa-delete:before { - content: "\f1f8"; -} -.fa-copyright:before { - content: "\f1f9"; -} -.fa-at:before { - content: "\f1fa"; -} -.fa-eyedropper:before { - content: "\f1fb"; -} -.fa-paint-brush:before { - content: "\f1fc"; -} -.fa-birthday-cake:before { - content: "\f1fd"; -} -.fa-area-chart:before { - content: "\f1fe"; -} -.fa-pie-chart:before { - content: "\f200"; -} -.fa-line-chart:before { - content: "\f201"; -} -.fa-lastfm:before { - content: "\f202"; -} -.fa-lastfm-square:before { - content: "\f203"; -} -.fa-toggle-off:before { - content: "\f204"; -} -.fa-toggle-on:before { - content: "\f205"; -} -.fa-bicycle:before { - content: "\f206"; -} -.fa-bus:before { - content: "\f207"; -} -.fa-ioxhost:before { - content: "\f208"; -} -.fa-angellist:before { - content: "\f209"; -} -.fa-cc:before { - content: "\f20a"; -} -.fa-shekel:before, -.fa-sheqel:before, -.fa-ils:before { - content: "\f20b"; -} -.fa-meanpath:before { - content: "\f20c"; -} -.fa-buysellads:before { - content: "\f20d"; -} -.fa-connectdevelop:before { - content: "\f20e"; -} -.fa-dashcube:before { - content: "\f210"; -} -.fa-forumbee:before { - content: "\f211"; -} -.fa-leanpub:before { - content: "\f212"; -} -.fa-sellsy:before { - content: "\f213"; -} -.fa-shirtsinbulk:before { - content: "\f214"; -} -.fa-simplybuilt:before { - content: "\f215"; -} -.fa-skyatlas:before { - content: "\f216"; -} -.fa-cart-plus:before { - content: "\f217"; -} -.fa-cart-arrow-down:before { - content: "\f218"; -} -.fa-diamond:before { - content: "\f219"; -} -.fa-ship:before { - content: "\f21a"; -} -.fa-user-secret:before { - content: "\f21b"; -} -.fa-motorcycle:before { - content: "\f21c"; -} -.fa-street-view:before { - content: "\f21d"; -} -.fa-heartbeat:before { - content: "\f21e"; -} -.fa-venus:before { - content: "\f221"; -} -.fa-mars:before { - content: "\f222"; -} -.fa-mercury:before { - content: "\f223"; -} -.fa-transgender:before { - content: "\f224"; -} -.fa-transgender-alt:before { - content: "\f225"; -} -.fa-venus-double:before { - content: "\f226"; -} -.fa-mars-double:before { - content: "\f227"; -} -.fa-venus-mars:before { - content: "\f228"; -} -.fa-mars-stroke:before { - content: "\f229"; -} -.fa-mars-stroke-v:before { - content: "\f22a"; -} -.fa-mars-stroke-h:before { - content: "\f22b"; -} -.fa-neuter:before { - content: "\f22c"; -} -.fa-facebook-official:before { - content: "\f230"; -} -.fa-pinterest-p:before { - content: "\f231"; -} -.fa-whatsapp:before { - content: "\f232"; -} -.fa-server:before { - content: "\f233"; -} -.fa-user-plus:before { - content: "\f234"; -} -.fa-user-times:before { - content: "\f235"; -} -.fa-hotel:before, -.fa-bed:before { - content: "\f236"; -} -.fa-viacoin:before { - content: "\f237"; -} -.fa-train:before { - content: "\f238"; -} -.fa-subway:before { - content: "\f239"; -} -.fa-medium:before { - content: "\f23a"; -} diff --git a/config/themes/Redsy/css/index.css b/config/themes/Redsy/css/index.css deleted file mode 100755 index 1263134..0000000 --- a/config/themes/Redsy/css/index.css +++ /dev/null @@ -1,4301 +0,0 @@ -/* Styles for the general looks for the Curve theme. -------------------------------------------------------- */ -img -{ - max-width: 100%; - height: auto; -} -/* Normal, standard links. */ -a:link, a:visited, a.new_win:link, a.new_win:visited -{ - color: #2a2a2a; - text-decoration: none; -} -a:hover -{ - text-decoration: underline; - cursor: pointer; -} - -/* Links that open in a new window. */ -a.new_win:hover -{ - text-decoration: underline; -} - -/* Tables should show empty cells. */ -table -{ - empty-cells: show; -} - -/* Set a fontsize that will look the same in all browsers. */ -body -{ - margin: 0 auto; - padding: 0; -} - -/* Help popups require a different styling of the body element. */ -body#help_popup -{ - padding: 1em; -} - -/* use dark grey for the text, leaving #000 for headers etc */ -body, td, th, tr -{ - color: #444; -} - -/* This division wraps the entire forum when a forum width is set. */ -div#wrapper -{ - margin: 0 auto; - width: 100%; -} - -/* lets give all forms zero padding/margins */ -form -{ - padding: 0; - margin: 0; -} - -/* We can style the different types of input buttons to be uniform throughout different browsers and their color themes. - .button_submit - covers input[type=submit], input[type=button], button[type=submit] and button[type=button] in all browsers - .button_reset - covers input[type=reset] and button[type=reset] throughout all browsers - .input_check - covers input[type=checkbox] throughout all browsers - .input_radio - covers input[type=radio] throughout all browsers - .input_text - covers input[type=text] throughout all browsers - .input_file - covers input[type=file] throughout all browsers -*/ - -input, button, select, textarea -{ - font: 95%/115% verdana, Helvetica, sans-serif; - color: #000; - background: #fff; - border: 1px solid #7f9db9; - padding: 2px; -} - -/* Select elements look horrible with the extra padding, so leave them unpadded. */ -select -{ - padding: 0; -} - -/* Add some padding to the options instead. */ -select option -{ - padding: 1px; -} - -/* The font size of textareas should be just a little bit larger. */ -textarea -{ - font: 100%/130% verdana, Helvetica, sans-serif; -} - -/* Buttons should be styled a bit differently, in order to make them look more button'ish. */ -.button_submit, .button_reset -{ - background: #cde7ff url(../images/theme/submit_bg.png) no-repeat; - border: 1px solid #aaa; - cursor: pointer; - font-weight: normal; -} -input:hover, textarea:hover, button:hover, select:hover -{ - border: 1px solid #454545; -} -.button_submit:hover, .button_reset:hover -{ - border: 1px solid #aaa; - background: url(../images/theme/submit_bg.png) no-repeat 0 -140px #cde7ff; -} -input:focus, textarea:focus, button:focus, select:focus -{ - border: 1px solid #454545; -} - -/* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ -input.input_check, input.input_radio -{ - border: none; - background: none; -} -h3.catbg input.input_check -{ - margin: 9px 7px 0 7px; -} - -/* Give disabled text input elements a different background color. */ -input[disabled].input_text -{ - background-color: #eee; -} - -/* Standard horizontal rule.. ([hr], etc.) */ -hr, .hrcolor -{ - height: 1px; - border: 0; - color: #ccc; - background-color: #ccc; -} -/* By default set the color on these tags as #000. */ -h1, h2, h3, h4, h5, h6 -{ - margin: 0; - padding: 0; -} -/* Fieldsets are used to group elements. */ -fieldset -{ - border: 1px solid #c4c4c4; - padding: 1em; - margin: 0 0 0.5em 0; -} -fieldset legend -{ - font-weight: bold; - color: #444; -} -/* No image should have a border when linked. */ -a img -{ - border: 0; -} - -/* Define strong as bold, and em as italics */ -strong -{ - font-weight: bold; -} - -em -{ - font-style: italic; -} -/* Alternative for u tag */ -.underline -{ - text-decoration: underline; -} - -/* Common classes to easy styling. -------------------------------------------------------- */ - -.floatright -{ - float: right; -} -.floatleft -{ - float: left; -} - -.flow_auto -{ - overflow: auto; -} -.flow_hidden -{ - overflow: hidden; -} -.flow_hidden .windowbg, .flow_hidden .windowbg2 -{ - margin-top: 2px; -} -.clear -{ - clear: both; -} -.clear_left -{ - clear: left; -} -.clear_right -{ - clear: right; -} - -/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */ -.smalltext, tr.smalltext th -{ - font-size: 0.85em; - font-family: verdana, sans-serif; -} -.middletext -{ - font-size: 0.9em; - line-height: 1em; - font-family: verdana, sans-serif; -} -.normaltext -{ - font-size: 1em; - line-height: 1.2em; -} -.largetext -{ - font-size: 1.4em; -} -.centertext -{ - margin: 0 auto; - text-align: center; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: right; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: left; -} -.double_height -{ - line-height: 2em; -} -/* some common padding styles */ -.padding -{ - padding: 0.7em; -} -.main_section, .lower_padding -{ - padding-bottom: 0.5em; -} -/* a quick reset list class. */ -ul.reset, ul.reset li -{ - padding: 0; - margin: 0; - list-style: none; -} - -/* Some BBC related styles. -------------------------------------------------------- */ - -/* A quote, perhaps from another post. */ -blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote -{ - font-size: x-small; - color: #000; - line-height: 1.4em; - background: url(../images/theme/quote.png) 0.1em 0.1em no-repeat; - border-left: 4px solid #99A; - padding: 1.1em 1.4em; - margin: 0.1em 0 0.3em 0; - overflow: auto; -} - -/* Images in quotes */ -blockquote img { - max-height: 100px; - max-width: 200px; -} - -blockquote > video { - max-height: 100px; - max-width: 200px!important; -} -blockquote > iframe { - max-height: 100px; - max-width: 200px!important; -} -/* Alterate blockquote stylings */ -blockquote.bbc_standard_quote -{ - background-color: #d7daec; -} -blockquote.bbc_alternate_quote -{ - background-color: #e7eafc; -} - -/* A code block - maybe PHP ;). */ -code.bbc_code -{ - display: block; - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; - font-size: x-small; - background: #eef; - border-left: 4px solid #999; - line-height: 1.5em; - padding: 3px 1em; - overflow: auto; - white-space: nowrap; - /* Show a scrollbar after about 24 lines. */ - max-height: 24em; -} - -/* The "Quote:" and "Code:" header parts... */ -.codeheader, .quoteheader -{ - color: #666; - font-size: x-small; - font-weight: bold; - padding: 0 0.3em; -} - -/* For links to change the code stuff... */ -.codeoperation -{ - font-weight: normal; -} - -/* Styling for BBC tags */ -.bbc_link:link, .bbc_link:visited -{ - border-bottom: 1px solid #A8B6CF; -} -.bbc_link:hover -{ - text-decoration: none; - border-bottom: 1px solid #346; -} -.bbc_size -{ - line-height: 1.4em; -} -.bbc_color a -{ - color: inherit; -} -.bbc_img -{ - border: 0; -} -.bbc_table -{ - font: inherit; - color: inherit; -} -.bbc_table td -{ - font: inherit; - color: inherit; - vertical-align: top; -} -.bbc_u -{ - text-decoration: underline; -} -.bbc_list -{ - text-align: left; -} -.bbc_tt -{ - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; -} - -/* Generally, those [?] icons. This makes your cursor a help icon. */ -.help -{ - cursor: help; -} - -/* /me uses this a lot. (emote, try typing /me in a post.) */ -.meaction -{ - color: red; -} - -/* Highlighted text - such as search results. */ -.highlight -{ - font-weight: bold; - color: #ff7200 !important; - font-size: 1.1em; -} - -/* A more discreet highlight color, for selected membergroups etc. */ -.highlight2 -{ - background-color: #D1E1EF; - color: #000 !important; -} - -/* Generic, mostly color-related, classes. -------------------------------------------------------- */ -.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td, -.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th -{ - color: #fff; - font-size: 1em; - font-weight: normal; - background: #337ab6; -} - -/* adjust the table versions of headers */ -tr.titlebg th, tr.titlebg2 th, td.titlebg, td.titlebg2, tr.catbg th, tr.catbg2 th, td.catbg, td.catbg2 -{ - padding: 0 6px; -} -tr.titlebg th a:link, tr.titlebg th a:visited, tr.titlebg2 td a:link, tr.titlebg2 td a:visited -{ - color: #fff; -} -tr.catbg th a:link, tr.catbg th a:visited, tr.catbg2 td a:link, tr.catbg2 td a:visited -{ - color: #fff; -} -.catbg select -{ - height: 1.5em; - font-size: 0.85em; -} - -/* Alternating backgrounds for posts, and several other sections of the forum. */ -.windowbg, #preview_body, .windowbg2, .windowbg3 -{ - color: #000; - background-color: #fff; - border-radius: 4px; - margin: 0.2em 0; -} -.windowbg4 -{ - color: #000; - background-color: #fff; -} - -/* the page navigation area */ -.pagesection -{ - margin-bottom: 0.3em; - margin-top: 0.3em; - overflow: hidden; - padding: 0.2em; -} - -/* Main pagination links */ -.pagesection .pagelinks > a.navPages, -.pagesection .pagelinks > span > a, -.pagesection .pagelinks > strong -{ - background-color: #ffffff; - border-style: solid; - border-width: 1px; - float: left; - margin-left: -1px; - padding: 0.6em 0.8em; - position: relative; -} - -.pagesection .pagelinks a.navPages -{ - background-color: #ffffff; - border-color: #dddddd; - color: #337ab6; - cursor: pointer; -} - -.pagesection .pagelinks a.navPages:hover -{ - background-color: #eeeeee; - text-decoration: none; -} - -/* ... Pagination expander */ -.pagesection .pagelinks > span > a -{ - background-color: #ffffff; - border-color: #dddddd; -} - -.pagesection .pagelinks > span > a:hover -{ - background-color: #eeeeee; - border-color: #dddddd; - text-decoration: none; -} - -/* Current page */ -.pagesection .pagelinks > strong -{ - background-color: #337ab6; - border-color: #337ab6; - color: white; - cursor: default; - text-shadow: 1px 1px black; -} - -.pagesection .pagelinks > a.navPages:last-child, -.pagesection .pagelinks strong:last-child -{ - border-bottom-right-radius: 4px; - border-top-right-radius: 4px; -} - -.pagesection .pagelinks > a.navPages:first-child, -.pagesection .pagelinks strong:first-child -{ - border-bottom-left-radius: 4px; - border-top-left-radius: 4px; -} - -/* Colors for background of posts requiring approval */ -.approvebg -{ - color: #000; - background-color: #ffeaea; -} -.approvebg2 -{ - color: #000; - background-color: #fff2f2; -} - -/* Color for background of *topics* requiring approval */ -.approvetbg -{ - color: #000; - background-color: #e4a17c; -} -.approvetbg2 -{ - color: #000; - background-color: #f3bd9f; -} - -/* Sticky topics get a different background */ -.stickybg -{ - background: #e8d8cf; -} -.stickybg2 -{ - background: #f2e3d9; -} - -/* Locked posts get a different shade, too! */ -.lockedbg -{ - background: #d4dce2; - font-style: italic; -} -.lockedbg2 -{ - background: #d8e1e7; - font-style: italic; -} - -/* Posts and personal messages displayed throughout the forum. */ -.post, .personalmessage -{ - overflow: auto; - line-height: 1.4em; - padding: 0.1em 0; -} - -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature, .attachments -{ - width: 98%; - overflow: auto; - clear: right; - padding: 1em 0 3px 0; - border-top: 1px solid #aaa; - line-height: 1.4em; - font-size: 0.85em; -} -.custom_fields_above_signature -{ - width: 98%; - clear: right; - padding: 1em 0 3px 0; - border-top: 1px solid #aaa; - line-height: 1.4em; - font-size: 0.85em; -} - -/* Sometimes there will be an error when you post */ -.error -{ - color: red; -} - -/* Messages that somehow need to attract the attention. */ -.alert -{ - color: red; -} - -/* Calendar colors for birthdays, events and holidays */ -.birthday -{ - color: #920ac4; -} - -.event -{ - color: #078907; -} - -.holiday -{ - color: #000080; -} - -/* Colors for warnings */ -.warn_mute -{ - color: red; -} - -.warn_moderate -{ - color: #ffa500; -} - -.warn_watch, .success -{ - color: green; -} - -a.moderation_link, a.moderation_link:visited -{ - color: red; - font-weight: bold; -} - -.openid_login -{ - background: white url(../images/openid.gif) no-repeat; - padding-left: 18px; -} - -/* a descriptive style */ -.description, .description_board, .plainbox -{ - padding: 0.5em 1em; - font-size: 0.9em; - line-height: 1.4em; - border: 1px solid #bbb; - background: #f5f5f0; - margin: 0.2em 1px 1em 1px; -} -.description_board -{ - margin: 1em 1px 0 1px; -} - -/* an informative style */ -.information -{ - padding: 0.5em 1em; - font-size: 0.9em; - line-height: 1.3em; - border: 1px solid #bbb; - background: #f0f6f0; - margin: 0.2em 1px 1em 1px; -} -.information p -{ - padding: 1em; - margin: 0; -} -p.para2 -{ - padding: 1em 0 3.5em 0; - margin: 0; -} -/* AJAX notification bar -------------------------------------------------------- */ -#ajax_in_progress -{ - background: url(../images/theme/loadingbar.png) repeat-x; - color: #f96f00; - text-align: center; - font-size: 16pt; - padding: 8px; - width: 100%; - height: 66px; - line-height: 25px; - position: fixed; - top: 0; - left: 0; -} - -#ajax_in_progress a -{ - color: orange; - text-decoration: underline; - font-size: smaller; - float: right; - margin-right: 20px; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: right; - overflow: auto; - margin: 0 0 10px 0; - padding: 0; -} -dl.settings dt -{ - width: 40%; - float: left; - margin: 0 0 10px 0; - padding: 0; - clear: both; -} -dl.settings dt.settings_title -{ - width: 100%; - float: none; - margin: 0 0 10px 0; - padding: 5px 0 0 0; - font-weight: bold; - clear: both; -} -dl.settings dt.windowbg -{ - width: 98%; - float: left; - margin: 0 0 3px 0; - padding: 0 0 5px 0; - clear: both; -} -dl.settings dd -{ - width: 56%; - float: right; - overflow: auto; - margin: 0 0 3px 0; - padding: 0; -} -dl.settings img -{ - margin: 0 10px 0 0; -} -/* help icons */ -dl.settings dt a img -{ - position: relative; - top: 2px; -} -@media (max-width: 767px) { - dl.settings dt, dl.settings dd - { - width: 100%; - } -} -/* Styles for rounded headers. -------------------------------------------------------- */ -h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg -{ - overflow: hidden; - height: 38px; - line-height: 38px; - font-size: 1em; -} -h3.catbg a:link, h3.catbg a:visited, h4.catbg a:link, h4.catbg a:visited, h3.catbg, .table_list tbody.header td, .table_list tbody.header td a -{ - color: #fff; -} -h3.catbg2 a, h3.catbg2 -{ - color: #feb; -} -h3.catbg a:hover, h4.catbg a:hover, .table_list tbody.header td a:hover -{ - color: #fd9; - text-decoration: none; -} -h3.catbg2 a:hover -{ - color: #fff; - text-decoration: none; -} -h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a -{ - color: #fff; -} -h3.titlebg a:hover, h4.titlebg a:hover -{ - color: #fff; - text-decoration: none; -} -h3.catbg img.icon, h4.titlebg img.icon -{ - vertical-align: middle; - margin: -2px 5px 0 0; -} -h4.catbg a.toggle img -{ - vertical-align: middle; - margin: -2px 5px 0 5px; -} -h4.catbg, h4.catbg2 , h3.catbg , h3.catbg2 , .table_list tbody.header td.catbg -{ - background: #1d212a; - padding-right: 9px; -} -h4.titlebg, h3.titlebg -{ - background: #337ab6; - padding-right: 9px; -} -h4.titlebg img.icon -{ - float: left; - margin: 10px 8px 0 0; -} -div.cat_bar -{ - background: #1d212a; - padding-left: 9px; - height: 38px; - overflow: hidden; - margin-bottom: 1px; - border-radius: 4px 4px 0 0; -} -div.title_bar -{ - background: #337ab6; - padding-left: 9px; - height: 38px; - overflow: hidden; - margin-bottom: 1px; - border-radius: 4px; -} - -/* rounded bars needs a different background here */ -div#IC div.cat_bar -{ - background: #337ab6; - margin-bottom: 0; -} -div#IC div.cat_bar h3.catbg -{ - background: #337ab6; -} -div.title_barIC -{ - background: #F5F5F5; - padding-left: 9px; - height: 38px; - overflow: hidden; - margin-bottom: 1px; - border: 1px solid #CCC; - border-top: none; -} -div.title_barIC h4.titlebg -{ - background: #F5F5F5; - color: #333; -} -.icbg -{ - background: #FFF; - padding: 5px; - border: 1px solid #CCC; - border-top: none; -} -#upshrinkHeaderIC p.pminfo -{ - margin: 0; - padding: 0.5em; -} -img#upshrink_ic, img#newsupshrink -{ - float: right; - margin: 12px 5px 0 0; -} -table.table_list a.unreadlink, table.table_list a.collapse -{ - float: right; -} -table.table_list a.collapse -{ - margin: 0 5px 0 1em; - height: 38px; - line-height: 38px; - display: block; - visibility: visible; -} - -/* The half-round header bars for some tables. */ -tr.catbg th.first_th,tr.titlebg th.first_th -{ - background: #337ab6; - border-radius: 4px 0 0 0; -} -tr.catbg th.last_th, tr.titlebg th.last_th -{ - background: #337ab6; - border-radius: 0 4px 0 0; -} -.table_grid th.last_th input -{ - margin: 0 2px; -} - -/* GenericList */ -.additional_row -{ - padding: 0.5em 0 0.5em 0; -} - -/* table_grid styles for Profile > Show Permissions. */ -#permissions table.table_grid td -{ - padding: 0.4em 0.8em; - cursor: default; -} - -/* Common styles used to add corners to divisions. -------------------------------------------------------- */ -.windowbg span.topslice -{ - display: block; - padding-left: 20px; - background: #FFF; - border-radius: 4px 4px 0 0; -} -.windowbg span.topslice span -{ - display: block; - background: #FFF; - height: 11px; - border-radius: 4px 4px 0 0; -} -.windowbg span.botslice -{ - display: block; - padding-left: 20px; - background: #FFF; - font-size: 5px; - line-height: 5px; - margin-bottom: 0.2em; - border-radius: 0 0 4px 4px; -} -.windowbg span.botslice span -{ - display: block; - background: #FFF; - height: 11px; - border-radius: 0 0 4px 4px; -} -.windowbg2 span.topslice -{ - display: block; - padding-left: 20px; - background: #FFF; - border-radius: 4px 4px 0 0; -} -.windowbg2 span.topslice span -{ - display: block; - background: #FFF; - height: 11px; - border-radius: 4px 4px 0 0; -} -.windowbg2 span.botslice -{ - display: block; - padding-left: 20px; - background: #FFF; - font-size: 5px; - line-height: 5px; - margin-bottom: 0.2em; - border-radius: 0 0 4px 4px; -} -.windowbg2 span.botslice span -{ - display: block; - background: #FFF; - height: 11px; - border-radius: 0 0 4px 4px; -} -.approvebg span.topslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 0 no-repeat; -} -.approvebg span.topslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% 0 no-repeat; - height: 11px; -} -.approvebg span.botslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -11px no-repeat; - margin-bottom: 0.2em; -} -.approvebg span.botslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -11px no-repeat; - height: 11px; -} -.postbg -{ - border-left: 1px solid #7f7f7f; - border-right: 1px solid #7f7f7f; -} - -/* Used for sections that need somewhat larger corners. ------------------------------------------------------------ */ -.roundframe -{ - padding: 0 10px; - background: #f5f5f5; - border-left: 1px solid #c5c5c5; - border-right: 1px solid #c5c5c5; -} -.roundframe dl, .roundframe dt, .roundframe p -{ - margin: 0; -} -.roundframe p -{ - padding: 0.5em; -} -span.upperframe -{ - padding: 0; - display: block; - background: #f5f5f5; - border: 1px solid #c5c5c5; - border-bottom: none; - padding-left: 20px; - border-radius: 4px 4px 0 0; - margin-top: 0.1em; -} -span.upperframe span -{ - padding: 0; - height: 12px; - display: block; - background: #f5f5f5; - border-radius: 4px 4px 0 0; -} -span.lowerframe -{ - padding: 0; - display: block; - background: #f5f5f5; - border: 1px solid #c5c5c5; - border-top: none; - padding-left: 20px; - border-radius: 0 0 4px 4px; - margin-bottom: 0.2em; -} -span.lowerframe span -{ - padding: 0; - height: 12px; - display: block; - background: #f5f5f5; - border-radius: 0 0 4px 4px; -} - -/* The main content area. -------------------------------------------------------- */ -.content -{ - padding: 0.5em 1.2em; - margin: 0; - border: none; -} -.content p -{ - margin: 0 0 0.5em 0; -} - -/* Styles used by the auto suggest control. -------------------------------------------------------- */ -.auto_suggest_div -{ - border: 1px solid #000; - position: absolute; - visibility: hidden; -} -.auto_suggest_item -{ - background-color: #ddd; -} -.auto_suggest_item_hover -{ - background-color: #888; - cursor: pointer; - color: #eee; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -#main_menu -{ - padding: 0 0.5em; - float: left; - margin: 0; - width: auto; -} - -.dropmenu, .dropmenu ul -{ - list-style: none; - line-height: 1em; - padding: 0; - margin: 0; -} -.dropmenu -{ - padding: 0; -} -.dropmenu a -{ - display: block; - color: #252525; - padding: 4px; - text-decoration: none; -} -.dropmenu a span -{ - display: block; - padding: 0; - font-size: 9pt; - font-weight: 600; - font-family: "Segoe UI"; - transition: color .35s ease-in-out; - -moz-transition: color .35s ease-in-out; - -webkit-transition: color .35s ease-in-out; -} -/* the background's first level only */ -.dropmenu li a.firstlevel -{ - margin-right: 8px; -} -.dropmenu li a.firstlevel span.firstlevel -{ - display: block; - position: relative; - height: 22px; - line-height: 19px; - white-space: pre; -} -.dropmenu li -{ - float: left; - padding: 0; - margin: 0; - position: relative; -} -.dropmenu li ul -{ - z-index: 90; - display: none; - position: absolute; - width: 19.2em; - font-weight: normal; - padding: 5px 0; - -webkit-transition: display .25s ease .1s; - -moz-transition: display .25s ease .1s; - transition: display .25s ease .1s; -} -.dropmenu li li -{ - width: 19em; - padding: 3px; - margin: 0; - background: #171717; -} -.dropmenu li li:first-child:last-child -{ - border-radius: 5px; -} -.dropmenu li li:first-child -{ - border-radius: 5px 5px 0 0; -} -.dropmenu li li:last-child -{ - border-radius: 0 0 5px 5px; -} -.dropmenu li li a -{ - color: #FFF; - padding: 4px 2px; - border-radius: 3px; -} -.dropmenu li li a span -{ - display: block; - padding: 3px; - font-weight: 400; - transition: none; - -moz-transition: none; - -webkit-transition: none; -} -.dropmenu li ul ul -{ - margin: -1.8em 0 0 13em; -} -.dropmenu li li a span img -{ - margin-bottom: -2px; -} - -/* the active button */ -.dropmenu li a.active -{ - color: #FFF; - background: #337ab6; - border-radius: 3px; -} -.dropmenu li a.active:hover, .dropmenu li:hover a.active -{ - color: #FFF !important; -} -/* the hover effects */ -.dropmenu li a.firstlevel:hover, .dropmenu li:hover a.firstlevel -{ - color: #337ab6; - cursor: pointer; - text-decoration: none; -} -/* the hover effects on level2 and 3 */ -.dropmenu li li a:hover, .dropmenu li li:hover>a -{ - background: #337ab6; - text-decoration: none; -} -.dropmenu li:hover ul ul, .dropmenu li:hover ul ul ul -{ - top: -999em; -} -.dropmenu li li:hover ul -{ - top: auto; -} -.dropmenu li:hover ul -{ - display: block; -} -/* The dropdown menu toggle image */ -#menu_toggle -{ - float: right; - margin-right: 10px; - padding-top: 3px; -} -#menu_toggle span -{ - position: relative; - right: 5000px; -} -/* Styles for the standard button lists. -------------------------------------------------------- */ -.buttonlist .nav, #admin_menu .nav -{ - padding: 0; - margin: 0; -} -.buttonlist li a, #admin_menu li a.dropdown-toggle -{ - background: #1d212a; - color: #FFF; - border-radius: 0 0 0 0; -} -.buttonlist li:first-child a, -#admin_menu li:first-child a.dropdown-toggle -{ - border-bottom-left-radius: 4px; - border-top-left-radius: 4px; -} -.buttonlist li:last-child a, -#admin_menu li:last-child a.dropdown-toggle -{ - border-bottom-right-radius: 4px; - border-top-right-radius: 4px; -} -.buttonlist li a.active, .buttonlist li a:hover, .buttonlist li a:focus, -#admin_menu li a.dropdown-toggle:hover, #admin_menu li a.dropdown-toggle:focus, -#admin_menu li a.active, #admin_menu li a.active:hover, #admin_menu li a.active:focus -{ - background: #337ab6; -} -.buttonlist .nav-pills li + li, -#admin_menu .nav-pills li + li -{ - margin-left: 0; -} -.align_top ul li a, .align_bottom ul li a -{ - margin: 0 12px 0 0; -} -@media (max-width: 991px) { - #admin_menu li, #adm_submenus li - { - float: none; - margin-bottom: 5px; - } - #admin_menu li a, #adm_submenus li a - { - width: 100%; - border-radius: 4px !important; - } - #admin_menu .dropdown-menu - { - width: 100%; - } -} -/* the navigation list */ -ul#navigation -{ - margin: 0; - font-size: 0.9em; - padding: 1em 0.4em; -} -ul#navigation li -{ - float: none; - font-size: 0.95em; - display: inline; -} - -#adm_submenus -{ - overflow: hidden; -} - -/* Styles for the general looks for the Curve theme. -------------------------------------------------------- */ - -/* the content section */ -#content_section -{ - padding: 20px 0; -} -#main_content_section -{ - width: 100%; - min-height: 200px; -} -/* Individual thread index */ -@media (max-width: 768px) { - #main_content_section small - { - font-size: 100%; - } - - #main_content_section small > a.navPages - { - padding: 0.3em; - } -} - -/* the main title, always stay at 45 pixels in height! */ -h1.forumtitle -{ - line-height: 45px; - font-size: 1.8em; - font-family: Geneva, verdana, sans-serif; - margin: 0; - padding: 0; - float: left; -} -/* float these items to the right */ -#siteslogan, img#smflogo -{ - margin: 0; - padding: 0; - float: right; - line-height: 3em; -} -h3, h4 -{ - padding-bottom: 3px; -} -/* the upshrink image needs some tweaking */ -img#upshrink -{ - float: right; - margin: 1em; - display: block; -} -/* ..so does the SMF logo */ -img#smflogo -{ - margin-left: 1em; -} -/* the upper_section, float the two each way */ -#upper_section -{ - padding: 5px; - margin-bottom: 1.5em; -} -#upper_section ul li.greeting -{ - font-size: 1.3em; - font-weight: bold; - line-height: 1.5em; -} -#upper_section div.news -{ - width: 50%; - float: right; - text-align: right; -} -#guest_form -{ - overflow: hidden; -} -#guest_form .info -{ - padding: 4px 0 ; - line-height: 1.3em; -} -div#upper_section div.user -{ - width: 50%; - float: left; - overflow: auto; -} -div#upper_section div.user p -{ - float: left; - margin: 0 1em 1em 0; - padding: 0; -} -div#upper_section div.user ul -{ - margin: 0; - padding-left: 10px; -} -div#upper_section div.user ul li -{ - margin-bottom: 2px; -} -div#upper_section div.news p -{ - display: inline; -} -div#upper_section div.news form -{ - padding-bottom: 10px; -} -/* clearing the floats */ -#top_section -{ - min-height: 65px; - overflow: hidden; - margin-bottom: 3px; -} -#upper_section -{ - overflow: hidden; -} - -/* The navigation list (i.e. linktree) */ -.navigate_section -{ - padding: 0.5em; - margin: 0 0 0 0; -} -.navigate_section ul -{ - display: block; - margin: 0; - font-size: 0.9em; - padding: 1em 0 0.5em 0; - border-top: 1px solid #ccc; - overflow: hidden; - list-style: none; - clear: both; - width: 100%; -} -.navigate_section ul li -{ - float: left; - padding: 0 0.5em 0 0; - font-size: 0.95em; -} -.navigate_section ul li a -{ - white-space: pre; -} - -select.qaction, input.qaction -{ - font-size: 0.85em; - padding: 0; -} -#mlist table tbody td.windowbg2 -{ - text-align: center; -} - -/* Styles for a typical table. -------------------------------------------------------- */ -table.table_list -{ - width: 100%; -} -table.table_list p -{ - padding: 0; - margin: 0; -} -table.table_list td, table.table_list th -{ - padding: 5px; -} -table.table_list tbody.header td -{ - padding: 0; -} -table.table_list tbody.content td.stats -{ - font-size: 90%; - width: 15%; - text-align: center; -} -table.table_list tbody.content td.lastpost -{ - line-height: 1.3em; - font-size: 85%; - width: 24%; -} -table.table_list tbody.content td.icon -{ - text-align: center; - width: 8%; -} - -/* Styles for the board index. -------------------------------------------------- */ - -/* the board title! */ -.table_list tbody.content td.info a.subject -{ - font-weight: 600; - font-size: 110%; - color: #333; -} -.table_list tbody.content td.children -{ - color: #555; - font-size: 85%; -} -p.moderators -{ - font-size: 0.8em; - font-family: verdana, sans-serif; -} -/* hide the table header/footer parts - but its here for those needing to style it */ -#boardindex_table .table_list thead, #boardindex_table .table_list tfoot -{ - display: none; -} - -/* the posting icons */ -#posting_icons -{ - padding: 0 1em 0.5em 1em; - margin: 0 0 1em 0; - line-height: 1em; -} -#posting_icons ul -{ - font-size: 0.8em; -} -#posting_icons img -{ - vertical-align: middle; - margin: 0 0 0 4ex; -} -#postbuttons_upper ul li a span -{ - line-height: 19px; - padding: 0 0 0 6px; -} -.nextlinks -{ - text-align: right; - margin-top: -1px; -} -.nextlinks_bottom -{ - clear: right; - text-align: right; -} - -/* the newsfader */ -#newsfader -{ - margin: 0 2px; -} -#smfFadeScroller -{ - text-align: center; - padding: 0 2em; - overflow: auto; - margin: 1em 0; - color: #575757; /* shouldn't be shorthand style due to a JS bug in IE! */ -} - -/* Styles for the info center on the board index. ----------------------------------------------------- */ -dl#ic_recentposts -{ - margin: 0; - padding: 0.5em; - line-height: 1.3em; -} -dl#ic_recentposts dt -{ - float: left; -} -dl#ic_recentposts dd -{ - text-align: right; -} -#upshrinkHeaderIC p -{ - margin: 0; - padding: 0.5em; -} -#upshrinkHeaderIC p.last -{ - margin: 0; - padding: 0.5em; - border-top: 2px dotted #bbb; -} -#upshrinkHeaderIC p.inline -{ - border: none; - margin: 0; - padding: 0.2em 0.5em 0.2em 0.5em; -} -#upshrinkHeaderIC p.stats -{ - font-size: 1.1em; - padding-top: 8px; -} -form#ic_login -{ - padding: 0.5em; - height: 2em; -} -form#ic_login ul li -{ - margin: 0; - padding: 0; - float: left; - width: 20%; - text-align: center; -} -form#ic_login ul li label -{ - display: block; -} - -/* the small stats */ -#index_common_stats -{ - display: block; - margin: 0 0 0.5em 0; - text-align: right; - font-size: 0.9em; - position: relative; - top: -20px; - line-height: 1px; -} - -img.new_posts -{ - padding: 0 0.1em; -} -/* Styles for the message (topic) index. ----------------------------------------------------- */ -div.table_frame .table_list -{ - border-collapse: collapse; - margin:0; -} -#messageindex -{ - clear: both; -} -/* the page navigation area */ -.childboards -{ - margin-bottom: 0.2em; -} -#childboards h3 -{ - padding-bottom: 0; -} -#childboards .table_list thead -{ - display: none; -} -#childboards .table_list -{ - margin-bottom: 1em; -} -.lastpost img -{ - float: right; - padding: 4px; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ - -#postbuttons div.buttons -{ - padding: 0.5em; - width: 40%; - float: right; -} -#postbuttons div.middletext -{ - width: 60%; -} -#postbuttons span -{ - display: block; - text-align: right; -} -#postbuttons span.lower -{ - clear: right; -} -#postbuttons .buttonlist -{ - float: right; -} -#postbuttons #pagelinks -{ - padding-top: 1em; -} -#moderationbuttons -{ - overflow: hidden; -} -/* Events */ -.linked_events -{ - padding: 1em 0; -} -.edit_event -{ - margin: 0 1em; - vertical-align: middle; -} -/* Poll question */ -#poll -{ - overflow: hidden; -} -#poll .content -{ - padding: 0 1em; -} -h4#pollquestion -{ - padding: 0 0 0.5em 2em; -} - -/* Poll vote options */ -#poll_options ul.options -{ - border-top: 1px solid #9999aa; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - border-bottom: 1px solid #9999aa; - clear: both; - padding: 0 0 1em 2em; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - border: solid #9999aa; - border-width: 1px 0; - padding: 1em 2.5em 1em 2em; - margin: 0 1em 1em 0; - line-height: 1.1em !important; -} - -#poll_options dl.options dt -{ - padding: 0.3em 0; - width: 30%; - float: left; - margin: 0; - clear: left; -} - -#poll_options dl.options .voted -{ - font-weight: bold; -} - -#poll_options dl.options dd -{ - margin: 0 0 0 2em; - padding: 0.1em 0 0 0; - width: 60%; - max-width: 450px; - float: left; -} - -#poll_options dl.options .percentage -{ - display: block; - float: right; - padding: 0.2em 0 0.3em 0; -} - -/* Poll notices */ -#poll_options p -{ - margin: 0 1.5em 0.2em 1.5em; - padding: 0 0.5em 0.5em 0.5em; -} - -div#pollmoderation -{ - margin: 0; - padding: 0; - overflow: auto; -} - -/* onto the posts */ -#forumposts -{ - clear: both; - background-color: #EEE; - padding: 1em; -} -#forumposts .cat_bar -{ - margin: 0 0 2px 0; -} -/* author and topic information */ -#forumposts h3 span#author -{ - margin: 0 7.7em 0 0; -} -#forumposts h3 img -{ - float: left; - margin: 4px 0.5em 0 0; -} -#forumposts h3.catbg -{ - margin-bottom: 3px; -} -p#whoisviewing -{ - margin: 0; - padding: 0.5em; -} -/* poster and postarea + moderation area underneath */ -.moderatorbar -{ - clear: right; -} -.body_message -{ - padding: 20px 0; -} -.body_content -{ - background: #FFF; - border-radius: 4px; - padding: 20px; -} -@media (min-width: 992px) { - .body_content - { - margin-left: 35px; - } - .body_content span.arrow-left - { - width: 0; - height: 0; - border-style: solid; - border-width: 25px 35px 25px 0; - border-color: transparent #ffffff transparent transparent; - position: absolute; - left: 16px; - } -} -/* poster details and list of items */ -.poster -{ - margin-bottom: 10px; - text-align: center; -} -.poster h4, .poster ul -{ - padding: 0; - margin: 0; -} -.poster h4 -{ - margin: 0; - font-size: 12px; - width: auto; - padding: 4px; - border-radius: 4px 4px 4px 4px; - background: #337ab6; - text-align: center; -} -.poster h4, .poster h4 a -{ - color: #FFF; -} -.poster ul -{ - border-radius: 0 0 4px 4px; -} -.poster ul li -{ - background: #FFF; - padding: 5px 0; - text-align: center; -} -.poster ul li:last-child -{ - border-radius: 0 0 4px 4px; - padding: 0; -} -.poster ul li:last-child, .poster ul li:last-child ul -{ - border-radius: 0 0 4px 4px; -} -.poster ul ul -{ - margin: 0; - padding: 5px 0; - border: none; - border-radius: 0 0 0 0; - background: #3a3a3a; -} -.poster ul ul li -{ - display: inline; - background: none; -} -.poster li.membergroup -{ - padding: 15px 10px; -} -.poster li.membergroup > span -{ - border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 3px; - color: rgba(255, 255, 255, 0.8); - font-size: 11px; - font-weight: bold; - opacity: 0.8; - padding: 8px 15px; - text-align: center; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); - text-transform: uppercase; -} -.poster li.postcount -{ - font-size: 1.6em; - border-top: 1px solid rgba(51,51,51,0.1); - border-bottom: 1px solid rgba(51,51,51,0.1); -} -.poster li.karma -{ - font-size: 1.6em; - border-bottom: 1px solid rgba(51,51,51,0.1); -} -.poster li.title -{ - border-bottom: 1px solid rgba(51,51,51,0.1); -} -.poster img.img-circle -{ - margin-bottom: 10px; - min-width: 64px; -} -@media (max-width:991px) { - .poster img.img-circle - { - max-width: 35%; - } -} -.poster li.warning -{ - line-height: 1.2em; - padding-top: 1em; -} -.poster li.warning a img -{ - vertical-align: bottom; - padding: 0 0.2em; -} -.messageicon -{ - float: left; - margin: 0 0.5em 0 0; -} -.messageicon img -{ - padding: 6px 3px; -} -div.postarea .btn-group, div.postarea .btn-group-vertical -{ - margin: 0; -} -.modifybutton -{ - clear: right; - float: right; - margin: 6px 20px 10px 0; - text-align: right; - font: bold 0.85em arial, sans-serif; - color: #334466; -} -@media (max-width: 991px) { - .poster h4 - { - border-radius: 4px; - } - .poster ul - { - display: none; - } - .buttonlist li span - { - display: none; - } -} -/* The quick buttons */ -div.quickbuttons_wrap -{ - padding: 0.2em 0; - width: 100%; - float: left; -} - -ul.quickbuttons -{ - margin: 0.9em 11px 0 0; - clear: right; - float: right; - text-align: right; - font: bold 0.85em arial, sans-serif; -} -ul.quickbuttons li -{ - float: left; - display: inline; - margin: 0 0 0 11px; -} -ul.quickbuttons li a -{ - padding: 0 0 0 20px; - display: block; - height: 20px; - line-height: 18px; - float: left; -} -ul.quickbuttons a:hover -{ - color: #a70; -} -ul.quickbuttons li.quote_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 0; -} -ul.quickbuttons li.remove_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; -} -ul.quickbuttons li.modify_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; -} -ul.quickbuttons li.approve_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; -} -ul.quickbuttons li.restore_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; -} -ul.quickbuttons li.split_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; -} -ul.quickbuttons li.reply_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; -} -ul.quickbuttons li.reply_all_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; -} -ul.quickbuttons li.notify_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; -} -ul.quickbuttons li.ban_from_thread_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -240px; -} -ul.quickbuttons li.tip_for_message_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -240px; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 0 0 5px; -} - -.post -{ - margin-top: 0.5em; - clear: right; -} -.inner -{ - padding: 1em 1em 2px 0; - margin: 0 1em 0 0; - border-top: 1px solid #99a; -} -.post-ban-reason -{ - color: red; - font-weight: bold; -} -.post-ban-refer a, .post-ban-refer a:visited, .post-ban-refer a:hover -{ - height: 1.6em; - width: 1.6em; - color: red; - font-size: 1em; - font-weight: bolder; - text-align: center; - text-decoration: none; - line-height: 1.3em; - border: 2px solid red; - border-radius: 100%; - display: block; -} -.post-tip-notice -{ - color: green; - font-weight: bold; -} -img.smiley -{ - vertical-align: bottom; -} -#forumposts .modified -{ - float: left; -} -#forumposts .reportlinks -{ - margin-right: 1.5em; - text-align: right; - clear: right; -} -#forumposts .signature, .post .signature -{ - margin: 1em 0 0 0; -} -#forumposts span.botslice -{ - clear: both; -} -.attachments hr -{ - clear: both; - margin: 1em 0 1em 0; -} -.attachments -{ - padding: 1em 0 2em 0; -} -.attachments div -{ - padding: 0 0.5em; -} - -/* Styles for the quick reply area. ----------------------------------------------------- */ - -#quickreplybox -{ - padding-bottom: 1px; -} -#quickReplyOptions .roundframe -{ - padding: 0 10%; -} -#quickReplyOptions form textarea -{ - height: 100px; - width: 635px; - max-width: 100%; - min-width: 100%; - margin: 0.25em 0 1em 0; -} -/* The jump to box */ -#display_jump_to -{ - clear: both; - padding: 5px; - margin-top: 6px; - text-align: right; -} - -/* Separator of posts. More useful in the print stylesheet. */ -#forumposts .post_separator -{ - display: none; -} - -/* Styles for edit post section ----------------------------------------------------- */ -form#postmodify .roundframe -{ - padding: 0 12%; -} -#post_header, .postbox -{ - padding: 0.5em; - overflow: hidden; -} -#post_header dt, .postbox dt -{ - float: left; - padding: 0; - width: 15%; - margin: .5em 0 0 0; - font-weight: bold; -} -#post_header dd, .postbox dd -{ - float: left; - padding: 0; - width: 83%; - margin: .3em 0; -} -#post_header img -{ - vertical-align: middle; -} -ul.post_options -{ - margin: 0 0 0 1em; - padding: 0; - list-style: none; - overflow: hidden; -} -ul.post_options li -{ - margin: 0.2em 0; - width: 49%; - float: left; -} -#postAdditionalOptionsHeader -{ - margin-top: 1em; -} -#postMoreOptions -{ - border-bottom: 1px solid #cacdd3; - padding: 0.5em; -} -#postAttachment, #postAttachment2 -{ - overflow: hidden; - margin: .5em 0; - padding: 0; - border-bottom: 1px solid #cacdd3; - padding: 0.5em; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 0 .3em 1em; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 1em; -} -#post_confirm_strip, #shortcuts -{ - padding: 1em 0 0 0; -} -.post_verification -{ - margin-top: .5em; -} -.post_verification #verification_control -{ - margin: .3em 0 .3em 1em; -} -/* The BBC buttons */ -#bbcBox_message -{ - margin: 0.75em 0.5em; -} -#bbcBox_message div -{ - margin: 0.2em 0; - vertical-align: top; -} -#bbcBox_message div img -{ - margin: 0 1px 0 0; - vertical-align: top; -} -#bbcBox_message select -{ - margin: 0 2px; -} -/* The smiley strip */ -#smileyBox_message -{ - margin: 0.5em; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event .roundframe -{ - padding: 0 12%; -} -#post_event fieldset -{ - padding: 0.5em; - clear: both; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: left; -} -#post_event #event_main div.smalltext -{ - width: 33em; - float: right; -} -#post_event div.event_options -{ - float: right; -} -#post_event ul.event_main, ul.event_options -{ - padding: 0; - overflow: hidden; -} -#post_event ul.event_main li -{ - list-style-type: none; - margin: 0.2em 0; - width: 49%; - float: left; -} -#post_event ul.event_options -{ - margin: 0; - padding: 0 0 .7em .7em; -} -#post_event ul.event_options li -{ - list-style-type: none; - margin: 0; - float: left; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 1em 0 0; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll -{ - overflow: hidden; -} -#edit_poll fieldset -{ - padding: 0.5em; - clear: both; - overflow: hidden; -} -#edit_poll fieldset input -{ - margin-left: 8.1em; -} -#edit_poll ul.poll_main li -{ - padding-left: 1em; -} -#edit_poll ul.poll_main input -{ - margin-left: 1em; -} -#edit_poll ul.poll_main, dl.poll_options -{ - overflow: hidden; - padding: 0 0 .7em .7em; - list-style: none; -} -#edit_poll ul.poll_main li -{ - margin: 0.2em 0; -} -#edit_poll dl.poll_options dt -{ - width: 33%; - padding: 0 0 0 1em; -} -#edit_poll dl.poll_options dd -{ - width: 65%; -} -#edit_poll dl.poll_options dd input -{ - margin-left: 0; -} - -/* Styles for the recent messages section. ----------------------------------------------------- */ - -#readbuttons_top .pagelinks, #readbuttons .pagelinks -{ - padding-bottom: 1em; - width: 60%; -} -#readbuttons .pagelinks -{ - padding-top: 1em; -} -#recent -{ - clear: both; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ - -#move_topic dl -{ - margin-bottom: 0; -} -#move_topic dl.settings dt -{ - width: 40%; -} -#move_topic dl.settings dd -{ - width: 59%; -} -.move_topic -{ - width: 710px; - margin: auto; - text-align: left; -} -div.move_topic fieldset -{ - padding: 0.5em; -} - -/* Styles for the send topic section. ----------------------------------------------------- */ - -fieldset.send_topic -{ - border: none; - padding: 0.5em; -} -dl.send_topic -{ - margin-bottom: 0; -} -dl.send_mail dt -{ - width: 35%; -} -dl.send_mail dd -{ - width: 64%; -} - -/* Styles for the report topic section. ----------------------------------------------------- */ - -#report_topic dl -{ - margin-bottom: 0; -} -#report_topic dl.settings dt -{ - width: 20%; -} -#report_topic dl.settings dd -{ - width: 79%; -} - -/* Styles for the split topic section. ----------------------------------------------------- */ - -div#selected, div#not_selected -{ - width: 49%; -} -ul.split_messages li.windowbg, ul.split_messages li.windowbg2 -{ - margin: 1px; -} -ul.split_messages li a.split_icon -{ - padding: 0 0.5em; -} -ul.split_messages div.post -{ - padding: 1em 0 0 0; - border-top: 1px solid #fff; -} - -/* Styles for the merge topic section. ----------------------------------------------------- */ -ul.merge_topics li -{ - list-style-type: none; -} -dl.merge_topic dt -{ - width: 25%; -} -dl.merge_topic dd -{ - width: 74%; -} -fieldset.merge_options -{ - clear: both; -} -.custom_subject -{ - margin: 0.5em 0; -} - -/* Styles for the login areas. -------------------------------------------------------- */ -.login -{ - width: 50%; - margin: 0 auto; -} -@media (max-width: 768px) { - .login - { - width: 100%; - } -} -.login dl -{ - overflow: auto; - clear: right; -} -.login dt, .login dd -{ - margin: 0 0 0.4em 0; - width: 44%; - padding: 0.1em; -} -.login dt -{ - float: left; - clear: both; - text-align: right; - font-weight: bold; -} -.login dd -{ - width: 54%; - float: right; - text-align: left; -} -.login p -{ - text-align: center; -} - -/* Styles for the registration section. -------------------------------------------------------- */ -.register_error -{ - border: 1px dashed red; - padding: 5px; - margin: 0 1ex 1ex 1ex; -} -.register_error span -{ - text-decoration: underline; -} - -/* Additional profile fields */ -dl.register_form -{ - margin: 0; - clear: right; -} - -dl.register_form dt -{ - font-weight: normal; - float: left; - clear: both; - width: 50%; - margin: 0.5em 0 0 0; -} - -dl.register_form dt strong -{ - font-weight: bold; -} - -dl.register_form dt span -{ - display: block; -} - -dl.register_form dd -{ - float: left; - width: 49%; - margin: 0.5em 0 0 0; -} - -#confirm_buttons -{ - text-align: center; - padding: 1em 0; -} - -.coppa_contact -{ - padding: 4px; - width: 32ex; - background-color: #fff; - color: #000; - margin-left: 5ex; - border: 1px solid #000; -} - -.valid_input -{ - background-color: #f5fff0; -} -.invalid_input -{ - background-color: #fff0f0; -} - -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - width: 75%; - min-width: 520px; - text-align: left; -} -#maintenance_mode img.floatleft -{ - margin-right: 1em; -} - -/* common for all admin sections */ -h3.titlebg img -{ - vertical-align: middle; - margin-right: 0.5em; - margin-top: -1px; -} -tr.titlebg td -{ - padding-left: 0.7em; -} -#admin_menu -{ - min-height: 2em; - padding-left: 0; -} -#admin_content -{ - clear: left; - padding-top: 0.5em; -} -/* Custom profile fields like to play with us some times. */ -#admin_content .custom_field -{ - margin-bottom: 15px; -} -#admin_login .centertext -{ - padding: 1em; -} -#admin_login .centertext .error -{ - padding: 0 0 1em 0; -} - -/* Styles for sidebar menus. -------------------------------------------------------- */ -.left_admmenu, .left_admmenu ul, .left_admmenu li -{ - padding: 0; - margin: 0; - list-style: none; -} -#left_admsection -{ - width: 160px; - float: left; - padding-right: 10px; -} -.adm_section h4.titlebg -{ - font-size: 95%; - margin-bottom: 5px; -} -#main_container -{ - position: relative; -} -.left_admmenu li -{ - padding: 0 0 0 0.5em; -} -.left_admmenu -{ - margin-bottom: 0.5em; -} -#main_admsection -{ - position: relative; - left: 0; - right: 0; - overflow: hidden; -} - -tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td -{ - padding: 0.3em 0.7em; -} -#credits p -{ - padding: 0; - font-style: italic; - margin: 0; -} - -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table table -{ - width: 100%; - margin-bottom: 0px; -} -.topic_table .icon1, .topic_table .icon2, .topic_table .stats -{ - text-align: center; -} -#topic_icons -{ - margin: 1em 0 0 0; -} -#topic_icons .description -{ - margin: 0; -} -.topic_table table thead -{ - border-bottom: 1px solid #fff; -} -/* the subject column */ -.topic_table td -{ - font-size: 1em; -} -.topic_table td.subject p, .topic_table td.stats -{ - font-size: 0.85em; - padding: 0; - margin: 0; -} -.topic_table td.lastpost -{ - font-size: 0.85em; - line-height: 1.3em; - padding: 4px; -} -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.locked_sticky2 -{ - background-image: url(../images/icons/quick_sticky_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} - -/* Styles for (fatal) errors. -------------------------------------------------- */ - -#fatal_error -{ - width: 80%; - margin: auto; -} - -.errorbox -{ - padding: 1em; - border: 1px solid #cc3344; - color: #000; - background-color: #ffe4e9; - margin-bottom: 1em; -} -.errorbox h3 -{ - padding: 0; - margin: 0; - font-size: 1.1em; - text-decoration: underline; -} -.errorbox p -{ - margin: 1em 0 0 0; -} -.errorbox p.alert -{ - padding: 0; - margin: 0; - float: left; - width: 1em; - font-size: 1.5em; -} - -/* Styles for the profile section. -------------------------------------------------- */ - -dl -{ - overflow: auto; - margin: 0; - padding: 0; -} - -/* The basic user info on the left */ -#basicinfo -{ - width: 20%; - float: left; -} -#basicinfo .windowbg .content -{ - padding-left: 20px; -} -#detailedinfo -{ - width: 79.5%; - float: right; -} -#basicinfo h4 -{ - font-size: 135%; - font-weight: 100; - line-height: 105%; - white-space: pre-wrap; - overflow: hidden; -} -#basicinfo h4 span.position -{ - font-size: 80%; - font-weight: 100; - display: block; -} -#basicinfo img.avatar -{ - display: block; - margin: 10px 0 0 0; -} -#basicinfo ul -{ - list-style-type: none; - margin: 10px 0 0 0; -} -#basicinfo ul li -{ - display: block; - float: left; - margin-right: 5px; - height: 20px; -} -#basicinfo span#userstatus -{ - display: block; - clear: both; -} -#basicinfo span#userstatus img -{ - vertical-align: middle; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: right; - overflow: auto; - margin: 0 0 18px 0; - padding: 0 0 15px 0; - border-bottom: 1px #ccc solid; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} -#detailedinfo div.content dl.noborder -{ - border-bottom: 0; -} -#detailedinfo div.content dt.clear -{ - width: 100%; -} -@media (max-width: 970px) { - #detailedinfo, #basicinfo - { - width: 100%; - } - #detailedinfo - { - padding-left: 0; - } - #basicinfo - { - text-align: center; - } - #basicinfo ul li - { - float: none !important; - } -} -.signature, .custom_fields_above_signature -{ - border-top: 1px #ccc solid; -} -.signature h5 -{ - font-size: 0.85em; - margin-bottom: 10px; -} -#personal_picture -{ - display: block; - margin-bottom: 0.3em; -} -#avatar_server_stored div -{ - float: left; -} -#avatar_upload -{ - overflow: auto; -} -#main_admsection #basicinfo, #main_admsection #detailedinfo -{ - width: 100%; -} -#main_admsection #basicinfo h4 -{ - float: left; - width: 35%; -} -#main_admsection #basicinfo img.avatar -{ - float: right; - vertical-align: top; -} -#main_admsection #basicinfo ul -{ - clear: left; -} -#main_admsection #basicinfo span#userstatus -{ - clear: left; -} -#main_admsection #basicinfo p#infolinks -{ - display: none; - clear: both; -} -#main_admsection #basicinfo .botslice -{ - clear: both; -} - -/* Simple feedback messages */ -div#profile_error, div#profile_success -{ - margin: 0 0 1em 0; - padding: 1em 2em; - border: 1px solid; -} -div#profile_error -{ - border-color: red; - color: red; - background: #fee; -} - -div#profile_error span -{ - text-decoration: underline; -} - -div#profile_success -{ - border-color: green; - color: green; - background: #efe; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#generalstats div.content dd -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -/* Activity by time */ -#activitytime -{ - margin: 6px 0; -} -.activity_stats -{ - margin: 0; - padding: 0; - list-style: none; -} -.activity_stats li -{ - margin: 0; - padding: 0; - width: 4.16%; - float: left; -} -.activity_stats li span -{ - display: block; - border: solid #000; - border-width: 1px 1px 0 0; - text-align: center; -} -.activity_stats li.last span -{ - border-right: none; -} -.activity_stats li div.bar -{ - margin: 0 auto; - width: 15px; -} -.activity_stats li div.bar div -{ - background: #6294CE; -} -.activity_stats li div.bar span -{ - position: absolute; - top: -1000em; - left: -1000em; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - width: 49.5%; - float: left; -} -#popularactivity -{ - width: 49.5%; - float: right; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -.profile_pie -{ - background-image: url(../images/stats_pie.png); - float: left; - height: 20px; - width: 20px; - margin: 0 1em 0 0; - padding: 0; - text-indent: -1000em; -} - -/* View posts */ -.topic .time -{ - float: right; -} - -.counter -{ - margin: 0 0 0 0; - padding: 0.2em 0.5em 0.1em 0.2em; - font-size: 2.2em; - font-weight: bold; - color: #3f3f3f; - float: left; -} -.list_posts -{ - border-top: 2px solid #b3b3bf; - padding-top: 12px; - margin-top: 6px; - overflow: auto; -} - -.core_posts -{ - margin-bottom: 3px; -} - -.topic h4 -{ - margin: 3px 0; -} - -.topic .post -{ - margin: 0 1em; - min-height: 80px; - height: auto !important; - height: 80px; -} - -.topic .mod_icons -{ - text-align: right; - margin-right: 1em; -} - -#tracking div.content dl -{ - border-bottom: 0; - margin: 0; - padding: 0; -} - -#creator dl -{ - margin: 0; -} -#creator dt -{ - width: 40%; - float: left; - clear: both; - margin: 0 0 10px 0; -} -#creator dd -{ - float: right; - width: 55%; - margin: 0 0 10px 2px; - overflow: auto; -} -@media (max-width: 767px) { - #creator dd, #creator dt - { - width: 100%; - } -} -.ignoreboards -{ - margin: 0 2%; - padding: 0; - width: 45%; -} -.ignoreboards a -{ - font-weight: bold; - border-bottom: 1px solid #c4c4c4; - padding: 0.1em 0; -} -.ignoreboards a:hover -{ - text-decoration: none; - border-bottom: 1px solid #334466; -} -.ignoreboards ul -{ - margin: 0; - padding: 0; -} -.ignoreboards li -{ - list-style: none; - float: left; - clear: both; -} -.ignoreboards li.category -{ - margin: 0.7em 0 0 0; - width: 100%; -} -.ignoreboards li ul -{ - margin: 0.2em 0 0 0; -} -.ignoreboards li.category ul li.board -{ - width: 93%; -} - -#theme_settings -{ - overflow: auto; - margin: 0; - padding: 0; -} - -#theme_settings li -{ - list-style: none; - margin: 10px 0; - padding: 0; -} -/* Paid Subscriptions */ -#paid_subscription -{ - width: 100%; -} -#paid_subscription dl.settings -{ - margin-bottom: 0; -} -#paid_subscription dl.settings dd, #paid_subscription dl.settings dt -{ - margin-bottom: 4px; -} -/* Pick theme */ -#pick_theme -{ - width: 100%; - float: left; -} -/*Issue a warning*/ -#warn_body{ - width: 80%; - font-size: 0.9em; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#statistics -{ - padding: 0.5em 0; -} -#statistics div.title_bar -{ - margin: 4px 0 -2px 0; -} -#statistics h3.catbg -{ - text-align: center; -} -#statistics div.content -{ - min-height: 210px; -} -#statistics div.top_row -{ - min-height: 150px; -} -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: left; - width: 49.5%; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: right; - width: 49.5%; -} -@media (max-width: 970px) { - #stats_right, #top_boards, #top_topics_views, #most_online, #stats_left, #top_posters, #top_topics_replies, #top_topics_starter - { - width: 100%; - } -} -dl.stats -{ - clear: both; - overflow: hidden; - margin: 0; - padding: 0; -} -dl.stats dt -{ - width: 49%; - float: left; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; - clear: both; - font-size: 1em; -} -dl.stats dd -{ - text-align: right; - width: 50%; - font-size: 1em; - float: right; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; -} -.statsbar div.bar -{ - float: left; - background: #1d212a; - display: block; - margin: 0 4px; - height: 16px; - border-radius: 4px; -} -.statsbar div.bar div -{ - position: relative; - right: -4px; - padding: 0 4px 0 0; - background: #1d212a; - height: 16px; - border-radius: 0 4px 4px 0; -} -tr.windowbg2 th.stats_month -{ - width: 25%; - padding: 0 2em; - text-align: left; -} -tr.windowbg2 td.stats_day -{ - padding: 0 3.5em; - text-align: left; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages h3 span#author, #personal_messages h3 span#topic_title -{ - float: left; -} -#personal_messages h3 span#author -{ - margin: 0 0 0 0.5em; -} -#personal_messages h3 span#topic_title -{ - margin: 0 0 0 9em; -} -#personal_messages div.labels -{ - padding: 0 1em 0 0; -} -#personal_messages .capacity_bar -{ - background: #f0f4f7; - display: block; - margin: 0.5em 0 0 1em; - height: 1em; - border: 1px solid #adadad; - width: 10em; -} -#personal_messages .capacity_bar span -{ - border-right: 1px solid #adadad; - display: block; - height: 1em; -} -#personal_messages .capacity_bar span.empty -{ - background: #a6d69d; -} -#personal_messages .capacity_bar span.filled -{ - background: #eea800; -} -#personal_messages .capacity_bar span.full -{ - background: #f10909; -} -#personal_messages .reportlinks -{ - padding: 0.5em 1.3em; -} -#searchLabelsExpand li -{ - padding: 0.3em 0.5em; -} -#manrules div.righttext -{ - padding: 0.3em 0.1em; -} -dl.addrules dt.floatleft -{ - width: 15em; - color: #333; - padding: 0 1.25em 0.5em 1.25em; -} -#addrule fieldset -{ - clear: both; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -.calendar_table -{ - margin-bottom: 0.7em; -} - -/* Used to indicate the current day in the grid. */ -.calendar_today -{ - background-color: #fff; -} - -#month_grid -{ - width: 200px; - text-align: center; - float: left; -} -#month_grid div.cat_bar -{ - height: 25px; -} -#month_grid h3.catbg -{ - height: 25px; - line-height: 27px; -} -#month_grid table -{ - width: 200px; -} -#main_grid table -{ - width: 100%; - padding-bottom: 4px; -} -#main_grid table h3.catbg -{ - text-align: center; - height: 29px; - border-top: 2px solid #fff; - border-bottom: none; -} -#main_grid table.weeklist td.windowbg -{ - text-align: center; - height: 49px; - width: 25px; - font-size: large; - padding: 0 7px; - border-bottom: 2px solid #fff; -} -#main_grid table.weeklist td.weekdays -{ - height: 49px; - width: 100%; - padding: 4px; - text-align: left; - vertical-align: middle; - border-bottom: 2px solid #fff; -} -#main_grid h3.weekly -{ - text-align: center; - padding-left: 0; - font-size: large; - height: 29px; -} -#main_grid h3 span.floatleft, #main_grid h3 span.floatright -{ - display: block; - font-weight: bold; -} -#main_grid table th.days -{ - width: 14%; - padding: 4px 0; -} -#main_grid table.weeklist h4.titlebg -{ - margin: 0 0 0 0; - height: 23px; - line-height: 27px; -} -#main_grid table td.weeks -{ - vertical-align: middle; - text-align: center; - font-weight: bold; - font-size: large; -} -#main_grid table td.days -{ - vertical-align: top; - text-align: center; -} -@media (max-width: 767px) -{ - #month_grid, #main_grid - { - width: 100%; - } - #main_grid - { - display: none; - } -} -a.modify_event -{ - color: red; -} - -span.hidelink -{ - font-style: italic; -} - -#calendar_navigation -{ - text-align: center; -} - -/* Styles for the memberlist section. -------------------------------------------------- */ -#mlist_search -{ - margin: auto; - width: auto; -} - -/* Styles for the basic search section. -------------------------------------------------- */ -#searchform, #simple_search p -{ - padding: 0.5em; - margin: 0; -} -#simple_search, #simple_search p, #advanced_search -{ - text-align: center !important; - margin: 0; -} -#search_error -{ - font-style: italic; - padding: 0.3em 1em; -} -#search_term_input -{ - font-size: 115%; - margin: 0 0 1em; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: left; - padding: 0; - border: none; -} -#searchform fieldset .btn -{ - float: right; -} -#advanced_search dl#search_options -{ - margin: 0 auto; - width: 100%; - padding-top: 1em; - overflow: hidden; -} -#advanced_search dt -{ - clear: both; - float: left; - padding: 0.2em; - text-align: right; - width: 20%; -} -#advanced_search dd -{ - width: 75%; - float: left; - padding: 0.2em; - margin: 0 0 0 0.5em; - text-align: left; -} -#searchform p.clear -{ - clear: both; -} -@media (max-width: 991px) { - #advanced_search dd, #advanced_search dt - { - width: 100%; - } - #advanced_search dt - { - text-align: left; - } -} - -/* Styles for the search results page. -------------------------------------------------- */ -.topic_table td blockquote, .topic_table td .quoteheader -{ - margin: 0.5em; -} -.search_results_posts -{ - overflow: hidden; -} -.search_results_posts .buttons -{ - padding: 5px 1em 0 0; -} - -/* Styles for the help section. -------------------------------------------------- */ - -#help_container -{ - margin: 4px 0 0 0; - padding: 0 0 8px 0; -} -#helpmain -{ - padding: 0 1em; -} -#helpmain p -{ - margin: 0 0 1.5em 0; - line-height: 1.5em; -} -#helpmain ul -{ - line-height: 1.5em; -} - -/* Styles for print media. -------------------------------------------------------- */ -@media print -{ - #headerarea - { - display: none; - } - - .tborder - { - border: none; - } -} -/* Nav */ -.navbar-default .navbar-nav li .avatar -{ - width: 32px; - height: 32px; - float: left; - margin: -5px 5px 0 0; -} -.collapsemenu -{ - display: block; - margin-left: 25px; -} -header -{ - background: #F5F5F5; - border-bottom: 1px solid #CCC; -} -header h2 -{ - font-weight: 500; - margin: 10px 0 0; -} -footer -{ - padding: 20px 0; - font-size: 12px; - background: #1d212a; - color: #FFF; -} -footer .smalltext -{ - font-size: 12px; -} -footer a -{ - color: #FFF !important; -} -@media (max-width: 991px) { - footer ul - { - float: left !important; - width: 100%; - } - footer ul.reset - { - margin-top: 5px; - } -} -.table_list td.icon -{ - border-bottom: 1px solid #CCC; - border-left: 1px solid #CCC; -} -.table_list td.info, .table_list td.stats -{ - border-bottom: 1px solid #CCC; -} -.table_list td.lastpost -{ - border-bottom: 1px solid #CCC; - border-right: 1px solid #CCC; -} -.table_grid td -{ - border-bottom: 1px solid #CCC; -} -.table_grid td.icon1 -{ - border-left: 1px solid #CCC; -} -.table_grid td.lastpost, .table_grid td.moderation -{ - border-right: 1px solid #CCC; -} -@media (max-width: 992px) { - .table_list td.info, .table_grid td.subject - { - border-right: 1px solid #CCC; - } -} -#menu, #user-menu -{ - background: #1d212a; -} -@media (min-width: 768px) { - #user-menu - { - display: none !important; - visibility: hidden !important; - } -} -nav .nav-notification { - list-style: none; - padding: 0; - margin-top: 0; - margin-bottom: 0; - margin-right: 5px !important; -} -nav .nav-notification>li { - position: relative; - float: left; -} -nav .nav-notification>li>a { - display: block; - font-size: 13px; - padding: 17px; - color: #FFF; - outline: 0; -} -nav .nav-notification>li .search-input-wrapper { - padding: 10px 0 0; -} -.search-input { - position: relative; - display: inline-block; -} -.search-input a{ - color: #FFF !important; -} -.search-input input { - width: 30px; - border-radius: 50em!important; - -moz-border-radius: 50em!important; - -webkit-border-radius: 50em!important; - transition: all .5s ease; - -webkit-transition: all .5s ease; - -moz-transition: all .5s ease; - -ms-transition: all .5s ease; - -o-transition: all .5s ease; -} -.search-input input, .search-input input:focus { - background: transparent; - border: 1px solid white; - box-shadow: none; - color: #FFF; -} -.search-input input:focus, .search-input input:hover { - width: 150px; - transition: all .5s ease; - -webkit-transition: all .5s ease; - -moz-transition: all .5s ease; - -ms-transition: all .5s ease; - -o-transition: all .5s ease; -} -.search-input input:focus+.input-icon, .search-input input:hover+.input-icon { - right: 15px; -} -.search-input:focus input, .search-input:hover input { - width: 150px; - transition: all .5s ease; - -webkit-transition: all .5s ease; - -moz-transition: all .5s ease; - -ms-transition: all .5s ease; - -o-transition: all .5s ease; -} -.search-input:focus input+.input-icon, .search-input:hover input+.input-icon { - right: 8px; -} -.search-input .input-icon { - display: inline-block; - position: absolute; - top: 4px; - right: 8px; - font-size: 16px; -} -ul.social -{ - float: right; - list-style: none; - margin: 0; - padding: 0; -} -ul.social li -{ - float: left; - margin-left: 5px; -} -ul.social li .fa -{ - border: 1px solid white; - padding: 7px; - border-radius: 100%; - transition: all .5s ease; - -webkit-transition: all .5s ease; - -moz-transition: all .5s ease; - -ms-transition: all .5s ease; - -o-transition: all .5s ease; - width: 40px; - text-align: center; -} -ul.social li .fa-twitter:hover -{ - border: 1px solid #2FC2EF; - background: #2FC2EF; -} -ul.social li .fa-facebook:hover -{ - border: 1px solid #3a5795; - background: #3a5795; -} -ul.social li .fa-youtube:hover -{ - border: 1px solid #cc181e; - background: #cc181e; -} -ul.social li .fa-rss:hover -{ - border: 1px solid #FF6600; - background: #FF6600; -} -.navbar-brand .logo -{ - min-height: 50px; - margin-top: -15px; -} -.fa-fw -{ - margin-right: 5px; -} -.scroll-to-top { - position: fixed; - display: block; - right: -100px; - bottom: 10px; - width: 45px; - height: 45px; - line-height: 45px; - background-color: #337ab6; - color: #fff !important; - text-align: center; - z-index: 10; - border-radius: 100%; - -moz-border-radius: 100%; - -webkit-border-radius: 100%; - box-shadow: 0 0 1px rgba(0, 0, 0, .05); - -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .05); - -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .05); - transition: all .5s ease; - -webkit-transition: all .5s ease; - -moz-transition: all .5s ease; - -ms-transition: all .5s ease; - -o-transition: all .5s ease; -} -.scroll-to-top.active { - right: 10px; -} -@media (max-width: 767px) { - .scroll-to-top { - display: none; - } - .show-menu { - display: block !important; - visibility: visible !important; - } -} -#button_logout, #button_profile -{ - display: none; -} -@media (max-width: 970px) { - #live_news, #supportVersionsTable, #quick_tasks li, .modblock_right, .modblock_left - { - width: 100% !important; - } - #quick_tasks li - { - height: auto !important; - } - td.icon a img - { - max-width: none; - } -} -@media (max-width: 991px) -{ - #admin_content .table > thead > tr > th:nth-child(2), #admin_content .table > tbody > tr > td:nth-child(2), - #admin_content .table > thead > tr > th:nth-child(4), #admin_content .table > tbody > tr > td:nth-child(4), - #admin_content .table > thead > tr > th:nth-child(5), #admin_content .table > tbody > tr > td:nth-child(5), - #mlist .table > thead > tr > th, #mlist .table > tbody > tr > td - { - display: none; - } - #admin_content .table > thead > tr > th:last-child, #admin_content .table > tbody > tr > td:last-child - { - display: table-cell !important; - text-align: right !important; - } - #mlist .table > thead > tr > th:first-child, #mlist .table > tbody> tr > td:first-child, - #mlist .table > thead > tr > th:nth-child(2), #mlist .table > tbody > tr > td:nth-child(2) - { - display: table-cell !important; - } - -} -#IC .nav -{ - margin: 0; -} -#IC ul.nav.nav-tabs -{ - background: #E5E5E5; - border: 1px solid #CCC; - border-top: none; -} -#IC .nav-tabs > li:first-child > a -{ - margin-left: 4px; -} -#IC .nav-tabs > li > a:hover -{ - background: transparent; - border-color: transparent; -} -#IC .nav-tabs > li.active > a:hover -{ - background: #FFF; -} -#IC .nav-tabs > li > a -{ - border-radius: 0 0 0 0; - border-top: none -} -#IC .nav-tabs > li.active > a, #IC .nav-tabs > li.active > a:hover -{ - border-left-color: #CCC; - border-right-color: #CCC; -} -#IC .tab-content -{ - background: #FFF; - border-radius: 0 0 4px 4px; - padding: 10px; - border: 1px solid #CCC; - border-top: none; -} -@media (max-width:767px) { - #IC .nav-tabs li span - { - display: none; - } -} - -ol.breadcrumb li:first-child, .breadcrumb li:last-child -{ - display: inline-block; -} - -.dropdown-submenu { - position: relative; -} -.dropdown-submenu>.dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover>.dropdown-menu { - display: block; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left>.dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -@media (max-width: 991px) { - .dropdown-submenu>.dropdown-menu { - left: 0; - top: 100%; - } -} -.alert-redsy { border-color: #337ab6;background: #337ab6;color: #fff; } -.display-info -{ - margin: 10px 0; - overflow: hidden; -} -.display-info li -{ - float: left; - margin-right: 10px !important; -} - - -.item-icon, .item-icon-button -{ - width: 38px; - height: 38px; - border-radius: 6px 6px 6px 6px; - border-color: #cde7ff; - border-width: 2px; - border-style: solid; - margin: 2px; - display: inline-block; -} - -.item-icon-button-locked -{ - width: 38px; - height: 38px; - border-radius: 6px 6px 6px 6px; - border-color: lightgrey; - background-color: lightgrey; - border-width: 2px; - border-style: solid; - margin: 2px; -} - - -.item-icon-button:hover { - background-color: #cde7ff; - border-color: #5198da; - cursor: pointer; -} - -.item-icon-button:active { - background-color: #5198da; - border-color: #5198da; - cursor: pointer; -} - -.item-icon-button-equipped -{ - width: 38px; - height: 38px; - border-radius: 6px 6px 6px 6px; - border-color: #e25d5d; - background-color: #cde7ff; - border-width: 2px; - border-style: solid; - margin: 2px; - display: inline-block; -} - -.item-icon-button-equipped:hover { - background-color: #e25d5d; - cursor: pointer; -} - -.item-icon-button-equipped:active { - background-color: #5198da; - border-color: #e25d5d; - cursor: pointer; -} - -.item-icon-button-text -{ - position: absolute; - font-size: 0.7em; - text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; - bottom: 0; - right: 2px; -} - -.item-icon-button-img -{ - position: absolute; -} - -.register-cta, .register-cta a { - text-align:center; - color:white; - background-color:red; - font-size:larger; -} - -.coins-header { - float:right;; - margin-top: 8px; - margin-right: 24px; - font-size: 1.4em; -} - -.coins-header-earned { - color: green; -} - -/*aligns content vertically in the middle within a td */ -.align-td-middle -{ - vertical-align: middle!important; -} - -/* Alternating colours for posts */ -.table-striped > tbody > tr:nth-of-type(even) td:not(.stickybg) -{ - background-color: #f3f3f3; -} \ No newline at end of file diff --git a/config/themes/Redsy/css/rtl.css b/config/themes/Redsy/css/rtl.css deleted file mode 100755 index ef70e8a..0000000 --- a/config/themes/Redsy/css/rtl.css +++ /dev/null @@ -1,1082 +0,0 @@ -/* Common classes to ease styling. -------------------------------------------------------- */ - -.floatright -{ - float: left; -} -.floatleft -{ - float: right; -} -.clear_left -{ - clear: right; -} -.clear_right -{ - clear: left; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: left; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: right; -} - -/* Styling for BBC tags */ -.bbc_list -{ - text-align: right; -} - -/* GenericList */ -.additional_row input -{ - margin-left: 0; - margin-right: 1em; -} -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature, .attachments -{ - clear: left; -} -.custom_fields_above_signature -{ - clear: left; -} -.openid_login -{ - padding-right: 18px; - padding-left: 0; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: left; -} -dl.settings dt -{ - float: right; - clear: both; -} -dl.settings dt.windowbg -{ - float: right; -} -dl.settings dd -{ - float: left; -} -dl.settings img -{ - margin: 0 0 0 10px; -} - -/* Styles for rounded headers. -------------------------------------------------------- */ - -h3.catbg img.icon, h4.titlebg img.icon -{ - vertical-align: middle; - margin: -2px 0 0 5px; -} -h4.titlebg, h3.titlebg -{ - padding-right: 9px; - padding-left: 0; -} -h4.titlebg img.icon -{ - float: right; - margin: 5px 0 0 8px; -} - -table.table_list a.unreadlink, table.table_list a.collapse -{ - float: left; -} -table.table_list a.collapse -{ - margin: 10px 1em 0 5px; -} -.table_grid th.first_th, tr.catbg th.first_th -{ - background: #a8bace url(../images/theme/main_block.png) no-repeat 100% -240px; -} -.table_grid th.last_th, tr.catbg th.last_th -{ - background: #a8bace url(../images/theme/main_block.png) no-repeat 0 -240px; -} -tr.titlebg th.first_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 100% -340px; -} -tr.titlebg th.last_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 0 -340px; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -#main_menu -{ - padding: 0 0.5em; - float: right; - text-align: right; -} -.dropmenu li -{ - float: right; - margin: 0 0 0 8px; -} -.dropmenu li ul ul -{ - right: 15em; -} -.dropmenu li ul -{ - background: url(../images/theme/menu_gfx.png) 100% -130px no-repeat; - right: 5px; -} - -/* The dropdown menu toggle image */ -#menu_toggle -{ - float: left; - margin-right: 0; - margin-left: 10px; - padding-top: 3px; -} -#menu_toggle span -{ - position: relative; - left: 0; -} - -/* Styles for the standard button lists. -------------------------------------------------------- */ -.buttonlist ul -{ - margin: 0 0 0 0.2em; -} -.buttonlist ul li a -{ - margin-left: 0; - margin-right: 12px; -} -.buttonlist ul li a span -{ - left: 8px; -} -.align_top ul li a, .align_bottom ul li a -{ - margin: 0 0 0 12px; -} -#adm_submenus -{ - padding-left: 0; - padding-right: 2em; -} -/* the main title, always stay at 45 pixels in height! */ -h1.forumtitle -{ - float: right; -} -/* float these items to the left */ -#siteslogan, img#smflogo -{ - float: left; -} -/* the upshrink image needs some tweaking */ -img#upshrink -{ - float: left; -} -/* ..so does the SMF logo */ -img#smflogo -{ - margin-right: 1em; -} -#upper_section div.news -{ - float: left; - text-align: left; -} -div#upper_section div.user -{ - float: right; -} -div#upper_section div.user p -{ - float: right; - margin: 0 0 1em 1em; -} -div#upper_section div.user ul -{ - padding-left: 0; - padding-right: 10px; -} - -/* The navigation list (i.e. linktree) */ -.navigate_section ul li -{ - float: right; - padding: 0 0 0 0.5em; -} - -/* Styles for the board index. -------------------------------------------------- */ - -/* the posting icons */ -#posting_icons -{ - padding: 0 1em 0.5em 1em; -} -#posting_icons img -{ - margin: 0 4ex 0 0; -} -#posting_icons .buttonlist -{ - float: left; -} -#postbuttons_upper ul li a span -{ - line-height: 19px; - padding: 0 6px 0 0; -} - -dl#ic_recentposts dt -{ - float: right; -} -dl#ic_recentposts dd -{ - text-align: left; -} -form#ic_login ul li -{ - float: right; - width: 20%; -} - -/* the small stats */ -#index_common_stats -{ - text-align: left; -} -img#upshrink_ic, img#newsupshrink -{ - float: right; - margin: 10px 0 0 5px; -} - -/* Styles for the message (topic) index. ----------------------------------------------------- */ -.table_frame .table_list td.icon, .table_frame .table_list td.info, .table_frame .table_list td.stats -{ - border-right: none; - border-left: 2px solid white; -} -.lastpost img -{ - float: left; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ -#postbuttons div.buttons -{ - float: right; -} -#postbuttons span -{ - text-align: left; -} -#postbuttons span.lower -{ - clear: left; -} -#postbuttons .buttonlist -{ - float: left; -} - -h4#pollquestion -{ - padding: 0.5em 2em 0.5em 0; -} -/* Poll vote options */ -#poll_options ul.options -{ - padding: 1em 2em 0 2.5em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - clear: both; - padding: 0 2em 1em 0; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - padding: 1em 2em 1em 2.5em; - margin: 0 0 1em 1em; -} -#poll_options dl.options dt -{ - float: right; - clear: right; -} -#poll_options dl.options dd -{ - margin: 0 2em 0 0; - float: right; -} -span.percent -{ - float: left; -} - -/* author and topic information */ -#forumposts h3 span#author -{ - margin: 0 0 0 7.7em; -} -#forumposts h3 img -{ - float: right; - margin: 4px 0 0 0.5em; -} -/* poster and postarea + moderation area underneath */ -.poster -{ - float: right; - width: 15em; -} -.postarea, .moderatorbar -{ - margin: 0 16em 0 0; -} -.moderatorbar -{ - clear: left; -} -/* poster details and list of items */ -.poster h4, .poster ul -{ - padding: 0; - margin: 0 1.5em 0 1em; -} -.poster h4 -{ - margin: 0.2em 1.1em 0.4em 0; -} -.poster ul ul -{ - margin: 0.3em 0 0 1em; -} -.messageicon -{ - float: right; - margin: 0 0 0 0.5em; -} - -.keyinfo -{ - float: right; -} -.modifybutton -{ - clear: left; - float: left; - margin: 8px 0 10px 20px; - text-align: left; -} - -/* The quick buttons */ -ul.quickbuttons -{ - margin: 0.9em 0 0 11px; - clear: left; - float: left; - text-align: left; -} -ul.quickbuttons li -{ - float: left; - margin: 0 11px 0 0; -} -ul.quickbuttons li a -{ - padding: 0 20px 0 0; - float: left; -} -ul.quickbuttons li.quote_button -{ - background-position: 100% 0; -} -ul.quickbuttons li.remove_button -{ - background-position: 100% -30px; -} -ul.quickbuttons li.modify_button -{ - background-position: 100% -60px; -} -ul.quickbuttons li.approve_button -{ - background-position: 100% -90px; -} -ul.quickbuttons li.restore_button -{ - background-position: 100% -120px; -} -ul.quickbuttons li.split_button -{ - background-position: 100% -150px; -} -ul.quickbuttons li.reply_button -{ - background-position: 100% -180px; -} -ul.quickbuttons li.reply_all_button -{ - background-position: 100% -180px; -} -ul.quickbuttons li.notify_button -{ - background-position: 100% -210px; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 5px 0 0; -} -.post -{ - clear: left; -} -.inner -{ - padding: 1em 0 0 1em; - margin: 0 0 0 1em; -} -#forumposts .modified -{ - float: right; -} -#forumposts .reportlinks -{ - margin-left: 1.5em; - text-align: left; - clear: left; -} - -#moderationbuttons_strip -{ - float: right; -} -#moderationbuttons_strip ul -{ - margin: 0 0.2em 0 0; - padding: 0 1em 0 0; -} -/* The jump to box */ -#display_jump_to -{ - text-align: left; -} - -/* Styles for edit post section ----------------------------------------------------- */ -#post_header dt -{ - float: right; -} -#post_header dd -{ - float: right; -} -ul.post_options -{ - margin: 0 1em 0 0; -} -ul.post_options li -{ - float: right; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 1em .3em 0; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 0; - margin-left: 1em; -} -.post_verification #verification_control -{ - margin: .3em 1em .3em 0; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event div.event_options -{ - float: left; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: right; -} -#post_event #event_main div.smalltext -{ - float: left; -} -#post_event ul.event_main li -{ - float: left; -} -#post_event ul.event_options -{ - padding: 0 .7em .7em 0; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 0 0 1em; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll fieldset input -{ - margin-right: 7em; -} -#edit_poll ul.poll_main li -{ - padding-right: 1em; -} -#edit_poll ul.poll_main input -{ - margin-right: 1em; -} -#edit_poll div.poll_options -{ - float: right; -} -#edit_poll ul.poll_main, dl.poll_options -{ - padding: 0 .7em 0 0; -} -#edit_poll dl.poll_options dt -{ - padding: 0 1em 0 0; -} -#edit_poll dl.poll_options dd input -{ - margin-right: 0; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages h3 span#author, #personal_messages h3 span#topic_title -{ - float: right; -} -#personal_messages h3 span#author -{ - margin: 0 0.5em 0 0; -} -#personal_messages h3 span#topic_title -{ - margin: 0 9em 0 0; -} -#personal_messages .labels -{ - padding: 0 0 0 1em; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ -.move_topic -{ - text-align: right; -} -/* Styles for the login areas. -------------------------------------------------------- */ -.login dt -{ - float: right; -} -.login dd -{ - float: right; - text-align: right; -} -.login h3 img -{ - margin: 0 0 0.5em; -} - -/* Additional profile fields */ -dl.register_form -{ - clear: left; -} - -dl.register_form dt -{ - float: right; -} -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - text-align: right; -} -#maintenance_mode img.floatleft -{ - margin-left: 1em; -} -/* common for all admin sections */ -h3.titlebg img -{ - margin-left: 0.5em; -} -tr.titlebg td -{ - padding-right: 0.7em; -} -#admin_menu -{ - padding-right: 0; -} -#admin_content -{ - clear: right; -} -/* Styles for sidebar menus. -------------------------------------------------------- */ -#left_admsection -{ - float: right; - padding-right: 0; - padding-left: 10px; -} -.left_admmenu li -{ - padding: 0 0.5em 0 0; -} -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.locked_sticky2 -{ - background-image: url(../images/icons/quick_sticky_lock.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} -/* Styles for (fatal) errors. -------------------------------------------------- */ -.errorbox p.alert -{ - float: right; -} -/* Styles for the profile section. -------------------------------------------------- */ -#basicinfo -{ - float: right; -} -#detailedinfo -{ - float: left; -} -#basicinfo ul li -{ - float: right; - margin-right: 0; - margin-left: 5px; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: left; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - float: right; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - float: right; -} -#avatar_server_stored div -{ - float: right; -} - -#main_admsection #basicinfo h4 -{ - float: right; -} -#main_admsection #basicinfo img.avatar -{ - float: left; -} -#main_admsection #basicinfo ul -{ - clear: right; -} -#main_admsection #basicinfo span#userstatus -{ - clear: right; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - float: right; -} -#generalstats div.content dd -{ - float: right; -} - -/* Activity by time */ -#activitytime -{ - clear: right; -} -.activity_stats li -{ - float: right; -} -.activity_stats li span -{ - border-width: 1px 0 0 1px; -} -.activity_stats li.last span -{ - border-left: none; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - float: right; -} -#popularactivity -{ - float: left; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - float: right; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - float: right; -} - -.profile_pie -{ - background-image: url(../images/stats_pie_rtl.png); - float: right; - margin-right: 0; - margin-left: 1em; -} - -/* View posts */ -.topic .time -{ - float: left; -} -.counter -{ - padding: 0.2em 0.2em 0.1em 0.5em; - float: right; -} -.topic .mod_icons -{ - text-align: left; - margin-right: 0; - margin-left: 1em; -} -#permissions div.permission_name -{ - margin: 0 0 0 1%; -} - -#ip_list li.header, #ip_list li.ip -{ - float: right; -} -#creator dt -{ - float: right; -} -#creator dd -{ - float: right; -} - -.ignoreboards ul -{ - margin: 0 1em 0 0; -} -.ignoreboards li -{ - float: right; -} - -#pick_theme -{ - float: right; -} -/* Styles for the statistics center. -------------------------------------------------- */ -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: right; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: left; -} -dl.stats dt -{ - float: right; -} -dl.stats dd -{ - text-align: left; -} -.statsbar div.bar -{ - float: right; -} -.statsbar div.bar div -{ - right: -6px; - padding: 0 0 0 6px; -} -tr.windowbg2 th.stats_month, tr.windowbg2 td.stats_day -{ - text-align: right; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -#month_grid -{ - float: right; -} - -#main_grid table.weeklist td.windowbg -{ - - border-left: 2px solid #fff; - border-bottom: 2px solid #fff; -} - -#main_grid table.weeklist td.weekdays -{ - text-align: left; - vertical-align: middle; - border-right: 2px solid #fff; - border-bottom: 2px solid #fff; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: right; -} -#advanced_search dt -{ - float: right; - text-align: left; -} -#advanced_search dd -{ - float: right; - margin: 0 0.5em 0 0; - text-align: right; -} -/* Boards picker */ -#searchform fieldset div#searchBoardsExpand ul -{ - margin: 0 1em 0 0; -} -#searchform fieldset div#searchBoardsExpand li -{ - float: right; -} -#searchform fieldset p -{ - text-align: right; -} - -.search_results_posts .buttons -{ - padding: 5px 0 0 1em; -} - -/* Styles for the help section. -------------------------------------------------- */ -#helpmain h3.section -{ - padding: 0 0.5em 0.5em 0; -} -/* put back the bullets please */ -#helpmain ul -{ - margin: 0 2em 1em 0; - padding-left: 0; - padding-right: 1em; -} -#helpmain #messageindex -{ - clear: left; -} - -/* Styles for the admincenter (reverse admin.css). -------------------------------------------------- */ -#quick_search -{ - margin-left: 5px; -} -.features_image -{ - float: right; - margin: 0 1em 0.5em 2em; -} -.features_switch -{ - float: left; -} -.features h4 -{ - padding: 1em 0.5em 0.5em 0; -} -/* admin home */ -#live_news div.content dl -{ - padding: 0.5em 0.5em 0 0; -} -#smfAnnouncements dd -{ - padding: 0; - margin: 0 1.5em 1em 0; -} -#quick_tasks li -{ - float: right; - list-style-type: none; -} -.home_image -{ - float: right; -} -/* common admin classes */ -.additional_row input -{ - margin-left: 0; - margin-right: 2em; -} -#error_log td div.marginleft -{ - margin: 0 1ex 0 0 !important; -} - -/* Styles for the package manager. -------------------------------------------------- */ -#package_list .tborder -{ - margin: .25em 26px .25em 0; -} -#package_list ol, #package_list ol li -{ - margin-left: 0; - margin-right: 50px; -} -/* ManageBoards */ -#manage_boards ul -{ - overflow: hidden; -} -#manage_boards li -{ - overflow: hidden; -} -.move_links -{ - padding: 0 0 0 13px; -} - -span.search_weight -{ - text-align: left; -} -/* Manage Bans */ -.ban_restriction -{ - margin: 0.2em 2.2em 0.2em 0; -} -/* Themes */ -.is_directory -{ - padding-right: 18px; - background: url(../images/admin/boards.gif) no-repeat; - background-position: 100% 0; -} -/* Styles for the moderation center. -------------------------------------------------- */ -.modblock_left -{ - float: right; - clear: left; -} -.modblock_right -{ - float: left; -} -ul.moderation_notes li -{ - padding: 4px 4px 4px 0; -} \ No newline at end of file diff --git a/config/themes/Redsy/fonts/FontAwesome.otf b/config/themes/Redsy/fonts/FontAwesome.otf deleted file mode 100755 index f7936cc..0000000 Binary files a/config/themes/Redsy/fonts/FontAwesome.otf and /dev/null differ diff --git a/config/themes/Redsy/fonts/fontawesome-webfont.eot b/config/themes/Redsy/fonts/fontawesome-webfont.eot deleted file mode 100755 index 33b2bb8..0000000 Binary files a/config/themes/Redsy/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/config/themes/Redsy/fonts/fontawesome-webfont.svg b/config/themes/Redsy/fonts/fontawesome-webfont.svg deleted file mode 100755 index 1ee89d4..0000000 --- a/config/themes/Redsy/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,565 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/config/themes/Redsy/fonts/fontawesome-webfont.ttf b/config/themes/Redsy/fonts/fontawesome-webfont.ttf deleted file mode 100755 index ed9372f..0000000 Binary files a/config/themes/Redsy/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/config/themes/Redsy/fonts/fontawesome-webfont.woff b/config/themes/Redsy/fonts/fontawesome-webfont.woff deleted file mode 100755 index 8b280b9..0000000 Binary files a/config/themes/Redsy/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/config/themes/Redsy/fonts/fontawesome-webfont.woff2 b/config/themes/Redsy/fonts/fontawesome-webfont.woff2 deleted file mode 100755 index 3311d58..0000000 Binary files a/config/themes/Redsy/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/config/themes/Redsy/images/Female.gif b/config/themes/Redsy/images/Female.gif deleted file mode 100755 index e7cc074..0000000 Binary files a/config/themes/Redsy/images/Female.gif and /dev/null differ diff --git a/config/themes/Redsy/images/Male.gif b/config/themes/Redsy/images/Male.gif deleted file mode 100755 index bb5bf75..0000000 Binary files a/config/themes/Redsy/images/Male.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/administration.gif b/config/themes/Redsy/images/admin/administration.gif deleted file mode 100755 index 18c1b25..0000000 Binary files a/config/themes/Redsy/images/admin/administration.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/attachment.gif b/config/themes/Redsy/images/admin/attachment.gif deleted file mode 100755 index ea897cc..0000000 Binary files a/config/themes/Redsy/images/admin/attachment.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/ban.gif b/config/themes/Redsy/images/admin/ban.gif deleted file mode 100755 index 6a849c3..0000000 Binary files a/config/themes/Redsy/images/admin/ban.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/boards.gif b/config/themes/Redsy/images/admin/boards.gif deleted file mode 100755 index 85aa9c0..0000000 Binary files a/config/themes/Redsy/images/admin/boards.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/calendar.gif b/config/themes/Redsy/images/admin/calendar.gif deleted file mode 100755 index e81dcc8..0000000 Binary files a/config/themes/Redsy/images/admin/calendar.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/change_menu.png b/config/themes/Redsy/images/admin/change_menu.png deleted file mode 100755 index 0be2fbd..0000000 Binary files a/config/themes/Redsy/images/admin/change_menu.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/change_menu2.png b/config/themes/Redsy/images/admin/change_menu2.png deleted file mode 100755 index d835e89..0000000 Binary files a/config/themes/Redsy/images/admin/change_menu2.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/corefeatures.gif b/config/themes/Redsy/images/admin/corefeatures.gif deleted file mode 100755 index 5643560..0000000 Binary files a/config/themes/Redsy/images/admin/corefeatures.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/current_theme.gif b/config/themes/Redsy/images/admin/current_theme.gif deleted file mode 100755 index 56450f9..0000000 Binary files a/config/themes/Redsy/images/admin/current_theme.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/engines.gif b/config/themes/Redsy/images/admin/engines.gif deleted file mode 100755 index 2c41621..0000000 Binary files a/config/themes/Redsy/images/admin/engines.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_cd.png b/config/themes/Redsy/images/admin/feature_cd.png deleted file mode 100755 index 5bf830f..0000000 Binary files a/config/themes/Redsy/images/admin/feature_cd.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_cp.png b/config/themes/Redsy/images/admin/feature_cp.png deleted file mode 100755 index 9b93c6b..0000000 Binary files a/config/themes/Redsy/images/admin/feature_cp.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_k.png b/config/themes/Redsy/images/admin/feature_k.png deleted file mode 100755 index 7709462..0000000 Binary files a/config/themes/Redsy/images/admin/feature_k.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_ml.png b/config/themes/Redsy/images/admin/feature_ml.png deleted file mode 100755 index d124448..0000000 Binary files a/config/themes/Redsy/images/admin/feature_ml.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_pm.png b/config/themes/Redsy/images/admin/feature_pm.png deleted file mode 100755 index 89725ad..0000000 Binary files a/config/themes/Redsy/images/admin/feature_pm.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_ps.png b/config/themes/Redsy/images/admin/feature_ps.png deleted file mode 100755 index 038cc85..0000000 Binary files a/config/themes/Redsy/images/admin/feature_ps.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_rg.png b/config/themes/Redsy/images/admin/feature_rg.png deleted file mode 100755 index 4acb947..0000000 Binary files a/config/themes/Redsy/images/admin/feature_rg.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_sp.png b/config/themes/Redsy/images/admin/feature_sp.png deleted file mode 100755 index 0d25f73..0000000 Binary files a/config/themes/Redsy/images/admin/feature_sp.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/feature_w.png b/config/themes/Redsy/images/admin/feature_w.png deleted file mode 100755 index bec0b0a..0000000 Binary files a/config/themes/Redsy/images/admin/feature_w.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/features.gif b/config/themes/Redsy/images/admin/features.gif deleted file mode 100755 index 1543de2..0000000 Binary files a/config/themes/Redsy/images/admin/features.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/features_and_options.png b/config/themes/Redsy/images/admin/features_and_options.png deleted file mode 100755 index af362c3..0000000 Binary files a/config/themes/Redsy/images/admin/features_and_options.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/forum_maintenance.png b/config/themes/Redsy/images/admin/forum_maintenance.png deleted file mode 100755 index 15d591c..0000000 Binary files a/config/themes/Redsy/images/admin/forum_maintenance.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/ignore.gif b/config/themes/Redsy/images/admin/ignore.gif deleted file mode 100755 index dbedaec..0000000 Binary files a/config/themes/Redsy/images/admin/ignore.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/index.php b/config/themes/Redsy/images/admin/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/admin/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/admin/languages.gif b/config/themes/Redsy/images/admin/languages.gif deleted file mode 100755 index 7b99768..0000000 Binary files a/config/themes/Redsy/images/admin/languages.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/logs.gif b/config/themes/Redsy/images/admin/logs.gif deleted file mode 100755 index a4716a3..0000000 Binary files a/config/themes/Redsy/images/admin/logs.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/mail.gif b/config/themes/Redsy/images/admin/mail.gif deleted file mode 100755 index 51fc1d3..0000000 Binary files a/config/themes/Redsy/images/admin/mail.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/maintain.gif b/config/themes/Redsy/images/admin/maintain.gif deleted file mode 100755 index 0ba6304..0000000 Binary files a/config/themes/Redsy/images/admin/maintain.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/membergroups.gif b/config/themes/Redsy/images/admin/membergroups.gif deleted file mode 100755 index b5697ae..0000000 Binary files a/config/themes/Redsy/images/admin/membergroups.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/members.gif b/config/themes/Redsy/images/admin/members.gif deleted file mode 100755 index 712a411..0000000 Binary files a/config/themes/Redsy/images/admin/members.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/members.png b/config/themes/Redsy/images/admin/members.png deleted file mode 100755 index e974928..0000000 Binary files a/config/themes/Redsy/images/admin/members.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/modifications.gif b/config/themes/Redsy/images/admin/modifications.gif deleted file mode 100755 index 2caf37b..0000000 Binary files a/config/themes/Redsy/images/admin/modifications.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/news.gif b/config/themes/Redsy/images/admin/news.gif deleted file mode 100755 index c9e8482..0000000 Binary files a/config/themes/Redsy/images/admin/news.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/package_ops.gif b/config/themes/Redsy/images/admin/package_ops.gif deleted file mode 100755 index 0106f4a..0000000 Binary files a/config/themes/Redsy/images/admin/package_ops.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/packages.gif b/config/themes/Redsy/images/admin/packages.gif deleted file mode 100755 index 7a4cd77..0000000 Binary files a/config/themes/Redsy/images/admin/packages.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/packages.png b/config/themes/Redsy/images/admin/packages.png deleted file mode 100755 index 6c56b53..0000000 Binary files a/config/themes/Redsy/images/admin/packages.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/paid.gif b/config/themes/Redsy/images/admin/paid.gif deleted file mode 100755 index 8425af3..0000000 Binary files a/config/themes/Redsy/images/admin/paid.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/permissions.gif b/config/themes/Redsy/images/admin/permissions.gif deleted file mode 100755 index b1e3bee..0000000 Binary files a/config/themes/Redsy/images/admin/permissions.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/permissions.png b/config/themes/Redsy/images/admin/permissions.png deleted file mode 100755 index 03316ea..0000000 Binary files a/config/themes/Redsy/images/admin/permissions.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/post_moderation_allow.gif b/config/themes/Redsy/images/admin/post_moderation_allow.gif deleted file mode 100755 index 7b93ba8..0000000 Binary files a/config/themes/Redsy/images/admin/post_moderation_allow.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/post_moderation_deny.gif b/config/themes/Redsy/images/admin/post_moderation_deny.gif deleted file mode 100755 index a7dc1c8..0000000 Binary files a/config/themes/Redsy/images/admin/post_moderation_deny.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/post_moderation_moderate.gif b/config/themes/Redsy/images/admin/post_moderation_moderate.gif deleted file mode 100755 index 5ddfc02..0000000 Binary files a/config/themes/Redsy/images/admin/post_moderation_moderate.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/posts.gif b/config/themes/Redsy/images/admin/posts.gif deleted file mode 100755 index 134e71d..0000000 Binary files a/config/themes/Redsy/images/admin/posts.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/regcenter.gif b/config/themes/Redsy/images/admin/regcenter.gif deleted file mode 100755 index 2684d54..0000000 Binary files a/config/themes/Redsy/images/admin/regcenter.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/reports.gif b/config/themes/Redsy/images/admin/reports.gif deleted file mode 100755 index 3c5845c..0000000 Binary files a/config/themes/Redsy/images/admin/reports.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/scheduled.gif b/config/themes/Redsy/images/admin/scheduled.gif deleted file mode 100755 index a7cd67c..0000000 Binary files a/config/themes/Redsy/images/admin/scheduled.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/search.gif b/config/themes/Redsy/images/admin/search.gif deleted file mode 100755 index 1ce8c93..0000000 Binary files a/config/themes/Redsy/images/admin/search.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/security.gif b/config/themes/Redsy/images/admin/security.gif deleted file mode 100755 index 69a8e07..0000000 Binary files a/config/themes/Redsy/images/admin/security.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/server.gif b/config/themes/Redsy/images/admin/server.gif deleted file mode 100755 index 2621743..0000000 Binary files a/config/themes/Redsy/images/admin/server.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/smiley.gif b/config/themes/Redsy/images/admin/smiley.gif deleted file mode 100755 index 57e9a67..0000000 Binary files a/config/themes/Redsy/images/admin/smiley.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/smilies_and_messageicons.png b/config/themes/Redsy/images/admin/smilies_and_messageicons.png deleted file mode 100755 index b898a82..0000000 Binary files a/config/themes/Redsy/images/admin/smilies_and_messageicons.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/subsection.gif b/config/themes/Redsy/images/admin/subsection.gif deleted file mode 100755 index 3da0245..0000000 Binary files a/config/themes/Redsy/images/admin/subsection.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/support.gif b/config/themes/Redsy/images/admin/support.gif deleted file mode 100755 index 08e2958..0000000 Binary files a/config/themes/Redsy/images/admin/support.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/support_and_credits.png b/config/themes/Redsy/images/admin/support_and_credits.png deleted file mode 100755 index 1bf62bf..0000000 Binary files a/config/themes/Redsy/images/admin/support_and_credits.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/switch_off.png b/config/themes/Redsy/images/admin/switch_off.png deleted file mode 100755 index f2937d0..0000000 Binary files a/config/themes/Redsy/images/admin/switch_off.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/switch_on.png b/config/themes/Redsy/images/admin/switch_on.png deleted file mode 100755 index b3ba675..0000000 Binary files a/config/themes/Redsy/images/admin/switch_on.png and /dev/null differ diff --git a/config/themes/Redsy/images/admin/themes.gif b/config/themes/Redsy/images/admin/themes.gif deleted file mode 100755 index 00ad6dd..0000000 Binary files a/config/themes/Redsy/images/admin/themes.gif and /dev/null differ diff --git a/config/themes/Redsy/images/admin/themes_and_layout.png b/config/themes/Redsy/images/admin/themes_and_layout.png deleted file mode 100755 index d511809..0000000 Binary files a/config/themes/Redsy/images/admin/themes_and_layout.png and /dev/null differ diff --git a/config/themes/Redsy/images/aim.gif b/config/themes/Redsy/images/aim.gif deleted file mode 100755 index 15a404a..0000000 Binary files a/config/themes/Redsy/images/aim.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bar_stats.png b/config/themes/Redsy/images/bar_stats.png deleted file mode 100755 index 18ca46b..0000000 Binary files a/config/themes/Redsy/images/bar_stats.png and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/bbc_bg.gif b/config/themes/Redsy/images/bbc/bbc_bg.gif deleted file mode 100755 index c238e89..0000000 Binary files a/config/themes/Redsy/images/bbc/bbc_bg.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/bbc_hoverbg.gif b/config/themes/Redsy/images/bbc/bbc_hoverbg.gif deleted file mode 100755 index 49c4e91..0000000 Binary files a/config/themes/Redsy/images/bbc/bbc_hoverbg.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/bold.gif b/config/themes/Redsy/images/bbc/bold.gif deleted file mode 100755 index 075d0f5..0000000 Binary files a/config/themes/Redsy/images/bbc/bold.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/center.gif b/config/themes/Redsy/images/bbc/center.gif deleted file mode 100755 index 736bc87..0000000 Binary files a/config/themes/Redsy/images/bbc/center.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/code.gif b/config/themes/Redsy/images/bbc/code.gif deleted file mode 100755 index 3e89df1..0000000 Binary files a/config/themes/Redsy/images/bbc/code.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/divider.gif b/config/themes/Redsy/images/bbc/divider.gif deleted file mode 100755 index d4f35e1..0000000 Binary files a/config/themes/Redsy/images/bbc/divider.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/email.gif b/config/themes/Redsy/images/bbc/email.gif deleted file mode 100755 index 52d01ad..0000000 Binary files a/config/themes/Redsy/images/bbc/email.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/flash.gif b/config/themes/Redsy/images/bbc/flash.gif deleted file mode 100755 index 9ca282c..0000000 Binary files a/config/themes/Redsy/images/bbc/flash.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/ftp.gif b/config/themes/Redsy/images/bbc/ftp.gif deleted file mode 100755 index 7d2384b..0000000 Binary files a/config/themes/Redsy/images/bbc/ftp.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/glow.gif b/config/themes/Redsy/images/bbc/glow.gif deleted file mode 100755 index 0f0dce7..0000000 Binary files a/config/themes/Redsy/images/bbc/glow.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/hr.gif b/config/themes/Redsy/images/bbc/hr.gif deleted file mode 100755 index 433f8a7..0000000 Binary files a/config/themes/Redsy/images/bbc/hr.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/img.gif b/config/themes/Redsy/images/bbc/img.gif deleted file mode 100755 index 1bb838d..0000000 Binary files a/config/themes/Redsy/images/bbc/img.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/index.php b/config/themes/Redsy/images/bbc/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/bbc/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/bbc/italicize.gif b/config/themes/Redsy/images/bbc/italicize.gif deleted file mode 100755 index cf84788..0000000 Binary files a/config/themes/Redsy/images/bbc/italicize.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/left.gif b/config/themes/Redsy/images/bbc/left.gif deleted file mode 100755 index 87bd529..0000000 Binary files a/config/themes/Redsy/images/bbc/left.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/list.gif b/config/themes/Redsy/images/bbc/list.gif deleted file mode 100755 index 95494c0..0000000 Binary files a/config/themes/Redsy/images/bbc/list.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/move.gif b/config/themes/Redsy/images/bbc/move.gif deleted file mode 100755 index a0d65ec..0000000 Binary files a/config/themes/Redsy/images/bbc/move.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/orderlist.gif b/config/themes/Redsy/images/bbc/orderlist.gif deleted file mode 100755 index 85f4a9c..0000000 Binary files a/config/themes/Redsy/images/bbc/orderlist.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/pre.gif b/config/themes/Redsy/images/bbc/pre.gif deleted file mode 100755 index e42bfd6..0000000 Binary files a/config/themes/Redsy/images/bbc/pre.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/quote.gif b/config/themes/Redsy/images/bbc/quote.gif deleted file mode 100755 index 8e97d78..0000000 Binary files a/config/themes/Redsy/images/bbc/quote.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/resize-handle.gif b/config/themes/Redsy/images/bbc/resize-handle.gif deleted file mode 100755 index 3fa6e0f..0000000 Binary files a/config/themes/Redsy/images/bbc/resize-handle.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/right.gif b/config/themes/Redsy/images/bbc/right.gif deleted file mode 100755 index 54d74aa..0000000 Binary files a/config/themes/Redsy/images/bbc/right.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/shadow.gif b/config/themes/Redsy/images/bbc/shadow.gif deleted file mode 100755 index 4b31037..0000000 Binary files a/config/themes/Redsy/images/bbc/shadow.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/soundcloud.gif b/config/themes/Redsy/images/bbc/soundcloud.gif deleted file mode 100755 index 9dcbf66..0000000 Binary files a/config/themes/Redsy/images/bbc/soundcloud.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/strike.gif b/config/themes/Redsy/images/bbc/strike.gif deleted file mode 100755 index b6570bc..0000000 Binary files a/config/themes/Redsy/images/bbc/strike.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/sub.gif b/config/themes/Redsy/images/bbc/sub.gif deleted file mode 100755 index 03fb567..0000000 Binary files a/config/themes/Redsy/images/bbc/sub.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/sup.gif b/config/themes/Redsy/images/bbc/sup.gif deleted file mode 100755 index fa936d0..0000000 Binary files a/config/themes/Redsy/images/bbc/sup.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/table.gif b/config/themes/Redsy/images/bbc/table.gif deleted file mode 100755 index dcef680..0000000 Binary files a/config/themes/Redsy/images/bbc/table.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/tele.gif b/config/themes/Redsy/images/bbc/tele.gif deleted file mode 100755 index bc9c078..0000000 Binary files a/config/themes/Redsy/images/bbc/tele.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/toggle.gif b/config/themes/Redsy/images/bbc/toggle.gif deleted file mode 100755 index 3b71a8b..0000000 Binary files a/config/themes/Redsy/images/bbc/toggle.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/underline.gif b/config/themes/Redsy/images/bbc/underline.gif deleted file mode 100755 index 398e662..0000000 Binary files a/config/themes/Redsy/images/bbc/underline.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/unformat.gif b/config/themes/Redsy/images/bbc/unformat.gif deleted file mode 100755 index c7ba2f4..0000000 Binary files a/config/themes/Redsy/images/bbc/unformat.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/url.gif b/config/themes/Redsy/images/bbc/url.gif deleted file mode 100755 index e911abb..0000000 Binary files a/config/themes/Redsy/images/bbc/url.gif and /dev/null differ diff --git a/config/themes/Redsy/images/bbc/video.gif b/config/themes/Redsy/images/bbc/video.gif deleted file mode 100755 index c675344..0000000 Binary files a/config/themes/Redsy/images/bbc/video.gif and /dev/null differ diff --git a/config/themes/Redsy/images/blank.gif b/config/themes/Redsy/images/blank.gif deleted file mode 100755 index 5bfd67a..0000000 Binary files a/config/themes/Redsy/images/blank.gif and /dev/null differ diff --git a/config/themes/Redsy/images/board.gif b/config/themes/Redsy/images/board.gif deleted file mode 100755 index 87ff120..0000000 Binary files a/config/themes/Redsy/images/board.gif and /dev/null differ diff --git a/config/themes/Redsy/images/board_select_spot.gif b/config/themes/Redsy/images/board_select_spot.gif deleted file mode 100755 index a91e794..0000000 Binary files a/config/themes/Redsy/images/board_select_spot.gif and /dev/null differ diff --git a/config/themes/Redsy/images/board_select_spot_child.gif b/config/themes/Redsy/images/board_select_spot_child.gif deleted file mode 100755 index 0653193..0000000 Binary files a/config/themes/Redsy/images/board_select_spot_child.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buddy_useroff.gif b/config/themes/Redsy/images/buddy_useroff.gif deleted file mode 100755 index e854d6c..0000000 Binary files a/config/themes/Redsy/images/buddy_useroff.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buddy_useron.gif b/config/themes/Redsy/images/buddy_useron.gif deleted file mode 100755 index 815fb11..0000000 Binary files a/config/themes/Redsy/images/buddy_useron.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/approve.gif b/config/themes/Redsy/images/buttons/approve.gif deleted file mode 100755 index 7865f8d..0000000 Binary files a/config/themes/Redsy/images/buttons/approve.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/calendarpe.gif b/config/themes/Redsy/images/buttons/calendarpe.gif deleted file mode 100755 index a437cc3..0000000 Binary files a/config/themes/Redsy/images/buttons/calendarpe.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/close.gif b/config/themes/Redsy/images/buttons/close.gif deleted file mode 100755 index 8854be3..0000000 Binary files a/config/themes/Redsy/images/buttons/close.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/delete.gif b/config/themes/Redsy/images/buttons/delete.gif deleted file mode 100755 index d692156..0000000 Binary files a/config/themes/Redsy/images/buttons/delete.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/details.gif b/config/themes/Redsy/images/buttons/details.gif deleted file mode 100755 index b776100..0000000 Binary files a/config/themes/Redsy/images/buttons/details.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/ignore.gif b/config/themes/Redsy/images/buttons/ignore.gif deleted file mode 100755 index c8a5058..0000000 Binary files a/config/themes/Redsy/images/buttons/ignore.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/im_reply.gif b/config/themes/Redsy/images/buttons/im_reply.gif deleted file mode 100755 index d1d29d3..0000000 Binary files a/config/themes/Redsy/images/buttons/im_reply.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/im_reply_all.gif b/config/themes/Redsy/images/buttons/im_reply_all.gif deleted file mode 100755 index edaa093..0000000 Binary files a/config/themes/Redsy/images/buttons/im_reply_all.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/index.php b/config/themes/Redsy/images/buttons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/buttons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/buttons/merge.gif b/config/themes/Redsy/images/buttons/merge.gif deleted file mode 100755 index ba16efb..0000000 Binary files a/config/themes/Redsy/images/buttons/merge.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/modify.gif b/config/themes/Redsy/images/buttons/modify.gif deleted file mode 100755 index 54fa148..0000000 Binary files a/config/themes/Redsy/images/buttons/modify.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/notify_sm.gif b/config/themes/Redsy/images/buttons/notify_sm.gif deleted file mode 100755 index 0fd583c..0000000 Binary files a/config/themes/Redsy/images/buttons/notify_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/quote.gif b/config/themes/Redsy/images/buttons/quote.gif deleted file mode 100755 index 1cf4c32..0000000 Binary files a/config/themes/Redsy/images/buttons/quote.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/reply.gif b/config/themes/Redsy/images/buttons/reply.gif deleted file mode 100755 index 622b6fe..0000000 Binary files a/config/themes/Redsy/images/buttons/reply.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/reply_sm.gif b/config/themes/Redsy/images/buttons/reply_sm.gif deleted file mode 100755 index 622b6fe..0000000 Binary files a/config/themes/Redsy/images/buttons/reply_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/restore_topic.gif b/config/themes/Redsy/images/buttons/restore_topic.gif deleted file mode 100755 index 06f1ee3..0000000 Binary files a/config/themes/Redsy/images/buttons/restore_topic.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/search.gif b/config/themes/Redsy/images/buttons/search.gif deleted file mode 100755 index ba72eca..0000000 Binary files a/config/themes/Redsy/images/buttons/search.gif and /dev/null differ diff --git a/config/themes/Redsy/images/buttons/split.gif b/config/themes/Redsy/images/buttons/split.gif deleted file mode 100755 index 06a9cbb..0000000 Binary files a/config/themes/Redsy/images/buttons/split.gif and /dev/null differ diff --git a/config/themes/Redsy/images/cake.png b/config/themes/Redsy/images/cake.png deleted file mode 100755 index b596899..0000000 Binary files a/config/themes/Redsy/images/cake.png and /dev/null differ diff --git a/config/themes/Redsy/images/collapse.gif b/config/themes/Redsy/images/collapse.gif deleted file mode 100755 index c389c74..0000000 Binary files a/config/themes/Redsy/images/collapse.gif and /dev/null differ diff --git a/config/themes/Redsy/images/construction.png b/config/themes/Redsy/images/construction.png deleted file mode 100755 index ca4424d..0000000 Binary files a/config/themes/Redsy/images/construction.png and /dev/null differ diff --git a/config/themes/Redsy/images/email_sm.gif b/config/themes/Redsy/images/email_sm.gif deleted file mode 100755 index e708416..0000000 Binary files a/config/themes/Redsy/images/email_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/email_sm.png b/config/themes/Redsy/images/email_sm.png deleted file mode 100755 index e708416..0000000 Binary files a/config/themes/Redsy/images/email_sm.png and /dev/null differ diff --git a/config/themes/Redsy/images/english/index.php b/config/themes/Redsy/images/english/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/english/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/english/new.gif b/config/themes/Redsy/images/english/new.gif deleted file mode 100755 index 9ed9f1c..0000000 Binary files a/config/themes/Redsy/images/english/new.gif and /dev/null differ diff --git a/config/themes/Redsy/images/expand.gif b/config/themes/Redsy/images/expand.gif deleted file mode 100755 index 5389359..0000000 Binary files a/config/themes/Redsy/images/expand.gif and /dev/null differ diff --git a/config/themes/Redsy/images/filter.gif b/config/themes/Redsy/images/filter.gif deleted file mode 100755 index 3280a45..0000000 Binary files a/config/themes/Redsy/images/filter.gif and /dev/null differ diff --git a/config/themes/Redsy/images/helptopics.gif b/config/themes/Redsy/images/helptopics.gif deleted file mode 100755 index 723c404..0000000 Binary files a/config/themes/Redsy/images/helptopics.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/assist.gif b/config/themes/Redsy/images/icons/assist.gif deleted file mode 100755 index e8d8b3d..0000000 Binary files a/config/themes/Redsy/images/icons/assist.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/calendar.gif b/config/themes/Redsy/images/icons/calendar.gif deleted file mode 100755 index 945af71..0000000 Binary files a/config/themes/Redsy/images/icons/calendar.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/clip.gif b/config/themes/Redsy/images/icons/clip.gif deleted file mode 100755 index 2270256..0000000 Binary files a/config/themes/Redsy/images/icons/clip.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/config_sm.gif b/config/themes/Redsy/images/icons/config_sm.gif deleted file mode 100755 index fe84285..0000000 Binary files a/config/themes/Redsy/images/icons/config_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/delete.gif b/config/themes/Redsy/images/icons/delete.gif deleted file mode 100755 index d692156..0000000 Binary files a/config/themes/Redsy/images/icons/delete.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/field_check.gif b/config/themes/Redsy/images/icons/field_check.gif deleted file mode 100755 index f5dab3e..0000000 Binary files a/config/themes/Redsy/images/icons/field_check.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/field_invalid.gif b/config/themes/Redsy/images/icons/field_invalid.gif deleted file mode 100755 index 6b9fa6d..0000000 Binary files a/config/themes/Redsy/images/icons/field_invalid.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/field_valid.gif b/config/themes/Redsy/images/icons/field_valid.gif deleted file mode 100755 index 2414885..0000000 Binary files a/config/themes/Redsy/images/icons/field_valid.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/im_newmsg.gif b/config/themes/Redsy/images/icons/im_newmsg.gif deleted file mode 100755 index 49d0f08..0000000 Binary files a/config/themes/Redsy/images/icons/im_newmsg.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/index.php b/config/themes/Redsy/images/icons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/icons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/icons/info.gif b/config/themes/Redsy/images/icons/info.gif deleted file mode 100755 index 3f94760..0000000 Binary files a/config/themes/Redsy/images/icons/info.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/last_post.gif b/config/themes/Redsy/images/icons/last_post.gif deleted file mode 100755 index 1f9ff8b..0000000 Binary files a/config/themes/Redsy/images/icons/last_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/login.gif b/config/themes/Redsy/images/icons/login.gif deleted file mode 100755 index 59c4544..0000000 Binary files a/config/themes/Redsy/images/icons/login.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/login_sm.gif b/config/themes/Redsy/images/icons/login_sm.gif deleted file mode 100755 index e7e6f8b..0000000 Binary files a/config/themes/Redsy/images/icons/login_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/members.gif b/config/themes/Redsy/images/icons/members.gif deleted file mode 100755 index 247af64..0000000 Binary files a/config/themes/Redsy/images/icons/members.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/modify_inline.gif b/config/themes/Redsy/images/icons/modify_inline.gif deleted file mode 100755 index 54fa148..0000000 Binary files a/config/themes/Redsy/images/icons/modify_inline.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/modify_small.gif b/config/themes/Redsy/images/icons/modify_small.gif deleted file mode 100755 index d5ba3d5..0000000 Binary files a/config/themes/Redsy/images/icons/modify_small.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/notify_sm.gif b/config/themes/Redsy/images/icons/notify_sm.gif deleted file mode 100755 index 4a3f805..0000000 Binary files a/config/themes/Redsy/images/icons/notify_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/online.gif b/config/themes/Redsy/images/icons/online.gif deleted file mode 100755 index 247af64..0000000 Binary files a/config/themes/Redsy/images/icons/online.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/package_installed.gif b/config/themes/Redsy/images/icons/package_installed.gif deleted file mode 100755 index 758eed5..0000000 Binary files a/config/themes/Redsy/images/icons/package_installed.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/package_old.gif b/config/themes/Redsy/images/icons/package_old.gif deleted file mode 100755 index dfdf054..0000000 Binary files a/config/themes/Redsy/images/icons/package_old.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/pm_read.gif b/config/themes/Redsy/images/icons/pm_read.gif deleted file mode 100755 index 347746c..0000000 Binary files a/config/themes/Redsy/images/icons/pm_read.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/pm_replied.gif b/config/themes/Redsy/images/icons/pm_replied.gif deleted file mode 100755 index d1d29d3..0000000 Binary files a/config/themes/Redsy/images/icons/pm_replied.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/profile_sm.gif b/config/themes/Redsy/images/icons/profile_sm.gif deleted file mode 100755 index 3665753..0000000 Binary files a/config/themes/Redsy/images/icons/profile_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/quick_lock.gif b/config/themes/Redsy/images/icons/quick_lock.gif deleted file mode 100755 index ddf83d9..0000000 Binary files a/config/themes/Redsy/images/icons/quick_lock.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/quick_move.gif b/config/themes/Redsy/images/icons/quick_move.gif deleted file mode 100755 index 1dcf01a..0000000 Binary files a/config/themes/Redsy/images/icons/quick_move.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/quick_remove.gif b/config/themes/Redsy/images/icons/quick_remove.gif deleted file mode 100755 index 70b59dc..0000000 Binary files a/config/themes/Redsy/images/icons/quick_remove.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/quick_sticky.gif b/config/themes/Redsy/images/icons/quick_sticky.gif deleted file mode 100755 index 6d818eb..0000000 Binary files a/config/themes/Redsy/images/icons/quick_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/quick_sticky_lock.gif b/config/themes/Redsy/images/icons/quick_sticky_lock.gif deleted file mode 100755 index 827e587..0000000 Binary files a/config/themes/Redsy/images/icons/quick_sticky_lock.gif and /dev/null differ diff --git a/config/themes/Redsy/images/icons/show_sticky.gif b/config/themes/Redsy/images/icons/show_sticky.gif deleted file mode 100755 index 6d818eb..0000000 Binary files a/config/themes/Redsy/images/icons/show_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/im_off.gif b/config/themes/Redsy/images/im_off.gif deleted file mode 100755 index 00dd28b..0000000 Binary files a/config/themes/Redsy/images/im_off.gif and /dev/null differ diff --git a/config/themes/Redsy/images/im_on.gif b/config/themes/Redsy/images/im_on.gif deleted file mode 100755 index de0091c..0000000 Binary files a/config/themes/Redsy/images/im_on.gif and /dev/null differ diff --git a/config/themes/Redsy/images/im_sm_newmsg.gif b/config/themes/Redsy/images/im_sm_newmsg.gif deleted file mode 100755 index f4902ed..0000000 Binary files a/config/themes/Redsy/images/im_sm_newmsg.gif and /dev/null differ diff --git a/config/themes/Redsy/images/im_sm_prefs.gif b/config/themes/Redsy/images/im_sm_prefs.gif deleted file mode 100755 index 7b93eb0..0000000 Binary files a/config/themes/Redsy/images/im_sm_prefs.gif and /dev/null differ diff --git a/config/themes/Redsy/images/im_switch.gif b/config/themes/Redsy/images/im_switch.gif deleted file mode 100755 index e5beb6b..0000000 Binary files a/config/themes/Redsy/images/im_switch.gif and /dev/null differ diff --git a/config/themes/Redsy/images/index.php b/config/themes/Redsy/images/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/ip.gif b/config/themes/Redsy/images/ip.gif deleted file mode 100755 index 72aafe4..0000000 Binary files a/config/themes/Redsy/images/ip.gif and /dev/null differ diff --git a/config/themes/Redsy/images/karma.png b/config/themes/Redsy/images/karma.png deleted file mode 100755 index f155cc2..0000000 Binary files a/config/themes/Redsy/images/karma.png and /dev/null differ diff --git a/config/themes/Redsy/images/loading.gif b/config/themes/Redsy/images/loading.gif deleted file mode 100755 index 53edda2..0000000 Binary files a/config/themes/Redsy/images/loading.gif and /dev/null differ diff --git a/config/themes/Redsy/images/message_sm.gif b/config/themes/Redsy/images/message_sm.gif deleted file mode 100755 index f56c8e4..0000000 Binary files a/config/themes/Redsy/images/message_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/images/msntalk.gif b/config/themes/Redsy/images/msntalk.gif deleted file mode 100755 index 76664a0..0000000 Binary files a/config/themes/Redsy/images/msntalk.gif and /dev/null differ diff --git a/config/themes/Redsy/images/new_none.png b/config/themes/Redsy/images/new_none.png deleted file mode 100755 index e9c19b6..0000000 Binary files a/config/themes/Redsy/images/new_none.png and /dev/null differ diff --git a/config/themes/Redsy/images/new_redirect.png b/config/themes/Redsy/images/new_redirect.png deleted file mode 100755 index 982e771..0000000 Binary files a/config/themes/Redsy/images/new_redirect.png and /dev/null differ diff --git a/config/themes/Redsy/images/new_some.png b/config/themes/Redsy/images/new_some.png deleted file mode 100755 index 0883999..0000000 Binary files a/config/themes/Redsy/images/new_some.png and /dev/null differ diff --git a/config/themes/Redsy/images/noavatar.png b/config/themes/Redsy/images/noavatar.png deleted file mode 100755 index 58e7bc5..0000000 Binary files a/config/themes/Redsy/images/noavatar.png and /dev/null differ diff --git a/config/themes/Redsy/images/off.png b/config/themes/Redsy/images/off.png deleted file mode 100755 index 2ec73af..0000000 Binary files a/config/themes/Redsy/images/off.png and /dev/null differ diff --git a/config/themes/Redsy/images/on.png b/config/themes/Redsy/images/on.png deleted file mode 100755 index c1c061c..0000000 Binary files a/config/themes/Redsy/images/on.png and /dev/null differ diff --git a/config/themes/Redsy/images/on2.png b/config/themes/Redsy/images/on2.png deleted file mode 100755 index c1c061c..0000000 Binary files a/config/themes/Redsy/images/on2.png and /dev/null differ diff --git a/config/themes/Redsy/images/openid.gif b/config/themes/Redsy/images/openid.gif deleted file mode 100755 index 23a3613..0000000 Binary files a/config/themes/Redsy/images/openid.gif and /dev/null differ diff --git a/config/themes/Redsy/images/pm_recipient_delete.gif b/config/themes/Redsy/images/pm_recipient_delete.gif deleted file mode 100755 index 3865ccd..0000000 Binary files a/config/themes/Redsy/images/pm_recipient_delete.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/angry.gif b/config/themes/Redsy/images/post/angry.gif deleted file mode 100755 index dce79de..0000000 Binary files a/config/themes/Redsy/images/post/angry.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/cheesy.gif b/config/themes/Redsy/images/post/cheesy.gif deleted file mode 100755 index 3a88e9b..0000000 Binary files a/config/themes/Redsy/images/post/cheesy.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/clip.gif b/config/themes/Redsy/images/post/clip.gif deleted file mode 100755 index e594837..0000000 Binary files a/config/themes/Redsy/images/post/clip.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/cross.gif b/config/themes/Redsy/images/post/cross.gif deleted file mode 100755 index b98aa27..0000000 Binary files a/config/themes/Redsy/images/post/cross.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/exclamation.gif b/config/themes/Redsy/images/post/exclamation.gif deleted file mode 100755 index 46834b9..0000000 Binary files a/config/themes/Redsy/images/post/exclamation.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/grin.gif b/config/themes/Redsy/images/post/grin.gif deleted file mode 100755 index fc62ac4..0000000 Binary files a/config/themes/Redsy/images/post/grin.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/index.php b/config/themes/Redsy/images/post/index.php deleted file mode 100755 index be9895a..0000000 --- a/config/themes/Redsy/images/post/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/post/lamp.gif b/config/themes/Redsy/images/post/lamp.gif deleted file mode 100755 index 3e8743b..0000000 Binary files a/config/themes/Redsy/images/post/lamp.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/moved.gif b/config/themes/Redsy/images/post/moved.gif deleted file mode 100755 index 64c480b..0000000 Binary files a/config/themes/Redsy/images/post/moved.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/question.gif b/config/themes/Redsy/images/post/question.gif deleted file mode 100755 index 1d15c7b..0000000 Binary files a/config/themes/Redsy/images/post/question.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/recycled.gif b/config/themes/Redsy/images/post/recycled.gif deleted file mode 100755 index fee3fbc..0000000 Binary files a/config/themes/Redsy/images/post/recycled.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/sad.gif b/config/themes/Redsy/images/post/sad.gif deleted file mode 100755 index 8e2dfa9..0000000 Binary files a/config/themes/Redsy/images/post/sad.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/smiley.gif b/config/themes/Redsy/images/post/smiley.gif deleted file mode 100755 index e74154c..0000000 Binary files a/config/themes/Redsy/images/post/smiley.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/thumbdown.gif b/config/themes/Redsy/images/post/thumbdown.gif deleted file mode 100755 index ab7e040..0000000 Binary files a/config/themes/Redsy/images/post/thumbdown.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/thumbup.gif b/config/themes/Redsy/images/post/thumbup.gif deleted file mode 100755 index 62e0d02..0000000 Binary files a/config/themes/Redsy/images/post/thumbup.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/topicsolved.gif b/config/themes/Redsy/images/post/topicsolved.gif deleted file mode 100755 index a3189f4..0000000 Binary files a/config/themes/Redsy/images/post/topicsolved.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/wink.gif b/config/themes/Redsy/images/post/wink.gif deleted file mode 100755 index aade1b7..0000000 Binary files a/config/themes/Redsy/images/post/wink.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/wireless.gif b/config/themes/Redsy/images/post/wireless.gif deleted file mode 100755 index 9ea536d..0000000 Binary files a/config/themes/Redsy/images/post/wireless.gif and /dev/null differ diff --git a/config/themes/Redsy/images/post/xx.gif b/config/themes/Redsy/images/post/xx.gif deleted file mode 100755 index eda4488..0000000 Binary files a/config/themes/Redsy/images/post/xx.gif and /dev/null differ diff --git a/config/themes/Redsy/images/postcount.png b/config/themes/Redsy/images/postcount.png deleted file mode 100755 index 2275507..0000000 Binary files a/config/themes/Redsy/images/postcount.png and /dev/null differ diff --git a/config/themes/Redsy/images/redirect.png b/config/themes/Redsy/images/redirect.png deleted file mode 100755 index 6a809da..0000000 Binary files a/config/themes/Redsy/images/redirect.png and /dev/null differ diff --git a/config/themes/Redsy/images/selected.gif b/config/themes/Redsy/images/selected.gif deleted file mode 100755 index 4d2d54e..0000000 Binary files a/config/themes/Redsy/images/selected.gif and /dev/null differ diff --git a/config/themes/Redsy/images/smflogo.png b/config/themes/Redsy/images/smflogo.png deleted file mode 100755 index 01d6fe7..0000000 Binary files a/config/themes/Redsy/images/smflogo.png and /dev/null differ diff --git a/config/themes/Redsy/images/smiley_select_spot.gif b/config/themes/Redsy/images/smiley_select_spot.gif deleted file mode 100755 index 3e06cda..0000000 Binary files a/config/themes/Redsy/images/smiley_select_spot.gif and /dev/null differ diff --git a/config/themes/Redsy/images/sort_down.gif b/config/themes/Redsy/images/sort_down.gif deleted file mode 100755 index 6c755db..0000000 Binary files a/config/themes/Redsy/images/sort_down.gif and /dev/null differ diff --git a/config/themes/Redsy/images/sort_up.gif b/config/themes/Redsy/images/sort_up.gif deleted file mode 100755 index 7e5731a..0000000 Binary files a/config/themes/Redsy/images/sort_up.gif and /dev/null differ diff --git a/config/themes/Redsy/images/split_deselect.gif b/config/themes/Redsy/images/split_deselect.gif deleted file mode 100755 index 852316b..0000000 Binary files a/config/themes/Redsy/images/split_deselect.gif and /dev/null differ diff --git a/config/themes/Redsy/images/split_select.gif b/config/themes/Redsy/images/split_select.gif deleted file mode 100755 index 80eddbc..0000000 Binary files a/config/themes/Redsy/images/split_select.gif and /dev/null differ diff --git a/config/themes/Redsy/images/star.gif b/config/themes/Redsy/images/star.gif deleted file mode 100755 index d0be4ad..0000000 Binary files a/config/themes/Redsy/images/star.gif and /dev/null differ diff --git a/config/themes/Redsy/images/staradmin.gif b/config/themes/Redsy/images/staradmin.gif deleted file mode 100755 index ac32d90..0000000 Binary files a/config/themes/Redsy/images/staradmin.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stargmod.gif b/config/themes/Redsy/images/stargmod.gif deleted file mode 100755 index 7c5de8b..0000000 Binary files a/config/themes/Redsy/images/stargmod.gif and /dev/null differ diff --git a/config/themes/Redsy/images/starmod.gif b/config/themes/Redsy/images/starmod.gif deleted file mode 100755 index e979fb0..0000000 Binary files a/config/themes/Redsy/images/starmod.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats.png b/config/themes/Redsy/images/stats.png deleted file mode 100755 index ebd41ef..0000000 Binary files a/config/themes/Redsy/images/stats.png and /dev/null differ diff --git a/config/themes/Redsy/images/stats_board.gif b/config/themes/Redsy/images/stats_board.gif deleted file mode 100755 index 3f94760..0000000 Binary files a/config/themes/Redsy/images/stats_board.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_boards.gif b/config/themes/Redsy/images/stats_boards.gif deleted file mode 100755 index 3f94760..0000000 Binary files a/config/themes/Redsy/images/stats_boards.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_history.gif b/config/themes/Redsy/images/stats_history.gif deleted file mode 100755 index f69c02d..0000000 Binary files a/config/themes/Redsy/images/stats_history.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_info.gif b/config/themes/Redsy/images/stats_info.gif deleted file mode 100755 index 3f94760..0000000 Binary files a/config/themes/Redsy/images/stats_info.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_pie.png b/config/themes/Redsy/images/stats_pie.png deleted file mode 100755 index 1f692c9..0000000 Binary files a/config/themes/Redsy/images/stats_pie.png and /dev/null differ diff --git a/config/themes/Redsy/images/stats_pie_rtl.png b/config/themes/Redsy/images/stats_pie_rtl.png deleted file mode 100755 index 91a6218..0000000 Binary files a/config/themes/Redsy/images/stats_pie_rtl.png and /dev/null differ diff --git a/config/themes/Redsy/images/stats_posters.gif b/config/themes/Redsy/images/stats_posters.gif deleted file mode 100755 index d2c6e95..0000000 Binary files a/config/themes/Redsy/images/stats_posters.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_replies.gif b/config/themes/Redsy/images/stats_replies.gif deleted file mode 100755 index 6b2545a..0000000 Binary files a/config/themes/Redsy/images/stats_replies.gif and /dev/null differ diff --git a/config/themes/Redsy/images/stats_views.gif b/config/themes/Redsy/images/stats_views.gif deleted file mode 100755 index d400e68..0000000 Binary files a/config/themes/Redsy/images/stats_views.gif and /dev/null differ diff --git a/config/themes/Redsy/images/theme/loadingbar.png b/config/themes/Redsy/images/theme/loadingbar.png deleted file mode 100755 index 999339d..0000000 Binary files a/config/themes/Redsy/images/theme/loadingbar.png and /dev/null differ diff --git a/config/themes/Redsy/images/theme/main_block.png b/config/themes/Redsy/images/theme/main_block.png deleted file mode 100755 index f422b81..0000000 Binary files a/config/themes/Redsy/images/theme/main_block.png and /dev/null differ diff --git a/config/themes/Redsy/images/theme/menu_gfx.png b/config/themes/Redsy/images/theme/menu_gfx.png deleted file mode 100755 index ce96116..0000000 Binary files a/config/themes/Redsy/images/theme/menu_gfx.png and /dev/null differ diff --git a/config/themes/Redsy/images/theme/quickbuttons.png b/config/themes/Redsy/images/theme/quickbuttons.png deleted file mode 100755 index d49de87..0000000 Binary files a/config/themes/Redsy/images/theme/quickbuttons.png and /dev/null differ diff --git a/config/themes/Redsy/images/theme/quote.png b/config/themes/Redsy/images/theme/quote.png deleted file mode 100755 index 59e9c75..0000000 Binary files a/config/themes/Redsy/images/theme/quote.png and /dev/null differ diff --git a/config/themes/Redsy/images/theme/submit_bg.png b/config/themes/Redsy/images/theme/submit_bg.png deleted file mode 100755 index 67cc37c..0000000 Binary files a/config/themes/Redsy/images/theme/submit_bg.png and /dev/null differ diff --git a/config/themes/Redsy/images/thumbnail.gif b/config/themes/Redsy/images/thumbnail.gif deleted file mode 100755 index 45b79c3..0000000 Binary files a/config/themes/Redsy/images/thumbnail.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_poll.gif b/config/themes/Redsy/images/topic/hot_poll.gif deleted file mode 100755 index 4e11b24..0000000 Binary files a/config/themes/Redsy/images/topic/hot_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_poll_locked.gif b/config/themes/Redsy/images/topic/hot_poll_locked.gif deleted file mode 100755 index 0ca8ea2..0000000 Binary files a/config/themes/Redsy/images/topic/hot_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/hot_poll_locked_sticky.gif deleted file mode 100755 index a498e8e..0000000 Binary files a/config/themes/Redsy/images/topic/hot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_poll_sticky.gif b/config/themes/Redsy/images/topic/hot_poll_sticky.gif deleted file mode 100755 index 434d8b9..0000000 Binary files a/config/themes/Redsy/images/topic/hot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_post.gif b/config/themes/Redsy/images/topic/hot_post.gif deleted file mode 100755 index 2dfe319..0000000 Binary files a/config/themes/Redsy/images/topic/hot_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_post_locked.gif b/config/themes/Redsy/images/topic/hot_post_locked.gif deleted file mode 100755 index 0fc1170..0000000 Binary files a/config/themes/Redsy/images/topic/hot_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_post_locked_sticky.gif b/config/themes/Redsy/images/topic/hot_post_locked_sticky.gif deleted file mode 100755 index 51bb589..0000000 Binary files a/config/themes/Redsy/images/topic/hot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/hot_post_sticky.gif b/config/themes/Redsy/images/topic/hot_post_sticky.gif deleted file mode 100755 index 9424db5..0000000 Binary files a/config/themes/Redsy/images/topic/hot_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/index.php b/config/themes/Redsy/images/topic/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/images/topic/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/images/topic/my_hot_poll.gif b/config/themes/Redsy/images/topic/my_hot_poll.gif deleted file mode 100755 index 8f70143..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_poll_locked.gif b/config/themes/Redsy/images/topic/my_hot_poll_locked.gif deleted file mode 100755 index dbd0bc6..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/my_hot_poll_locked_sticky.gif deleted file mode 100755 index 02957eb..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_poll_sticky.gif b/config/themes/Redsy/images/topic/my_hot_poll_sticky.gif deleted file mode 100755 index aefdc5f..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_post.gif b/config/themes/Redsy/images/topic/my_hot_post.gif deleted file mode 100755 index 5e7e1c1..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_post_locked.gif b/config/themes/Redsy/images/topic/my_hot_post_locked.gif deleted file mode 100755 index d83a81b..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_post_locked_sticky.gif b/config/themes/Redsy/images/topic/my_hot_post_locked_sticky.gif deleted file mode 100755 index 9f0cf2b..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_hot_post_sticky.gif b/config/themes/Redsy/images/topic/my_hot_post_sticky.gif deleted file mode 100755 index a58f754..0000000 Binary files a/config/themes/Redsy/images/topic/my_hot_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_poll.gif b/config/themes/Redsy/images/topic/my_normal_poll.gif deleted file mode 100755 index 1a5b4f2..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_poll_locked.gif b/config/themes/Redsy/images/topic/my_normal_poll_locked.gif deleted file mode 100755 index c2611b7..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/my_normal_poll_locked_sticky.gif deleted file mode 100755 index a61b0bc..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_poll_sticky.gif b/config/themes/Redsy/images/topic/my_normal_poll_sticky.gif deleted file mode 100755 index 3ff4b11..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_post.gif b/config/themes/Redsy/images/topic/my_normal_post.gif deleted file mode 100755 index fd2723c..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_post_locked.gif b/config/themes/Redsy/images/topic/my_normal_post_locked.gif deleted file mode 100755 index a5def73..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_post_locked_sticky.gif b/config/themes/Redsy/images/topic/my_normal_post_locked_sticky.gif deleted file mode 100755 index 5a13e78..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_normal_post_sticky.gif b/config/themes/Redsy/images/topic/my_normal_post_sticky.gif deleted file mode 100755 index f14e1d5..0000000 Binary files a/config/themes/Redsy/images/topic/my_normal_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_poll.gif b/config/themes/Redsy/images/topic/my_veryhot_poll.gif deleted file mode 100755 index 6374789..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_poll_locked.gif b/config/themes/Redsy/images/topic/my_veryhot_poll_locked.gif deleted file mode 100755 index ce3e930..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/my_veryhot_poll_locked_sticky.gif deleted file mode 100755 index 780d4da..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_poll_sticky.gif b/config/themes/Redsy/images/topic/my_veryhot_poll_sticky.gif deleted file mode 100755 index 49f1d8b..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_post.gif b/config/themes/Redsy/images/topic/my_veryhot_post.gif deleted file mode 100755 index 0fcebeb..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_post_locked.gif b/config/themes/Redsy/images/topic/my_veryhot_post_locked.gif deleted file mode 100755 index d76ce18..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_post_locked_sticky.gif b/config/themes/Redsy/images/topic/my_veryhot_post_locked_sticky.gif deleted file mode 100755 index 41ebea4..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/my_veryhot_post_sticky.gif b/config/themes/Redsy/images/topic/my_veryhot_post_sticky.gif deleted file mode 100755 index fc6148e..0000000 Binary files a/config/themes/Redsy/images/topic/my_veryhot_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_poll.gif b/config/themes/Redsy/images/topic/normal_poll.gif deleted file mode 100755 index fd2202a..0000000 Binary files a/config/themes/Redsy/images/topic/normal_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_poll_locked.gif b/config/themes/Redsy/images/topic/normal_poll_locked.gif deleted file mode 100755 index efaea92..0000000 Binary files a/config/themes/Redsy/images/topic/normal_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/normal_poll_locked_sticky.gif deleted file mode 100755 index b77ab49..0000000 Binary files a/config/themes/Redsy/images/topic/normal_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_poll_sticky.gif b/config/themes/Redsy/images/topic/normal_poll_sticky.gif deleted file mode 100755 index a5f5f6c..0000000 Binary files a/config/themes/Redsy/images/topic/normal_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_post.gif b/config/themes/Redsy/images/topic/normal_post.gif deleted file mode 100755 index 55eaf94..0000000 Binary files a/config/themes/Redsy/images/topic/normal_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_post_locked.gif b/config/themes/Redsy/images/topic/normal_post_locked.gif deleted file mode 100755 index 97f11af..0000000 Binary files a/config/themes/Redsy/images/topic/normal_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_post_locked_sticky.gif b/config/themes/Redsy/images/topic/normal_post_locked_sticky.gif deleted file mode 100755 index 6da18f0..0000000 Binary files a/config/themes/Redsy/images/topic/normal_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/normal_post_sticky.gif b/config/themes/Redsy/images/topic/normal_post_sticky.gif deleted file mode 100755 index 3759241..0000000 Binary files a/config/themes/Redsy/images/topic/normal_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/one_star.png b/config/themes/Redsy/images/topic/one_star.png deleted file mode 100755 index 976838c..0000000 Binary files a/config/themes/Redsy/images/topic/one_star.png and /dev/null differ diff --git a/config/themes/Redsy/images/topic/star.png b/config/themes/Redsy/images/topic/star.png deleted file mode 100755 index 883e4de..0000000 Binary files a/config/themes/Redsy/images/topic/star.png and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_poll.gif b/config/themes/Redsy/images/topic/veryhot_poll.gif deleted file mode 100755 index d5ec27a..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_poll.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_poll_locked.gif b/config/themes/Redsy/images/topic/veryhot_poll_locked.gif deleted file mode 100755 index 0424d11..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_poll_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_poll_locked_sticky.gif b/config/themes/Redsy/images/topic/veryhot_poll_locked_sticky.gif deleted file mode 100755 index 8935ea1..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_poll_sticky.gif b/config/themes/Redsy/images/topic/veryhot_poll_sticky.gif deleted file mode 100755 index f0e88c5..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_post.gif b/config/themes/Redsy/images/topic/veryhot_post.gif deleted file mode 100755 index 8c40351..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_post.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_post_locked.gif b/config/themes/Redsy/images/topic/veryhot_post_locked.gif deleted file mode 100755 index b06a3c2..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_post_locked.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_post_locked_sticky.gif b/config/themes/Redsy/images/topic/veryhot_post_locked_sticky.gif deleted file mode 100755 index 2ecb34b..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/topic/veryhot_post_sticky.gif b/config/themes/Redsy/images/topic/veryhot_post_sticky.gif deleted file mode 100755 index ce39e52..0000000 Binary files a/config/themes/Redsy/images/topic/veryhot_post_sticky.gif and /dev/null differ diff --git a/config/themes/Redsy/images/upshrink.png b/config/themes/Redsy/images/upshrink.png deleted file mode 100755 index 6864389..0000000 Binary files a/config/themes/Redsy/images/upshrink.png and /dev/null differ diff --git a/config/themes/Redsy/images/upshrink2.png b/config/themes/Redsy/images/upshrink2.png deleted file mode 100755 index f951f9f..0000000 Binary files a/config/themes/Redsy/images/upshrink2.png and /dev/null differ diff --git a/config/themes/Redsy/images/user.png b/config/themes/Redsy/images/user.png deleted file mode 100755 index 12b8460..0000000 Binary files a/config/themes/Redsy/images/user.png and /dev/null differ diff --git a/config/themes/Redsy/images/useroff.gif b/config/themes/Redsy/images/useroff.gif deleted file mode 100755 index e854d6c..0000000 Binary files a/config/themes/Redsy/images/useroff.gif and /dev/null differ diff --git a/config/themes/Redsy/images/useron.gif b/config/themes/Redsy/images/useron.gif deleted file mode 100755 index 815fb11..0000000 Binary files a/config/themes/Redsy/images/useron.gif and /dev/null differ diff --git a/config/themes/Redsy/images/warn.gif b/config/themes/Redsy/images/warn.gif deleted file mode 100755 index d9f6e8e..0000000 Binary files a/config/themes/Redsy/images/warn.gif and /dev/null differ diff --git a/config/themes/Redsy/images/warning_moderate.gif b/config/themes/Redsy/images/warning_moderate.gif deleted file mode 100755 index d9f6e8e..0000000 Binary files a/config/themes/Redsy/images/warning_moderate.gif and /dev/null differ diff --git a/config/themes/Redsy/images/warning_mute.gif b/config/themes/Redsy/images/warning_mute.gif deleted file mode 100755 index 88e43e4..0000000 Binary files a/config/themes/Redsy/images/warning_mute.gif and /dev/null differ diff --git a/config/themes/Redsy/images/warning_watch.gif b/config/themes/Redsy/images/warning_watch.gif deleted file mode 100755 index 9bb0604..0000000 Binary files a/config/themes/Redsy/images/warning_watch.gif and /dev/null differ diff --git a/config/themes/Redsy/images/www.gif b/config/themes/Redsy/images/www.gif deleted file mode 100755 index c375eca..0000000 Binary files a/config/themes/Redsy/images/www.gif and /dev/null differ diff --git a/config/themes/Redsy/images/www_sm.gif b/config/themes/Redsy/images/www_sm.gif deleted file mode 100755 index c375eca..0000000 Binary files a/config/themes/Redsy/images/www_sm.gif and /dev/null differ diff --git a/config/themes/Redsy/index.php b/config/themes/Redsy/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/Redsy/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/index.template.php b/config/themes/Redsy/index.template.php deleted file mode 100755 index 2a0203e..0000000 --- a/config/themes/Redsy/index.template.php +++ /dev/null @@ -1,769 +0,0 @@ - - -'; - - // The ?fin20 part of this link is just here to make sure browsers don't cache it wrongly. - echo ' - - - '; - - // Some browsers need an extra stylesheet due to bugs/compatibility issues. - foreach (array('ie7', 'ie6', 'webkit') as $cssfix) - if ($context['browser']['is_' . $cssfix]) - echo ' - '; - - // RTL languages require an additional stylesheet. - if ($context['right_to_left']) - echo ' - '; - - // Here comes the JavaScript bits! - echo ' - - - - - - - - '; - - echo ' - - - - ', !empty($context['meta_keywords']) ? ' - ' : '', ' - ', $context['page_title_html_safe'], ''; - - // Please don't index these Mr Robot. - if (!empty($context['robot_no_index'])) - echo ' - '; - - // Present a canonical url for search engines to prevent duplicate content in their indices. - if (!empty($context['canonical_url'])) - echo ' - '; - - // Show all the relative links, such as help, search, contents, and the like. - echo ' - - - '; - - // If RSS feeds are enabled, advertise the presence of one. - if (!empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged'])) - echo ' - '; - - // If we're viewing a topic, these should be the previous and next topics, respectively. - if (!empty($context['current_topic'])) - echo ' - - '; - - // If we're in a board, or a topic for that matter, the index will be the board's index. - if (!empty($context['current_board'])) - echo ' - '; - - // Output any remaining HTML headers. (from mods, maybe?) - echo $context['html_headers']; - - echo ' - -'; -} - -function template_body_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings, $boardurl; - - echo' -
- '; - - template_menu(); - - // Define the upper_section toggle in JavaScript. - if(!empty($context['user']['is_logged'])) - echo ' - '; - echo ' - '; - - echo' - '; - - // The main content should go here. - echo ' -
-
'; - - - if ($context['canonical_url'] == ($boardurl . '/index.php' )) - { - if($context['user']['is_guest']) - { - display_guest_fish_equipper(); - } - else - { - display_daily_featured_item(); - } - } - -} - -function display_daily_featured_item() -{ - global $txt, $context, $boardurl; - - $item = dbGetDailyFeatureItem(); - $fakeInventory = array($item['id'] => $item); - - // add everything currently equipped to the required slots (ie. body and face) - foreach ($context['user']['inventory'] as $equippedItemId => $equippedItem) - { - if($equippedItem['is_equipped'] == false) - { - continue; - } - - if($item['equip_slot'] == $equippedItem['equip_slot']) - { - // skip items that have the same slot as the featured item - we want to preview it - continue; - } - - if(isSlotRequired($equippedItem['equip_slot'])) - { - $fakeInventory[$equippedItemId] = $equippedItem; - } - } - - $canAfford = $context['user']['coins'] >= $item['cost']; - - echo''; - - // header - echo '
-

',$txt['featured_item_title'],'

-
'; - - echo '
'; - - echo '

', $item['name_eng'] ,'

'; - echo ' -

',$txt['featured_item_cost'],'', ' ', number_format($item['cost']), '

'; - - if($context['user']['last_feature_purchase'] == date('Ymd')) - { - echo '

',$txt['featured_item_purchased'],'

'; - } - else if($canAfford) - { - echo '', $txt['featured_item_buy'],''; - } - else - { - echo '', $txt['featured_item_cant_afford'],''; - } - - - // TODO color the cost red if user can't afford it and grey out button - echo '
'; - echo '

', $txt['featured_item_preview'] ,'

'; - - // create the fish canvas - echo ' - - ', $txt['featured_item_preview'],''; - - // load the avatar - echo ''; - - echo '

'; -} - -function display_guest_fish_equipper() -{ - global $txt, $context, $boardurl; - - if(!isset($_SESSION['guest_inventory'])) - { - $_SESSION['guest_inventory'] = generateStarterInventory(); - } - - // header - echo '
-

',$txt['fish_demo_title'],'

-
'; - - echo '
'; - - // include a hidden field to trigger the validate function? - echo''; - // pass current inventory to js - echo''; - - // create the fish canvas - echo ' -
- ', $txt['fish_try_me'], '
- - ', $txt['fish_demo_title'],' -
'; - - // load the avatar - echo ''; - - // display only bodies first - echo '
', $txt['inv_body_type'], '
'; - foreach ($_SESSION['guest_inventory'] as $key => $value) { - if($value['equip_slot'] != EquipSlot::BodyBase) - { - continue; - } - display_guest_fish_equipper_icon_button($value); - } - - // and then faces - echo '
', $txt['inv_face_type'], '
'; - foreach ($_SESSION['guest_inventory'] as $key => $value) { - if($value['equip_slot'] != EquipSlot::FaceBase) - { - continue; - } - display_guest_fish_equipper_icon_button($value); - } - - - // display the rest of the equipment - echo '
', $txt['inv_equipment'], '
'; - foreach ($_SESSION['guest_inventory'] as $key => $value) { - if(isSlotRequired($value['equip_slot'])) - { - continue; - } - - display_guest_fish_equipper_icon_button($value); - } - - - echo '

'; - - // register call to action - echo - '', - $txt['fish_register_now_button'], '', $txt['fish_register_now_text']; - - echo '


'; - -} - -function display_guest_fish_equipper_icon_button($item) -{ - global $txt, $context, $boardurl; - - if($item['is_locked'] == false) - { - echo ''; - echo ''; - } - else - { - echo ''; - } - -} - -function template_body_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
-
'; - - // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! - echo ' -
- -
    -
  • ', theme_copyright(), '
  • -
  • Theme by SMFTricks
  • -
  • ', !empty($settings['redsy_copyright']) ? $settings['redsy_copyright'] : $context['forum_name'] .' ©' ,'
  • -
'; - - // Show the load time? - if ($context['show_load_time']) - echo ' -

', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '

'; - - echo ' -
- -
'; -} - -function template_html_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -'; -} - -// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. -function theme_linktree($force_show = false) -{ - global $context, $settings, $options, $shown_linktree; - - // If linktree is empty, just return - also allow an override. - if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show)) - return; - - echo ' - '; - - $shown_linktree = true; -} - -// Show the menu up top. Something like [home] [help] [profile] [logout]... -function template_menu() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - '; -} - -// Generate a strip of buttons. -function template_button_strip($button_strip, $direction = 'top', $strip_options = array()) -{ - global $settings, $context, $txt, $scripturl; - - if (!is_array($strip_options)) - $strip_options = array(); - - // List the buttons in reverse order for RTL languages. - if ($context['right_to_left']) - $button_strip = array_reverse($button_strip, true); - - // Create the buttons... - $buttons = array(); - foreach ($button_strip as $key => $value) - { - if (!isset($value['test']) || !empty($context[$value['test']])) - $buttons[] = ' -
  • ' . $txt[$value['text']] . '
  • '; - } - - // No buttons? No button strip either. - if (empty($buttons)) - return; - - // Make the last one, as easy as possible. - $buttons[count($buttons) - 1] = str_replace('', '', $buttons[count($buttons) - 1]); - - echo ' - '; -} -function pages_titlesdesc() -{ - global $context, $txt; - - echo '
    -

    ',$txt['website_title'],'

    -

    ',$txt['website_description'],'

    -
    '; - - -} -?> diff --git a/config/themes/Redsy/languages/Modifications.english.php b/config/themes/Redsy/languages/Modifications.english.php deleted file mode 100755 index 28195ea..0000000 --- a/config/themes/Redsy/languages/Modifications.english.php +++ /dev/null @@ -1,166 +0,0 @@ -%s from your topic for the following post:"; -$txt['ban_from_topic_reason'] = "Reason"; -$txt['ban_from_topic_submit'] = "Submit"; -$txt['ban_from_topic_return'] = "Return"; -$txt['ban_from_topic_back'] = "Back"; -$txt['ban_from_topic_success'] = "%s is now banned from your topic."; -$txt['ban_from_topic_fail'] = "Unable to ban %s from your topic."; -$txt['ban_from_topic_fail_reason_empty'] = "You must enter a reason."; -$txt['banned_from_topic_post_footer'] = "USER WAS BANNED FROM THIS TOPIC"; -$txt['banned_from_topic_post_failed'] = "You are banned from this topic."; - -// nicefish jan 27 2016 - fishpay -$txt['tip_for_message'] = "Tip"; -$txt['tip_for_message_form_body'] = "Tip %s for the following post:"; -$txt['tip_for_message_amount'] = "Coral"; -$txt['tip_for_message_submit'] = "Submit"; -$txt['tip_for_message_return'] = "Return"; -$txt['tip_for_message_back'] = "Back"; -$txt['tip_for_message_success'] = "Your transaction has been processed."; -$txt['tip_for_message_fail'] = "Unable to tip %s."; -$txt['tip_for_message_fail_invalidamount'] = "Invalid amount."; -$txt['tip_for_message_fail_cantafford'] = "Insufficient funds."; -$txt['tip_for_message_fail_item_noitem'] = "Please select an item to tip."; -$txt['tip_for_message_fail_item_notenough'] = "You do not have this item."; -$txt['tip_for_message_fail_item_bodyfacelimit'] = "You can't give away your last body or face base item."; -$txt['tip_for_message_fail_item_bodyfaceequipped'] = "You can't give away your currently equipped body or face base item."; -$txt['tip_for_message_post_footer'] = "%s TIPPED %d CORAL FOR THIS POST"; - -// Tip list page stuff -$txt['tip_list_title'] = "Recent Tips"; - -// Ban list -$txt['ban_list_title'] = "Recent Bans"; - -// Wetfish Captcha stuff -$txt['wetfish_captcha'] = 'Wetfish Captcha'; -$txt['error_wetfish_captcha'] = "Please complete the captcha!"; - -// inventory / fish equipper stuff -$txt['inv_fish_avatar'] = "Avatar"; -$txt['inv_items'] = "Items"; -$txt['inv_equipment'] = "Accessories"; -$txt['inv_body_type'] = "Body Type"; -$txt['inv_face_type'] = "Face Type"; -$txt['fish_avatar_img_alt'] = "%s's Avatar"; -$txt['fish_demo_title'] = "Demo"; -$txt['fish_try_me'] = "Customize this abomination"; -$txt['fish_register_now_button'] = "Register now"; -$txt['fish_register_now_text'] = " to unlock more accessories!"; -$txt['fish_avatar_item_locked'] = " (LOCKED)"; -$txt['permissionname_manage_items'] = "Manage items"; -$txt['permissionname_create_npc_shop'] = "Create NPC Shop Topics"; -$txt['manage_items'] = "Items"; -$txt['manage_items_search'] = "Search Items"; -$txt['manage_items_add_new'] = "New Item"; -$txt['manage_items_view_all'] = "View All Items"; -$txt['featured_item_title'] = "Featured Item"; -$txt['featured_item_cost'] = "Cost: "; -$txt['featured_item_buy'] = "Buy now"; -$txt['featured_item_preview'] = "Preview"; -$txt['featured_item_already_purchased'] = "You already purchased this item."; -$txt['featured_item_not_for_sale'] = "Item is not for sale."; -$txt['featured_item_cant_afford'] = "Not enough Coral"; -$txt['featured_item_fail'] = "Error purchasing item."; -$txt['featured_item_success'] = "You got %s."; -$txt['featured_item_edit_avatar'] = "Edit your avatar"; -$txt['featured_item_purchased'] = "Purchased!"; - -// currency stuff -$txt['coins'] = "Coral"; -$txt['coins_earn_' . CoinEarnReason::None] = "(+%s)"; -$txt['coins_earn_' . CoinEarnReason::Posting] = "(+%s for posting)"; -$txt['coins_earn_' . CoinEarnReason::Registration] = "(+%s for registering)"; - -// ItemTypes -$txt['item_type_' . ItemType::Equipment] = "Equipment"; - -// EquipSlots -$txt['item_equip_slot_' . EquipSlot::None] = "None"; -$txt['item_equip_slot_' . EquipSlot::BodyBase] = "Body Type"; -$txt['item_equip_slot_' . EquipSlot::FaceBase] = "Face Type"; -$txt['item_equip_slot_' . EquipSlot::Chest1] = "Chest (Under)"; -$txt['item_equip_slot_' . EquipSlot::Chest2] = "Chest (Over)"; -$txt['item_equip_slot_' . EquipSlot::Head1] = "Head (Hair)"; -$txt['item_equip_slot_' . EquipSlot::Head2] = "Head (Hat)"; -$txt['item_equip_slot_' . EquipSlot::Neck] = "Neck"; -$txt['item_equip_slot_' . EquipSlot::Legs1] = "Legs (Under)"; -$txt['item_equip_slot_' . EquipSlot::Legs2] = "Legs (Over)"; -$txt['item_equip_slot_' . EquipSlot::LeftHandHeld] = "Left Hand (Held)"; -$txt['item_equip_slot_' . EquipSlot::RightHandHeld] = "Right Hand (Held)"; -$txt['item_equip_slot_' . EquipSlot::Face1] = "Face (Mask)"; -$txt['item_equip_slot_' . EquipSlot::Face2] = "Face (Eyes)"; -$txt['item_equip_slot_' . EquipSlot::Face3] = "Mouth Type"; -$txt['item_equip_slot_' . EquipSlot::Face4] = "Mouth (Accessory)"; -$txt['item_equip_slot_' . EquipSlot::Hands] = "Hands"; -$txt['item_equip_slot_' . EquipSlot::Feet] = "Feet"; -$txt['item_equip_slot_' . EquipSlot::Back] = "Back"; -$txt['item_equip_slot_' . EquipSlot::Background1] = "Background1"; -$txt['item_equip_slot_' . EquipSlot::Background2] = "Background2"; -$txt['item_equip_slot_' . EquipSlot::Background3] = "Background3"; - -// ItemAvailabilitys -$txt['item_availability_' . ItemAvailability::Normal] = "Default"; -$txt['item_availability_' . ItemAvailability::StartingItem] = "Starting Item"; -$txt['item_availability_' . ItemAvailability::StartingItemLocked] = "Starting Item (Locked)"; -$txt['item_availability_' . ItemAvailability::DailyFeature] = "Daily Feature"; - -$txt['item_availability_desc_' . ItemAvailability::Normal] = "This item is only available through trading, npc shops, etc."; -$txt['item_availability_desc_' . ItemAvailability::StartingItem] = "All users start with this item and it is equippable on the demo avatar for guests."; -$txt['item_availability_desc_' . ItemAvailability::StartingItemLocked] = "All users start with this item and it is visible but locked for guests."; -$txt['item_availability_desc_' . ItemAvailability::DailyFeature] = "This item may randomly appear in the daily item sale."; - - -// admin panel for items -$txt['admin_new_item_name'] = "Item Name: "; -$txt['admin_new_item_type'] = "Item Type: "; -$txt['admin_new_item_slot'] = "Equip Slot: "; -$txt['admin_new_item_slot_desc'] = "Required if Item Type is Equipment"; -$txt['admin_new_item_img'] = "Primary Image"; -$txt['admin_new_item_img_desc'] = "120 x 150 PNG with alpha"; -$txt['admin_new_item_img_sec'] = "Secondary Image %d"; -$txt['admin_new_item_img_desc_sec'] = "Optional. 120 x 150 PNG with alpha"; -$txt['admin_new_item_layer_default'] = "Default"; -$txt['admin_new_item_layer'] = "Primary Image Override Layer"; -$txt['admin_new_item_layer_desc'] = "Higher layers are drawn last and appear on top."; -$txt['admin_new_item_layer_sec'] = "Secondary Image %d Override Layer"; -$txt['admin_new_item_layer_desc_sec'] = "Higher layers are drawn last and appear on top."; -$txt['admin_new_item_icon'] = "Icon"; -$txt['admin_new_item_icon_desc'] = "38 x 38 PNG with alpha"; -$txt['admin_new_item_can_delete'] = "Removable"; -$txt['admin_new_item_can_delete_desc'] = "Users can remove this item from their inventory"; -$txt['admin_new_item_cost'] = "Cost"; -$txt['admin_new_item_cost_desc'] = "The price for this item in Sand Dollars"; -$txt['admin_new_item_availability'] = "Availability"; -$txt['admin_new_item_availability_desc'] = "How users obtain this item"; -$txt['admin_new_item_submit'] = "Submit"; -$txt['admin_new_item_success'] = "Successfully added new item!"; -$txt['admin_new_item_fail'] = "Failed to add new item."; -$txt['admin_new_item_fail_upload_error'] = "Upload failed"; -$txt['admin_new_item_fail_unknown_type'] = "Unknown file type"; -$txt['admin_new_item_fail_invalid_type'] = "Invalid file type"; -$txt['admin_new_item_fail_name_empty'] = "Item name required"; - -// npc shops -$txt['npc_shop_item_id'] = "Item ID"; -$txt['npc_shop_expire_time'] = "Expire Time"; -$txt['npc_shop_expire_time_desc'] = "(-1 = No expiry)"; -$txt['npc_shop_free'] = "Free!"; -$txt['npc_shop_already_own_free_item'] = "Got it"; -$txt['npc_shop_get_free_item'] = "Get it"; -$txt['npc_shop_expires_on'] = "Offer expires on %s"; -$txt['npc_shop_expired_on'] = "Offer expired on %s"; -$txt['buy_item_title'] = "Buy Item"; -$txt['npc_shop_already_own_free_item_fail'] = "You already own this item"; - -// misc -$txt['website_title'] = "Wetfish Online"; -$txt['website_description'] = "A little forum where you earn coral, dress up a cute fish avatar, and can ban anybody from topics that you create"; -$txt['chat'] = "Chat"; -?> \ No newline at end of file diff --git a/config/themes/Redsy/languages/Settings.english.php b/config/themes/Redsy/languages/Settings.english.php deleted file mode 100755 index 08fdc88..0000000 --- a/config/themes/Redsy/languages/Settings.english.php +++ /dev/null @@ -1,6 +0,0 @@ -
    Author: Daniiel'; -?> \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.english-utf8.php b/config/themes/Redsy/languages/ThemeStrings.english-utf8.php deleted file mode 100755 index 0c9a5dc..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.english-utf8.php +++ /dev/null @@ -1,25 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.english.php b/config/themes/Redsy/languages/ThemeStrings.english.php deleted file mode 100755 index 516c22a..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.english.php +++ /dev/null @@ -1,25 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.spanish_es-utf8.php b/config/themes/Redsy/languages/ThemeStrings.spanish_es-utf8.php deleted file mode 100755 index e5e7bc2..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.spanish_es-utf8.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.spanish_es.php b/config/themes/Redsy/languages/ThemeStrings.spanish_es.php deleted file mode 100755 index fe55267..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.spanish_es.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.spanish_latin-utf8.php b/config/themes/Redsy/languages/ThemeStrings.spanish_latin-utf8.php deleted file mode 100755 index e5e7bc2..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.spanish_latin-utf8.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/languages/ThemeStrings.spanish_latin.php b/config/themes/Redsy/languages/ThemeStrings.spanish_latin.php deleted file mode 100755 index fe55267..0000000 --- a/config/themes/Redsy/languages/ThemeStrings.spanish_latin.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/Redsy/license.txt b/config/themes/Redsy/license.txt deleted file mode 100755 index bcf5394..0000000 --- a/config/themes/Redsy/license.txt +++ /dev/null @@ -1,7 +0,0 @@ -Copyright © 2015 by SMFTricks - -Theme by Daniiel -http://www.simplemachines.org/community/index.php?action=profile;u=269838 -http://smftricks.com/index.php?action=profile;u=2 Daniel -- You are allowed to edit any parts of theme, without authors knowledge, but you can't redistributate it, share it or sell it. -- You are not allowed to change authors Copyright. \ No newline at end of file diff --git a/config/themes/Redsy/scripts/bootstrap.min.js b/config/themes/Redsy/scripts/bootstrap.min.js deleted file mode 100755 index 2209f3d..0000000 --- a/config/themes/Redsy/scripts/bootstrap.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * Bootstrap v3.3.2 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/*! - * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=dfe8c23f60c3b4da3578) - * Config saved to config.json and https://gist.github.com/dfe8c23f60c3b4da3578 - */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var s=t(this),o=s.data("bs.button"),n="object"==typeof e&&e;o||s.data("bs.button",o=new i(this,n)),"toggle"==e?o.toggle():e&&o.setState(e)})}var i=function(e,s){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,s),this.isLoading=!1};i.VERSION="3.3.2",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",s=this.$element,o=s.is("input")?"val":"html",n=s.data();e+="Text",null==n.resetText&&s.data("resetText",s[o]()),setTimeout(t.proxy(function(){s[o](null==n[e]?this.options[e]:n[e]),"loadingText"==e?(this.isLoading=!0,s.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,s.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var s=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=s,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var s=t(i.target);s.hasClass("btn")||(s=s.closest(".btn")),e.call(s,"toggle"),i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(o).remove(),t(n).each(function(){var s=t(this),o=i(s),n={relatedTarget:this};o.hasClass("open")&&(o.trigger(e=t.Event("hide.bs.dropdown",n)),e.isDefaultPrevented()||(s.attr("aria-expanded","false"),o.removeClass("open").trigger("hidden.bs.dropdown",n)))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var s=i&&t(i);return s&&s.length?s:e.parent()}function s(e){return this.each(function(){var i=t(this),s=i.data("bs.dropdown");s||i.data("bs.dropdown",s=new a(this)),"string"==typeof e&&s[e].call(i)})}var o=".dropdown-backdrop",n='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.2",a.prototype.toggle=function(s){var o=t(this);if(!o.is(".disabled, :disabled")){var n=i(o),a=n.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&t(''; - } - - // Show the anchor for the top and for the first message. If the first message is new, say so. - echo ' - -', $context['first_new_message'] ? '' : ''; - - // Is this topic also a poll? - if ($context['is_poll']) - { - echo ' -
    -

    - ', $txt['poll'], ' -

    -

    - ', $context['poll']['question'], ' -

    -
    '; - - // Are they not allowed to vote but allowed to view the options? - if ($context['poll']['show_results'] || !$context['allow_vote']) - { - echo ' -
    '; - - // Show each option with its corresponding percentage bar. - foreach ($context['poll']['options'] as $option) - echo ' -
    ', $option['option'], '
    -
    ', $context['allow_poll_view'] ? $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)' : '', '
    '; - - echo ' -
    '; - - if ($context['allow_poll_view']) - echo ' -

    ', $txt['poll_total_voters'], ': ', $context['poll']['total_votes'], '

    '; - - } - // They are allowed to vote! Go to it! - else - { - echo ' -
    '; - - // Show a warning if they are allowed more than one option. - if ($context['poll']['allowed_warning']) - echo ' -

    ', $context['poll']['allowed_warning'], '

    '; - - echo ' -
      '; - - // Show each option with its button - a radio likely. - foreach ($context['poll']['options'] as $option) - echo ' -
    • ', $option['vote_button'], '
    • '; - - echo ' -
    - -
    - - -
    -
    '; - } - - // Is the clock ticking? - if (!empty($context['poll']['expire_time'])) - echo ' -

    ', ($context['poll']['is_expired'] ? $txt['poll_expired_on'] : $txt['poll_expires_on']), ': ', $context['poll']['expire_time'], '

    '; - - echo ' -
    -
    -
    '; - - // Build the poll moderation button array. - $poll_buttons = array( - 'vote' => array('test' => 'allow_return_vote', 'text' => 'poll_return_vote', 'image' => 'poll_options.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start']), - 'results' => array('test' => 'show_view_results_button', 'text' => 'poll_results', 'image' => 'poll_results.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start'] . ';viewresults'), - 'change_vote' => array('test' => 'allow_change_vote', 'text' => 'poll_change_vote', 'image' => 'poll_change_vote.gif', 'lang' => true, 'url' => $scripturl . '?action=vote;topic=' . $context['current_topic'] . '.' . $context['start'] . ';poll=' . $context['poll']['id'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'allow_lock_poll', 'text' => (!$context['poll']['is_locked'] ? 'poll_lock' : 'poll_unlock'), 'image' => 'poll_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lockvoting;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'edit' => array('test' => 'allow_edit_poll', 'text' => 'poll_edit', 'image' => 'poll_edit.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;topic=' . $context['current_topic'] . '.' . $context['start']), - 'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - template_button_strip($poll_buttons); - - echo ' -

    '; - } - - // Does this topic have some events linked to it? - if (!empty($context['linked_calendar_events'])) - { - echo ' -
    -

    ', $txt['calendar_linked_events'], '

    -
    -
      '; - - foreach ($context['linked_calendar_events'] as $event) - echo ' -
    • - ', ($event['can_edit'] ? '* ' : ''), '', $event['title'], ': ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), ' -
    • '; - - echo ' -
    -
    -
    '; - } - - // Build the normal button array. - $normal_buttons = array( - 'reply' => array('test' => 'can_reply', 'text' => 'reply', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';last_msg=' . $context['topic_last_message']), - 'add_poll' => array('test' => 'can_add_poll', 'text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start']), - 'notify' => array('test' => 'can_mark_notify', 'text' => ($context['is_marked_notify'] ? 'unnotify' : 'notify'), 'image' => ($context['is_marked_notify'] ? 'un' : ''). 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');"', 'url' => $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'mark_unread' => array('test' => 'can_mark_unread', 'text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'send' => array('test' => 'can_send_topic', 'text' => 'send_topic', 'image' => 'sendtopic.gif', 'lang' => true, 'url' => $scripturl . '?action=emailuser;sa=sendtopic;topic=' . $context['current_topic'] . '.0'), - 'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'), - ); - - // Allow adding new buttons easily. - call_integration_hook('integrate_display_buttons', array(&$normal_buttons)); - - // Show the page index... "Pages: [1]". - echo ' -
    - -
    ', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '   ' . $txt['go_down'] . '' : '', '
    - -
    '; - - // Show the topic information - icon, subject, etc. - echo ' -
    -

    - - ', $txt['author'], ' - ', $txt['topic'], ': ', $context['subject'], '  (', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ') -

    '; - - if (!empty($settings['display_who_viewing'])) - { - echo ' -
    '; - - // Show just numbers...? - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members']; - // Or show the actual people viewing the topic? - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - - // Now show how many guests are here too. - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], ' -
    '; - } - - echo ' -
    '; - - // These are some cache image buttons we may want. - $reply_button = create_button('quote.gif', 'reply', 'quote', 'align="middle"'); - $modify_button = create_button('modify.gif', 'modify', 'modify', 'align="middle"'); - $remove_button = create_button('delete.gif', 'remove', 'remove', 'align="middle"'); - $split_button = create_button('split.gif', 'split', 'split', 'align="middle"'); - $approve_button = create_button('approve.gif', 'approve', 'approve', 'align="middle"'); - $restore_message_button = create_button('restore_topic.gif', 'restore_message', 'restore_message', 'align="middle"'); - - $ignoredMsgs = array(); - $removableMessageIDs = array(); - - // Get all the messages... - while ($message = $context['get_message']()) - { - $is_first_post = !isset($is_first_post) ? true : false; - $ignoring = false; - if ($message['can_remove']) - $removableMessageIDs[] = $message['id']; - - echo ' -
    '; - - // Are we ignoring this message? - if (!empty($message['is_ignored'])) - { - $ignoring = true; - $ignoredMsgs[] = $message['id']; - } - - // Show the message anchor and a "new" anchor if this message is new. - if ($message['id'] != $context['first_message']) - echo ' - ', $message['first_new'] ? '' : ''; - - echo ' -
    '; - - // Show information about the poster of this message. - echo ' -
    -

    ', $message['member']['link'], '

    -
      '; - - // Show the member's custom title, if they have one. - if (isset($message['member']['title']) && $message['member']['title'] != '') - echo ' -
    • ', $message['member']['title'], '
    • '; - - // Show the member's primary group (like 'Administrator') if they have one. - if (isset($message['member']['group']) && $message['member']['group'] != '') - echo ' -
    • ', $message['member']['group'], '
    • '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - // Show the post group if and only if they have no other group or the option is on, and they are in a post group. - if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '') - echo ' -
    • ', $message['member']['post_group'], '
    • '; - echo ' -
    • ', $message['member']['group_stars'], '
    • '; - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
    • ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
    • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
    • ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
    • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
    • - ', $modSettings['karmaApplaudLabel'], ' - ', $modSettings['karmaSmiteLabel'], ' -
    • '; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable'])) - echo ' -
    • ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $message['member']['online']['text'] . '' : $message['member']['online']['text'], $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? ' ' . $message['member']['online']['text'] . '' : '', '
    • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
    • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
    • '; - - // Show how many posts they have made. - if (!isset($context['disabled_fields']['posts'])) - echo ' -
    • ', $txt['member_postcount'], ': ', $message['member']['posts'], '
    • '; - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) && !empty($custom['value'])) - echo ' -
    • ', $custom['title'], ': ', $custom['value'], '
    • '; - } - - // Show avatars, images, etc.? - if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - echo ' -
    • ', $message['member']['avatar']['image'], '
    • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
    • ', $message['member']['blurb'], '
    • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    • -
        '; - } - echo ' -
      • ', $custom['value'], '
      • '; - } - if ($shown) - echo ' -
      -
    • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
    • -
        - ', !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? '
      • ' . $message['member']['icq']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? '
      • ' . $message['member']['msn']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? '
      • ' . $message['member']['aim']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '
      • ' . $message['member']['yim']['link'] . '
      • ' : '', ' -
      -
    • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
    • - -
    • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
    • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
    • '; - } - // Otherwise, show the guest's email. - elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum'))) - echo ' -
    • ', ($settings['use_image_buttons'] ? '' . $txt['email'] . '' : $txt['email']), '
    • '; - - // Done with the information about the poster... on to the post itself. - echo ' -
    -
    -
    -
    -
    -
    -
    - ', $message['subject'], ' -
    -
    « ', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ': ', $message['time'], ' »
    -
    -
    '; - - // If this is the first post, (#0) just say when it was posted - otherwise give the reply #. - if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg']) - echo ' -
      '; - - // Maybe we can approve it, maybe we should? - if ($message['can_approve']) - echo ' -
    • ', $approve_button, '
    • '; - - // Can they reply? Have they turned on quick reply? - if ($context['can_quote'] && !empty($options['display_quick_reply'])) - echo ' -
    • ', $reply_button, '
    • '; - - // So... quick reply is off, but they *can* reply? - elseif ($context['can_quote']) - echo ' -
    • ', $reply_button, '
    • '; - - // Can the user modify the contents of this post? - if ($message['can_modify']) - echo ' -
    • ', $modify_button, '
    • '; - - // How about... even... remove it entirely?! - if ($message['can_remove']) - echo ' -
    • ', $remove_button, '
    • '; - - // What about splitting it off the rest of the topic? - if ($context['can_split'] && !empty($context['real_num_replies'])) - echo ' -
    • ', $split_button, '
    • '; - - // Can we restore topics? - if ($context['can_restore_msg']) - echo ' -
    • ', $restore_message_button, '
    • '; - - // Show a checkbox for quick moderation? - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove']) - echo ' - '; - - if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg']) - echo ' -
    '; - - echo ' -
    '; - - // Ignoring this user? Hide the post. - if ($ignoring) - echo ' -
    - ', $txt['ignoring_user'], ' - -
    '; - - // Show the post itself, finally! - echo ' -
    -
    '; - - if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id']) - echo ' -
    - ', $txt['post_awaiting_approval'], ' -
    '; - echo ' -
    ', $message['body'], '
    -
    ', $message['can_modify'] ? ' - ' : ''; - - // Assuming there are attachments... - if (!empty($message['attachment'])) - { - // Now for the attachments, signature, ip logged, etc... - echo ' - '; - } - - echo ' -
    -
    -
    '; - - // Show "« Last Edit: Time by Person »" if this post was edited. - if ($settings['show_modify'] && !empty($message['modified']['name'])) - echo ' - « ', $txt['last_edit'], ': ', $message['modified']['time'], ' ', $txt['by'], ' ', $message['modified']['name'], ' »'; - - echo ' -
    -
    '; - - // Maybe they want to report this post to the moderator(s)? - if ($context['can_report_moderator']) - echo ' - ', $txt['report_to_mod'], '  '; - - // Can we issue a warning because of this post? Remember, we can't give guests warnings. - if ($context['can_issue_warning'] && !$message['is_message_author'] && !$message['member']['is_guest']) - echo ' - ', $txt['issue_warning_post'], ''; - echo ' - '; - - // Show the IP to this user for this post - because you can moderate? - if ($context['can_moderate_forum'] && !empty($message['member']['ip'])) - echo ' - ', $message['member']['ip'], ' (?)'; - // Or, should we show it because this is you? - elseif ($message['can_see_ip']) - echo ' - ', $message['member']['ip'], ''; - // Okay, are you at least logged in? Then we can show something about why IPs are logged... - elseif (!$context['user']['is_guest']) - echo ' - ', $txt['logged'], ''; - // Otherwise, you see NOTHING! - else - echo ' - ', $txt['logged']; - - echo ' -
    '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    -
      ', $message['member']['signature'], '
    '; - - echo ' -
    -
    -
    '; - } - - echo ' -
    '; - echo ' -
    -'; - - echo ' -
    - -
    ', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '   ' . $txt['go_up'] . '' : '', '
    -
    ', $context['previous_next'], '
    -
    '; - - // Show the lower breadcrumbs. - theme_linktree(); - - $mod_buttons = array( - 'move' => array('test' => 'can_move', 'text' => 'move_topic', 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0'), - 'delete' => array('test' => 'can_delete', 'text' => 'remove_topic', 'image' => 'admin_rem.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['are_sure_remove_topic'] . '\');"', 'url' => $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'can_lock', 'text' => empty($context['is_locked']) ? 'set_lock' : 'set_unlock', 'image' => 'admin_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_sticky']) ? 'set_sticky' : 'set_nonsticky', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'merge' => array('test' => 'can_merge', 'text' => 'merge', 'image' => 'merge.gif', 'lang' => true, 'url' => $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic']), - 'calendar' => array('test' => 'calendar_post', 'text' => 'calendar_link', 'image' => 'linktocal.gif', 'lang' => true, 'url' => $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0'), - ); - - // Restore topic. eh? No monkey business. - if ($context['can_restore_topic']) - $mod_buttons[] = array('text' => 'restore_topic', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=restoretopic;topics=' . $context['current_topic'] . ';' . $context['session_var'] . '=' . $context['session_id']); - - // Allow adding new mod buttons easily. - call_integration_hook('integrate_mod_buttons', array(&$mod_buttons)); - - echo ' -
    ', template_button_strip($mod_buttons, 'bottom', array('id' => 'moderationbuttons_strip')), '
    '; - - // Show the jumpto box, or actually...let Javascript do it. - echo ' -
    -
     
    -

    '; - - if ($context['can_reply'] && !empty($options['display_quick_reply'])) - { - echo ' - -
    '; - - echo ' -

    - - + - - ', $txt['quick_reply'], ' -

    - -
    '; - } - - if ($context['show_spellchecking']) - echo ' -
    -'; - - echo ' - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/core/GenericMenu.template.php b/config/themes/core/GenericMenu.template.php deleted file mode 100755 index bee7ca0..0000000 --- a/config/themes/core/GenericMenu.template.php +++ /dev/null @@ -1,375 +0,0 @@ - -
    - '; - - // What one are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - // For every section that appears on the sidebar... - $firstSection = true; - foreach ($menu_context['sections'] as $section) - { - // Show the section header - and pump up the line spacing for readability. - echo ' -
    -
    -

    '; - - if ($firstSection && !empty($menu_context['can_toggle_drop_down'])) - { - echo ' - ', $section['title'],' - ! - '; - } - - else - { - echo ' - ', $section['title']; - } - - echo ' -

    -
    -
      '; - - // For every area of this section show a link to that area (bold if it's currently selected.) - foreach ($section['areas'] as $i => $area) - { - // Not supposed to be printed? - if (empty($area['label'])) - continue; - - echo ' -
    • '; - - // Is this the current area, or just some area? - if ($i == $menu_context['current_area']) - { - echo ' - ', $area['label'], ''; - - if (empty($context['tabs'])) - $context['tabs'] = isset($area['subsections']) ? $area['subsections'] : array(); - } - else - echo ' - ', $area['label'], ''; - - echo ' -
    • '; - } - - echo ' -
    -
    '; - - $firstSection = false; - } - - // This is where the actual "main content" area for the admin section starts. - echo ' -
    -
    '; - - // If there are any "tabs" setup, this is the place to shown them. - //!!! Clean this up! - if (!empty($context['tabs']) && empty($context['force_disable_tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the sidebar layer - closes off the main bit. -function template_generic_menu_sidebar_below() -{ - global $context, $settings, $options; - - echo ' -
    -
    '; -} - -// This contains the html for the side bar of the admin center, which is used for all admin pages. -function template_generic_menu_dropdown_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Which menu are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - if (!empty($menu_context['can_toggle_drop_down'])) - echo ' - '; - - echo ' -
    -
    '; - - // This is the main table - we need it so we can keep the content to the right of it. - echo ' -
    '; - - // It's possible that some pages have their own tabs they wanna force... - if (!empty($context['tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the admin layer - used with admin_above to close the table started in it. -function template_generic_menu_dropdown_below() -{ - global $context, $settings, $options; - - echo ' -
    '; -} - -// Some code for showing a tabbed view. -function template_generic_menu_tabs(&$menu_context) -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Handy shortcut. - $tab_context = &$menu_context['tab_data']; - - // Right to left tabs should be in reverse order. - if ($context['right_to_left']) - $tab_context['tabs'] = array_reverse($tab_context['tabs'], true); - - // Exactly how many tabs do we have? - foreach ($context['tabs'] as $id => $tab) - { - // Can this not be accessed? - if (!empty($tab['disabled'])) - { - $tab_context['tabs'][$id]['disabled'] = true; - continue; - } - - // Did this not even exist - or do we not have a label? - if (!isset($tab_context['tabs'][$id])) - $tab_context['tabs'][$id] = array('label' => $tab['label']); - elseif (!isset($tab_context['tabs'][$id]['label'])) - $tab_context['tabs'][$id]['label'] = $tab['label']; - - // Has a custom URL defined in the main admin structure? - if (isset($tab['url']) && !isset($tab_context['tabs'][$id]['url'])) - $tab_context['tabs'][$id]['url'] = $tab['url']; - // Any additional paramaters for the url? - if (isset($tab['add_params']) && !isset($tab_context['tabs'][$id]['add_params'])) - $tab_context['tabs'][$id]['add_params'] = $tab['add_params']; - // Has it been deemed selected? - if (!empty($tab['is_selected'])) - $tab_context['tabs'][$id]['is_selected'] = true; - // Does it have its own help? - if (!empty($tab['help'])) - $tab_context['tabs'][$id]['help'] = $tab['help']; - // Is this the last one? - if (!empty($tab['is_last']) && !isset($tab_context['override_last'])) - $tab_context['tabs'][$id]['is_last'] = true; - } - - // Find the selected tab - foreach ($tab_context['tabs'] as $sa => $tab) - if (!empty($tab['is_selected']) || (isset($menu_context['current_subsection']) && $menu_context['current_subsection'] == $sa)) - { - $selected_tab = $tab; - $tab_context['tabs'][$sa]['is_selected'] = true; - } - - echo ' -
    -

    '; - - // Show a help item? - if (!empty($selected_tab['help']) || !empty($tab_context['help'])) - echo ' - ', $txt['help'], ' '; - - echo ' - ', $tab_context['title'], ' -

    '; - - // Shall we use the tabs? - if (!empty($settings['use_tabs'])) - { - echo ' -
    - ', !empty($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], ' -
    '; - - echo ' -
    -
    -
    -
      '; - - // Print out all the items in this tab. - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['disabled'])) - continue; - - if (!empty($tab['is_selected'])) - { - echo ' -
    • - - - ', $tab['label'], ' - - -
    • '; - } - else - echo ' - - - ', $tab['label'], ' - - '; - } - - // the end of tabs - echo ' -
    -

    -
    '; - } - // ...if not use the old style - else - { - echo ' -
    '; - - // Print out all the items in this tab. - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['disabled'])) - continue; - - if (!empty($tab['is_selected'])) - { - echo ' - * ', $tab['label'], ''; - } - else - echo ' - ', $tab['label'], ''; - - if (empty($tab['is_last'])) - echo ' | '; - } - - echo ' -
    -
    - ', isset($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], ' -
    - - '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/core/Memberlist.template.php b/config/themes/core/Memberlist.template.php deleted file mode 100755 index 4aebdfe..0000000 --- a/config/themes/core/Memberlist.template.php +++ /dev/null @@ -1,203 +0,0 @@ - array('text' => 'view_all_members', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist' . ';sa=all', 'active' => true), - 'mlist_search' => array('text' => 'mlist_search', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist;sa=search'), - ); - - echo ' -
    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    - ', template_button_strip($memberlist_buttons, 'bottom'), ' -
    '; - - echo ' -
    -

    - ', $txt['members_list'], ''; - if (!isset($context['old_search'])) - echo ' - ', $context['letter_links'], ''; - echo ' -

    - - - '; - - // Display each of the column headers of the table. - foreach ($context['columns'] as $column) - { - // We're not able (through the template) to sort the search results right now... - if (isset($context['old_search'])) - echo ' - '; - // This is a selected column, so underline it or some such. - elseif ($column['selected']) - echo ' - '; - // This is just some column... show the link and be done with it. - else - echo ' - '; - } - echo ' - - - '; - - // Assuming there are members loop through each one displaying their data. - if (!empty($context['members'])) - { - foreach ($context['members'] as $member) - { - echo ' - - - - '; - - if (!isset($context['disabled_fields']['website'])) - echo ' - '; - - // ICQ? - if (!isset($context['disabled_fields']['icq'])) - echo ' - '; - - // AIM? - if (!isset($context['disabled_fields']['aim'])) - echo ' - '; - - // YIM? - if (!isset($context['disabled_fields']['yim'])) - echo ' - '; - - // MSN? - if (!isset($context['disabled_fields']['msn'])) - echo ' - '; - - // Group and date. - echo ' - - '; - - if (!isset($context['disabled_fields']['posts'])) - echo ' - - '; - - echo ' - '; - } - } - // No members? - else - echo ' - - - '; - - // Show the page numbers again. (makes 'em easier to find!) - echo ' - -
    - ', $column['label'], ' - ' . $column['label'] . ' - ', $column['link'], '
    - ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $member['online']['text'] . '' : $member['online']['label'], $context['can_send_pm'] ? '' : '', ' - ', $member['link'], '', $member['show_email'] == 'no' ? '' : '' . $txt['email'] . '', '', $member['website']['url'] != '' ? '' . $member['website']['title'] . '' : '', '', $member['icq']['link'], '', $member['aim']['link'], '', $member['yim']['link'], '', $member['msn']['link'], '', empty($member['group']) ? $member['post_group'] : $member['group'], '', $member['registered_date'], '', $member['posts'], ' - ', $member['posts'] > 0 ? '' : '', ' -
    ', $txt['search_no_results'], '
    -
    '; - - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - // If it is displaying the result of a search show a "search again" link to edit their criteria. - if (isset($context['old_search'])) - echo ' - '; - echo ' -
    -
    '; -} - -// A page allowing people to search the member list. -function template_search() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Build the memberlist button array. - $membersearch_buttons = array( - 'view_all_members' => array('text' => 'view_all_members', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist;sa=all'), - 'mlist_search' => array('text' => 'mlist_search', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist;sa=search', 'active' => true), - ); - - // Start the submission form for the search! - echo ' -
    -
    -
    - ', template_button_strip($membersearch_buttons, 'right'), ' -
    -
    -

    - ', !empty($settings['use_buttons']) ? '' : '', $txt['mlist_search'], ' -

    '; - - // Display the input boxes for the form. - echo ' -
    - - - ', $txt['search_for'], ': - - '; - - $count = 0; - foreach ($context['search_fields'] as $id => $title) - { - echo ' -
    '; - // Halfway through? - if (round(count($context['search_fields']) / 2) == ++$count) - echo ' -
    - '; - } - echo ' - -
    -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/core/MessageIndex.template.php b/config/themes/core/MessageIndex.template.php deleted file mode 100755 index 1a3c0c3..0000000 --- a/config/themes/core/MessageIndex.template.php +++ /dev/null @@ -1,506 +0,0 @@ -'; - - if (!empty($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) - { - echo ' -
    - - - - '; - - foreach ($context['boards'] as $board) - { - echo ' - - - '; - - // If the board or children is new, show an indicator. - if ($board['new'] || $board['children_new']) - echo ' - ', $txt['new_posts'], ''; - // Is it a redirection board? - elseif ($board['is_redirect']) - echo ' - *'; - // No new posts at all! The agony!! - else - echo ' - ', $txt['old_posts'], ''; - - echo ' - - - - - ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
    - ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], ' - - '; - - /* The board's and children's 'last_post's have: - time, timestamp (a number that represents the time.), id (of the post), topic (topic id.), - link, href, subject, start (where they should go for the first unread post.), - and member. (which has id, name, link, href, username in it.) */ - if (!empty($board['last_post']['id'])) - echo ' - ', $txt['last_post'], ' ', $txt['by'], ' ', $board['last_post']['member']['link'] , '
    - ', $txt['in'], ' ', $board['last_post']['link'], '
    - ', $txt['on'], ' ', $board['last_post']['time']; - echo ' - -
    '; - - // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) - if (!empty($board['children'])) - { - // Sort the links into an array with new boards bold so it can be imploded. - $children = array(); - /* Each child in each board's children has: - id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */ - foreach ($board['children'] as $child) - { - if (!$child['is_redirect']) - $child['link'] = '' . $child['name'] . ''; - else - $child['link'] = '' . $child['name'] . ''; - - // Has it posts awaiting approval? - if ($child['can_approve_posts'] && ($child['unapproved_posts'] || $child['unapproved_topics'])) - $child['link'] .= ' (!)'; - - $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; - } - echo ' - - - '; - } - } - echo ' -
    ', $txt['parent_boards'], '
    -

    ', $board['name'], ''; - - // Has it outstanding posts for approval? - if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) - echo ' - (!)'; - - echo ' -

    -

    ', $board['description'] , '

    '; - - // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) - if (!empty($board['moderators'])) - echo ' -

    ', count($board['moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '

    '; - - // Show some basic information about the number of posts, etc. - echo ' -
    ', $txt['parent_boards'], ': ', implode(', ', $children), '
    -
    '; - } - - if (!empty($options['show_board_desc']) && $context['description'] != '') - { - echo ' -
    -
    ', $context['description'], '
    -
    '; - } - - // Create the button set... - $normal_buttons = array( - 'new_topic' => array('test' => 'can_post_new', 'text' => 'new_topic', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0'), - 'post_poll' => array('test' => 'can_post_poll', 'text' => 'new_poll', 'image' => 'new_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll'), - 'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : '') . 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');"', 'url' => $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'markread' => array('text' => 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - ); - - // They can only mark read if they are logged in and it's enabled! - if (!$context['user']['is_logged'] || !$settings['show_mark_read']) - unset($normal_buttons['markread']); - - // Allow adding new buttons easily. - call_integration_hook('integrate_messageindex_buttons', array(&$normal_buttons)); - - if (!$context['no_topic_listing']) - { - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '  ' . $txt['go_down'] . '' : '', '
    - ', template_button_strip($normal_buttons, 'bottom'), ' -
    '; - - // If Quick Moderation is enabled start the form. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' -
    '; - - echo ' -
    - '; - - // Are there actually any topics to show? - if (!empty($context['topics'])) - { - echo ' - - - - - - - - '; - - // Show a "select all" box for quick moderation? - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1) - echo ' - '; - // If it's on in "image" mode, don't show anything but the column. - elseif (!empty($context['can_quick_mod'])) - echo ' - '; - echo ' - - '; - } - echo ' - '; - - if (!empty($settings['display_who_viewing'])) - { - echo ' - - - '; - } - - // If this person can approve items and we have some awaiting approval tell them. - if (!empty($context['unapproved_posts_message'])) - { - echo ' - - - '; - } - - // No topics.... just say, "sorry bub". - if (empty($context['topics'])) - echo ' - - - '; - - foreach ($context['topics'] as $topic) - { - // Do we want to separate the sticky and lock status out? - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'sticky') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_sticky')); - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'locked') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_locked')); - - // Is this topic pending approval, or does it have any posts pending approval? - if ($context['can_approve_posts'] && $topic['unapproved_posts']) - $color_class = !$topic['approved'] ? 'approvetbg' : 'approvebg'; - // Sticky topics should get a different color, too. - elseif ($topic['is_sticky'] && !empty($settings['separate_sticky_lock'])) - $color_class = 'windowbg3'; - // Last, but not least: regular topics. - else - $color_class = 'windowbg'; - - // Some columns require a different shade of the color class. - $alternate_class = 'windowbg2'; - - echo ' - - - - - - - - '; - - // Show the quick moderation options? - if (!empty($context['can_quick_mod'])) - { - echo ' - '; - } - echo ' - '; - } - - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) - { - echo ' - - - '; - } - - echo ' - -
     ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', '', $txt['started_by'], $context['sort_by'] == 'starter' ? ' ' : '', '', $txt['replies'], $context['sort_by'] == 'replies' ? ' ' : '', '', $txt['views'], $context['sort_by'] == 'views' ? ' ' : '', '', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', ' - -  
    '; - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members']; - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) or $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], ' -
    - ! ', $context['unapproved_posts_message'], ' -
    ', $txt['msg_alert_none'], '
    - - - - '; - - if (!empty($settings['separate_sticky_lock'])) - echo ' - ', $topic['is_locked'] ? '' : '', ' - ', $topic['is_sticky'] ? '' : ''; - - echo ' - ', $topic['is_sticky'] ? '' : '', '', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '', $topic['is_sticky'] ? '' : ''; - - // Is this topic new? (assuming they are logged in!) - if ($topic['new'] && $context['user']['is_logged']) - echo ' - ', $txt['new'], ''; - - echo ' - ', $topic['pages'], ' - - ', $topic['first_post']['member']['link'], ' - - ', $topic['replies'], ' - - ', $topic['views'], ' - - ', $txt['last_post'], ' - - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    -
    '; - if ($options['display_quick_mod'] == 1) - echo ' - '; - else - { - // Check permissions on each and show only the ones they are allowed to use. - if ($topic['quick_mod']['remove']) - echo '', $txt['remove_topic'], ''; - - if ($topic['quick_mod']['lock']) - echo '', $txt['set_lock'], ''; - - if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) - echo '
    '; - - if ($topic['quick_mod']['sticky']) - echo '', $txt['set_sticky'], ''; - - if ($topic['quick_mod']['move']) - echo '', $txt['move_topic'], ''; - } - echo ' -
    - '; - - // Show a list of boards they can move the topic to. - if ($context['can_move']) - { - echo ' - '; - } - - echo ' - -
    -
    - '; - - // Finish off the form - again. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' - -
    '; - - echo ' -
    - ', template_button_strip($normal_buttons, 'top'), ' -
    ' . $txt['pages'] . ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '  ' . $txt['go_up'] . '' : '', '
    -
    '; - } - - // Show breadcrumbs at the bottom too. - echo ' -
    ', theme_linktree(), '
    '; - - echo ' -
    -
    -

     

    '; - - if (!$context['no_topic_listing']) - echo ' -
    -
      - ', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? ' -
    • ' . $txt['participation_caption'] . '
    • ' : '', ' -
    • ' . $txt['normal_topic'] . '
    • -
    • ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
    • -
    • ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
    • -
    -
    -
    -
      -
    • ' . $txt['locked_topic'] . '
    • ' . ($modSettings['enableStickyTopics'] == '1' ? ' -
    • ' . $txt['sticky_topic'] . '
    • ' : '') . ($modSettings['pollMode'] == '1' ? ' -
    • ' . $txt['poll'] : '') . '
    • -
    -
    '; - - echo ' - -
    -
    '; - - // Javascript for inline editing. - echo ' - -'; -} - -function theme_show_buttons() -{ - global $context, $settings, $options, $txt, $scripturl; - - $buttonArray = array(); - - // If they are logged in, and the mark read buttons are enabled.. - if ($context['user']['is_logged'] && $settings['show_mark_read']) - $buttonArray[] = '' . $txt['mark_read_short'] . ''; - - // If the user has permission to show the notification button... ask them if they're sure, though. - if ($context['can_mark_notify']) - $buttonArray[] = '' . $txt[$context['is_marked_notify'] ? 'unnotify' : 'notify'] . ''; - - // Are they allowed to post new topics? - if ($context['can_post_new']) - $buttonArray[] = '' . $txt['new_topic'] . ''; - - // How about new polls, can the user post those? - if ($context['can_post_poll']) - $buttonArray[] = '' . $txt['new_poll'] . ''; - - // Right to left menu should be in reverse order. - if ($context['right_to_left']) - $buttonArray = array_reverse($buttonArray, true); - - return implode('  |  ', $buttonArray); -} - -?> \ No newline at end of file diff --git a/config/themes/core/PersonalMessage.template.php b/config/themes/core/PersonalMessage.template.php deleted file mode 100755 index 83cf05c..0000000 --- a/config/themes/core/PersonalMessage.template.php +++ /dev/null @@ -1,1763 +0,0 @@ -'; - - // Show the capacity bar, if available. - if (!empty($context['limit_bar'])) - { - echo ' - - - - - - -
    ', $txt['pm_capacity'], ': -
    -
    -
    -
    90 ? ' class="alert"' : '', '> - ', $context['limit_bar']['text'], ' -
    '; - } - - // Message sent? Show a small indication. - if (isset($context['pm_sent'])) - echo ' -
    - ', $txt['pm_sent'], ' -
    '; -} - -// Just the end of the index bar, nothing special. -function template_pm_below() -{ - global $context, $settings, $options; - - echo ' - '; -} - -function template_folder() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The every helpful javascript! - echo ' - '; - - echo ' -
    '; - - // If we are not in single display mode show the subjects on the top! - if ($context['display_mode'] != 1) - { - template_subject_list(); - echo '
    '; - } - - // Got some messages to display? - if ($context['get_pmessage']('message', true)) - { - // Show a few buttons if we are in conversation mode and outputting the first message. - if ($context['display_mode'] == 2) - { - // Build the normal button array. - $conversation_buttons = array( - 'reply' => array('text' => 'reply_to_all', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=send;f=' . $context['folder'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';pmsg=' . $context['current_pm'] . ';u=all'), - 'delete' => array('text' => 'delete_conversation', 'image' => 'delete.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=pmactions;pm_actions[' . $context['current_pm'] . ']=delete;conversation;f=' . $context['folder'] . ';start=' . $context['start'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';' . $context['session_var'] . '=' . $context['session_id'], 'custom' => 'onclick="return confirm(\'' . addslashes($txt['remove_message']) . '?\');"'), - ); - - // Show the conversation buttons. - echo ' -
    '; - - template_button_strip($conversation_buttons, 'right'); - - echo ' -
    '; - } - - echo ' -
    '; - - // Show the helpful titlebar - generally. - if ($context['display_mode'] != 1) - echo ' -
    -

    - ', $txt['author'], ' - ', $txt[$context['display_mode'] == 0 ? 'messages' : 'conversation'], ' -

    -
    '; - - // Cache some handy buttons. - $quote_button = create_button('quote.gif', 'reply_quote', 'quote', 'align="middle"'); - $reply_button = create_button('im_reply.gif', 'reply', 'reply', 'align="middle"'); - $reply_all_button = create_button('im_reply_all.gif', 'reply_to_all', 'reply_to_all', 'align="middle"'); - $forward_button = create_button('quote.gif', 'reply_quote', 'reply_quote', 'align="middle"'); - $delete_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"'); - - while ($message = $context['get_pmessage']('message')) - { - $is_first_post = !isset($is_first_post) ? true : false; - - // Show information about the poster of this message. - echo ' -
    -
    -
    -

    ', $message['member']['link'], '

    -
      '; - - // Show the member's custom title, if they have one. - if (isset($message['member']['title']) && $message['member']['title'] != '') - echo ' -
    • ', $message['member']['title'], '
    • '; - - // Show the member's primary group (like 'Administrator') if they have one. - if (isset($message['member']['group']) && $message['member']['group'] != '') - echo ' -
    • ', $message['member']['group'], '
    • '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - // Show the post group if and only if they have no other group or the option is on, and they are in a post group. - if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '') - echo ' -
    • ', $message['member']['post_group'], '
    • '; - echo ' -
    • ', $message['member']['group_stars'], '
    • '; - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
    • ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
    • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
    • ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
    • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
    • - ', $modSettings['karmaApplaudLabel'], ' - ', $modSettings['karmaSmiteLabel'], ' -
    • '; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable'])) - echo ' -
    • ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $message['member']['online']['text'] . '' : $message['member']['online']['text'], $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? ' ' . $message['member']['online']['text'] . '' : '', '
    • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
    • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
    • '; - - // Show how many posts they have made. - if (!isset($context['disabled_fields']['posts'])) - echo ' -
    • ', $txt['member_postcount'], ': ', $message['member']['posts'], '
    • '; - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) && !empty($custom['value'])) - echo ' -
    • ', $custom['title'], ': ', $custom['value'], '
    • '; - } - - // Show avatars, images, etc.? - if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - echo ' -
    • ', $message['member']['avatar']['image'], '
    • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
    • ', $message['member']['blurb'], '
    • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    • -
        '; - } - echo ' -
      • ', $custom['value'], '
      • '; - } - if ($shown) - echo ' -
      -
    • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
    • -
        - ', !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? '
      • ' . $message['member']['icq']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? '
      • ' . $message['member']['msn']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? '
      • ' . $message['member']['aim']['link'] . '
      • ' : '', ' - ', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '
      • ' . $message['member']['yim']['link'] . '
      • ' : '', ' -
      -
    • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
    • - -
    • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
    • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
    • '; - } - - // Done with the information about the poster... on to the post itself. - echo ' -
    -
    -
    -
    -
    -
    - ', $message['subject'], ' -
    '; - - // Show who the message was sent to. - echo ' -
    - « ', $txt['sent_to'], ': '; - - // People it was sent directly to.... - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' - ', $txt['on'], ': ', $message['time'], ' » -
    '; - - // If we're in the sent items, show who it was sent to besides the "To:" people. - if (!empty($message['recipients']['bcc'])) - echo ' -
    « ', $txt['pm_bcc'], ': ', implode(', ', $message['recipients']['bcc']), ' »
    '; - - if (!empty($message['is_replied_to'])) - echo ' -
    « ', $txt['pm_is_replied_to'], ' »
    '; - - echo ' -
    -
      '; - - // Show reply buttons if you have the permission to send PMs. - if ($context['can_send_pm']) - { - // You can't really reply if the member is gone. - if (!$message['member']['is_guest']) - { - // Were than more than one recipient you can reply to? (Only shown when not in conversation mode.) - if ($message['number_recipients'] > 1 && $context['display_mode'] != 2) - echo ' -
    • ', $reply_all_button, '
    • '; - - echo ' -
    • ', $reply_button, '
    • -
    • ', $quote_button, '
    • '; - } - // This is for "forwarding" - even if the member is gone. - else - echo ' -
    • ', $forward_button, '
    • '; - } - echo ' -
    • ', $delete_button, '
    • '; - - if (empty($context['display_mode'])) - echo ' -
    • '; - - echo ' -
    -
    -
    -
    - ', $message['body'], ' -
    '; - - if (!empty($modSettings['enableReportPM']) && $context['folder'] != 'sent') - echo ' - '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (!$shown) - { - $shown = true; - echo ' -
    -
      ', $message['member']['signature'], '
    '; - - // Add an extra line at the bottom if we have labels enabled. - if ($context['folder'] != 'sent' && !empty($context['currently_using_labels']) && $context['display_mode'] != 2) - { - echo ' -
    '; - - // Add the label drop down box. - if (!empty($context['currently_using_labels'])) - { - echo ' - - '; - } - - echo ' -
    '; - } - - echo ' -
    -
    -
    '; - } - - echo ' -
    '; - - if (empty($context['display_mode'])) - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
    -
    '; - - // Show a few buttons if we are in conversation mode and outputting the first message. - elseif ($context['display_mode'] == 2 && isset($conversation_buttons)) - template_button_strip($conversation_buttons); - - echo ' -
    '; - } - - // Individual messages = buttom list! - if ($context['display_mode'] == 1) - { - template_subject_list(); - echo '
    '; - } - - echo ' - -
    '; -} - -// Just list all the personal message subjects - to make templates easier. -function template_subject_list() -{ - global $context, $options, $settings, $modSettings, $txt, $scripturl; - - echo ' - - - - - - - - '; - - if (!$context['show_delete']) - echo ' - - - '; - - $next_alternate = 0; - while ($message = $context['get_pmessage']('subject')) - { - echo ' - - - - - - - '; - $next_alternate = !$next_alternate; - } - - echo ' -
    ', $txt['pm_change_view'], '', $txt['date'], $context['sort_by'] == 'date' ? ' ' : '', '', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', '', ($context['from_or_to'] == 'from' ? $txt['from'] : $txt['to']), $context['sort_by'] == 'name' ? ' ' : '', '
    ', $txt['msg_alert_none'], '
    - - ', $message['is_replied_to'] ? '' . $txt['pm_replied'] . '' : '' . $txt['pm_read'] . '', '', $message['time'], '', ($context['display_mode'] != 0 && $context['current_pm'] == $message['id'] ? '*' : ''), '', $message['subject'], '', $message['is_unread'] ? ' ' . $txt['new'] . '' : '', '', ($context['from_or_to'] == 'from' ? $message['member']['link'] : (empty($message['recipients']['to']) ? '' : implode(', ', $message['recipients']['to']))), '
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
     '; - - if ($context['show_delete']) - { - if (!empty($context['currently_using_labels']) && $context['folder'] != 'sent') - { - echo ' - - '; - } - - echo ' - '; - } - - echo ' -
    -
    '; -} - -function template_search() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' - -
    -
    -

    ', $txt['pm_search_title'], '

    -
    '; - - if (!empty($context['search_errors'])) - { - echo ' -
    - ', implode('
    ', $context['search_errors']['messages']), ' -
    '; - } - - if ($context['simple_search']) - { - echo ' - '; - } - - // Advanced search! - else - { - echo ' - '; - - // Do we have some labels setup? If so offer to search by them! - if ($context['currently_using_labels']) - { - echo ' -
    - -
    - -
      '; - - foreach ($context['search_labels'] as $label) - echo ' -
    • - -
    • '; - - echo ' -
    -

    - -

    -
    - -
    '; - } - - echo ' -
    - -
    '; - } - - echo ' - -
    '; -} - -function template_search_results() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // This splits broadly into two types of template... complete results first. - if (!empty($context['search_params']['show_complete'])) - { - echo ' - - - - - - - -
    ', $txt['pm_search_results'], '
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - } - else - { - echo ' - - - - - - - - - - - - '; - } - - $alternate = true; - // Print each message out... - foreach ($context['personal_messages'] as $message) - { - // We showing it all? - if (!empty($context['search_params']['show_complete'])) - { - // !!! This still needs to be made pretty. - echo ' -
    -
    ', $txt['pm_search_results'], '
    ', $txt['pages'], ': ', $context['page_index'], '
    ', $txt['date'], '', $txt['subject'], '', $txt['from'], '
    - - - - - - - - - - - - -
    -
    - ', $message['counter'], '  ', $message['subject'], ' -
    -
    - ', $txt['search_on'], ': ', $message['time'], ' -
    -
    ', $txt['from'], ': ', $message['member']['link'], ', ', $txt['to'], ': '; - - // Show the recipients. - // !!! This doesn't deal with the sent item searching quite right for bcc. - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' -
    ', $message['body'], '
    '; - - if ($context['can_send_pm']) - { - $quote_button = create_button('quote.gif', 'reply_quote', 'reply_quote', 'align="middle"'); - $reply_button = create_button('im_reply.gif', 'reply', 'reply', 'align="middle"'); - - // You can only reply if they are not a guest... - if (!$message['member']['is_guest']) - echo ' - ', $quote_button , '', $context['menu_separator'], ' - ', $reply_button , ' ', $context['menu_separator']; - // This is for "forwarding" - even if the member is gone. - else - echo ' - ', $quote_button , '', $context['menu_separator']; - } - - echo ' -
    '; - } - // Otherwise just a simple list! - else - { - // !!! No context at all of the search? - echo ' - - ', $message['time'], ' - ', $message['link'], ' - ', $message['member']['link'], ' - '; - } - - $alternate = !$alternate; - } - - // Finish off the page... - if (!empty($context['search_params']['show_complete'])) - { - // No results? - if (empty($context['personal_messages'])) - echo ' - - - - -
    ', $txt['pm_search_none_found'], '
    '; - else - echo ' -
    '; - - echo ' - - - - -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - } - else - { - if (empty($context['personal_messages'])) - echo ' - - ', $txt['pm_search_none_found'], ' - '; - - echo ' - - ', $txt['pages'], ': ', $context['page_index'], ' - - '; - } -} - -function template_send() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // Show which messages were sent successfully and which failed. - if (!empty($context['send_log'])) - { - echo ' -
    -

    ', $txt['pm_send_report'], '

    -
    -
    - -
    '; - if (!empty($context['send_log']['sent'])) - foreach ($context['send_log']['sent'] as $log_entry) - echo '', $log_entry, '
    '; - if (!empty($context['send_log']['failed'])) - foreach ($context['send_log']['failed'] as $log_entry) - echo '', $log_entry, '
    '; - echo ' -
    - -
    -
    '; - } - - // Show the preview of the personal message. - if (isset($context['preview_message'])) - echo ' -
    -

    ', $context['preview_subject'], '

    -
    -
    - -
    - ', $context['preview_message'], ' -
    - -
    -
    '; - - // Main message editing box. - echo ' -
    -

    - ', $txt['new_message'], ' ', $txt['new_message'], ' -

    -
    '; - - echo ' -
    -
    - -
    '; - - // If there were errors for sending the PM, show them. - if (!empty($context['post_error']['messages'])) - { - echo ' -
    - ', $txt['error_while_submitting'], ' -
      '; - - foreach ($context['post_error']['messages'] as $error) - echo ' -
    • ', $error, '
    • '; - - echo ' -
    -
    '; - } - - echo ' -
    '; - - // To and bcc. Include a button to search for members. - echo ' -
    - ', $txt['pm_to'], ': -
    '; - - // Autosuggest will be added by the JavaScript later on. - echo ' -
    - '; - - // A link to add BCC, only visible with JavaScript enabled. - echo ' - '; - - // A div that'll contain the items found by the autosuggest. - echo ' -
    '; - - echo ' -
    '; - - // This BCC row will be hidden by default if JavaScript is enabled. - echo ' -
    - ', $txt['pm_bcc'], ': -
    -
    - -
    -
    '; - - // The subject of the PM. - echo ' -
    - ', $txt['subject'], ': -
    -
    - -
    -
    '; - - // Showing BBC? - if ($context['show_bbc']) - { - echo ' -
    '; - } - - // What about smileys? - if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) - echo ' -
    '; - - // Show BBC buttons, smileys and textbox. - echo ' - ', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'); - - // Require an image to be typed to save spamming? - if ($context['require_verification']) - { - echo ' -
    - ', $txt['pm_visual_verification_label'], ': - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
    '; - } - - // Send, Preview, spellcheck buttons. - echo ' -

    -

    - ', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], ' -

    -

    - ', template_control_richedit_buttons($context['post_box_name']), ' -

    - - - - - - -
    - -
    -
    '; - - // Show the message you're replying to. - if ($context['reply']) - echo ' -
    -
    -
    -

    ', $txt['subject'], ': ', $context['quoted_message']['subject'], '

    -
    -
    -

    - ', $txt['from'], ': ', $context['quoted_message']['member']['name'], ' - ', $txt['on'], ': ', $context['quoted_message']['time'], ' -

    -
    -
    - -
    - ', $context['quoted_message']['body'], ' -
    - -
    '; - - echo ' - - - '; -} - -// This template asks the user whether they wish to empty out their folder/messages. -function template_ask_delete() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    ', ($context['delete_all'] ? $txt['delete_message'] : $txt['delete_all']), '

    -
    -
    - -
    -

    ', $txt['delete_all_confirm'], '


    - ', $txt['yes'], ' - ', $txt['no'], ' -
    - -
    '; -} - -// This template asks the user what messages they want to prune. -function template_prune() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['pm_prune'], '

    -
    -
    - -
    -

    ', $txt['pm_prune_desc1'], ' ', $txt['pm_prune_desc2'], '

    -
    - -
    -
    - -
    - -
    '; -} - -// Here we allow the user to setup labels, remove labels and change rules for labels (i.e, do quite a bit) -function template_labels() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['pm_manage_labels'], '

    -
    -
    - ', $txt['pm_labels_desc'], ' -
    - - - - - - - '; - if (count($context['labels']) < 2) - echo ' - - - '; - else - { - $alternate = true; - foreach ($context['labels'] as $label) - { - if ($label['id'] == -1) - continue; - - echo ' - - - - '; - - $alternate = !$alternate; - } - } - echo ' - -
    -
    - ', $txt['pm_label_name'], ' -
    ', $txt['pm_labels_no_exist'], '
    - -
    '; - - if (!count($context['labels']) < 2) - echo ' -
    - - -
    '; - - echo ' - -
    -
    -
    -

    ', $txt['pm_label_add_new'], '

    -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    -
    - -
    -
    - -
    - -
    '; -} - -// Template for reporting a personal message. -function template_report_message() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    - -
    -

    ', $txt['pm_report_title'], '

    -
    -
    - ', $txt['pm_report_desc'], ' -
    -
    - -
    -
    '; - - // If there is more than one admin on the forum, allow the user to choose the one they want to direct to. - // !!! Why? - if ($context['admin_count'] > 1) - { - echo ' -
    - ', $txt['pm_report_admins'], ': -
    -
    - -
    '; - } - - echo ' -
    - ', $txt['pm_report_reason'], ': -
    -
    - -
    -
    - -
    - -
    - -
    '; -} - -// Little template just to say "Yep, it's been submitted" -function template_report_message_complete() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -

    ', $txt['pm_report_title'], '

    -
    -
    - -
    -

    ', $txt['pm_report_done'], '

    - ', $txt['pm_report_return'], ' -
    - -
    '; -} - -// Manage rules. -function template_rules() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['pm_manage_rules'], '

    -
    -
    - ', $txt['pm_manage_rules_desc'], ' -
    - - - - - - - - '; - - if (empty($context['rules'])) - echo ' - - - '; - - $alternate = false; - foreach ($context['rules'] as $rule) - { - echo ' - - - - '; - $alternate = !$alternate; - } - - echo ' - -
    - ', $txt['pm_rule_title'], ' - '; - - if (!empty($context['rules'])) - echo ' - '; - - echo ' -
    - ', $txt['pm_rules_none'], ' -
    - ', $rule['name'], ' - - -
    -
    - [', $txt['pm_add_rule'], ']'; - - if (!empty($context['rules'])) - echo ' - [', $txt['pm_apply_rules'], ']'; - - if (!empty($context['rules'])) - echo ' - - '; - - echo ' -
    -
    '; - -} - -// Template for adding/editing a rule. -function template_add_rule() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - '; - - echo ' -
    -
    -

    ', $context['rid'] == 0 ? $txt['pm_add_rule'] : $txt['pm_edit_rule'], '

    -
    -
    - -
    -
    -
    - ', $txt['pm_rule_name'], ':
    - ', $txt['pm_rule_name_desc'], ' -
    -
    - -
    -
    -
    - ', $txt['pm_rule_criteria'], ''; - - // Add a dummy criteria to allow expansion for none js users. - $context['rule']['criteria'][] = array('t' => '', 'v' => ''); - - // For each criteria print it out. - $isFirst = true; - foreach ($context['rule']['criteria'] as $k => $criteria) - { - if (!$isFirst && $criteria['t'] == '') - echo '
    '; - else - echo '
    '; - - echo ' - - - - - - - '; - - // If this is the dummy we add a means to hide for non js users. - if ($isFirst) - $isFirst = false; - elseif ($criteria['t'] == '') - echo '
    '; - } - - echo ' -
    - -

    - ', $txt['pm_rule_logic'], ': - -
    -
    - ', $txt['pm_rule_actions'], ''; - - // As with criteria - add a dummy action for "expansion". - $context['rule']['actions'][] = array('t' => '', 'v' => ''); - - // Print each action. - $isFirst = true; - foreach ($context['rule']['actions'] as $k => $action) - { - if (!$isFirst && $action['t'] == '') - echo '
    '; - else - echo '
    '; - - echo ' - - - - '; - - if ($isFirst) - $isFirst = false; - elseif ($action['t'] == '') - echo ' -
    '; - } - - echo ' -
    - -
    -
    - -
    -
    -

    ', $txt['pm_rule_description'], '

    -
    -
    -
    ', $txt['pm_rule_js_disabled'], '
    -
    -
    - - -
    -
    '; - - // Now setup all the bits! - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/core/Recent.template.php b/config/themes/core/Recent.template.php deleted file mode 100755 index 3142285..0000000 --- a/config/themes/core/Recent.template.php +++ /dev/null @@ -1,423 +0,0 @@ - -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
    '; - - foreach ($context['posts'] as $post) - { - // This is far from ideal, but oh well - create buttons for the post. - $button_set = array(); - - if ($post['can_delete']) - $button_set['delete'] = array('text' => 'remove', 'image' => 'delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['remove_message'] . '?\');"', 'url' => $scripturl . '?action=deletemsg;msg=' . $post['id'] . ';topic=' . $post['topic'] . ';recent;' . $context['session_var'] . '=' . $context['session_id']); - if ($post['can_reply']) - $button_set['reply'] = array('text' => 'reply', 'image' => 'reply_sm.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $post['topic'] . '.' . $post['start']); - if ($post['can_quote']) - $button_set['quote'] = array('text' => 'reply_quote', 'image' => 'quote.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $post['topic'] . '.' . $post['start'] . ';quote=' . $post['id']); - if ($post['can_mark_notify']) - $button_set['notify'] = array('text' => 'notify_replies', 'image' => 'notify_sm.gif', 'lang' => true, 'url' => $scripturl . '?action=notify;topic=' . $post['topic'] . '.' . $post['start']); - - echo ' - - - - - - - - - - '; - - // Are we using tabs? - if (!empty($settings['use_tabs'])) - { - echo ' -
    -
     ', $post['counter'], ' 
    -
     ', $post['category']['link'], ' / ', $post['board']['link'], ' / ', $post['link'], '
    -
     ', $txt['on'], ': ', $post['time'], ' 
    -
    - ', $txt['started_by'], ' ' . $post['first_poster']['link'] . ' - ' . $txt['last_post'] . ' ' . $txt['by'] . ' ' . $post['poster']['link'] . ' -
    -
    ' . $post['message'] . '
    -
    '; - - if (!empty($button_set)) - echo ' -
    - ', template_button_strip($button_set, 'top'), ' -
    '; - } - else - { - if (!empty($button_set)) - echo ' - - -
    - ', template_button_strip($button_set, 'top'), ' -
    - - '; - - echo ' - '; - } - - echo ' -
    '; - } - - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
    - '; -} - -function template_unread() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - $showCheckboxes = !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $settings['show_mark_read']; - - if ($showCheckboxes) - echo ' -
    -
    - - - '; - - if ($settings['show_mark_read']) - { - // Generate the button strip. - $mark_read = array( - 'markread' => array('text' => !empty($context['no_board_limits']) ? 'mark_as_read' : 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=' . (!empty($context['no_board_limits']) ? 'all' : 'board' . $context['querystring_board_limits']) . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - if ($showCheckboxes) - $mark_read['markselectread'] = array( - 'text' => 'quick_mod_markread', - 'image' => 'markselectedread.gif', - 'lang' => true, - 'url' => 'javascript:document.quickModForm.submit();', - ); - } - - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - if (!empty($mark_read) && !empty($settings['use_tabs'])) - template_button_strip($mark_read, 'bottom'); - - echo ' -
    '; - - echo ' - - -
    - - '; - if (!empty($context['topics'])) - { - echo ' - - '; - if ($showCheckboxes) - echo ' - '; - } - else - echo ' - '; - echo ' - '; - - foreach ($context['topics'] as $topic) - { - // Do we want to separate the sticky and lock status out? - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'sticky') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_sticky')); - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'locked') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_locked')); - - echo ' - - - - - - '; - if ($showCheckboxes) - echo ' - '; - - echo ' - '; - } - - if (!empty($context['topics']) && !$context['showing_all_topics']) - echo ' - - - '; - - if (empty($settings['use_tabs']) && !empty($mark_read)) - echo ' - - - '; - - echo ' -
      - ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' - - ', $txt['started_by'], $context['sort_by'] == 'starter' ? ' ' : '', ' - - ', $txt['replies'], $context['sort_by'] == 'replies' ? ' ' : '', ' - - ', $txt['views'], $context['sort_by'] == 'views' ? ' ' : '', ' - - ', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', ' - - - ', $context['showing_all_topics'] ? $txt['msg_alert_none'] : $txt['unread_topics_visit_none'], '
    - - - - ', $topic['is_locked'] && !empty($settings['separate_sticky_lock']) ? ' - ' : '', $topic['is_sticky'] && !empty($settings['separate_sticky_lock']) ? ' - ' : '', $topic['first_post']['link'], ' ', $txt['new'], ' ', $topic['pages'], ' ', $txt['in'], ' ', $topic['board']['link'], ' - ', $topic['first_post']['member']['link'], ' - ', $topic['replies'], ' - ', $topic['views'], ' - ', $txt['last_post'], ' - - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    -
    - -
    ', $txt['unread_topics_all'], '
    -
    - ', template_button_strip($mark_read, 'top'), ' -
    -
    -
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - if (!empty($settings['use_tabs']) && !empty($mark_read)) - template_button_strip($mark_read, 'top'); - - echo ' -
    -
    '; - - if ($showCheckboxes) - echo ' -
    '; - - echo ' -
    -
    -
    -
      - ', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? ' -
    • ' . $txt['participation_caption'] . '
    • ' : '', ' -
    • ' . $txt['normal_topic'] . '
    • -
    • ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
    • -
    • ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
    • -
    -
    -
    -
      -
    • ' . $txt['locked_topic'] . '
    • ' . ($modSettings['enableStickyTopics'] == '1' ? ' -
    • ' . $txt['sticky_topic'] . '
    • ' : '') . ($modSettings['pollMode'] == '1' ? ' -
    • ' . $txt['poll'] : '') . '
    • -
    -
    -
    -
    '; -} - -function template_replies() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - $showCheckboxes = !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $settings['show_mark_read']; - - if ($showCheckboxes) - echo ' -
    -
    - - - '; - - if (isset($context['topics_to_mark']) && !empty($settings['show_mark_read'])) - { - // Generate the button strip. - $mark_read = array( - 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=unreadreplies;topics=' . $context['topics_to_mark'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - if ($showCheckboxes) - $mark_read['markselectread'] = array( - 'text' => 'quick_mod_markread', - 'image' => 'markselectedread.gif', - 'lang' => true, - 'url' => 'javascript:document.quickModForm.submit();', - ); - } - if (!empty($settings['use_tabs'])) - { - echo ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - if (!empty($mark_read)) - template_button_strip($mark_read, 'bottom'); - - echo ' -
    '; - } - - echo ' - - -
    - - '; - if (!empty($context['topics'])) - { - echo ' - - - - - - '; - if ($showCheckboxes) - echo ' - '; - } - else - echo ' - '; - echo ' - '; - - foreach ($context['topics'] as $topic) - { - // separate lock and sticky again? - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'sticky') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_sticky')); - if (!empty($settings['separate_sticky_lock']) && strpos($topic['class'], 'locked') !== false) - $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_locked')); - - echo ' - - - - - - - - '; - if ($showCheckboxes) - echo ' - '; - - echo ' - '; - } - if (empty($settings['use_tabs']) && !empty($mark_read)) - echo ' - - - '; - - echo ' -
     ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', '', $txt['started_by'], $context['sort_by'] == 'starter' ? ' ' : '', '', $txt['replies'], $context['sort_by'] == 'replies' ? ' ' : '', '', $txt['views'], $context['sort_by'] == 'views' ? ' ' : '', '', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', ' - - ' . $txt['msg_alert_none'] . '
    - - - ', $topic['is_locked'] && !empty($settings['separate_sticky_lock']) ? '' : '', ' - ', $topic['is_sticky'] && !empty($settings['separate_sticky_lock']) ? '' : '', ' ', $topic['first_post']['link'], ' ', $txt['new'], ' ', $topic['pages'], ' - ', $txt['in'], ' ', $topic['board']['link'], ' - ', $topic['first_post']['member']['link'], ' - ', $topic['replies'], ' - ', $topic['views'], ' - ', $txt['last_post'], ' - - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    -
    - -
    -
    - ', template_button_strip($mark_read, 'top'), ' -
    -
    -
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - if (!empty($settings['use_tabs']) && !empty($mark_read)) - template_button_strip($mark_read, 'top'); - - echo ' -
    -
    '; - - if ($showCheckboxes) - echo ' -
    '; - - echo ' -
    -
    -
    -
      - ', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? ' -
    • ' . $txt['participation_caption'] . '
    • ' : '', ' -
    • ' . $txt['normal_topic'] . '
    • -
    • ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
    • -
    • ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
    • -
    -
    -
    -
      -
    • ' . $txt['locked_topic'] . '
    • ' . ($modSettings['enableStickyTopics'] == '1' ? ' -
    • ' . $txt['sticky_topic'] . '
    • ' : '') . ($modSettings['pollMode'] == '1' ? ' -
    • ' . $txt['poll'] : '') . '
    • -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/core/Settings.template.php b/config/themes/core/Settings.template.php deleted file mode 100755 index db97f50..0000000 --- a/config/themes/core/Settings.template.php +++ /dev/null @@ -1,272 +0,0 @@ - 'show_board_desc', - 'label' => $txt['board_desc_inside'], - 'default' => true, - ), - array( - 'id' => 'show_children', - 'label' => $txt['show_children'], - 'default' => true, - ), - array( - 'id' => 'use_sidebar_menu', - 'label' => $txt['use_sidebar_menu'], - 'default' => true, - ), - array( - 'id' => 'show_no_avatars', - 'label' => $txt['show_no_avatars'], - 'default' => true, - ), - array( - 'id' => 'show_no_signatures', - 'label' => $txt['show_no_signatures'], - 'default' => true, - ), - array( - 'id' => 'show_no_censored', - 'label' => $txt['show_no_censored'], - 'default' => true, - ), - array( - 'id' => 'return_to_post', - 'label' => $txt['return_to_post'], - 'default' => true, - ), - array( - 'id' => 'no_new_reply_warning', - 'label' => $txt['no_new_reply_warning'], - 'default' => true, - ), - array( - 'id' => 'view_newest_first', - 'label' => $txt['recent_posts_at_top'], - 'default' => true, - ), - array( - 'id' => 'view_newest_pm_first', - 'label' => $txt['recent_pms_at_top'], - 'default' => true, - ), - array( - 'id' => 'posts_apply_ignore_list', - 'label' => $txt['posts_apply_ignore_list'], - 'default' => false, - ), - array( - 'id' => 'wysiwyg_default', - 'label' => $txt['wysiwyg_default'], - 'default' => false, - ), - array( - 'id' => 'popup_messages', - 'label' => $txt['popup_messages'], - 'default' => true, - ), - array( - 'id' => 'copy_to_outbox', - 'label' => $txt['copy_to_outbox'], - 'default' => true, - ), - array( - 'id' => 'pm_remove_inbox_label', - 'label' => $txt['pm_remove_inbox_label'], - 'default' => true, - ), - array( - 'id' => 'auto_notify', - 'label' => $txt['auto_notify'], - 'default' => true, - ), - array( - 'id' => 'topics_per_page', - 'label' => $txt['topics_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'messages_per_page', - 'label' => $txt['messages_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'calendar_start_day', - 'label' => $txt['calendar_start_day'], - 'options' => array( - 0 => $txt['days'][0], - 1 => $txt['days'][1], - 6 => $txt['days'][6], - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_reply', - 'label' => $txt['display_quick_reply'], - 'options' => array( - 0 => $txt['display_quick_reply1'], - 1 => $txt['display_quick_reply2'], - 2 => $txt['display_quick_reply3'] - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_mod', - 'label' => $txt['display_quick_mod'], - 'options' => array( - 0 => $txt['display_quick_mod_none'], - 1 => $txt['display_quick_mod_check'], - 2 => $txt['display_quick_mod_image'], - ), - 'default' => true, - ), - ); -} - -function template_settings() -{ - global $context, $settings, $options, $scripturl, $txt; - - $context['theme_settings'] = array( - array( - 'id' => 'header_logo_url', - 'label' => $txt['header_logo_url'], - 'description' => $txt['header_logo_url_desc'], - 'type' => 'text', - ), - array( - 'id' => 'smiley_sets_default', - 'label' => $txt['smileys_default_set_for_theme'], - 'options' => $context['smiley_sets'], - 'type' => 'text', - ), - array( - 'id' => 'forum_width', - 'label' => $txt['forum_width'], - 'description' => $txt['forum_width_desc'], - 'type' => 'text', - 'size' => 8, - ), - '', - array( - 'id' => 'show_mark_read', - 'label' => $txt['enable_mark_as_read'], - ), - array( - 'id' => 'allow_no_censored', - 'label' => $txt['allow_no_censored'], - ), - array( - 'id' => 'enable_news', - 'label' => $txt['enable_random_news'], - ), - array( - 'id' => 'use_image_buttons', - 'label' => $txt['admin_image_text'], - ), - '', - array( - 'id' => 'show_newsfader', - 'label' => $txt['news_fader'], - ), - array( - 'id' => 'newsfader_time', - 'label' => $txt['admin_fader_delay'], - 'type' => 'number', - ), - array( - 'id' => 'number_recent_posts', - 'label' => $txt['number_recent_posts'], - 'description' => $txt['number_recent_posts_desc'], - 'type' => 'number', - ), - array( - 'id' => 'show_stats_index', - 'label' => $txt['show_stats_index'], - ), - array( - 'id' => 'show_latest_member', - 'label' => $txt['latest_members'], - ), - array( - 'id' => 'show_group_key', - 'label' => $txt['show_group_key'], - ), - array( - 'id' => 'display_who_viewing', - 'label' => $txt['who_display_viewing'], - 'options' => array( - 0 => $txt['who_display_viewing_off'], - 1 => $txt['who_display_viewing_numbers'], - 2 => $txt['who_display_viewing_names'], - ), - 'type' => 'number', - ), - '', - array( - 'id' => 'show_modify', - 'label' => $txt['last_modification'], - ), - array( - 'id' => 'show_profile_buttons', - 'label' => $txt['show_view_profile_button'], - ), - array( - 'id' => 'show_user_images', - 'label' => $txt['user_avatars'], - ), - array( - 'id' => 'show_blurb', - 'label' => $txt['user_text'], - ), - array( - 'id' => 'show_gender', - 'label' => $txt['gender_images'], - ), - array( - 'id' => 'hide_post_group', - 'label' => $txt['hide_post_group'], - 'description' => $txt['hide_post_group_desc'], - ), - '', - array( - 'id' => 'show_bbc', - 'label' => $txt['admin_bbc'], - ), - array( - 'id' => 'additional_options_collapsable', - 'label' => $txt['additional_options_collapsable'], - ), - ); -} - -?> \ No newline at end of file diff --git a/config/themes/core/Stats.template.php b/config/themes/core/Stats.template.php deleted file mode 100755 index 1fe6649..0000000 --- a/config/themes/core/Stats.template.php +++ /dev/null @@ -1,308 +0,0 @@ - - - ', $context['page_title'], ' - - - ', $txt['general_stats'], ' - - - - - - - - - - - - - - - - - - - - - - - - - '; - if (!empty($modSettings['hitStats'])) - echo ' - - - '; - echo ' - -
    ', $txt['total_members'], ':', $context['show_member_list'] ? '' . $context['num_members'] . '' : $context['num_members'], '
    ', $txt['total_posts'], ':', $context['num_posts'], '
    ', $txt['total_topics'], ':', $context['num_topics'], '
    ', $txt['total_cats'], ':', $context['num_categories'], '
    ', $txt['users_online'], ':', $context['users_online'], '
    ', $txt['most_online'], ':', $context['most_members_online']['number'], ' - ', $context['most_members_online']['date'], '
    ', $txt['users_online_today'], ':', $context['online_today'], '
    ', $txt['num_hits'], ':', $context['num_hits'], '
    - - - - - - - - - - - - - - - - - - - - - - - - - '; - if (!empty($modSettings['hitStats'])) - echo ' - - - '; - echo ' - -
    ', $txt['average_members'], ':', $context['average_members'], '
    ', $txt['average_posts'], ':', $context['average_posts'], '
    ', $txt['average_topics'], ':', $context['average_topics'], '
    ', $txt['total_boards'], ':', $context['num_boards'], '
    ', $txt['latest_member'], ':', $context['common_stats']['latest_member']['link'], '
    ', $txt['average_online'], ':', $context['average_online'], '
    ', $txt['gender_ratio'], ':', $context['gender']['ratio'], '
    ', $txt['average_hits'], ':', $context['average_hits'], '
    - - - ', $txt['top_posters'], ' - ', $txt['top_boards'], ' - - - - '; - foreach ($context['top_posters'] as $poster) - echo ' - - - - - '; - echo ' -
    ', $poster['link'], '', $poster['num_posts'] > 0 ? '' : ' ', '', $poster['num_posts'], '
    - - - - '; - foreach ($context['top_boards'] as $board) - echo ' - - - - - '; - echo ' -
    ', $board['link'], '', $board['num_posts'] > 0 ? '' : ' ', '', $board['num_posts'], '
    - - - ', $txt['top_topics_replies'], ' - ', $txt['top_topics_views'], ' - - - - '; - foreach ($context['top_topics_replies'] as $topic) - echo ' - - - - - '; - echo ' -
    ', $topic['link'], '', $topic['num_replies'] > 0 ? '' : ' ', '', $topic['num_replies'], '
    - - - - '; - foreach ($context['top_topics_views'] as $topic) - echo ' - - - - - '; - echo ' -
    ', $topic['link'], '', $topic['num_views'] > 0 ? '' : ' ', '', $topic['num_views'], '
    - - - ', $txt['top_starters'], ' - ', $txt['most_time_online'], ' - - - - '; - foreach ($context['top_starters'] as $poster) - echo ' - - - - - '; - echo ' -
    ', $poster['link'], '', $poster['num_topics'] > 0 ? '' : ' ', '', $poster['num_topics'], '
    - - - - '; - foreach ($context['top_time_online'] as $poster) - echo ' - - - - - '; - echo ' -
    ', $poster['link'], '', $poster['time_online'] > 0 ? '' : ' ', '', $poster['time_online'], '
    - - - ', $txt['forum_history'], ' - - - '; - - if (!empty($context['yearly'])) - { - echo ' - - - - - - - '; - - if (!empty($modSettings['hitStats'])) - echo ' - '; - echo ' - '; - - foreach ($context['yearly'] as $id => $year) - { - echo ' - - - - - - '; - if (!empty($modSettings['hitStats'])) - echo ' - '; - echo ' - '; - - foreach ($year['months'] as $month) - { - echo ' - - - - - - '; - if (!empty($modSettings['hitStats'])) - echo ' - '; - echo ' - '; - - if ($month['expanded']) - { - foreach ($month['days'] as $day) - { - echo ' - - - - - - '; - if (!empty($modSettings['hitStats'])) - echo ' - '; - echo ' - '; - } - } - } - } - - echo ' -
    ', $txt['yearly_summary'], '', $txt['stats_new_topics'], '', $txt['stats_new_posts'], '', $txt['stats_new_members'], '', $txt['smf_stats_14'], '', $txt['page_views'], '
    - * ', $year['year'], ' - ', $year['new_topics'], '', $year['new_posts'], '', $year['new_members'], '', $year['most_members_online'], '', $year['hits'], '
    - ', $month['month'], ' ', $month['year'], ' - ', $month['new_topics'], '', $month['new_posts'], '', $month['new_members'], '', $month['most_members_online'], '', $month['hits'], '
    ', $day['year'], '-', $day['month'], '-', $day['day'], '', $day['new_topics'], '', $day['new_posts'], '', $day['new_members'], '', $day['most_members_online'], '', $day['hits'], '
    - - - - '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/core/css/ie6.css b/config/themes/core/css/ie6.css deleted file mode 100755 index e66904f..0000000 --- a/config/themes/core/css/ie6.css +++ /dev/null @@ -1,63 +0,0 @@ -/* special styles for IE6 */ - -.main_menu li.active a -{ - background: none; - padding-right: 0; -} -.main_menu li.active -{ - background: url(../images/maintab_active_last.gif) no-repeat bottom right; - padding-right: 8px; -} - -* html #poll_options ul.horizlist dl.options dd, * html #poll_options ul.horizlist dl.options dt -{ - margin: 0; - padding: 0; -} -/* the tabled definition lists */ -dl.settings dd, #creator dd, dl.stats dd, dl.register_form dd, #poll_options dl.options dd -{ - float: none; - width: auto; -} - -.modbuttons .buttonlist_bottom ul, .modbuttons .buttonlist ul, .floatright .buttonlist ul, .floatright .buttonlist_bottom ul, .readbuttons .buttonlist ul, .readbuttons .buttonlist_bottom ul -{ - float: right; -} - -/* Profile template */ -#detailedinfo div.content dl -{ - height: 0.1%; -} -.infocenter_section div.sectionbody -{ - height: 30px; -} - -#forumposts .postarea -{ - margin-left: 0; - margin-right: 0; - float: right; -} -.signature -{ - padding: 0 0 0.8em 0; -} -#quickReplyOptions form textarea -{ - width: 98%; -} -code.bbc_code -{ - white-space: normal; -} - -#ip_list li.header -{ - height: .1%; -} \ No newline at end of file diff --git a/config/themes/core/css/ie7.css b/config/themes/core/css/ie7.css deleted file mode 100755 index db5fcf1..0000000 --- a/config/themes/core/css/ie7.css +++ /dev/null @@ -1,22 +0,0 @@ -/* special styles for IE7 */ -/* the tabled definition lists */ -dl.settings dd, dl.stats dd, dl.register_form dd, #poll_options dl.options dd -{ - float: none; - width: auto; -} - -.signature -{ - padding: 0 0 0.8em 0; -} - -#quickReplyOptions form textarea -{ - width: 98%; -} - -code.bbc_code -{ - white-space: normal; -} \ No newline at end of file diff --git a/config/themes/core/css/index.css b/config/themes/core/css/index.css deleted file mode 100755 index 4147809..0000000 --- a/config/themes/core/css/index.css +++ /dev/null @@ -1,3523 +0,0 @@ -/* Styles for the general looks for the Core theme. -------------------------------------------------------- */ - -/* Normal, standard links. */ -a:link, a:visited -{ - color: #476c8e; - text-decoration: none; -} -a:hover -{ - text-decoration: underline; -} - -/* Tables should show empty cells. */ -table -{ - empty-cells: show; -} - -/* Set a fontsize that will look the same in all browsers. */ -body -{ - background: #e5e5e8; - font: 95%/90% Verdana, Helvetica, sans-serif; - margin: 0; - padding: 12px 0 4px 0; -} - -/* Help popups require a different styling of the body element. */ -body#help_popup -{ - width: auto; - padding: 1em; - min-width: 0; -} - -/* use dark grey for the text, leaving #000 for headers etc */ -body, td, th, tr -{ - color: #444; -} - -/* lets give all forms zero padding/margins */ -form -{ - padding: 0; - margin: 0; -} - -/* We can style the different types of input buttons to be uniform throughout different browsers and their color themes. - .button_submit - covers input[type=submit], input[type=button], button[type=submit] and button[type=button] in all browsers - .button_reset - covers input[type=reset] and button[type=reset] throughout all browsers - .input_check - covers input[type=checkbox] throughout all browsers - .input_radio - covers input[type=radio] throughout all browsers - .input_text - covers input[type=text] throughout all browsers - .input_file - covers input[type=file] throughout all browsers -*/ - -input, button, select, textarea -{ - font: 90%/105% verdana, Helvetica, sans-serif; - color: #000; -} - -/* The font size of textareas should be just a little bit larger. */ -textarea -{ - font: 100%/130% verdana, Helvetica, sans-serif; -} - -/* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ -input.input_check, input.input_radio -{ - border: none; - background: none; -} - -/* Standard horizontal rule.. ([hr], etc.) */ -hr, .hrcolor -{ - height: 1px; - border: 0; - color: #666; - background-color: #666; -} - -/* By default set the color on these tags as #000. */ -h1, h2, h3, h4, h5, h6 -{ - color: #000; - font-size: 1em; - margin: 0; - padding: 0; -} -.content fieldset -{ - border: 2px groove #fff; - padding: 1em; - margin: 0 0 0.3em 0; -} -/* No image should have a border when linked. */ -a img -{ - border: 0; -} - -/* Define strong as bold, and em as italics */ -strong -{ - font-weight: bold; -} - -em -{ - font-style: italic; -} -/* Alternative for u tag */ -.underline -{ - text-decoration: underline; -} - -/* Common classes for easy styling. -------------------------------------------------------- */ - -.floatright -{ - float: right; -} -.floatleft -{ - float: left; -} - -.flow_auto -{ - overflow: auto; -} -.flow_hidden -{ - overflow: hidden; -} -.clear -{ - clear: both; -} -.clear_left -{ - clear: left; -} -.clear_right -{ - clear: right; -} - -/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */ -.smalltext, tr.smalltext th -{ - font-size: 0.85em; - font-family: verdana, sans-serif; -} -.middletext -{ - font-size: 0.9em; - font-family: verdana, sans-serif; -} -.normaltext -{ - font-size: 1em; - line-height: 1.2em; -} -.largetext -{ - font-size: 1.4em; -} -.centertext -{ - margin: 0 auto; - text-align: center; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: right; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: left; -} -/* some common padding styles */ -.padding -{ - padding: 0.7em; -} -.main_section, .lower_padding -{ - padding-bottom: 0.5em; -} -/* a quick reset list class. */ -ul.reset, ul.reset li -{ - padding: 0; - margin: 0; - list-style: none; -} - -/* Some BBC related styles. -------------------------------------------------------- */ - -/* A quote, perhaps from another post. */ -blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote -{ - color: #000; - border: 1px solid #000; - margin: 1px; - padding: 1px; - font-size: x-small; - line-height: 1.4em; - overflow: auto; -} - -/* Alterate block quote stylings */ -blockquote.bbc_standard_quote -{ - background-color: #d7daec; -} -blockquote.bbc_alternate_quote -{ - background-color: #e7eafc; -} - -/* A code block - maybe even PHP ;). */ -code.bbc_code -{ - display: block; - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; - font-size: x-small; - background: #eef; - border: 1px solid #000; - line-height: 1.3em; - padding: 1px; - overflow: auto; - white-space: nowrap; - /* Show a scrollbar after about 24 lines. */ - max-height: 24em; -} - -/* The "Quote:" and "Code:" header parts... */ -.codeheader, .quoteheader -{ - color: #000; - text-decoration: none; - font-style: normal; - font-weight: bold; - font-size: x-small; - line-height: 1.2em; - padding: 0 0.3em; -} - -/* For links to change the code stuff... */ -.codeoperation -{ - font-weight: normal; -} - -/* Styling for BBC tags */ -.bbc_size -{ - line-height: 1.4em; -} -.bbc_color a -{ - color: inherit; -} -.bbc_img -{ - border: 0; -} -.bbc_table -{ - font: inherit; - color: inherit; -} -.bbc_table td -{ - font: inherit; - color: inherit; - vertical-align: top; -} -.bbc_u -{ - text-decoration: underline; -} -.bbc_tt -{ - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; -} - -/* Generally, those [?] icons. This makes your cursor a help icon. */ -.help -{ - cursor: help; -} - -/* /me uses this a lot. (emote, try typing /me in a post.) */ -.meaction -{ - color: red; -} - -/* Highlighted text - such as search results. */ -.highlight -{ - background-color: #ff0; - font-weight: bold; - color: #000; -} - -/* A more discreet highlight color, for selected membergroups etc. */ -.highlight2 -{ - background-color: #D1E1EF; - color: #000; -} - -/* Generic, mostly color-related, classes. -------------------------------------------------------- */ - -.titlebg, .titlebg2, tr.titlebg td, tr.titlebg2 td -{ - color: #000; - font-family: Verdana, Helvetica, sans-serif; - font-weight: bold; - background: url(../images/titlebg.jpg) #E9F0F6 repeat-x; -} -.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th -{ - color: #fff; - font-family: Verdana, Helvetica, sans-serif; - font-weight: bold; - background: url(../images/catbg.jpg) #88A6C0 repeat-x; -} -.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th -{ - background: url(../images/catbg2.jpg) #A1BFD9 repeat-x; -} - -/* adjust the table versions of headers */ -tr.titlebg td, tr.titlebg2 td -{ - padding: 6px; -} -tr.catbg td, tr.catbg2 td, td.catbg, td.catbg2, tr.catbg th, tr.catbg2 th, th.catbg, th.catbg2 -{ - padding: 6px; -} -tr.titlebg td a, tr.titlebg2 td a -{ - color: #000; -} -tr.catbg td a, tr.catbg2 td a, .catbg a -{ - color: #fff; -} -tr.catbg th.smalltext -{ - font-size: 0.9em; -} -/* Alternating backgrounds for posts, and several other sections of the forum. */ -.windowbg, #preview_body, .content, .roundframe -{ - color: #000; - background-color: #ecedf3; -} -.windowbg2 -{ - color: #000; - background-color: #f6f6f6; -} -.windowbg3 -{ - color: #000; - background-color: #e0e1e8; -} - -/* the page navigation area */ -.pagesection -{ - font-size: 0.85em; - padding: 0.5em 0.2em; - overflow: hidden; -} -.pagesection .pagelinks -{ - padding: 0.5em 0; -} - -/* GenericList */ -table.table_grid thead tr.catbg th.smalltext -{ - white-space: nowrap; -} - -/* Color for background of posts requiring approval */ -.approvebg -{ - color: #000; - background-color: #f6e0d4; -} -/* Color for background of *topics* requiring approval */ -.approvetbg -{ - color: #000; - background-color: #e4a17c; -} -/* sticky posts have a different background */ -.stickybg -{ - background: #e8d8cf; -} -.stickybg2 -{ - background: #f2e3d9; -} -/* locked posts too! */ -.lockedbg -{ - background: #d4dce2; - font-style: italic; -} -.lockedbg2 -{ - background: #d8e1e7; - font-style: italic; -} - -/* Posts and personal messages displayed throughout the forum. */ -.post, .personalmessage -{ - width: 100%; - overflow: auto; - line-height: 1.4em; -} - -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature -{ - clear: right; - padding: 1em 0 3px 0; - width: 98%; - border-top: 1px solid #666; - line-height: 1.4em; - font-size: 0.85em; -} -.custom_fields_above_signature -{ - clear: right; - padding: 1em 0 3px 0; - width: 98%; - border-top: 1px solid #666; - line-height: 1.4em; - font-size: 0.85em; -} - -/* Sometimes there will be an error when you post */ -.error -{ - color: red; -} - -/* Messages that somehow need to attract the attention. */ -.alert -{ - color: red; -} - -/* Calendar colors for birthdays, events and holidays */ -.birthday -{ - color: #920ac4; -} - -.event -{ - color: #078907; -} - -.holiday -{ - color: #000080; -} - -/* Colors for warnings */ -.warn_mute -{ - color: red; -} - -.warn_moderate -{ - color: #ffa500; -} - -.warn_watch, .success -{ - color: green; -} - -a.moderation_link, a.moderation_link:visited -{ - color: red; - font-weight: bold; -} - -.openid_login -{ - background: white url(../images/openid.gif) no-repeat; - padding-left: 18px; -} - -/* a descriptive style */ -.description -{ - padding: 1em; - font-size: 0.9em; - line-height: 1.5em; - border: 1px solid #bbb; - background: #f5f5f0; - margin: 0 0 1em 0; -} -/* an informative style */ -.information -{ - padding: 1em; - font-size: 0.9em; - line-height: 1.5em; - border: 1px solid #bbb; - background: #f0f6f0; - margin: 0 0 1em 0; -} -.information p -{ - padding: 1em; - margin: 0; -} -/* AJAX notification bar -------------------------------------------------------- */ -#ajax_in_progress -{ - background: #32cd32; - color: #fff; - text-align: center; - font-weight: bold; - font-size: 18pt; - padding: 0.4em; - width: 100%; - position: fixed; - top: 0; - left: 0; -} - -#ajax_in_progress a -{ - color: #fff; - text-decoration: underline; - font-size: smaller; - float: right; -} - -/* a general table class */ -table.table_grid -{ - border-collapse: collapse; - border: 1px solid #adadad; -} -table.table_grid td -{ - padding: 3px; - border: 1px solid #adadad; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: right; - overflow: auto; - margin: 0 0 10px 0; - padding: 0; -} -dl.settings dt -{ - width: 48%; - float: left; - margin: 0 0 10px 0; - padding: 0; - clear: both; -} -dl.settings dt.settings_title -{ - width: 100%; - float: none; - margin: 0 0 10px 0; - padding: 5px 0 0 0; - font-weight: bold; - clear: both; -} -dl.settings dt.windowbg -{ - width: 98%; - float: left; - margin: 0 0 3px 0; - padding: 0 0 5px 0; - clear: both; -} -dl.settings dd -{ - width: 48%; - float: left; - overflow: auto; - margin: 0 0 3px 0; - padding: 0; -} -dl.settings img -{ - margin: 0 10px 0 0; -} - -/* The main content area. -------------------------------------------------------- */ -.content, .roundframe -{ - padding: 0.5em 1.2em; - margin: 0; - border: none; - border: 1px solid #adadad; -} -.content p, .roundframe p -{ - margin: 0 0 0.5em 0; -} - -/* Styles used by the auto suggest control. -------------------------------------------------------- */ -.auto_suggest_div -{ - border: 1px solid #000; - position: absolute; - visibility: hidden; -} -.auto_suggest_item -{ - background-color: #ddd; -} -.auto_suggest_item_hover -{ - background-color: #888; - cursor: pointer; - color: #eee; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -/* Container for the new admin menu */ -#adm_container -{ - float: left; - margin-left: 10px; - padding: 0 5px 0 5px; - background: url(../images/admintab_left.gif) no-repeat; -} - -ul.admin_menu, ul.admin_menu li ul -{ - margin: 0; - padding: 0; - list-style: none; -} - -ul.admin_menu -{ - background: url(../images/admintab_right.gif) top right no-repeat; -} - -ul.admin_menu a -{ - text-decoration: none; -} - -/* First layer of menu items */ -ul.admin_menu li -{ - position: relative; - float: left; - background: url(../images/admintab_back.gif) top right repeat-x; - padding-right: 4px; -} - -ul.admin_menu li.last -{ - background: url(../images/admintab_right.gif) top right repeat-x; -} - -ul.admin_menu li.chosen -{ - background: url(../images/admintab_active_left.gif) no-repeat; - padding: 0 0 0 6px; -} - -ul.admin_menu li h4 -{ - margin: 0; - padding: 7px 5px 3px 5px; - cursor: pointer; - font-weight: normal; - font-size: x-small; - text-transform: uppercase; - color: #fff; -} - -ul.admin_menu li.last.chosen h4 -{ - background: url(../images/admintab_active_last.gif) top right no-repeat; - padding-right: 17px; -} -/* IE6 does't support multiple class selectors */ -ul.admin_menu li.last_chosen h4 -{ - background: url(../images/admintab_active_last.gif) top right no-repeat; - padding-right: 17px; -} - -ul.admin_menu li.chosen h4 -{ - background: url(../images/admintab_active_right.gif) top right no-repeat; - padding-right: 10px; -} - -/* Second layer of menu items */ - -ul.admin_menu li ul -{ - z-index: 90; - display: none; - position: absolute; - /* IE6 needs a fixed width to prevent the menu from going haywire */ - width: 19em; - border: 1px solid #808080; - border-left: 2px solid #6888a7; - background: #f8f8fb; -} - -ul.admin_menu li.chosen ul -{ - margin: 0 0 0 -6px; -} - -ul.admin_menu li ul li -{ - background: none; - width: 19em; - padding: 0; -} - -ul.admin_menu li ul li a -{ - display: block; - padding: 0.5em 2em 0.5em 0.5em; - font-size: 90%; - text-decoration: none; - background: none; - color: #000 !important; -} - -ul.admin_menu li ul li a.subsection -{ - background: url(../images/admin/subsection.gif) no-repeat 98% 50%; -} - -ul.admin_menu li ul li a.chosen -{ - font-weight: bold; -} - -ul.admin_menu li ul li a:hover -{ - background-color: #c8e2fb; - text-decoration: none; -} - -ul.admin_menu li:hover ul, ul.admin_menu li.over ul -{ - display: block; -} - -/* Third layer of menu items */ -ul.admin_menu li ul li ul, ul.admin_menu li ul li.over ul -{ - display: none; - position: absolute; - top: -999em; - border: 1px solid #a0a0a0; - border-left: 2px solid #6888a7; - background: #fff; -} - -ul.admin_menu li ul li:hover ul, ul.admin_menu li ul li.over ul -{ - display: block; - left: 18em; - top: auto; - margin: -2em 0 0 1em; -} -#adm_submenus -{ - padding: 0 0 0 2em; -} -#adm_submenus, #adm_submenus ul -{ - height: 3em; - overflow: auto; -} - -/* The dropdown menu toggle image */ -div#menu_toggle -{ - float: right; - margin: 0 10px 0 0; - background: url(../images/mirrortab_first.gif) top left no-repeat; - padding: 0 0 0 7px; -} -div#menu_toggle a -{ - display: block; - background: #e5e5e8 url(../images/mirrortab_last.gif) top right no-repeat; - padding: 8px 12px 3px 6px; -} - -/* Styles for the standard button lists. -------------------------------------------------------- */ - -.buttonlist ul -{ - background: url(../images/maintab_first.gif) no-repeat scroll left bottom; - padding: 0 0 0 10px; -} -.buttonlist ul li, .buttonlist_bottom ul li -{ - display: inline; -} -.buttonlist ul li a, .buttonlist_bottom ul li a -{ - float: left; - display: block; - color: #fff; - font-size: 0.8em; - font-family: tahoma, sans-serif; - text-transform: uppercase; - text-decoration: none; -} -.buttonlist ul li a:hover, .buttonlist_bottom ul li a:hover -{ - color: #e0e0ff; -} -.buttonlist ul li a span -{ - background: url(../images/maintab_back.gif) repeat-x bottom left; - display: block; - padding: 0.1em 0.5em 0.5em 0.5em; -} -.buttonlist ul li.last a span -{ - background: url(../images/maintab_last.gif) no-repeat bottom right; - padding: 0.1em 1em 0.5em 0.5em; -} -.buttonlist ul li.active a span em -{ - padding: 0.1em 0.5em 0.5em 0.5em; - display: block; - font-style: normal; - background: url(../images/maintab_active_back.gif) repeat-x bottom right; -} -.buttonlist ul li.active a span -{ - background: url(../images/maintab_active_first.gif) no-repeat bottom left; - padding: 0 0 0 8px; -} -.buttonlist ul li.lastactive -{ - float: left; - background: url(../images/maintab_last.gif) no-repeat bottom right; - padding: 0 8px 0 0; -} -.buttonlist ul li.active a -{ - background: url(../images/maintab_active_last.gif) no-repeat bottom right; - padding-right: 8px; -} -/* For links that are basically submit buttons. */ -.buttonlist_submit -{ - background: transparent; - color: #fff; - text-transform: uppercase; - vertical-align: top; - text-decoration: none; - font-size: 9px; - font-family: tahoma, sans-serif; - border: 0; -} -.buttonlist_submit:hover -{ - color: #e0e0ff; -} -/* ..for the "bottom" menu */ -.buttonlist_bottom ul -{ - background: url(../images/mirrortab_first.gif) no-repeat scroll left top; - padding: 0 0 0 10px; -} -.buttonlist_bottom ul li a span -{ - background: url(../images/mirrortab_back.gif) repeat-x top left; - display: block; - padding: 0.4em 0.5em 0.2em 0.5em; -} -.buttonlist_bottom ul li.last a span -{ - background: url(../images/mirrortab_last.gif) no-repeat top right; - padding: 0.4em 1em 0.2em 0.5em; -} -.buttonlist_bottom ul li.active a span em -{ - padding: 0.4em 0.5em 0.2em 0.5em; - display: block; - font-style: normal; - background: url(../images/mirrortab_active_back.gif) repeat-x top right; -} -.buttonlist_bottom ul li.active a span -{ - background: url(../images/mirrortab_active_first.gif) no-repeat top left; - padding: 0 0 0 8px; -} -.buttonlist_bottom ul li.lastactive -{ - float: left; - background: url(../images/mirrortab_last.gif) no-repeat top right; - padding: 0 8px 0 0; -} -.buttonlist_bottom ul li.active a -{ - background: url(../images/mirrortab_active_last.gif) no-repeat top right; - padding-right: 8px; -} - -/* The old-style button strips, with images */ -.oldbuttonlist -{ - text-align: right; - padding: 0.5em; -} - -/* a smaller quick-button list */ -ul.quickbuttons -{ - margin: 0.9em 11px 0 0; - clear: right; - float: right; - text-align: right; -} -ul.quickbuttons li -{ - float: left; - display: inline; - margin: 0 0 0 11px; -} -ul.quickbuttons li a -{ - padding: 0 0 0.7em 20px; - display: block; - height: 20px; - font: bold 0.85em/18px arial, sans-serif; - float: left; -} -ul.quickbuttons li.quote_button -{ - background: url(../images/buttons/quote.gif) no-repeat 0 0; -} -ul.quickbuttons li.remove_button -{ - background: url(../images/buttons/delete.gif) no-repeat 0 0; -} -ul.quickbuttons li.modify_button -{ - background: url(../images/buttons/modify.gif) no-repeat 0 0; -} -ul.quickbuttons li.approve_button -{ - background: url(../images/buttons/approve.gif) no-repeat 0 0; -} -ul.quickbuttons li.restore_button -{ - background: url(../images/buttons/restore_topic.gif) no-repeat 0 0; -} -ul.quickbuttons li.split_button -{ - background: url(../images/buttons/split.gif) no-repeat 0 0; -} -ul.quickbuttons li.reply_button -{ - background: url(../images/buttons/reply.gif) no-repeat 0 0; -} -ul.quickbuttons li.reply_all_button -{ - background: url(../images/buttons/reply.gif) no-repeat 0 0; -} -ul.quickbuttons li.notify_button -{ - background: url(../images/buttons/notify_sm.gif) no-repeat 0 0; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 0 0 5px; -} - -.generic_tab_strip -{ - margin: 0 1em 2em; -} -.generic_tab_strip .buttonlist -{ - float: left !important; -} - -/* the navigation list */ -ul#navigation -{ - margin: 0; - font-size: 0.9em; - padding: 1em 0.4em; -} -ul#navigation li -{ - float: none; - font-size: 0.95em; - display: inline; -} - -/* Styles for the general looks for the Core theme. -------------------------------------------------------- */ - -/* this is the main container surrounding everything, use this to set forum width, font-size etc. */ -#mainframe -{ - font-size: 85%; - width: 95%; - margin: auto; -} -/* the forum name or logo */ -h1#forum_name -{ - padding: 0.6em 0 0.6em 0; - margin: 0; - font-family: Verdana, helvetica, sans-serif; - font-size: 135%; - color: #fff; -} - -/* The greeting section */ -#greeting_section -{ - padding: 0.7em 0.4em 0.7em 0.4em; - clear: both; -} -#greeting_section li -{ - font-weight: normal; -} -#greeting_section li#name -{ - padding-left: 0.5em; -} -#greeting_section li em -{ - font-style: normal; - font-weight: bold; -} - -/* user section with all relevant links */ -#user_section -{ - padding: 1px; - margin: 1px 0 0 0; - font-size: 90%; -} -#user_section ul, #user_section form -{ - padding: 0.5em 0.7em 0.5em 0.7em; -} - -/* the avatar, located to the left */ -#user_section #myavatar -{ - padding: 0.7em; - border-right: 1px solid #adadad; - margin: 0 0.5em 0 0; - float: left; -} -/* the news and search areas */ -#news_section -{ - clear: both; - font-size: 0.8em; - padding: 0.5em 1em 0.5em 1em; -} -#random_news h3 -{ - margin-right: 1em; - font-size: 0.85em; - display: inline; -} -#random_news p -{ - margin: 0; - padding: 0; - display: inline; -} - -/* The main menu. */ -.main_menu -{ - padding-left: 1em; -} -.main_menu ul -{ - list-style: none; - padding: 0; - margin: 0; - background: url(../images/maintab_first.gif) no-repeat bottom left; - padding-left: 10px; -} -.main_menu li -{ - margin: 0; - padding: 0; - display: inline; -} -.main_menu li a:link, .main_menu li a:visited -{ - float: left; - display: block; - color: #fff; - font-size: 0.8em; - font-family: tahoma, sans-serif; - text-transform: uppercase; -} -.main_menu li a:hover -{ - color: #e0e0ff; - text-decoration: none; -} -.main_menu li a span -{ - background: url(../images/maintab_back.gif) repeat-x bottom left; - display: block; - padding: 0.1em 0.5em 0.5em 0.5em; -} -.main_menu li.last a span -{ - background: url(../images/maintab_last.gif) no-repeat bottom right; - padding: 0.1em 1em 0.5em 0.5em; -} -.main_menu li.active a span em -{ - padding: 0.1em 0.5em 0.5em 0.5em; - display: block; - font-style: normal; - background: url(../images/maintab_active_back.gif) repeat-x bottom right; -} -.main_menu li.active a span -{ - background: url(../images/maintab_active_first.gif) no-repeat bottom left; - padding: 0 0 0 8px; -} -.main_menu li.last.active -{ - float: left; - background: url(../images/maintab_last.gif) no-repeat bottom right; - padding: 0 8px 0 0; -} -/* IE6 doesn't support multiple class selectors */ -.main_menu li.lastactive -{ - float: left; - padding: 0 8px 0 0; - background: url(../images/maintab_last.gif) no-repeat bottom right; -} -.main_menu li.active a -{ - background: url(../images/maintab_active_last.gif) no-repeat bottom right; - padding-right: 8px; -} - -/* the linktree */ -ul.linktree -{ - clear: both; - width: 100%; - list-style: none; - margin: 0; - padding: 1.5em 0.5em 0.5em 0.5em; - overflow: hidden; -} -ul.linktree li -{ - float: left; - padding: 0 0.5em 0 0; - font-size: 0.8em; -} -ul.linktree li a -{ - color: #000; -} -ul.linktree li a:hover -{ - color: #cc3333; -} -ul.linktree li span -{ - font-weight: bold; -} - -/* the footer area */ -#footerarea -{ - padding: 1em 0 2em 0; - text-align: center; -} -#footerarea ul -{ - margin: 0 auto 0 auto; -} -#footerarea ul li -{ - text-align: center; - display: inline; - border-right: 1px solid #888; - margin: 0; - padding: 0 4px 0 2px; -} -/* Note: It is against the license to remove, alter or otherwise hide the copyright output from SMF so please do not alter the two sections below. */ -#footerarea ul li.copyright -{ - display: block; - line-height: 0; - font-size: small; - padding: 1em; -} -#footerarea ul li.copyright, #footerarea ul li.last -{ - border-right: none; -} -/* page created in.. */ -#footerarea p -{ - clear: both; - text-align: left; - padding-left: 0.5em; -} -p#show_loadtime -{ - display: block; - text-align: center; -} -/* the upshrink buttons */ -#upshrink, #advsearch -{ - margin: 0 1ex; -} - -/* Styles for a typical table. -------------------------------------------------------- */ -table.table_list -{ - width: 100%; -} -table.table_list p -{ - padding: 0; - margin: 0; -} -table.table_list td,table.table_list th -{ - padding: 5px; -} -table.table_list tbody.header td -{ - padding: 0; -} -table.table_list tbody.content td.stats -{ - font-size: 90%; - width: 15%; - text-align: center; -} -table.table_list tbody.content td.lastpost -{ - line-height: 1.2em; - font-size: 85%; - width: 24%; -} -table.table_list tbody.content td.icon -{ - text-align: center; - width: 6%; -} - -/* Styles for headers. -------------------------------------------------------- */ -/* Styles for headers used in Curve templates. */ -h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg, div.titlebg, .table_list tbody.header td -{ - overflow: hidden; - line-height: 2em; - font-weight: bold; -} -h3.titlebg, h4.titlebg -{ - border-left: 1px solid #adadad; - border-right: 1px solid #adadad; -} -h3.titlebg, h4.catbg -{ - padding: 0 0.5em !important; -} -h3.catbg img.icon, div.titlebg img.icon, h3.catbg img -{ - float: left; - margin: 5px 8px 0 0; -} - -/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */ -.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td -{ - color: #000; - font-style: normal; - background: url(../images/titlebg.jpg) #E9F0F6 repeat-x; - border-bottom: 1px solid #9baebf; - border-top: 1px solid #fff; - padding-left: 10px; - padding-right: 10px; -} -.titlebg, .titlebg a:link, .titlebg a:visited -{ - font-weight: bold; - color: #000; - font-style: normal; -} - -.titlebg a:hover -{ - color: #404040; -} -/* same as titlebg, but used where bold text is not needed */ -.titlebg2 a:link, .titlebg2 a:visited -{ - color: #000; - font-style: normal; - text-decoration: underline; -} - -.titlebg2 a:hover -{ - text-decoration: underline; -} - -/* This is used for categories, page indexes, and several other areas in the forum. -.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers. */ -.catbg, tr.catbg td, .catbg3, tr.catbg3 td -{ - background: url(../images/catbg.jpg) #88A6C0 repeat-x; - color: #fff; - padding-left: 10px; - padding-right: 10px; -} -.catbg2, tr.catbg2 td -{ - background: url(../images/catbg2.jpg) #A1BFD9 repeat-x; - color: #fff; - padding-left: 10px; - padding-right: 10px; -} -.catbg, .catbg2, .catbg3 -{ - border-bottom: 1px solid #375576; -} -.catbg, .catbg2 -{ - font-weight: bold; -} -.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited -{ - font-size: 95%; - color: #fff; - text-decoration: none; -} -.catbg a:link, .catbg a:visited, .catbg2 a:link, .catbg2 a:visited -{ - color: #fff; - text-decoration: none; -} -.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover -{ - color: #e0e0ff; -} - -/* Styles for the board index. -------------------------------------------------- */ - -p#stats -{ - text-align: right; -} -h3#newsfader -{ - font-size: 1em; -} -#smfNewsFader -{ - font-weight: bold; - line-height: 1.4em; - padding: 1em; - font-size: 1em; - text-align: center; -} -#upshrink_ic -{ - margin-right: 2ex; - text-align: right; -} -.categoryframe -{ - margin-top: 0.4em; -} -.categoryframe h3 -{ - margin: 0; -} -table.boardsframe -{ - width: 100%; -} -table.boardsframe td.icon -{ - text-align: center; - padding: 0.5em; - width: 6%; -} -table.boardsframe td.info -{ - width: 60%; - padding: 0; -} -table.boardsframe td.info h4 -{ - padding: 0.4em 0.4em 0 0.4em; - margin: 0; -} -table.boardsframe td.info p -{ - padding: 0 0.4em 0.5em 0.4em; - margin: 0; -} -table.boardsframe td.info p.moderators -{ - font-size: 0.8em; - font-family: verdana, sans-serif; -} -table.boardsframe td.stats -{ - width: 8%; - vertical-align: middle; - text-align: center; -} -table.boardsframe td.lastpost -{ - width: 20%; - vertical-align: top; - padding: 0.5em; -} -#posticons -{ - clear: both; - width: 100%; -} -#posticons .buttonlist -{ - margin-right: 1em; - float: right; -} - -/* the newsfader */ -#smfFadeScroller -{ - text-align: center; - overflow: auto; - color: #000000; /* shouldn't be shorthand style due to JS bug in IE! */ -} - -/* Styles for the info center on the board index. ----------------------------------------------------- */ - -#infocenterframe -{ - margin-top: 2em; - clear: both; -} -/* each section in infocenter has this class */ -.infocenter_section -{ - clear: both; -} -.infocenter_section p.section -{ - display: block; - margin: 0; - width: 30px; - text-align: center; - float: left; - padding: 0.5em 0 0 0; -} -.infocenter_section div.sectionbody -{ - margin-left: 30px; - padding: 0.3em; - border-left: 1px solid #a0a0a0; - min-height: 25px; - height: auto !important; -} -/* recent posts - or just one recent post */ -dl#infocenter_recentposts -{ - float: left; - width: 100%; - padding: 0; - margin: 0; -} -dl#infocenter_recentposts dt -{ - clear: left; - float: left; - padding: 0.1em; - width: 68%; - white-space: nowrap; - overflow: hidden; -} -dl#infocenter_recentposts dd -{ - clear: right; - float: right; - padding: 0.1em; - width: 25%; - text-align: right; - white-space: nowrap; - overflow: hidden; -} -/* login form */ -form#infocenter_login ul.horizlist label -{ - white-space: nowrap; - font-size: 90%; - font-weight: bold; -} - -/* Styles for the message (topic) index. ----------------------------------------------------- */ - -#childboards table -{ - width: 100%; -} -.modbuttons -{ - clear: both; - width: 100%; -} -.buttonlist, .buttonlist_bottom -{ - margin-right: 1em; - float: right; -} -#messageindex td.icon1, #messageindex td.icon2 -{ - text-align: center; - padding: 0.5em; - width: 5%; -} -#messageindex td.subject -{ - padding: 0.5em; -} -#messageindex td.starter -{ - text-align: center; - padding: 0.5em; - width: 14%; -} -#messageindex td.replies -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#messageindex td.views -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#messageindex td.lastpost -{ - padding: 0.5em; - width: 22%; -} -#messageindex td.moderation -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#topic_icons p -{ - display: block; - padding: 0.5em 0.5em 0.1em 0.5em; - margin: 0; - border-bottom: none; - font-weight: normal !important; -} -#topic_icons ul -{ - display: block; - padding: 0.5em 1em 0.1em 1em; - margin: 0; - border-bottom: none; - font-weight: normal !important; -} -#message_index_jump_to -{ - margin: 2em 4em 0 2em; -} -.lastpost img -{ - float: right; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ - -.linked_events -{ - clear: both; - margin: 1em 0; -} -.linked_events .edit_event -{ - color: #f00; -} -#moderationbuttons -{ - margin-left: 0.5em; -} -#postbuttons .nav, #postbuttons_lower .nav -{ - margin: 0.5em 0.5em 0 0; - text-align: right; -} -#postbuttons_lower .nav -{ - margin: 0 0.5em 0.5em 0; -} -#postbuttons, #postbuttons_lower -{ - text-align: right; -} - -/* Poll question */ -h4#pollquestion -{ - padding: 1em 0 1em 2em; -} - -/* Poll vote options */ -#poll_options ul.options -{ - border-top: 1px solid #696969; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - clear: both; - padding: 0 0 1em 2em; -} - -#poll_options div.submitbutton.border -{ - border-bottom: 1px solid #696969; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - border: solid #696969; - border-width: 1px 0; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options dl.options dt.voted -{ - font-weight: bold; -} -#poll_options dl.options dd -{ - margin: 0.5em 0 1em 0; -} - -/* Poll notices */ -#poll_options p -{ - margin: 0 1.5em 0.2em 1.5em; - padding: 0 0.5em 0.5em 0.5em; -} - -div#pollmoderation -{ - margin: -1em 0 0 2em; - padding: 0; -} - -.approve_post -{ - margin: 2ex; - padding: 1ex; - border: 2px dashed #cc3344; - color: #000; - font-weight: bold; -} -#forumposts h3.catbg3 -{ - font-weight: normal; - padding: 0.4em; - overflow: hidden; -} -#forumposts h3.catbg3 img -{ - float: left; - vertical-align: middle; -} -#forumposts h3.catbg3 span -{ - float: left; - padding-left: 2%; -} -#forumposts h3.catbg3 span#top_subject -{ - padding-left: 9.5em; -} -.poster -{ - width: 15em; - float: left; -} -.post -{ - clear: right; -} -img.smiley -{ - vertical-align: bottom; -} -.postarea -{ - margin-left: 16em; -} -.messageicon -{ - float: left; - margin: 0 0.5em 0.5em 0; -} -.messageicon img -{ - padding: 6px 3px; -} -.keyinfo -{ - float: left; - clear: none; - width: 50%; - min-height: 3em; -} -ul.postingbuttons -{ - float: right; - padding: 0 0.5em 0 0; -} -ul.postingbuttons li -{ - float: left; - margin: 0 0.5em 0 0; -} -.modifybutton -{ - float: right; - margin: 0 0.5em 0.5em 0; - font: bold 0.85em arial, sans-serif; - color: #476c8e; -} -.attachments -{ - padding-top: 1em; - overflow: auto; -} -.attachments hr -{ - clear: both; - margin: 1em 0 1em 0; -} -.postfooter -{ - margin-left: 16em; -} -.topborder -{ - border-top: 1px solid #bbb; -} -.moderatorbar -{ - clear: right; - margin: 1em 0 0 16em; -} -#pollmoderation, #moderationbuttons_strip -{ - float: left; -} - -/* Styles for the quick reply area. ----------------------------------------------------- */ - -#quickReplyOptions #quickReplyWarning -{ - border: none; - text-align: left; - margin: 0; - width: 25%; - float: left; -} -#quickReplyOptions #quickReplyContent -{ - text-align: right; - float: left; - width: 67.5%; - padding: 1em; - border-left: 1px solid #aaa; -} - -#quickReplyOptions #quickReplyContent textarea, #quickReplyOptions #quickReplyContent input -{ - margin-bottom: .5em; -} - -#quickReplyWarning -{ - width: 20%; - float: left; - padding: 0.5em 1em; -} -#quickReplyContent -{ - width: 75%; - float: right; - padding: 0.5em 0; -} -#quickReplyOptions .roundframe -{ - overflow: hidden; -} -#quickReplyOptions form textarea -{ - height: 100px; - width: 635px; - max-width: 100%; - min-width: 100%; -} - -/* The jump to box */ -#display_jump_to -{ - clear: both; - padding: 5px; -} - -/* Separator of posts. More useful in the print stylesheet. */ -#forumposts .post_separator -{ - display: none; -} - -/* Styles for edit post section ----------------------------------------------------- */ -form#postmodify .roundframe -{ - padding: 0 12%; -} -#post_header -{ - margin-bottom: 0.5em; - padding: 0.5em; - overflow: hidden; -} -#post_header dt -{ - float: left; - margin: 0; - padding: 0; - width: 15%; - margin: .3em 0; - font-weight: bold; -} -#post_header dd -{ - float: left; - margin: 0; - padding: 0; - width: 83%; - margin: .3em 0; -} -#post_header img -{ - vertical-align: middle; -} -ul.post_options -{ - margin: 0 0 0 1em; - padding: 0; - list-style: none; - overflow: hidden; -} -ul.post_options li -{ - margin: 0.2em 0; - width: 49%; - float: left; -} -#postAdditionalOptionsHeader -{ - margin-top: 1em; -} -#postMoreOptions -{ - border-bottom: 1px solid #666; - padding: 0.5em; -} -#postAttachment, #postAttachment2 -{ - overflow: hidden; - margin: .5em 0; - padding: 0; - border-bottom: 1px solid #666; - padding: 0.5em; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 0 .3em 1em; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 1em; -} -#post_confirm_strip, #shortcuts -{ - padding: 1em 0 0 0; -} -.post_verification -{ - margin-top: .5em; -} -.post_verification #verification_control -{ - margin: .3em 0 .3em 1em; -} -/* The BBC buttons */ -#bbcBox_message -{ - margin: 1em 0 0.5em 0; -} -#bbcBox_message div -{ - margin: 0.2em 0; - vertical-align: top; -} -#bbcBox_message div img -{ - margin: 0 1px 0 0; - vertical-align: top; -} -#bbcBox_message select -{ - margin: 0 2px; -} -/* The smiley strip */ -#smileyBox_message -{ - margin: 0.75em 0 0.5em 0; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event .roundframe -{ - padding: 1% 12%; -} -#post_event fieldset -{ - margin-bottom: 0.5em; - border: 1px solid #c4c4c4; - padding: 0.5em; - clear: both; -} -#post_event legend -{ - font-weight: bold; - color: #000; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: left; -} -#post_event #event_main div.smalltext -{ - width: 33em; - float: right; -} -#post_event div.event_options -{ - float: right; -} -#post_event ul.event_main, ul.event_options -{ - padding: 0; - overflow: hidden; -} -#post_event ul.event_main li -{ - list-style-type: none; - margin: 0.2em 0; - width: 49%; - float: left; -} -#post_event ul.event_options -{ - margin: 0; - padding: 0 0 .7em .7em; -} -#post_event ul.event_options li -{ - list-style-type: none; - margin: 0; - float: left; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 1em 0 0; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll -{ - overflow: hidden; -} -#edit_poll fieldset -{ - margin: 0.5em 0; - border: 1px solid #c4c4c4; - padding: 0.5em; - clear: both; - overflow: hidden; -} -#edit_poll legend -{ - font-weight: bold; - color: #000; -} -#edit_poll fieldset input -{ - margin-left: 8.6em; -} -#edit_poll ul.poll_main li -{ - padding-left: 1em; -} -#edit_poll ul.poll_main input -{ - margin-left: 1em; -} -#edit_poll ul.poll_main, dl.poll_options -{ - overflow: hidden; - padding: 0 0 .7em .7em; - list-style: none; -} -#edit_poll ul.poll_main li -{ - margin: 0.2em 0; -} -#edit_poll dl.poll_options dt -{ - width: 33%; - padding: 0 0 0 1em; -} -#edit_poll dl.poll_options dd -{ - width: 65%; -} -#edit_poll dl.poll_options dd input -{ - margin-left: 0; -} - - -/* Styles for the recent messages section. ----------------------------------------------------- */ - -.readbuttons -{ - clear: both; - width: 100%; -} -.buttonlist, .buttonlist_bottom -{ - margin-right: 1em; - float: right; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ - -#move_topic dl -{ - margin-bottom: 0; -} -.move_topic -{ - width: 710px; - margin: auto; - text-align: left; -} -div.move_topic fieldset -{ - margin: 0.5em 0; - border: 1px solid #cacdd3; - padding: 0.5em; -} - -/* Styles for the send topic section. ----------------------------------------------------- */ - -fieldset.send_topic -{ - margin-bottom: 0.5em; - border: none; - padding: 0.5em; -} -dl.send_topic -{ - margin-bottom: 0; -} -dl.send_mail dt -{ - width: 35%; -} -dl.send_mail dd -{ - width: 64%; -} - -/* Styles for the split topic section. ----------------------------------------------------- */ - -div#selected, div#not_selected -{ - width: 49%; -} -ul.split_messages li.windowbg, ul.split_messages li.windowbg2 -{ - border: 1px solid #adadad; - padding: 1em; - margin: 1px; -} -ul.split_messages li a.split_icon -{ - padding: 0 0.5em; -} -ul.split_messages div.post -{ - padding: 1em 0 0 0; - border-top: 1px solid #fff; -} - -/* Styles for the report topic section. ----------------------------------------------------- */ - -#report_topic dl -{ - margin-bottom: 0; -} -#report_topic dl.settings dt -{ - width: 20%; -} -#report_topic dl.settings dd -{ - width: 79%; -} - -/* Styles for the merge topic section. ----------------------------------------------------- */ - -ul.merge_topics li -{ - list-style-type: none; -} -dl.merge_topic dt -{ - width: 25%; -} -dl.merge_topic dd -{ - width: 74%; -} -fieldset.merge_options -{ - margin-bottom: 0.5em; -} -fieldset.merge_options legend -{ - font-weight: bold; -} -.custom_subject -{ - margin: 0.5em 0; -} - -/* Styles for the login areas. -------------------------------------------------------- */ -.login -{ - width: 540px; - margin: 0 auto; -} -.login dl -{ - overflow: auto; - clear: right; -} -.login dt, .login dd -{ - margin: 0 0 0.4em 0; - width: 44%; - padding: 0.1em; -} -.login dt -{ - float: left; - clear: both; - text-align: right; - font-weight: bold; -} -.login dd -{ - width: 54%; - float: right; - text-align: left; -} -.login p -{ - text-align: center; -} -.login h3 img -{ - float: left; - margin: 4px 0.5em 0 0; -} - -/* Styles for the registration section. -------------------------------------------------------- */ -.register_error -{ - border: 1px dashed red; - padding: 5px; - margin: 0 1ex 1ex 1ex; -} -.register_error span -{ - text-decoration: underline; -} - -/* Additional profile fields */ -dl.register_form -{ - margin: 0; - clear: right; - overflow: auto; -} - -dl.register_form dt -{ - font-weight: normal; - float: left; - clear: both; - width: 50%; - margin: 0.5em 0 0 0; -} - -dl.register_form dt strong -{ - font-weight: bold; -} - -dl.register_form dt span -{ - display: block; -} - -dl.register_form dd -{ - float: left; - width: 49%; - margin: 0.5em 0 0 0; -} - -#confirm_buttons -{ - text-align: center; - padding: 1em 0; -} - -.coppa_contact -{ - padding: 4px; - width: 32ex; - background-color: #fff; - color: #000; - margin-left: 5ex; - border: 1px solid #000; -} - -.valid_input -{ - background-color: #f5fff0; -} -.invalid_input -{ - background-color: #fff0f0; -} - -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - width: 75%; - min-width: 520px; - text-align: left; -} -#maintenance_mode img.floatleft -{ - margin-right: 1em; -} - -/* common for all admin sections */ -h3.titlebg img -{ - vertical-align: middle; - margin-right: 0.5em; -} -tr.titlebg td -{ - padding-left: 0.7em; -} -#admin_menu -{ - min-height: 2em; - padding-left: 0; -} -#admin_content -{ - clear: left; -} -#admin_login .centertext -{ - padding: 1em; -} -#admin_login .centertext .error -{ - padding: 0 0 1em 0; -} - -/* Styles for sidebar menus. -------------------------------------------------------- */ -.left_admmenu, .left_admmenu ul, .left_admmenu li -{ - padding: 0; - margin: 0; - list-style: none; -} -#left_admsection -{ - background-color: #ecedf3; - padding: 1px; - border: 1px solid #ADADAD; - width: 160px; - float: left; - margin-right: 10px; -} -.adm_section h4.titlebg -{ - font-size: 95%; - margin-bottom: 5px; -} -#main_container -{ - position: relative; -} -.left_admmenu li -{ - padding: 0 0 0 0.5em; -} -.left_admmenu -{ - margin-bottom: 1.1em; -} -#main_admsection -{ - position: relative; - left: 0; - right: 0; - overflow: hidden; -} - -tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td -{ - padding: 0.3em 0.7em; -} -#credits p -{ - padding: 0; - font-style: italic; - margin: 0; -} - -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table table -{ - width: 100%; -} -.topic_table .icon1, .topic_table .icon2, .topic_table .stats -{ - text-align: center; -} -#topic_icons -{ - margin-top: 1em; -} -#topic_icons .description -{ - margin: 0; -} -.topic_table table thead -{ - border-bottom: 1px solid #fff; -} -/* the subject column */ -.topic_table td -{ - font-size: 1em; -} -.topic_table td.subject -{ - padding: 4px; -} -.topic_table td.subject p, .topic_table td.stats, .topic_table td.lastpost -{ - font-size: 0.85em; - padding: 0; - margin: 0; -} -.topic_table td.lastpost, .topic_table td.lastpost -{ - font-size: 0.9em; - line-height: 100%; - padding: 4px; -} -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} - -/* Styles for (fatal) errors. -------------------------------------------------- */ - -#fatal_error -{ - border: 1px solid #aaa; -} - -.errorbox -{ - padding: 1em; - border: 1px solid #cc3344; - color: #000; - background-color: #ffe4e9; - margin: 1em 0; -} -.errorbox h3 -{ - padding: 0; - margin: 0; - font-size: 1.1em; - text-decoration: underline; -} -.errorbox p -{ - margin: 1em 0 0 0; -} -.errorbox p.alert -{ - padding: 0; - margin: 0; - float: left; - width: 1em; - font-size: 1.5em; -} - -/* Styles for the profile section. -------------------------------------------------- */ - -dl -{ - overflow: auto; - margin: 0; - padding: 0; -} - -/* Fixes for the core theme */ -#profileview -{ - padding: 1px; - border: 1px solid #696969; - background-color: #ecedf3; -} -#profileview .content -{ - border: none; -} -#basicinfo .content -{ - padding: 1em; -} -#detailedinfo .content -{ - padding: 0.7em 1.2em; - border-left: 1px solid #aaa; -} - -/* The basic user info on the left */ -#basicinfo -{ - width: 20%; - float: left; -} -#detailedinfo -{ - width: 78%; - float: right; -} -#basicinfo h4 -{ - font-size: 135%; - font-weight: 100; - line-height: 105%; - white-space: pre-wrap; /* css-2.1 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - overflow: hidden; -} -#basicinfo h4 span.position -{ - font-size: 80%; - font-weight: 100; - display: block; -} -#basicinfo img.avatar -{ - display: block; - margin: 10px 0 0 0; -} -#basicinfo ul -{ - list-style-type: none; - margin: 10px 0 0 0; -} -#basicinfo ul li -{ - display: block; - float: left; - margin-right: 5px; - height: 20px; -} -#basicinfo span#userstatus -{ - display: block; - clear: both; -} -#basicinfo span#userstatus img -{ - vertical-align: middle; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: right; - overflow: auto; - margin: 0 0 18px 0; - padding: 0 0 15px 0; - border-bottom: 1px solid #ccc; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - width: 30%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - width: 70%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} -#detailedinfo div.content dl.noborder -{ - border-bottom: 0; -} -#detailedinfo div.content dt.clear -{ - width: 100%; -} -.signature, .custom_fields_above_signature, .attachments -{ - width: 98%; - overflow: auto; - clear: right; - border-top: 1px solid #666; -} -.signature h5 -{ - font-size: 100%; - margin-bottom: 10px; -} -#personal_picture -{ - display: block; - margin-bottom: 0.3em; -} -#avatar_server_stored div -{ - float: left; -} - -#main_admsection #basicinfo, #main_admsection #detailedinfo -{ - width: 100%; -} -#main_admsection #detailedinfo .content -{ - border: none !important; -} -#main_admsection #basicinfo -{ - border-bottom: 1px solid #ccc; -} -#main_admsection #basicinfo h4 -{ - float: left; -} -#main_admsection #basicinfo img.avatar -{ - float: right; - vertical-align: top; -} -#main_admsection #basicinfo ul -{ - clear: left; - padding-top: 10px; -} -#main_admsection #basicinfo span#userstatus -{ - clear: left; -} -#main_admsection #basicinfo p#infolinks -{ - display: none; - clear: both; -} -#main_admsection #basicinfo .botslice -{ - clear: both; -} - -/* Simple feedback messages */ -div#profile_error, div#profile_success -{ - margin: 0 0 1em 0; - padding: 1em 2em; - border: 1px solid; -} -div#profile_error -{ - border-color: red; - color: red; - background: #fee; -} - -div#profile_error span -{ - text-decoration: underline; -} - -div#profile_success -{ - border-color: green; - color: green; - background: #efe; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#generalstats div.content dd -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -/* Activity by time */ -.activity_stats -{ - margin: 0; - padding: 0; - list-style: none; -} -.activity_stats li -{ - width: 4.16%; - float: left; -} -.activity_stats li span -{ - display: block; - border: solid #000; - border-width: 1px 1px 0 0; - text-align: center; -} -.activity_stats li.last span -{ - border-right: none; -} -.activity_stats li div.bar -{ - margin: 0 auto; - width: 15px; -} -.activity_stats li div.bar div -{ - background: url('../images/bar.gif'); -} -.activity_stats li div.bar span -{ - position: absolute; - top: -1000em; - left: -1000em; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - width: 50%; - float: left; -} -#popularactivity -{ - width: 50%; - float: right; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -.profile_pie -{ - background-image: url(../images/stats_pie.png); - float: left; - height: 20px; - width: 20px; - margin: 0 1em 0 0; - padding: 0; - text-indent: -1000em; -} - -/* View posts */ -.time -{ - float: right; -} -.counter -{ - margin: 0 0 0 0; - padding: 0.2em 0.5em 0.1em 0.2em; - font-size: 2.2em; - font-weight: bold; - color: #354c5f; - float: left; -} -.list_posts -{ - border-top: 1px solid #adadad; - padding-top: 1em; - margin-top: 0.5em; -} -div.core_posts -{ - border: 1px solid #adadad; - margin-bottom: 3px; -} -div.core_posts div.content -{ - background: none; - border: none; -} -.topic h4 -{ - margin: 3px 0; -} - -.mod_icons -{ - text-align: right; - margin-right: 1em; -} -#permissions div.tborder -{ - margin-bottom: 2em; -} -#permissions ul -{ - padding: 0; - margin: 1px 0 0 0; - border-top: 1px solid #e5e5e8; - float: left; - width: 100%; -} -#permissions div.permission_name -{ - width: 48%; - list-style: none; - border-right: 1px solid #e5e5e8; - background: #ecedf3; - margin: 0 1% 0 0; - padding: 0.7em 0.7em 0.8em 0.7em; - line-height: 1em; -} -#permissions li -{ - width: 100%; - padding: 0; - list-style: none; - margin: 0 0 1px 0; -} -#permissions li span.permission_status, #permissions li span.alert -{ - line-height: 2.9em; - font-size: 0.85em; -} - -#tracking div.content dl -{ - border-bottom: 0; - margin: 0; - padding: 0; -} - -#creator dl -{ - margin: 0; -} -#creator dt -{ - width: 40%; - float: left; - clear: both; - margin: 0 0 10px 0; -} -#creator dd -{ - float: left; - width: 60%; - margin: 0 0 10px 0; - overflow: auto; -} - -.ignoreboards -{ - margin: 0 2%; - padding: 0; - width: 45%; -} -.ignoreboards a -{ - font-weight: bold; - text-decoration: none; - border-bottom: 1px solid #c4c4c4; - padding: 0.1em 0; -} -.ignoreboards a:hover -{ - text-decoration: none; - border-bottom: 1px solid #476c8e; -} -.ignoreboards ul -{ - margin: 0; - padding: 0; -} -.ignoreboards li -{ - list-style: none; - float: left; - clear: both; -} -.ignoreboards li.category -{ - margin: 0.7em 0 0 0; - width: 100%; -} -.ignoreboards li ul -{ - margin: 0.2em 0 0 0; -} -.ignoreboards li.category ul li.board -{ - width: 93%; -} - -#theme_settings -{ - overflow: auto; - margin: 0; - padding: 0; -} - -#theme_settings li -{ - list-style: none; - margin: 10px 0; - padding: 0; -} -/*Paid Subscriptions*/ -#paid_subscription -{ - width: 100%; -} -#paid_subscription dl.settings -{ - margin-bottom: 0; -} -#paid_subscription dl.settings dd, #paid_subscription dl.settings dt -{ - margin-bottom: 4px; -} -/*pick theme*/ -#pick_theme -{ - width: 100%; - float: left; -} -/*Issue a warning*/ -#warn_body{ - width: 80%; - font-size: 0.9em; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#statistics -{ - padding-bottom: 0.5em; -} -#statistics h4.titlebg -{ - text-align: center; - margin-bottom: 5px; -} -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: left; - width: 49.5%; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: right; - width: 49.5%; -} -dl.stats -{ - clear: both; - overflow: hidden; - margin: 0; - padding: 0; -} -dl.stats dt -{ - width: 49%; - float: left; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; - clear: both; - font-size: 1em; -} -dl.stats dd -{ - text-align: right; - width: 50%; - font-size: 1em; - float: right; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; -} -.stats_bar -{ - float: left; - background-image: url(../images/bar_stats.png); - height: 16px; - font-size: 0.9em; - display: block; - text-align: left; - color: #fff; - font-weight: bold; - background-position: top center; -} -.stats_bar span -{ - padding-left: 2px; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages -{ - padding: 1px; -} -#personal_messages #top_subject -{ - padding-left: 11.75em !important; -} -#personal_messages div.labels -{ - padding: 0 1em 0 0; -} -#personal_messages .capacity_bar -{ - background: #fff; - border: 1px solid #000; - height: 7px; - width: 75%; - margin: 0 auto; -} -#personal_messages .capacity_bar div -{ - border: none; - height: 7px; -} -#personal_messages .capacity_bar div.empty -{ - background: #468008; -} -#personal_messages .capacity_bar div.filled -{ - background: #EEA800; -} -#personal_messages .capacity_bar div.full -{ - background: #A53D05; -} -#personal_messages .reportlinks -{ - padding: 0.5em 1.3em; -} -#searchLabelsExpand li -{ - padding: 0.3em 0.5em; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -.calendar_table -{ - margin-bottom: 0.7em; -} - -/* Used to indicate the current day in the grid. */ -.calendar_today -{ - background-color: #fff; -} - -#month_grid -{ - width: 200px; - text-align: center; - float: left; -} - -#month_grid table -{ - width: 200px; - border-collapse: collapse; - border: 1px solid #adadad; -} - -#month_grid table td, #month_grid table th -{ - border: 1px solid #adadad; -} - -#main_grid table -{ - width: 100%; - padding-bottom: 4px; - border-collapse: collapse; - border: 1px solid #adadad; -} - -#main_grid table td, #main_grid table th -{ - border: 1px solid #adadad; -} - -#main_grid table h3.catbg -{ - text-align: center; - - border-top: 1px solid #adadad; - border-bottom: none; -} - -#main_grid table h4 -{ - border: none; -} - -#main_grid table.weeklist td.windowbg -{ - text-align: center; - height: 49px; - width: 25px; - font-size: large; - padding: 0 7px; - border-bottom: 1px solid #adadad; -} - -#main_grid table.weeklist td.weekdays -{ - height: 49px; - width: 100%; - padding: 4px; - text-align: left; - vertical-align: middle; - border-right: 1px solid #adadad; - border-bottom: 1px solid #adadad; -} - -#main_grid h3.weekly -{ - text-align: center; - padding-left: 0; - font-size: large; - height: 29px; -} - -#main_grid h3 span.floatleft, #main_grid h3 span.floatright -{ - display: block; - -} - -#main_grid table th.days -{ - width: 14%; -} - -#main_grid table td.weeks -{ - vertical-align: middle; - text-align: center; -} - -#main_grid table td.days -{ - vertical-align: top; - -} - -a.modify_event -{ - color: red; -} - -span.hidelink -{ - font-style: italic; -} - -#calendar_navigation -{ - text-align: center; -} - -#calendar .buttonlist_bottom -{ - border-bottom: 1px solid #adadad; - padding: 0 0 0 1ex; - margin: 0 0 1ex 0; -} - -/* Styles for the memberlist section. -------------------------------------------------- */ -#mlist_search -{ - margin: auto; - width: 400px; -} - -/* Styles for the basic search section. -------------------------------------------------- */ -#simple_search p -{ - padding: 0.5em; -} -#simple_search, #simple_search p, #advanced_search -{ - text-align: center !important; - margin: 0; -} -#search_error -{ - font-style: italic; - padding: 0.3em 1em; -} -#search_term_input -{ - font-size: 115%; - margin: 0 0 1em; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: left; - padding: 0; - margin: 0; - border: none; -} -fieldset#advanced_search .roundframe -{ - border-bottom: none !important; -} -#advanced_search dl#search_options -{ - margin: 0 auto; - width: 600px; - padding-top: 1em; - overflow: hidden; -} -#advanced_search dt -{ - clear: both; - float: left; - padding: 0.2em; - text-align: right; - width: 20%; -} -#advanced_search dd -{ - width: 75%; - float: left; - padding: 0.2em; - margin: 0 0 0 0.5em; - text-align: left; -} -#searchform p.clear -{ - clear: both; -} - -/* Styles for the search results page. -------------------------------------------------- */ -.pagelinks -{ - padding: 0.5em; -} -.topic_table td blockquote, .topic_table td .quoteheader -{ - margin: 0.5em; -} -.search_results_posts -{ - overflow: hidden; -} -.search_results_posts .inner -{ - padding: 0.5em 1em; - overflow: hidden; -} -.search_results_posts .windowbg2 -{ - margin-top: 4px; -} -.search_results_posts .buttons -{ - padding: 5px 1em 0 0; -} - -/* Styles for the help section. -------------------------------------------------- */ - -#helpmain -{ - padding: 1em; - border: 1px solid #696969; -} -#helpmain p -{ - margin: 0 0 1.5em 0; - line-height: 1.5em; -} -#helpmain ul -{ - line-height: 1.5em; -} - -/* Depreciated stuff from the old days. -------------------------------------------------- */ - -/* This style will make sure all headers use the same padding throughout. */ -.headerpadding -{ - padding: 0.5em; -} -/* smaller padding used in paragraphs, sections etc */ -.smallpadding -{ - padding: 0.2em; -} -/* larger padding used in paragraphs, sections etc */ -.largepadding -{ - padding: 0.7em; -} - -/* A small space to the next section. */ -.marginbottom -{ - margin-bottom: 1em; -} -/* On the top too. */ -.margintop -{ - margin-top: 1em !important; -} -/* remove bold/italic styles */ -span.plainstyle -{ - font-weight: normal; - font-style: normal; -} -/* float a list horizontally */ -ul.horizlist -{ - width: 100%; -} -ul.horizlist li -{ - float: left; - padding: 0.2em 0.4em 0.2em 0.4em; - vertical-align: top; -} -/* make a inline-list */ -ul.nolist li -{ - display: inline; -} -/* Helping style to clear floated items. */ -.clearfix:after -{ - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -.clearfix -{ - display: inline-block; -} - -/* Hides from IE-mac. \*/ -* html .clearfix -{ - height: 1%; -} -.clearfix -{ - display: block; -} -/* End hide from IE-mac. */ - -/* This is used for tables that have a grid/border background color (such as the topic listing.) */ -.bordercolor -{ - background-color: #adadad; - padding: 0; -} - -/* This is used on tables that should just have a border around them. */ -.tborder -{ - padding: 1px; - border: 1px solid #696969; - background-color: #fff; -} -/* If some random peep decides to use a description class within a tborder (happened to me!) */ -.tborder .description -{ - margin-bottom: 0; -} - -/* Styles for print media. -------------------------------------------------------- */ -@media print -{ - #headerarea - { - display: none; - } - - .tborder - { - border: none; - } -} \ No newline at end of file diff --git a/config/themes/core/css/index.php b/config/themes/core/css/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/css/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/css/rtl.css b/config/themes/core/css/rtl.css deleted file mode 100755 index a82ee53..0000000 --- a/config/themes/core/css/rtl.css +++ /dev/null @@ -1,1071 +0,0 @@ -/* Common classes to ease styling. -------------------------------------------------------- */ - -.floatright -{ - float: left; -} -.floatleft -{ - float: right; -} -.clear_left -{ - clear: right; -} -.clear_right -{ - clear: left; -} -.righttext -{ - text-align: left; -} -.lefttext -{ - text-align: right; -} - -/* GenericList */ -.additional_row input -{ - margin-left: 1em; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings dt -{ - float: right; -} -dl.settings dt.windowbg -{ - float: right; -} -dl.settings dd -{ - float: right; -} -dl.settings img -{ - margin: 0 0 0 10px; -} - -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature -{ - clear: left; -} -.custom_fields_above_signature -{ - clear: left; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -/* Container for the new admin menu */ -#adm_container -{ - float: right; - margin-left: 0; - margin-right: 10px; -} -.main_menu li -{ - float: right; -} - -/* the linktree */ -ul.linktree li -{ - float: right; - padding: 0 0 0 0.5em; -} - -/* First layer of menu items */ -ul.admin_menu li -{ - float: right !important; - padding-left: 4px; -} -ul.admin_menu li ul -{ - right: 0; -} -ul.admin_menu li ul li a -{ - padding: 0.5em 0.5em 0.5em 2em; -} -/* Second layer of menu items */ -ul.admin_menu li ul -{ - border-left: 1px solid #808080; - border-right: 2px solid #6888a7; -} -/* Third layer of menu items */ -ul.admin_menu li ul li:hover ul, ul.admin_menu li ul li.over ul -{ - /* now a very tricky stuff, never seen before ;-) */ - /*IE and Firefox like it right */ - right: 19em; - /*Opera needs left*/ - left: -19.2em; - top: auto; - margin: -2em 0 0 0; - border-left: 1px solid #808080; - border-right: 2px solid #6888a7; -} -ul.admin_menu li ul li a.subsection -{ - background-image: url(../images/admin/subsection2.gif); - background-position: 2% 50%; -} -/* The dropdown menu toggle image */ -div#menu_toggle -{ - float: left; - margin: 0 0 0 10px; -} -/* Styles for the standard button lists. -------------------------------------------------------- */ -/* The old-style button strips, with images */ -.oldbuttonlist -{ - text-align: left; -} - -/* Styles for the general looks for the Core theme. -------------------------------------------------------- */ -#user_section #myavatar -{ - margin: 0 0 0 0.5em; - border-right: none; - border-left: 1px solid #adadad; - float: right; -} -#footerarea p -{ - text-align: right; - padding-right: 0.5em; -} - -/* Styles for headers. -------------------------------------------------------- */ - -h3.catbg img.icon, div.titlebg img.icon, h3.catbg img -{ - float: right; - margin: 5px 0 0 8px; -} - -/* Styles for the general looks for the Core theme. -------------------------------------------------------- */ - -.main_menu ul -{ - padding-right: 1em; - float: right; -} -.main_menu -{ - overflow: hidden; -} - -/* Styles for the board index. -------------------------------------------------- */ - -p#stats -{ - text-align: left; -} -#upshrink_ic -{ - margin-right: 0; - margin-left: 2ex; - text-align: left; -} - -#posticons .buttonlist -{ - margin-right: 0; - margin-left: 1em; - float: left; -} - -/* Styles for the info center on the board index. ----------------------------------------------------- */ - -#infocenterframe -{ - margin-top: 2em; - clear: both; -} -/* each section in infocenter has this class */ -.infocenter_section p.section -{ - float: right; -} -.infocenter_section div.sectionbody -{ - margin-left: 0; - margin-right: 30px; - border-left: none; - border-right: 1px solid #a0a0a0; -} -/* recent posts - or just one recent post */ -dl#infocenter_recentposts -{ - float: right; -} -dl#infocenter_recentposts dt -{ - clear: right; - float: right; -} -dl#infocenter_recentposts dd -{ - clear: left; - float: left; - text-align: left; -} - -/* Styles for the message (topic) index. ----------------------------------------------------- */ -.buttonlist, .buttonlist_bottom -{ - margin-left: 0; - margin-right: 1em; - float: left; -} -#message_index_jump_to -{ - margin: 2em 2em 0 4em; -} -.lastpost img -{ - float: left; -} -/* Styles for the display template (topic view). ----------------------------------------------------- */ -/* a smaller quick-button list */ -ul.quickbuttons -{ - margin: 0.9em 0 0 11px; - clear: left; - float: left; - text-align: left; -} -ul.quickbuttons li -{ - float: left; - margin: 0 11px 0 0; -} -ul.quickbuttons li a -{ - padding: 0 20px 0.7em 0; - float: left; -} -ul.quickbuttons li.quote_button -{ - background: url(../images/buttons/quote.gif) no-repeat 100% 0; -} -ul.quickbuttons li.remove_button -{ - background: url(../images/buttons/delete.gif) no-repeat 100% 0; -} -ul.quickbuttons li.modify_button -{ - background: url(../images/buttons/modify.gif) no-repeat 100% 0; -} -ul.quickbuttons li.approve_button -{ - background: url(../images/buttons/approve.gif) no-repeat 100% 0; -} -ul.quickbuttons li.restore_button -{ - background: url(../images/buttons/restore_topic.gif) no-repeat 100% 0; -} -ul.quickbuttons li.split_button -{ - background: url(../images/buttons/split.gif) no-repeat 100% 0; -} -ul.quickbuttons li.reply_button -{ - background: url(../images/buttons/reply.gif) no-repeat 100% 0; -} -ul.quickbuttons li.reply_all_button -{ - background: url(../images/buttons/reply.gif) no-repeat 100% 0; -} -ul.quickbuttons li.notify_button -{ - background: url(../images/buttons/notify_sm.gif) no-repeat 100% 0; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 5px 0 0; -} -#moderationbuttons -{ - margin-left: 0; - margin-right: 0.5em; -} -#postbuttons .nav, #postbuttons_lower .nav -{ - margin: 0.5em 0 0 0.5em; - text-align: left; -} -#postbuttons_lower .nav -{ - margin: 0 0.5em 0.5em 0; -} -#postbuttons, #postbuttons_lower -{ - text-align: right; -} -/* Poll question */ -h4#pollquestion -{ - padding: 1em 2em 1em 0; -} -#poll_options div.submitbutton -{ - clear: both; - padding: 0 2em 1em 0; -} -/* Poll results */ -#poll_options dl.options -{ - padding: 1em 2em 0 2.5em; -} -div#pollmoderation -{ - margin: -1em 2em 0 0; -} -#forumposts h3.catbg3 img -{ - float: right; -} -#forumposts h3.catbg3 span -{ - float: right; - padding-left: 0; - padding-right: 2%; -} -#forumposts h3.catbg3 span#top_subject -{ - padding-left: 0; - padding-right: 9.5em; -} -.poster -{ - float: right; -} -.post -{ - clear: left; - float: right; -} -.postarea -{ - margin-left: 0; - margin-right: 16em; -} -.messageicon -{ - float: right; -} -.keyinfo -{ - float: right; -} -ul.postingbuttons -{ - float: left; - padding: 0 0 0 0.5em; -} -ul.postingbuttons li -{ - float: right; - margin: 0 0 0 0.5em; -} -.modifybutton -{ - float: left; - margin: 0 0 0.5em 0.5em; -} -.postfooter -{ - margin-left: 0; - margin-right: 16em; -} -.moderatorbar -{ - clear: left; - margin: 1em 16em 0 0; -} -#pollmoderation, #moderationbuttons_strip -{ - float: right; -} - -/* Styles for the quick reply area. ----------------------------------------------------- */ - -#quickReplyOptions #quickReplyWarning -{ - text-align: right; - float: right; -} -#quickReplyOptions #quickReplyContent -{ - text-align: left; - float: left; - border-left: none; - border-right: 1px solid #aaa; -} -#quickReplyWarning -{ - float: right; -} - -/* Styles for edit post section ----------------------------------------------------- */ -#post_header dt -{ - float: right; -} -#post_header dd -{ - float: right; -} -ul.post_options -{ - margin: 0 1em 0 0; -} -ul.post_options li -{ - float: right; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 1em .3em 0; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 0; - margin-left: 1em; -} -.post_verification #verification_control -{ - margin: .3em 1em .3em 0; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event div.event_options -{ - float: left; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: right; -} -#post_event #event_main div.smalltext -{ - float: left; -} -#post_event ul.event_main li -{ - float: left; -} -#post_event ul.event_options -{ - padding: 0 .7em .7em 0; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 0 0 1em; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ -#edit_poll fieldset input -{ - margin-right: 7em; -} -#edit_poll ul.poll_main li -{ - padding-right: 1em; -} -#edit_poll ul.poll_main input -{ - margin-right: 1em; -} -#edit_poll div.poll_options -{ - float: right; -} -#edit_poll ul.poll_main, dl.poll_options -{ - padding: 0 .7em 0 0; -} -#edit_poll dl.poll_options dt -{ - padding: 0 1em 0 0; -} -#edit_poll dl.poll_options dd input -{ - margin-right: 0; -} - -/* Styles for the recent messages section. ----------------------------------------------------- */ -.readbuttons .buttonlist, .readbuttons .buttonlist_bottom -{ - margin-right: 0; - margin-left: 1em; - float: left; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ -.move_topic -{ - text-align: right; -} - -/* Styles for the login areas. -------------------------------------------------------- */ -.login dt -{ - float: right; - text-align: left; -} -.login dd -{ - float: left; - text-align: right; -} -.login h3 img -{ - float: right; - margin: 4px 0 0 0.5em; -} - -/* Styles for the registration section. -------------------------------------------------------- */ -dl.register_form -{ - clear: left; -} - -dl.register_form dt -{ - float: right; - clear: both; -} -dl.register_form dd -{ - float: right; -} - -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - text-align: right; -} -#maintenance_mode img.floatleft -{ - margin-right: 0; - margin-left: 1em; -} - -h3.titlebg img -{ - margin-right: 0; - margin-left: 0.5em; -} -tr.titlebg td -{ - padding-left: 0.7em; - padding-right: 0.7em; -} -#admin_menu -{ - padding-right: 0; -} -#admin_content -{ - clear: right; -} - -/* Styles for sidebar menus. -------------------------------------------------------- */ -#left_admsection -{ - float: right; - margin-right: 0; - margin-left: 10px; -} -.left_admmenu li -{ - padding: 0 0.5em 0 0; -} - -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table td.stickybg2 -{ - background-position: 2% 4px; -} -.topic_table td.lockedbg2 -{ - background-position: 2% 4px; -} - -/* Styles for (fatal) errors. -------------------------------------------------- */ -.errorbox p.alert -{ - float: right; -} - -/* Styles for the profile section. -------------------------------------------------- */ -#profileview #detailedinfo .content -{ - border-left: none; - border-right: 1px solid #aaa; -} -/* The basic user info on the left */ -#basicinfo -{ - float: right; -} -#profileview #basicinfo .content -{ - padding: 1em; -} -#detailedinfo -{ - float: left; -} -#basicinfo ul li -{ - float: right; - margin-left: 5px; - margin-right: 0; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: left; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - float: right; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - float: right; -} -.signature, .custom_fields_above_signature, .attachments -{ - clear: left; -} -#avatar_server_stored div -{ - float: right; -} -#main_admsection #basicinfo h4 -{ - float: right; -} -#main_admsection #basicinfo img.avatar -{ - float: left; -} -#main_admsection #basicinfo ul -{ - clear: right; -} -#main_admsection #basicinfo span#userstatus -{ - clear: right; -} - - -/* Profile statistics */ -#generalstats div.content dt -{ - float: right; -} -#generalstats div.content dd -{ - float: right; -} - -/* Activity by time */ -#activitytime -{ - clear: right; -} -.activity_stats li -{ - float: right; -} -.activity_stats li span -{ - border-width: 1px 0 0 1px; -} -.activity_stats li.last span -{ - border-left: none; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - float: right; -} -#popularactivity -{ - float: left; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - float: right; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - float: right; -} - -.profile_pie -{ - background-image: url(../images/stats_pie_rtl.png); - float: right; - margin-right: 0; - margin-left: 1em; -} - -/* View posts */ -.time -{ - float: left; -} -.counter -{ - padding: 0.2em 0.2em 0.1em 0.5em; - float: right; -} -.mod_icons -{ - text-align: left; - margin-right: 0; - margin-left: 1em; -} -#permissions div.permission_name -{ - margin: 0 0 0 1%; -} -#ip_list li.header, #ip_list li.ip -{ - float: right; -} -#creator dt -{ - float: right; -} -#creator dd -{ - float: right; -} - -.ignoreboards ul -{ - margin: 0 1em 0 0; -} -.ignoreboards li -{ - float: right; -} - -#pick_theme -{ - float: right; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: right; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: left; -} -dl.stats dt -{ - float: right; -} -dl.stats dd -{ - text-align: left; - float: left; -} -.stats_bar -{ - float: right; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages #top_subject -{ - padding-left: 0 !important; - padding-right: 11.75em !important; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -#month_grid -{ - float: right; -} - -#main_grid table.weeklist td.weekdays -{ - text-align: right; - border-right: none; - border-left: 1px solid #adadad; -} - -#calendar .buttonlist_bottom -{ - padding: 0 1ex 0 0; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: right; -} -#advanced_search dt -{ - float: right; - text-align: left; -} -#advanced_search dd -{ - float: right; - margin: 0 0.5em 0 0; - text-align: right; -} -/* Boards picker */ -#searchform fieldset div#searchBoardsExpand ul -{ - margin: 0 1em 0 0; -} -#searchform fieldset div#searchBoardsExpand li -{ - float: right; -} -#searchform fieldset p -{ - text-align: right; -} - -/* Styles for the search results page. -------------------------------------------------- */ -.search_results_posts .buttons -{ - padding: 5px 0 0 1em; -} - -/* Styles for the help section. -------------------------------------------------- */ -#helpmain ol.la -{ - padding-right: 1.5em; - padding-left: 0; -} - -/* The admin menu -------------------------------------------------- */ - -ul.admin_menu li -{ - position: relative; - float: right; - background: url(../images/admintab_back.gif) top right repeat-x; - padding-right: 4px; -} -ul.admin_menu li.last -{ - background: url(../images/admintab_back.gif) top right repeat-x; -} -ul.admin_menu li.first -{ - background: url(../images/admintab_right.gif) top right repeat-x; -} -ul.admin_menu li.first.chosen h4 -{ - background: url(../images/admintab_active_last.gif) top right repeat-x; - padding-right: 16px; -} -ul.admin_menu li.chosen -{ - background: url(../images/admintab_active_left.gif) no-repeat; - padding: 0 0 0 6px; -} - -ul.admin_menu li.last.chosen h4 -{ - background: url(../images/admintab_active_right.gif) top right no-repeat; - padding-right: 17px; -} - -ul.admin_menu li.chosen h4 -{ - background: url(../images/admintab_active_right.gif) top right no-repeat; - padding-right: 10px; -} - -.main_menu li.last.active -{ - float: right; - background: url(../images/maintab_last.gif) no-repeat bottom right; - padding: 0 8px 0 0; -} -/* IE6 doesn't support multiple class selectors */ -.main_menu li.lastactive -{ - padding: 0 8px 0 0; - background: url(../images/maintab_last.gif) no-repeat bottom right; -} - -/* float a list horizontally */ -ul.horizlist li -{ - float: right; -} -.buttonlist, .buttonlist_bottom -{ - margin-left: 1.5em !important; -} - -.generic_tab_strip .buttonlist -{ - float: left !important; -} - -/* Styles for the admincenter (reverse admin.css). -------------------------------------------------- */ -#quick_search -{ - margin-left: 5px !important; -} -.features_image -{ - float: right !important; - margin: 0 1em 0.5em 2em !important; -} -.features_switch -{ - float: left !important; -} -.features h4 -{ - padding: 1em 0.5em 0.5em 0 !important; -} -/* admin home */ -#live_news div.content dl -{ - padding: 0.5em 0.5em 0 0 !important; -} -#smfAnnouncements dd -{ - padding: 0; - margin: 0 1.5em 1em 0 !important; -} -#quick_tasks li -{ - float: right; - list-style-type: none !important; -} -.home_image -{ - float: right !important; -} -/* common admin classes */ -.additional_row input -{ - margin-left: 0; - margin-right: 2em; -} -#error_log td div.marginleft -{ - margin: 0 1ex 0 0 !important; -} - -/* Styles for the package manager. -------------------------------------------------- */ -#package_list .tborder -{ - margin: .25em 26px .25em 0 !important; -} -#package_list ol, #package_list ol li -{ - margin-left: 0 !important; - margin-right: 50px !important; -} - -/*ManageBoards*/ -.move_links -{ - padding: 0 0 0 13px !important; -} - -span.search_weight -{ - text-align: left !important; -} - -/*Manage Bans*/ -.ban_restriction -{ - margin: 0.2em 2.2em 0.2em 0 !important; -} -/* Themes */ -.is_directory -{ - padding-right: 18px !important; - background-position: 100% 0 !important; -} - - /* Styles for the moderation center. -------------------------------------------------- */ -.modblock_left -{ - float: right !important; - clear: left !important; -} -.modblock_right -{ - float: left !important; -} -ul.moderation_notes li -{ - padding: 4px 4px 4px 0 !important; -} \ No newline at end of file diff --git a/config/themes/core/css/webkit.css b/config/themes/core/css/webkit.css deleted file mode 100755 index d06b7a3..0000000 --- a/config/themes/core/css/webkit.css +++ /dev/null @@ -1,8 +0,0 @@ -/* special styles for Safari (and other Webkit based browsers like Chrome) -Webkit needs this otherwise the post goes off to the right. -Causes issues in IE browsers in (and cached search engines pages it breaks them). -*/ -.postarea .post -{ - float: left; -} \ No newline at end of file diff --git a/config/themes/core/images/Female.gif b/config/themes/core/images/Female.gif deleted file mode 100755 index 321f2c9..0000000 Binary files a/config/themes/core/images/Female.gif and /dev/null differ diff --git a/config/themes/core/images/Male.gif b/config/themes/core/images/Male.gif deleted file mode 100755 index bc98e06..0000000 Binary files a/config/themes/core/images/Male.gif and /dev/null differ diff --git a/config/themes/core/images/admin/administration.gif b/config/themes/core/images/admin/administration.gif deleted file mode 100755 index c634703..0000000 Binary files a/config/themes/core/images/admin/administration.gif and /dev/null differ diff --git a/config/themes/core/images/admin/attachment.gif b/config/themes/core/images/admin/attachment.gif deleted file mode 100755 index 506491f..0000000 Binary files a/config/themes/core/images/admin/attachment.gif and /dev/null differ diff --git a/config/themes/core/images/admin/ban.gif b/config/themes/core/images/admin/ban.gif deleted file mode 100755 index 3f5a497..0000000 Binary files a/config/themes/core/images/admin/ban.gif and /dev/null differ diff --git a/config/themes/core/images/admin/boards.gif b/config/themes/core/images/admin/boards.gif deleted file mode 100755 index 2f3b303..0000000 Binary files a/config/themes/core/images/admin/boards.gif and /dev/null differ diff --git a/config/themes/core/images/admin/calendar.gif b/config/themes/core/images/admin/calendar.gif deleted file mode 100755 index 66accbf..0000000 Binary files a/config/themes/core/images/admin/calendar.gif and /dev/null differ diff --git a/config/themes/core/images/admin/change_menu.png b/config/themes/core/images/admin/change_menu.png deleted file mode 100755 index 0952630..0000000 Binary files a/config/themes/core/images/admin/change_menu.png and /dev/null differ diff --git a/config/themes/core/images/admin/change_menu2.png b/config/themes/core/images/admin/change_menu2.png deleted file mode 100755 index e3b5b92..0000000 Binary files a/config/themes/core/images/admin/change_menu2.png and /dev/null differ diff --git a/config/themes/core/images/admin/corefeatures.gif b/config/themes/core/images/admin/corefeatures.gif deleted file mode 100755 index 902a437..0000000 Binary files a/config/themes/core/images/admin/corefeatures.gif and /dev/null differ diff --git a/config/themes/core/images/admin/current_theme.gif b/config/themes/core/images/admin/current_theme.gif deleted file mode 100755 index b661fd3..0000000 Binary files a/config/themes/core/images/admin/current_theme.gif and /dev/null differ diff --git a/config/themes/core/images/admin/engines.gif b/config/themes/core/images/admin/engines.gif deleted file mode 100755 index 1517f0e..0000000 Binary files a/config/themes/core/images/admin/engines.gif and /dev/null differ diff --git a/config/themes/core/images/admin/feature_cd.png b/config/themes/core/images/admin/feature_cd.png deleted file mode 100755 index 5bf830f..0000000 Binary files a/config/themes/core/images/admin/feature_cd.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_cp.png b/config/themes/core/images/admin/feature_cp.png deleted file mode 100755 index 9b93c6b..0000000 Binary files a/config/themes/core/images/admin/feature_cp.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_k.png b/config/themes/core/images/admin/feature_k.png deleted file mode 100755 index 7709462..0000000 Binary files a/config/themes/core/images/admin/feature_k.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_ml.png b/config/themes/core/images/admin/feature_ml.png deleted file mode 100755 index d124448..0000000 Binary files a/config/themes/core/images/admin/feature_ml.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_pm.png b/config/themes/core/images/admin/feature_pm.png deleted file mode 100755 index 89725ad..0000000 Binary files a/config/themes/core/images/admin/feature_pm.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_ps.png b/config/themes/core/images/admin/feature_ps.png deleted file mode 100755 index 038cc85..0000000 Binary files a/config/themes/core/images/admin/feature_ps.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_rg.png b/config/themes/core/images/admin/feature_rg.png deleted file mode 100755 index 4acb947..0000000 Binary files a/config/themes/core/images/admin/feature_rg.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_sp.png b/config/themes/core/images/admin/feature_sp.png deleted file mode 100755 index 0d25f73..0000000 Binary files a/config/themes/core/images/admin/feature_sp.png and /dev/null differ diff --git a/config/themes/core/images/admin/feature_w.png b/config/themes/core/images/admin/feature_w.png deleted file mode 100755 index bec0b0a..0000000 Binary files a/config/themes/core/images/admin/feature_w.png and /dev/null differ diff --git a/config/themes/core/images/admin/features.gif b/config/themes/core/images/admin/features.gif deleted file mode 100755 index a098a2d..0000000 Binary files a/config/themes/core/images/admin/features.gif and /dev/null differ diff --git a/config/themes/core/images/admin/features_and_options.png b/config/themes/core/images/admin/features_and_options.png deleted file mode 100755 index f917e75..0000000 Binary files a/config/themes/core/images/admin/features_and_options.png and /dev/null differ diff --git a/config/themes/core/images/admin/forum_maintenance.png b/config/themes/core/images/admin/forum_maintenance.png deleted file mode 100755 index ed340b4..0000000 Binary files a/config/themes/core/images/admin/forum_maintenance.png and /dev/null differ diff --git a/config/themes/core/images/admin/ignore.gif b/config/themes/core/images/admin/ignore.gif deleted file mode 100755 index df68cca..0000000 Binary files a/config/themes/core/images/admin/ignore.gif and /dev/null differ diff --git a/config/themes/core/images/admin/index.php b/config/themes/core/images/admin/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/admin/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/admin/languages.gif b/config/themes/core/images/admin/languages.gif deleted file mode 100755 index 0020f45..0000000 Binary files a/config/themes/core/images/admin/languages.gif and /dev/null differ diff --git a/config/themes/core/images/admin/logs.gif b/config/themes/core/images/admin/logs.gif deleted file mode 100755 index 597a35b..0000000 Binary files a/config/themes/core/images/admin/logs.gif and /dev/null differ diff --git a/config/themes/core/images/admin/mail.gif b/config/themes/core/images/admin/mail.gif deleted file mode 100755 index ba4f6cc..0000000 Binary files a/config/themes/core/images/admin/mail.gif and /dev/null differ diff --git a/config/themes/core/images/admin/maintain.gif b/config/themes/core/images/admin/maintain.gif deleted file mode 100755 index 68cb4f7..0000000 Binary files a/config/themes/core/images/admin/maintain.gif and /dev/null differ diff --git a/config/themes/core/images/admin/membergroups.gif b/config/themes/core/images/admin/membergroups.gif deleted file mode 100755 index ba8eb89..0000000 Binary files a/config/themes/core/images/admin/membergroups.gif and /dev/null differ diff --git a/config/themes/core/images/admin/members.gif b/config/themes/core/images/admin/members.gif deleted file mode 100755 index cac6d1e..0000000 Binary files a/config/themes/core/images/admin/members.gif and /dev/null differ diff --git a/config/themes/core/images/admin/members.png b/config/themes/core/images/admin/members.png deleted file mode 100755 index d485fbd..0000000 Binary files a/config/themes/core/images/admin/members.png and /dev/null differ diff --git a/config/themes/core/images/admin/modifications.gif b/config/themes/core/images/admin/modifications.gif deleted file mode 100755 index 1512046..0000000 Binary files a/config/themes/core/images/admin/modifications.gif and /dev/null differ diff --git a/config/themes/core/images/admin/news.gif b/config/themes/core/images/admin/news.gif deleted file mode 100755 index e8f6ac5..0000000 Binary files a/config/themes/core/images/admin/news.gif and /dev/null differ diff --git a/config/themes/core/images/admin/package_ops.gif b/config/themes/core/images/admin/package_ops.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/core/images/admin/package_ops.gif and /dev/null differ diff --git a/config/themes/core/images/admin/packages.gif b/config/themes/core/images/admin/packages.gif deleted file mode 100755 index 2ffec4f..0000000 Binary files a/config/themes/core/images/admin/packages.gif and /dev/null differ diff --git a/config/themes/core/images/admin/packages.png b/config/themes/core/images/admin/packages.png deleted file mode 100755 index 55887ea..0000000 Binary files a/config/themes/core/images/admin/packages.png and /dev/null differ diff --git a/config/themes/core/images/admin/paid.gif b/config/themes/core/images/admin/paid.gif deleted file mode 100755 index 645ba22..0000000 Binary files a/config/themes/core/images/admin/paid.gif and /dev/null differ diff --git a/config/themes/core/images/admin/permissions.gif b/config/themes/core/images/admin/permissions.gif deleted file mode 100755 index 6e32f3e..0000000 Binary files a/config/themes/core/images/admin/permissions.gif and /dev/null differ diff --git a/config/themes/core/images/admin/permissions.png b/config/themes/core/images/admin/permissions.png deleted file mode 100755 index e49af79..0000000 Binary files a/config/themes/core/images/admin/permissions.png and /dev/null differ diff --git a/config/themes/core/images/admin/post_moderation_allow.gif b/config/themes/core/images/admin/post_moderation_allow.gif deleted file mode 100755 index 33b352c..0000000 Binary files a/config/themes/core/images/admin/post_moderation_allow.gif and /dev/null differ diff --git a/config/themes/core/images/admin/post_moderation_deny.gif b/config/themes/core/images/admin/post_moderation_deny.gif deleted file mode 100755 index df68cca..0000000 Binary files a/config/themes/core/images/admin/post_moderation_deny.gif and /dev/null differ diff --git a/config/themes/core/images/admin/post_moderation_moderate.gif b/config/themes/core/images/admin/post_moderation_moderate.gif deleted file mode 100755 index 0005be8..0000000 Binary files a/config/themes/core/images/admin/post_moderation_moderate.gif and /dev/null differ diff --git a/config/themes/core/images/admin/posts.gif b/config/themes/core/images/admin/posts.gif deleted file mode 100755 index 9418230..0000000 Binary files a/config/themes/core/images/admin/posts.gif and /dev/null differ diff --git a/config/themes/core/images/admin/regcenter.gif b/config/themes/core/images/admin/regcenter.gif deleted file mode 100755 index 5f0b840..0000000 Binary files a/config/themes/core/images/admin/regcenter.gif and /dev/null differ diff --git a/config/themes/core/images/admin/reports.gif b/config/themes/core/images/admin/reports.gif deleted file mode 100755 index 72b9c64..0000000 Binary files a/config/themes/core/images/admin/reports.gif and /dev/null differ diff --git a/config/themes/core/images/admin/scheduled.gif b/config/themes/core/images/admin/scheduled.gif deleted file mode 100755 index f502811..0000000 Binary files a/config/themes/core/images/admin/scheduled.gif and /dev/null differ diff --git a/config/themes/core/images/admin/search.gif b/config/themes/core/images/admin/search.gif deleted file mode 100755 index 934077c..0000000 Binary files a/config/themes/core/images/admin/search.gif and /dev/null differ diff --git a/config/themes/core/images/admin/security.gif b/config/themes/core/images/admin/security.gif deleted file mode 100755 index ffb2842..0000000 Binary files a/config/themes/core/images/admin/security.gif and /dev/null differ diff --git a/config/themes/core/images/admin/server.gif b/config/themes/core/images/admin/server.gif deleted file mode 100755 index fb988e5..0000000 Binary files a/config/themes/core/images/admin/server.gif and /dev/null differ diff --git a/config/themes/core/images/admin/smiley.gif b/config/themes/core/images/admin/smiley.gif deleted file mode 100755 index d739b74..0000000 Binary files a/config/themes/core/images/admin/smiley.gif and /dev/null differ diff --git a/config/themes/core/images/admin/smilies_and_messageicons.png b/config/themes/core/images/admin/smilies_and_messageicons.png deleted file mode 100755 index 91ca1ae..0000000 Binary files a/config/themes/core/images/admin/smilies_and_messageicons.png and /dev/null differ diff --git a/config/themes/core/images/admin/subsection.gif b/config/themes/core/images/admin/subsection.gif deleted file mode 100755 index 7f82fe5..0000000 Binary files a/config/themes/core/images/admin/subsection.gif and /dev/null differ diff --git a/config/themes/core/images/admin/subsection2.gif b/config/themes/core/images/admin/subsection2.gif deleted file mode 100755 index cddefcf..0000000 Binary files a/config/themes/core/images/admin/subsection2.gif and /dev/null differ diff --git a/config/themes/core/images/admin/support.gif b/config/themes/core/images/admin/support.gif deleted file mode 100755 index a2a53f0..0000000 Binary files a/config/themes/core/images/admin/support.gif and /dev/null differ diff --git a/config/themes/core/images/admin/support_and_credits.png b/config/themes/core/images/admin/support_and_credits.png deleted file mode 100755 index 10c5045..0000000 Binary files a/config/themes/core/images/admin/support_and_credits.png and /dev/null differ diff --git a/config/themes/core/images/admin/switch_off.png b/config/themes/core/images/admin/switch_off.png deleted file mode 100755 index f2937d0..0000000 Binary files a/config/themes/core/images/admin/switch_off.png and /dev/null differ diff --git a/config/themes/core/images/admin/switch_on.png b/config/themes/core/images/admin/switch_on.png deleted file mode 100755 index b3ba675..0000000 Binary files a/config/themes/core/images/admin/switch_on.png and /dev/null differ diff --git a/config/themes/core/images/admin/themes.gif b/config/themes/core/images/admin/themes.gif deleted file mode 100755 index a5e1450..0000000 Binary files a/config/themes/core/images/admin/themes.gif and /dev/null differ diff --git a/config/themes/core/images/admin/themes_and_layout.png b/config/themes/core/images/admin/themes_and_layout.png deleted file mode 100755 index 51683a0..0000000 Binary files a/config/themes/core/images/admin/themes_and_layout.png and /dev/null differ diff --git a/config/themes/core/images/admintab_active_last.gif b/config/themes/core/images/admintab_active_last.gif deleted file mode 100755 index fd6bb40..0000000 Binary files a/config/themes/core/images/admintab_active_last.gif and /dev/null differ diff --git a/config/themes/core/images/admintab_active_left.gif b/config/themes/core/images/admintab_active_left.gif deleted file mode 100755 index 6a6dd0c..0000000 Binary files a/config/themes/core/images/admintab_active_left.gif and /dev/null differ diff --git a/config/themes/core/images/admintab_active_right.gif b/config/themes/core/images/admintab_active_right.gif deleted file mode 100755 index 22f2336..0000000 Binary files a/config/themes/core/images/admintab_active_right.gif and /dev/null differ diff --git a/config/themes/core/images/admintab_back.gif b/config/themes/core/images/admintab_back.gif deleted file mode 100755 index 4ef5022..0000000 Binary files a/config/themes/core/images/admintab_back.gif and /dev/null differ diff --git a/config/themes/core/images/admintab_left.gif b/config/themes/core/images/admintab_left.gif deleted file mode 100755 index f77fbea..0000000 Binary files a/config/themes/core/images/admintab_left.gif and /dev/null differ diff --git a/config/themes/core/images/admintab_right.gif b/config/themes/core/images/admintab_right.gif deleted file mode 100755 index 9ddddcb..0000000 Binary files a/config/themes/core/images/admintab_right.gif and /dev/null differ diff --git a/config/themes/core/images/aim.gif b/config/themes/core/images/aim.gif deleted file mode 100755 index 4eb8df0..0000000 Binary files a/config/themes/core/images/aim.gif and /dev/null differ diff --git a/config/themes/core/images/bar.gif b/config/themes/core/images/bar.gif deleted file mode 100755 index c1020a0..0000000 Binary files a/config/themes/core/images/bar.gif and /dev/null differ diff --git a/config/themes/core/images/bar_stats.png b/config/themes/core/images/bar_stats.png deleted file mode 100755 index 95cb6b7..0000000 Binary files a/config/themes/core/images/bar_stats.png and /dev/null differ diff --git a/config/themes/core/images/bbc/bbc_bg.gif b/config/themes/core/images/bbc/bbc_bg.gif deleted file mode 100755 index 0c8518e..0000000 Binary files a/config/themes/core/images/bbc/bbc_bg.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/bbc_hoverbg.gif b/config/themes/core/images/bbc/bbc_hoverbg.gif deleted file mode 100755 index 7874fb5..0000000 Binary files a/config/themes/core/images/bbc/bbc_hoverbg.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/bold.gif b/config/themes/core/images/bbc/bold.gif deleted file mode 100755 index 7d21f0a..0000000 Binary files a/config/themes/core/images/bbc/bold.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/center.gif b/config/themes/core/images/bbc/center.gif deleted file mode 100755 index 736bc87..0000000 Binary files a/config/themes/core/images/bbc/center.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/code.gif b/config/themes/core/images/bbc/code.gif deleted file mode 100755 index 645e7b5..0000000 Binary files a/config/themes/core/images/bbc/code.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/divider.gif b/config/themes/core/images/bbc/divider.gif deleted file mode 100755 index d4f35e1..0000000 Binary files a/config/themes/core/images/bbc/divider.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/email.gif b/config/themes/core/images/bbc/email.gif deleted file mode 100755 index de68993..0000000 Binary files a/config/themes/core/images/bbc/email.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/flash.gif b/config/themes/core/images/bbc/flash.gif deleted file mode 100755 index 1fc0318..0000000 Binary files a/config/themes/core/images/bbc/flash.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/ftp.gif b/config/themes/core/images/bbc/ftp.gif deleted file mode 100755 index 344f5cd..0000000 Binary files a/config/themes/core/images/bbc/ftp.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/glow.gif b/config/themes/core/images/bbc/glow.gif deleted file mode 100755 index 0f0dce7..0000000 Binary files a/config/themes/core/images/bbc/glow.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/hr.gif b/config/themes/core/images/bbc/hr.gif deleted file mode 100755 index 433f8a7..0000000 Binary files a/config/themes/core/images/bbc/hr.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/img.gif b/config/themes/core/images/bbc/img.gif deleted file mode 100755 index 02817e7..0000000 Binary files a/config/themes/core/images/bbc/img.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/index.php b/config/themes/core/images/bbc/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/bbc/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/bbc/italicize.gif b/config/themes/core/images/bbc/italicize.gif deleted file mode 100755 index 68c7147..0000000 Binary files a/config/themes/core/images/bbc/italicize.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/left.gif b/config/themes/core/images/bbc/left.gif deleted file mode 100755 index 87bd529..0000000 Binary files a/config/themes/core/images/bbc/left.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/list.gif b/config/themes/core/images/bbc/list.gif deleted file mode 100755 index 95494c0..0000000 Binary files a/config/themes/core/images/bbc/list.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/move.gif b/config/themes/core/images/bbc/move.gif deleted file mode 100755 index a0d65ec..0000000 Binary files a/config/themes/core/images/bbc/move.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/orderlist.gif b/config/themes/core/images/bbc/orderlist.gif deleted file mode 100755 index 85f4a9c..0000000 Binary files a/config/themes/core/images/bbc/orderlist.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/pre.gif b/config/themes/core/images/bbc/pre.gif deleted file mode 100755 index e42bfd6..0000000 Binary files a/config/themes/core/images/bbc/pre.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/quote.gif b/config/themes/core/images/bbc/quote.gif deleted file mode 100755 index 07a6195..0000000 Binary files a/config/themes/core/images/bbc/quote.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/resize-handle.gif b/config/themes/core/images/bbc/resize-handle.gif deleted file mode 100755 index 3fa6e0f..0000000 Binary files a/config/themes/core/images/bbc/resize-handle.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/right.gif b/config/themes/core/images/bbc/right.gif deleted file mode 100755 index 54d74aa..0000000 Binary files a/config/themes/core/images/bbc/right.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/shadow.gif b/config/themes/core/images/bbc/shadow.gif deleted file mode 100755 index 84145d1..0000000 Binary files a/config/themes/core/images/bbc/shadow.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/strike.gif b/config/themes/core/images/bbc/strike.gif deleted file mode 100755 index 9d42fc3..0000000 Binary files a/config/themes/core/images/bbc/strike.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/sub.gif b/config/themes/core/images/bbc/sub.gif deleted file mode 100755 index 03fb567..0000000 Binary files a/config/themes/core/images/bbc/sub.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/sup.gif b/config/themes/core/images/bbc/sup.gif deleted file mode 100755 index fa936d0..0000000 Binary files a/config/themes/core/images/bbc/sup.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/table.gif b/config/themes/core/images/bbc/table.gif deleted file mode 100755 index d98b438..0000000 Binary files a/config/themes/core/images/bbc/table.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/tele.gif b/config/themes/core/images/bbc/tele.gif deleted file mode 100755 index 2f5077d..0000000 Binary files a/config/themes/core/images/bbc/tele.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/toggle.gif b/config/themes/core/images/bbc/toggle.gif deleted file mode 100755 index 6cddfbc..0000000 Binary files a/config/themes/core/images/bbc/toggle.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/underline.gif b/config/themes/core/images/bbc/underline.gif deleted file mode 100755 index c667ed4..0000000 Binary files a/config/themes/core/images/bbc/underline.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/unformat.gif b/config/themes/core/images/bbc/unformat.gif deleted file mode 100755 index c7ba2f4..0000000 Binary files a/config/themes/core/images/bbc/unformat.gif and /dev/null differ diff --git a/config/themes/core/images/bbc/url.gif b/config/themes/core/images/bbc/url.gif deleted file mode 100755 index 4d57467..0000000 Binary files a/config/themes/core/images/bbc/url.gif and /dev/null differ diff --git a/config/themes/core/images/blank.gif b/config/themes/core/images/blank.gif deleted file mode 100755 index 5bfd67a..0000000 Binary files a/config/themes/core/images/blank.gif and /dev/null differ diff --git a/config/themes/core/images/board.gif b/config/themes/core/images/board.gif deleted file mode 100755 index b3bc440..0000000 Binary files a/config/themes/core/images/board.gif and /dev/null differ diff --git a/config/themes/core/images/board_select_spot.gif b/config/themes/core/images/board_select_spot.gif deleted file mode 100755 index 86b9d06..0000000 Binary files a/config/themes/core/images/board_select_spot.gif and /dev/null differ diff --git a/config/themes/core/images/board_select_spot_child.gif b/config/themes/core/images/board_select_spot_child.gif deleted file mode 100755 index b4e9e20..0000000 Binary files a/config/themes/core/images/board_select_spot_child.gif and /dev/null differ diff --git a/config/themes/core/images/buddy_useroff.gif b/config/themes/core/images/buddy_useroff.gif deleted file mode 100755 index 2a48cde..0000000 Binary files a/config/themes/core/images/buddy_useroff.gif and /dev/null differ diff --git a/config/themes/core/images/buddy_useron.gif b/config/themes/core/images/buddy_useron.gif deleted file mode 100755 index c92c9ae..0000000 Binary files a/config/themes/core/images/buddy_useron.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/approve.gif b/config/themes/core/images/buttons/approve.gif deleted file mode 100755 index bb309ab..0000000 Binary files a/config/themes/core/images/buttons/approve.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/calendarpe.gif b/config/themes/core/images/buttons/calendarpe.gif deleted file mode 100755 index 02e6b54..0000000 Binary files a/config/themes/core/images/buttons/calendarpe.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/close.gif b/config/themes/core/images/buttons/close.gif deleted file mode 100755 index f0c02a2..0000000 Binary files a/config/themes/core/images/buttons/close.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/delete.gif b/config/themes/core/images/buttons/delete.gif deleted file mode 100755 index 93ee060..0000000 Binary files a/config/themes/core/images/buttons/delete.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/details.gif b/config/themes/core/images/buttons/details.gif deleted file mode 100755 index 305c311..0000000 Binary files a/config/themes/core/images/buttons/details.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/ignore.gif b/config/themes/core/images/buttons/ignore.gif deleted file mode 100755 index b2fa1fc..0000000 Binary files a/config/themes/core/images/buttons/ignore.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/im_reply.gif b/config/themes/core/images/buttons/im_reply.gif deleted file mode 100755 index 88c5767..0000000 Binary files a/config/themes/core/images/buttons/im_reply.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/im_reply_all.gif b/config/themes/core/images/buttons/im_reply_all.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/core/images/buttons/im_reply_all.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/index.php b/config/themes/core/images/buttons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/buttons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/buttons/merge.gif b/config/themes/core/images/buttons/merge.gif deleted file mode 100755 index 5e5d95c..0000000 Binary files a/config/themes/core/images/buttons/merge.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/modify.gif b/config/themes/core/images/buttons/modify.gif deleted file mode 100755 index 61698f0..0000000 Binary files a/config/themes/core/images/buttons/modify.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/notify_sm.gif b/config/themes/core/images/buttons/notify_sm.gif deleted file mode 100755 index 5020ab3..0000000 Binary files a/config/themes/core/images/buttons/notify_sm.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/quote.gif b/config/themes/core/images/buttons/quote.gif deleted file mode 100755 index 305c311..0000000 Binary files a/config/themes/core/images/buttons/quote.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/reply.gif b/config/themes/core/images/buttons/reply.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/core/images/buttons/reply.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/reply_sm.gif b/config/themes/core/images/buttons/reply_sm.gif deleted file mode 100755 index 3e4e382..0000000 Binary files a/config/themes/core/images/buttons/reply_sm.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/restore_topic.gif b/config/themes/core/images/buttons/restore_topic.gif deleted file mode 100755 index 91e5c67..0000000 Binary files a/config/themes/core/images/buttons/restore_topic.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/search.gif b/config/themes/core/images/buttons/search.gif deleted file mode 100755 index 2fa0346..0000000 Binary files a/config/themes/core/images/buttons/search.gif and /dev/null differ diff --git a/config/themes/core/images/buttons/split.gif b/config/themes/core/images/buttons/split.gif deleted file mode 100755 index 0bbce35..0000000 Binary files a/config/themes/core/images/buttons/split.gif and /dev/null differ diff --git a/config/themes/core/images/cake.png b/config/themes/core/images/cake.png deleted file mode 100755 index b596899..0000000 Binary files a/config/themes/core/images/cake.png and /dev/null differ diff --git a/config/themes/core/images/catbg.jpg b/config/themes/core/images/catbg.jpg deleted file mode 100755 index dfc834e..0000000 Binary files a/config/themes/core/images/catbg.jpg and /dev/null differ diff --git a/config/themes/core/images/catbg2.jpg b/config/themes/core/images/catbg2.jpg deleted file mode 100755 index cb82394..0000000 Binary files a/config/themes/core/images/catbg2.jpg and /dev/null differ diff --git a/config/themes/core/images/collapse.gif b/config/themes/core/images/collapse.gif deleted file mode 100755 index 699dc25..0000000 Binary files a/config/themes/core/images/collapse.gif and /dev/null differ diff --git a/config/themes/core/images/construction.png b/config/themes/core/images/construction.png deleted file mode 100755 index ca4424d..0000000 Binary files a/config/themes/core/images/construction.png and /dev/null differ diff --git a/config/themes/core/images/email_sm.gif b/config/themes/core/images/email_sm.gif deleted file mode 100755 index 466bb22..0000000 Binary files a/config/themes/core/images/email_sm.gif and /dev/null differ diff --git a/config/themes/core/images/english/index.php b/config/themes/core/images/english/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/english/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/english/new.gif b/config/themes/core/images/english/new.gif deleted file mode 100755 index 0c5a9f0..0000000 Binary files a/config/themes/core/images/english/new.gif and /dev/null differ diff --git a/config/themes/core/images/expand.gif b/config/themes/core/images/expand.gif deleted file mode 100755 index 95f43ae..0000000 Binary files a/config/themes/core/images/expand.gif and /dev/null differ diff --git a/config/themes/core/images/filter.gif b/config/themes/core/images/filter.gif deleted file mode 100755 index f16261f..0000000 Binary files a/config/themes/core/images/filter.gif and /dev/null differ diff --git a/config/themes/core/images/helptopics.gif b/config/themes/core/images/helptopics.gif deleted file mode 100755 index 55c5fc3..0000000 Binary files a/config/themes/core/images/helptopics.gif and /dev/null differ diff --git a/config/themes/core/images/icons/assist.gif b/config/themes/core/images/icons/assist.gif deleted file mode 100755 index 84289cd..0000000 Binary files a/config/themes/core/images/icons/assist.gif and /dev/null differ diff --git a/config/themes/core/images/icons/calendar.gif b/config/themes/core/images/icons/calendar.gif deleted file mode 100755 index 296a129..0000000 Binary files a/config/themes/core/images/icons/calendar.gif and /dev/null differ diff --git a/config/themes/core/images/icons/clip.gif b/config/themes/core/images/icons/clip.gif deleted file mode 100755 index a9633c2..0000000 Binary files a/config/themes/core/images/icons/clip.gif and /dev/null differ diff --git a/config/themes/core/images/icons/config_sm.gif b/config/themes/core/images/icons/config_sm.gif deleted file mode 100755 index 304639e..0000000 Binary files a/config/themes/core/images/icons/config_sm.gif and /dev/null differ diff --git a/config/themes/core/images/icons/delete.gif b/config/themes/core/images/icons/delete.gif deleted file mode 100755 index b3e13cb..0000000 Binary files a/config/themes/core/images/icons/delete.gif and /dev/null differ diff --git a/config/themes/core/images/icons/field_check.gif b/config/themes/core/images/icons/field_check.gif deleted file mode 100755 index 9905d2a..0000000 Binary files a/config/themes/core/images/icons/field_check.gif and /dev/null differ diff --git a/config/themes/core/images/icons/field_invalid.gif b/config/themes/core/images/icons/field_invalid.gif deleted file mode 100755 index 64d0a1f..0000000 Binary files a/config/themes/core/images/icons/field_invalid.gif and /dev/null differ diff --git a/config/themes/core/images/icons/field_valid.gif b/config/themes/core/images/icons/field_valid.gif deleted file mode 100755 index 897aeaa..0000000 Binary files a/config/themes/core/images/icons/field_valid.gif and /dev/null differ diff --git a/config/themes/core/images/icons/im_newmsg.gif b/config/themes/core/images/icons/im_newmsg.gif deleted file mode 100755 index 18b6687..0000000 Binary files a/config/themes/core/images/icons/im_newmsg.gif and /dev/null differ diff --git a/config/themes/core/images/icons/index.php b/config/themes/core/images/icons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/icons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/icons/info.gif b/config/themes/core/images/icons/info.gif deleted file mode 100755 index 30b5766..0000000 Binary files a/config/themes/core/images/icons/info.gif and /dev/null differ diff --git a/config/themes/core/images/icons/last_post.gif b/config/themes/core/images/icons/last_post.gif deleted file mode 100755 index 17c2316..0000000 Binary files a/config/themes/core/images/icons/last_post.gif and /dev/null differ diff --git a/config/themes/core/images/icons/login.gif b/config/themes/core/images/icons/login.gif deleted file mode 100755 index f15752f..0000000 Binary files a/config/themes/core/images/icons/login.gif and /dev/null differ diff --git a/config/themes/core/images/icons/login_sm.gif b/config/themes/core/images/icons/login_sm.gif deleted file mode 100755 index 5da1e73..0000000 Binary files a/config/themes/core/images/icons/login_sm.gif and /dev/null differ diff --git a/config/themes/core/images/icons/members.gif b/config/themes/core/images/icons/members.gif deleted file mode 100755 index 39efa37..0000000 Binary files a/config/themes/core/images/icons/members.gif and /dev/null differ diff --git a/config/themes/core/images/icons/modify_inline.gif b/config/themes/core/images/icons/modify_inline.gif deleted file mode 100755 index 61698f0..0000000 Binary files a/config/themes/core/images/icons/modify_inline.gif and /dev/null differ diff --git a/config/themes/core/images/icons/modify_small.gif b/config/themes/core/images/icons/modify_small.gif deleted file mode 100755 index d26e893..0000000 Binary files a/config/themes/core/images/icons/modify_small.gif and /dev/null differ diff --git a/config/themes/core/images/icons/notify_sm.gif b/config/themes/core/images/icons/notify_sm.gif deleted file mode 100755 index 6d254c9..0000000 Binary files a/config/themes/core/images/icons/notify_sm.gif and /dev/null differ diff --git a/config/themes/core/images/icons/online.gif b/config/themes/core/images/icons/online.gif deleted file mode 100755 index cf6d8c8..0000000 Binary files a/config/themes/core/images/icons/online.gif and /dev/null differ diff --git a/config/themes/core/images/icons/package_installed.gif b/config/themes/core/images/icons/package_installed.gif deleted file mode 100755 index febd4e3..0000000 Binary files a/config/themes/core/images/icons/package_installed.gif and /dev/null differ diff --git a/config/themes/core/images/icons/package_old.gif b/config/themes/core/images/icons/package_old.gif deleted file mode 100755 index de39c6d..0000000 Binary files a/config/themes/core/images/icons/package_old.gif and /dev/null differ diff --git a/config/themes/core/images/icons/pm_read.gif b/config/themes/core/images/icons/pm_read.gif deleted file mode 100755 index 1ebcf6b..0000000 Binary files a/config/themes/core/images/icons/pm_read.gif and /dev/null differ diff --git a/config/themes/core/images/icons/pm_replied.gif b/config/themes/core/images/icons/pm_replied.gif deleted file mode 100755 index 1d39a4d..0000000 Binary files a/config/themes/core/images/icons/pm_replied.gif and /dev/null differ diff --git a/config/themes/core/images/icons/profile_sm.gif b/config/themes/core/images/icons/profile_sm.gif deleted file mode 100755 index bd1cc59..0000000 Binary files a/config/themes/core/images/icons/profile_sm.gif and /dev/null differ diff --git a/config/themes/core/images/icons/quick_lock.gif b/config/themes/core/images/icons/quick_lock.gif deleted file mode 100755 index 2711ac7..0000000 Binary files a/config/themes/core/images/icons/quick_lock.gif and /dev/null differ diff --git a/config/themes/core/images/icons/quick_move.gif b/config/themes/core/images/icons/quick_move.gif deleted file mode 100755 index 1ec1b10..0000000 Binary files a/config/themes/core/images/icons/quick_move.gif and /dev/null differ diff --git a/config/themes/core/images/icons/quick_remove.gif b/config/themes/core/images/icons/quick_remove.gif deleted file mode 100755 index 5c2a15f..0000000 Binary files a/config/themes/core/images/icons/quick_remove.gif and /dev/null differ diff --git a/config/themes/core/images/icons/quick_sticky.gif b/config/themes/core/images/icons/quick_sticky.gif deleted file mode 100755 index 25181e2..0000000 Binary files a/config/themes/core/images/icons/quick_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/icons/show_sticky.gif b/config/themes/core/images/icons/show_sticky.gif deleted file mode 100755 index b7d6ef3..0000000 Binary files a/config/themes/core/images/icons/show_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/im_off.gif b/config/themes/core/images/im_off.gif deleted file mode 100755 index 771136a..0000000 Binary files a/config/themes/core/images/im_off.gif and /dev/null differ diff --git a/config/themes/core/images/im_on.gif b/config/themes/core/images/im_on.gif deleted file mode 100755 index 7f1f8ac..0000000 Binary files a/config/themes/core/images/im_on.gif and /dev/null differ diff --git a/config/themes/core/images/im_sm_newmsg.gif b/config/themes/core/images/im_sm_newmsg.gif deleted file mode 100755 index e3de228..0000000 Binary files a/config/themes/core/images/im_sm_newmsg.gif and /dev/null differ diff --git a/config/themes/core/images/im_sm_prefs.gif b/config/themes/core/images/im_sm_prefs.gif deleted file mode 100755 index 304639e..0000000 Binary files a/config/themes/core/images/im_sm_prefs.gif and /dev/null differ diff --git a/config/themes/core/images/im_switch.gif b/config/themes/core/images/im_switch.gif deleted file mode 100755 index 0d4c78d..0000000 Binary files a/config/themes/core/images/im_switch.gif and /dev/null differ diff --git a/config/themes/core/images/index.php b/config/themes/core/images/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/ip.gif b/config/themes/core/images/ip.gif deleted file mode 100755 index e3ac911..0000000 Binary files a/config/themes/core/images/ip.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_active_back.gif b/config/themes/core/images/maintab_active_back.gif deleted file mode 100755 index 6e55ba4..0000000 Binary files a/config/themes/core/images/maintab_active_back.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_active_first.gif b/config/themes/core/images/maintab_active_first.gif deleted file mode 100755 index ab44aff..0000000 Binary files a/config/themes/core/images/maintab_active_first.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_active_last.gif b/config/themes/core/images/maintab_active_last.gif deleted file mode 100755 index 5fbfe70..0000000 Binary files a/config/themes/core/images/maintab_active_last.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_back.gif b/config/themes/core/images/maintab_back.gif deleted file mode 100755 index 8aed006..0000000 Binary files a/config/themes/core/images/maintab_back.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_first.gif b/config/themes/core/images/maintab_first.gif deleted file mode 100755 index d414055..0000000 Binary files a/config/themes/core/images/maintab_first.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_first_prev.gif b/config/themes/core/images/maintab_first_prev.gif deleted file mode 100755 index 24c907e..0000000 Binary files a/config/themes/core/images/maintab_first_prev.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_last.gif b/config/themes/core/images/maintab_last.gif deleted file mode 100755 index b3d3e61..0000000 Binary files a/config/themes/core/images/maintab_last.gif and /dev/null differ diff --git a/config/themes/core/images/maintab_last_prev.gif b/config/themes/core/images/maintab_last_prev.gif deleted file mode 100755 index 36cd620..0000000 Binary files a/config/themes/core/images/maintab_last_prev.gif and /dev/null differ diff --git a/config/themes/core/images/menubg.gif b/config/themes/core/images/menubg.gif deleted file mode 100755 index 887aafe..0000000 Binary files a/config/themes/core/images/menubg.gif and /dev/null differ diff --git a/config/themes/core/images/message_sm.gif b/config/themes/core/images/message_sm.gif deleted file mode 100755 index 0e5f36a..0000000 Binary files a/config/themes/core/images/message_sm.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_active_back.gif b/config/themes/core/images/mirrortab_active_back.gif deleted file mode 100755 index bda5a9d..0000000 Binary files a/config/themes/core/images/mirrortab_active_back.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_active_first.gif b/config/themes/core/images/mirrortab_active_first.gif deleted file mode 100755 index d202db3..0000000 Binary files a/config/themes/core/images/mirrortab_active_first.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_active_last.gif b/config/themes/core/images/mirrortab_active_last.gif deleted file mode 100755 index 90da072..0000000 Binary files a/config/themes/core/images/mirrortab_active_last.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_back.gif b/config/themes/core/images/mirrortab_back.gif deleted file mode 100755 index fd4ae05..0000000 Binary files a/config/themes/core/images/mirrortab_back.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_first.gif b/config/themes/core/images/mirrortab_first.gif deleted file mode 100755 index fd62af1..0000000 Binary files a/config/themes/core/images/mirrortab_first.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_first_prev.gif b/config/themes/core/images/mirrortab_first_prev.gif deleted file mode 100755 index f568605..0000000 Binary files a/config/themes/core/images/mirrortab_first_prev.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_last.gif b/config/themes/core/images/mirrortab_last.gif deleted file mode 100755 index 7c572d8..0000000 Binary files a/config/themes/core/images/mirrortab_last.gif and /dev/null differ diff --git a/config/themes/core/images/mirrortab_last_prev.gif b/config/themes/core/images/mirrortab_last_prev.gif deleted file mode 100755 index b130abf..0000000 Binary files a/config/themes/core/images/mirrortab_last_prev.gif and /dev/null differ diff --git a/config/themes/core/images/msntalk.gif b/config/themes/core/images/msntalk.gif deleted file mode 100755 index 207f55a..0000000 Binary files a/config/themes/core/images/msntalk.gif and /dev/null differ diff --git a/config/themes/core/images/new_bar.gif b/config/themes/core/images/new_bar.gif deleted file mode 100755 index 11a2a72..0000000 Binary files a/config/themes/core/images/new_bar.gif and /dev/null differ diff --git a/config/themes/core/images/new_none.gif b/config/themes/core/images/new_none.gif deleted file mode 100755 index 1820bb0..0000000 Binary files a/config/themes/core/images/new_none.gif and /dev/null differ diff --git a/config/themes/core/images/new_some.gif b/config/themes/core/images/new_some.gif deleted file mode 100755 index 8ea9fb2..0000000 Binary files a/config/themes/core/images/new_some.gif and /dev/null differ diff --git a/config/themes/core/images/off.gif b/config/themes/core/images/off.gif deleted file mode 100755 index b423101..0000000 Binary files a/config/themes/core/images/off.gif and /dev/null differ diff --git a/config/themes/core/images/on.gif b/config/themes/core/images/on.gif deleted file mode 100755 index 365bd71..0000000 Binary files a/config/themes/core/images/on.gif and /dev/null differ diff --git a/config/themes/core/images/on2.gif b/config/themes/core/images/on2.gif deleted file mode 100755 index 8dc33b3..0000000 Binary files a/config/themes/core/images/on2.gif and /dev/null differ diff --git a/config/themes/core/images/openid.gif b/config/themes/core/images/openid.gif deleted file mode 100755 index cde836c..0000000 Binary files a/config/themes/core/images/openid.gif and /dev/null differ diff --git a/config/themes/core/images/pm_recipient_delete.gif b/config/themes/core/images/pm_recipient_delete.gif deleted file mode 100755 index 02d4fbf..0000000 Binary files a/config/themes/core/images/pm_recipient_delete.gif and /dev/null differ diff --git a/config/themes/core/images/poll_left.gif b/config/themes/core/images/poll_left.gif deleted file mode 100755 index ac7df6b..0000000 Binary files a/config/themes/core/images/poll_left.gif and /dev/null differ diff --git a/config/themes/core/images/poll_middle.gif b/config/themes/core/images/poll_middle.gif deleted file mode 100755 index cdffb90..0000000 Binary files a/config/themes/core/images/poll_middle.gif and /dev/null differ diff --git a/config/themes/core/images/poll_right.gif b/config/themes/core/images/poll_right.gif deleted file mode 100755 index 337187f..0000000 Binary files a/config/themes/core/images/poll_right.gif and /dev/null differ diff --git a/config/themes/core/images/post/angry.gif b/config/themes/core/images/post/angry.gif deleted file mode 100755 index a654fc0..0000000 Binary files a/config/themes/core/images/post/angry.gif and /dev/null differ diff --git a/config/themes/core/images/post/cheesy.gif b/config/themes/core/images/post/cheesy.gif deleted file mode 100755 index 1c7893f..0000000 Binary files a/config/themes/core/images/post/cheesy.gif and /dev/null differ diff --git a/config/themes/core/images/post/clip.gif b/config/themes/core/images/post/clip.gif deleted file mode 100755 index e594837..0000000 Binary files a/config/themes/core/images/post/clip.gif and /dev/null differ diff --git a/config/themes/core/images/post/exclamation.gif b/config/themes/core/images/post/exclamation.gif deleted file mode 100755 index e77cfed..0000000 Binary files a/config/themes/core/images/post/exclamation.gif and /dev/null differ diff --git a/config/themes/core/images/post/grin.gif b/config/themes/core/images/post/grin.gif deleted file mode 100755 index 91a16c4..0000000 Binary files a/config/themes/core/images/post/grin.gif and /dev/null differ diff --git a/config/themes/core/images/post/index.php b/config/themes/core/images/post/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/post/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/post/lamp.gif b/config/themes/core/images/post/lamp.gif deleted file mode 100755 index d894edd..0000000 Binary files a/config/themes/core/images/post/lamp.gif and /dev/null differ diff --git a/config/themes/core/images/post/moved.gif b/config/themes/core/images/post/moved.gif deleted file mode 100755 index aad605b..0000000 Binary files a/config/themes/core/images/post/moved.gif and /dev/null differ diff --git a/config/themes/core/images/post/question.gif b/config/themes/core/images/post/question.gif deleted file mode 100755 index 75b69d5..0000000 Binary files a/config/themes/core/images/post/question.gif and /dev/null differ diff --git a/config/themes/core/images/post/recycled.gif b/config/themes/core/images/post/recycled.gif deleted file mode 100755 index 91e5c67..0000000 Binary files a/config/themes/core/images/post/recycled.gif and /dev/null differ diff --git a/config/themes/core/images/post/sad.gif b/config/themes/core/images/post/sad.gif deleted file mode 100755 index bed07ca..0000000 Binary files a/config/themes/core/images/post/sad.gif and /dev/null differ diff --git a/config/themes/core/images/post/smiley.gif b/config/themes/core/images/post/smiley.gif deleted file mode 100755 index 0b0ea19..0000000 Binary files a/config/themes/core/images/post/smiley.gif and /dev/null differ diff --git a/config/themes/core/images/post/thumbdown.gif b/config/themes/core/images/post/thumbdown.gif deleted file mode 100755 index ab7e040..0000000 Binary files a/config/themes/core/images/post/thumbdown.gif and /dev/null differ diff --git a/config/themes/core/images/post/thumbup.gif b/config/themes/core/images/post/thumbup.gif deleted file mode 100755 index 62e0d02..0000000 Binary files a/config/themes/core/images/post/thumbup.gif and /dev/null differ diff --git a/config/themes/core/images/post/wink.gif b/config/themes/core/images/post/wink.gif deleted file mode 100755 index c7b79ff..0000000 Binary files a/config/themes/core/images/post/wink.gif and /dev/null differ diff --git a/config/themes/core/images/post/wireless.gif b/config/themes/core/images/post/wireless.gif deleted file mode 100755 index 9b66c37..0000000 Binary files a/config/themes/core/images/post/wireless.gif and /dev/null differ diff --git a/config/themes/core/images/post/xx.gif b/config/themes/core/images/post/xx.gif deleted file mode 100755 index ca68750..0000000 Binary files a/config/themes/core/images/post/xx.gif and /dev/null differ diff --git a/config/themes/core/images/redirect.gif b/config/themes/core/images/redirect.gif deleted file mode 100755 index ff08eb5..0000000 Binary files a/config/themes/core/images/redirect.gif and /dev/null differ diff --git a/config/themes/core/images/selected.gif b/config/themes/core/images/selected.gif deleted file mode 100755 index 4d2d54e..0000000 Binary files a/config/themes/core/images/selected.gif and /dev/null differ diff --git a/config/themes/core/images/smflogo.gif b/config/themes/core/images/smflogo.gif deleted file mode 100755 index 69c0b7d..0000000 Binary files a/config/themes/core/images/smflogo.gif and /dev/null differ diff --git a/config/themes/core/images/smiley_select_spot.gif b/config/themes/core/images/smiley_select_spot.gif deleted file mode 100755 index 96d6168..0000000 Binary files a/config/themes/core/images/smiley_select_spot.gif and /dev/null differ diff --git a/config/themes/core/images/sort_down.gif b/config/themes/core/images/sort_down.gif deleted file mode 100755 index 6c755db..0000000 Binary files a/config/themes/core/images/sort_down.gif and /dev/null differ diff --git a/config/themes/core/images/sort_up.gif b/config/themes/core/images/sort_up.gif deleted file mode 100755 index 7e5731a..0000000 Binary files a/config/themes/core/images/sort_up.gif and /dev/null differ diff --git a/config/themes/core/images/split_deselect.gif b/config/themes/core/images/split_deselect.gif deleted file mode 100755 index 955a84c..0000000 Binary files a/config/themes/core/images/split_deselect.gif and /dev/null differ diff --git a/config/themes/core/images/split_select.gif b/config/themes/core/images/split_select.gif deleted file mode 100755 index 65765ec..0000000 Binary files a/config/themes/core/images/split_select.gif and /dev/null differ diff --git a/config/themes/core/images/star.gif b/config/themes/core/images/star.gif deleted file mode 100755 index 2177240..0000000 Binary files a/config/themes/core/images/star.gif and /dev/null differ diff --git a/config/themes/core/images/staradmin.gif b/config/themes/core/images/staradmin.gif deleted file mode 100755 index ff798fa..0000000 Binary files a/config/themes/core/images/staradmin.gif and /dev/null differ diff --git a/config/themes/core/images/stargmod.gif b/config/themes/core/images/stargmod.gif deleted file mode 100755 index 31ddeac..0000000 Binary files a/config/themes/core/images/stargmod.gif and /dev/null differ diff --git a/config/themes/core/images/starmod.gif b/config/themes/core/images/starmod.gif deleted file mode 100755 index b1e56d0..0000000 Binary files a/config/themes/core/images/starmod.gif and /dev/null differ diff --git a/config/themes/core/images/stats_board.gif b/config/themes/core/images/stats_board.gif deleted file mode 100755 index 64b52f4..0000000 Binary files a/config/themes/core/images/stats_board.gif and /dev/null differ diff --git a/config/themes/core/images/stats_boards.gif b/config/themes/core/images/stats_boards.gif deleted file mode 100755 index c9bc2f4..0000000 Binary files a/config/themes/core/images/stats_boards.gif and /dev/null differ diff --git a/config/themes/core/images/stats_history.gif b/config/themes/core/images/stats_history.gif deleted file mode 100755 index 563ab3f..0000000 Binary files a/config/themes/core/images/stats_history.gif and /dev/null differ diff --git a/config/themes/core/images/stats_info.gif b/config/themes/core/images/stats_info.gif deleted file mode 100755 index a882fec..0000000 Binary files a/config/themes/core/images/stats_info.gif and /dev/null differ diff --git a/config/themes/core/images/stats_pie.png b/config/themes/core/images/stats_pie.png deleted file mode 100755 index 1f692c9..0000000 Binary files a/config/themes/core/images/stats_pie.png and /dev/null differ diff --git a/config/themes/core/images/stats_pie_rtl.png b/config/themes/core/images/stats_pie_rtl.png deleted file mode 100755 index af9d2b3..0000000 Binary files a/config/themes/core/images/stats_pie_rtl.png and /dev/null differ diff --git a/config/themes/core/images/stats_posters.gif b/config/themes/core/images/stats_posters.gif deleted file mode 100755 index b050475..0000000 Binary files a/config/themes/core/images/stats_posters.gif and /dev/null differ diff --git a/config/themes/core/images/stats_replies.gif b/config/themes/core/images/stats_replies.gif deleted file mode 100755 index ebe3a3a..0000000 Binary files a/config/themes/core/images/stats_replies.gif and /dev/null differ diff --git a/config/themes/core/images/stats_views.gif b/config/themes/core/images/stats_views.gif deleted file mode 100755 index 3e73e40..0000000 Binary files a/config/themes/core/images/stats_views.gif and /dev/null differ diff --git a/config/themes/core/images/thumbnail.gif b/config/themes/core/images/thumbnail.gif deleted file mode 100755 index 0e1dc6e..0000000 Binary files a/config/themes/core/images/thumbnail.gif and /dev/null differ diff --git a/config/themes/core/images/titlebg.jpg b/config/themes/core/images/titlebg.jpg deleted file mode 100755 index ad0ed5a..0000000 Binary files a/config/themes/core/images/titlebg.jpg and /dev/null differ diff --git a/config/themes/core/images/topbg.jpg b/config/themes/core/images/topbg.jpg deleted file mode 100755 index 121ea36..0000000 Binary files a/config/themes/core/images/topbg.jpg and /dev/null differ diff --git a/config/themes/core/images/topic/hot_poll.gif b/config/themes/core/images/topic/hot_poll.gif deleted file mode 100755 index fae050d..0000000 Binary files a/config/themes/core/images/topic/hot_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/hot_post.gif b/config/themes/core/images/topic/hot_post.gif deleted file mode 100755 index a1c66ad..0000000 Binary files a/config/themes/core/images/topic/hot_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/hot_post_locked.gif b/config/themes/core/images/topic/hot_post_locked.gif deleted file mode 100755 index 26a2a1a..0000000 Binary files a/config/themes/core/images/topic/hot_post_locked.gif and /dev/null differ diff --git a/config/themes/core/images/topic/hot_post_locked_sticky.gif b/config/themes/core/images/topic/hot_post_locked_sticky.gif deleted file mode 100755 index c548918..0000000 Binary files a/config/themes/core/images/topic/hot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/hot_post_sticky.gif b/config/themes/core/images/topic/hot_post_sticky.gif deleted file mode 100755 index 13a0750..0000000 Binary files a/config/themes/core/images/topic/hot_post_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/index.php b/config/themes/core/images/topic/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/images/topic/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/images/topic/my_hot_poll.gif b/config/themes/core/images/topic/my_hot_poll.gif deleted file mode 100755 index 3a131ae..0000000 Binary files a/config/themes/core/images/topic/my_hot_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/my_hot_post.gif b/config/themes/core/images/topic/my_hot_post.gif deleted file mode 100755 index 9c7d295..0000000 Binary files a/config/themes/core/images/topic/my_hot_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/my_normal_poll.gif b/config/themes/core/images/topic/my_normal_poll.gif deleted file mode 100755 index 5959126..0000000 Binary files a/config/themes/core/images/topic/my_normal_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/my_normal_post.gif b/config/themes/core/images/topic/my_normal_post.gif deleted file mode 100755 index 0dcefa3..0000000 Binary files a/config/themes/core/images/topic/my_normal_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/my_veryhot_poll.gif b/config/themes/core/images/topic/my_veryhot_poll.gif deleted file mode 100755 index dbcbb3f..0000000 Binary files a/config/themes/core/images/topic/my_veryhot_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/my_veryhot_post.gif b/config/themes/core/images/topic/my_veryhot_post.gif deleted file mode 100755 index 995e903..0000000 Binary files a/config/themes/core/images/topic/my_veryhot_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_poll.gif b/config/themes/core/images/topic/normal_poll.gif deleted file mode 100755 index ff8e364..0000000 Binary files a/config/themes/core/images/topic/normal_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_poll_locked.gif b/config/themes/core/images/topic/normal_poll_locked.gif deleted file mode 100755 index 812e1c3..0000000 Binary files a/config/themes/core/images/topic/normal_poll_locked.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_poll_locked_sticky.gif b/config/themes/core/images/topic/normal_poll_locked_sticky.gif deleted file mode 100755 index 284f3a7..0000000 Binary files a/config/themes/core/images/topic/normal_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_poll_sticky.gif b/config/themes/core/images/topic/normal_poll_sticky.gif deleted file mode 100755 index 69c13b3..0000000 Binary files a/config/themes/core/images/topic/normal_poll_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_post.gif b/config/themes/core/images/topic/normal_post.gif deleted file mode 100755 index bcb144e..0000000 Binary files a/config/themes/core/images/topic/normal_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_post_locked.gif b/config/themes/core/images/topic/normal_post_locked.gif deleted file mode 100755 index 46938d6..0000000 Binary files a/config/themes/core/images/topic/normal_post_locked.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_post_locked_sticky.gif b/config/themes/core/images/topic/normal_post_locked_sticky.gif deleted file mode 100755 index e3e5089..0000000 Binary files a/config/themes/core/images/topic/normal_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/normal_post_sticky.gif b/config/themes/core/images/topic/normal_post_sticky.gif deleted file mode 100755 index 089644f..0000000 Binary files a/config/themes/core/images/topic/normal_post_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/veryhot_poll.gif b/config/themes/core/images/topic/veryhot_poll.gif deleted file mode 100755 index 8425653..0000000 Binary files a/config/themes/core/images/topic/veryhot_poll.gif and /dev/null differ diff --git a/config/themes/core/images/topic/veryhot_post.gif b/config/themes/core/images/topic/veryhot_post.gif deleted file mode 100755 index 3af2b5d..0000000 Binary files a/config/themes/core/images/topic/veryhot_post.gif and /dev/null differ diff --git a/config/themes/core/images/topic/veryhot_post_locked.gif b/config/themes/core/images/topic/veryhot_post_locked.gif deleted file mode 100755 index d5b265a..0000000 Binary files a/config/themes/core/images/topic/veryhot_post_locked.gif and /dev/null differ diff --git a/config/themes/core/images/topic/veryhot_post_locked_sticky.gif b/config/themes/core/images/topic/veryhot_post_locked_sticky.gif deleted file mode 100755 index a2b6458..0000000 Binary files a/config/themes/core/images/topic/veryhot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/topic/veryhot_post_sticky.gif b/config/themes/core/images/topic/veryhot_post_sticky.gif deleted file mode 100755 index dfdabe9..0000000 Binary files a/config/themes/core/images/topic/veryhot_post_sticky.gif and /dev/null differ diff --git a/config/themes/core/images/upshrink.gif b/config/themes/core/images/upshrink.gif deleted file mode 100755 index 6286ed8..0000000 Binary files a/config/themes/core/images/upshrink.gif and /dev/null differ diff --git a/config/themes/core/images/upshrink2.gif b/config/themes/core/images/upshrink2.gif deleted file mode 100755 index f8f6813..0000000 Binary files a/config/themes/core/images/upshrink2.gif and /dev/null differ diff --git a/config/themes/core/images/useroff.gif b/config/themes/core/images/useroff.gif deleted file mode 100755 index def3acf..0000000 Binary files a/config/themes/core/images/useroff.gif and /dev/null differ diff --git a/config/themes/core/images/useron.gif b/config/themes/core/images/useron.gif deleted file mode 100755 index 71f822f..0000000 Binary files a/config/themes/core/images/useron.gif and /dev/null differ diff --git a/config/themes/core/images/warn.gif b/config/themes/core/images/warn.gif deleted file mode 100755 index d78a097..0000000 Binary files a/config/themes/core/images/warn.gif and /dev/null differ diff --git a/config/themes/core/images/warning_moderate.gif b/config/themes/core/images/warning_moderate.gif deleted file mode 100755 index d78a097..0000000 Binary files a/config/themes/core/images/warning_moderate.gif and /dev/null differ diff --git a/config/themes/core/images/warning_mute.gif b/config/themes/core/images/warning_mute.gif deleted file mode 100755 index 674b548..0000000 Binary files a/config/themes/core/images/warning_mute.gif and /dev/null differ diff --git a/config/themes/core/images/warning_watch.gif b/config/themes/core/images/warning_watch.gif deleted file mode 100755 index f2f4d87..0000000 Binary files a/config/themes/core/images/warning_watch.gif and /dev/null differ diff --git a/config/themes/core/images/www.gif b/config/themes/core/images/www.gif deleted file mode 100755 index a7cfe20..0000000 Binary files a/config/themes/core/images/www.gif and /dev/null differ diff --git a/config/themes/core/images/www_sm.gif b/config/themes/core/images/www_sm.gif deleted file mode 100755 index a7cfe20..0000000 Binary files a/config/themes/core/images/www_sm.gif and /dev/null differ diff --git a/config/themes/core/index.php b/config/themes/core/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/index.template.php b/config/themes/core/index.template.php deleted file mode 100755 index 317fc40..0000000 --- a/config/themes/core/index.template.php +++ /dev/null @@ -1,522 +0,0 @@ - -'; - - // The ?fin20 part of this link is just here to make sure browsers don't cache it wrongly. - echo ' - '; - - // Some browsers need an extra stylesheet due to bugs/compatibility issues. - foreach (array('ie7', 'ie6', 'webkit') as $cssfix) - if ($context['browser']['is_' . $cssfix]) - echo ' - '; - - // RTL languages require an additional stylesheet. - if ($context['right_to_left']) - echo ' - '; - - // Here comes the JavaScript bits! - echo ' - - - '; - - echo ' - - ', !empty($context['meta_keywords']) ? ' - ' : '', ' - ', $context['page_title_html_safe'], ''; - - // Please don't index these Mr Robot. - if (!empty($context['robot_no_index'])) - echo ' - '; - - // Present a canonical url for search engines to prevent duplicate content in their indices. - if (!empty($context['canonical_url'])) - echo ' - '; - - // Show all the relative links, such as help, search, contents, and the like. - echo ' - - - '; - - // If RSS feeds are enabled, advertise the presence of one. - if (!empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged'])) - echo ' - '; - - // If we're viewing a topic, these should be the previous and next topics, respectively. - if (!empty($context['current_topic'])) - echo ' - - '; - - // If we're in a board, or a topic for that matter, the index will be the board's index. - if (!empty($context['current_board'])) - echo ' - '; - - // We'll have to use the cookie to remember the header... - if ($context['user']['is_guest']) - { - $options['collapse_header'] = !empty($_COOKIE['upshrink']); - $options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']); - } - - // Output any remaining HTML headers. (from mods, maybe?) - echo $context['html_headers']; - - echo ' - -'; -} - -function template_body_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    - -

    '; - - if (empty($context['header_logo_url_html_safe'])) - echo $context['forum_name_html_safe']; - else - echo ' - ', $context['forum_name_html_safe'], ''; - - echo ' -

    -
    '; - - // Display user name and time. - echo ' -
      -
    • - ', $context['current_time'], ' - -
    • '; - - if ($context['user']['is_logged']) - echo ' -
    • ', $txt['hello_member_ndt'], ' ', $context['user']['name'], '
    • '; - else - echo ' -
    • ', $txt['hello_guest'], ' ', $txt['guest'], '
    • '; - - echo ' -
    '; - - if ($context['user']['is_logged'] || !empty($context['show_login_bar'])) - echo ' - '; - - echo ' - -
    '; - - // Define the upper_section toggle in JavaScript. - echo ' - '; - - // Show the menu here, according to the menu sub template. - template_menu(); - - // Show the navigation tree. - theme_linktree(); - - // The main content should go here. - echo ' -
    '; -} - -function template_body_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    '; - - // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! - echo ' -
    - '; - - // Show the load time? - if ($context['show_load_time']) - echo ' -

    ', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '

    '; - - echo ' -
    -
    '; -} - -function template_html_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -'; -} - -// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. -function theme_linktree($force_show = false) -{ - global $context, $settings, $options, $shown_linktree; - - // If linktree is empty, just return - also allow an override. - if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show)) - return; - - echo ' -
      '; - - // Each tree item has a URL and name. Some may have extra_before and extra_after. - foreach ($context['linktree'] as $link_num => $tree) - { - echo ' - '; - - // Show something before the link? - if (isset($tree['extra_before'])) - echo $tree['extra_before']; - - // Show the link, including a URL if it should have one. - echo $settings['linktree_link'] && isset($tree['url']) ? ' - ' . $tree['name'] . '' : '' . $tree['name'] . ''; - - // Show something after the link...? - if (isset($tree['extra_after'])) - echo $tree['extra_after']; - - // Don't show a separator for the last one. - if ($link_num != count($context['linktree']) - 1) - echo ' >'; - - echo ' - '; - } - echo ' -
    '; - - $shown_linktree = true; -} - -// Show the menu up top. Something like [home] [help] [profile] [logout]... -function template_menu() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - '; -} - -// Generate a strip of buttons. -function template_button_strip($button_strip, $direction = 'top', $strip_options = array()) -{ - global $settings, $context, $txt, $scripturl; - - if (!is_array($strip_options)) - $strip_options = array(); - - // Right to left menu should be in reverse order. - if ($context['right_to_left']) - $button_strip = array_reverse($button_strip, true); - - // Create the buttons... - $buttons = array(); - foreach ($button_strip as $key => $value) - if (!isset($value['test']) || !empty($context[$value['test']])) - $buttons[] = ' - ' . (isset($value['active']) ? '' . $txt[$value['text']] . '' : $txt[$value['text']]) . ''; - - // No buttons? No button strip either. - if (empty($buttons)) - return; - - // Make the last one, as easy as possible. - $list_item = array('
  • ', '
  • '); - $active_item = array('
  • ', '
  • '); - - $buttons[count($buttons) - 1] = str_replace($list_item, $active_item, $buttons[count($buttons) - 1]); - - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/core/languages/Settings.english.php b/config/themes/core/languages/Settings.english.php deleted file mode 100755 index 5629a40..0000000 --- a/config/themes/core/languages/Settings.english.php +++ /dev/null @@ -1,9 +0,0 @@ -
    Author: The Simple Machines Team'; - -?> \ No newline at end of file diff --git a/config/themes/core/languages/index.php b/config/themes/core/languages/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/core/languages/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/core/license.txt b/config/themes/core/license.txt deleted file mode 100755 index 7e09434..0000000 --- a/config/themes/core/license.txt +++ /dev/null @@ -1,27 +0,0 @@ -Copyright © 2011 Simple Machines. All rights reserved. - -Developed by: Simple Machines Forum Project - Simple Machines - http://www.simplemachines.org - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimers. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimers in the - documentation and/or other materials provided with the distribution. - 3. Neither the names of Simple Machines Forum, Simple Machines, nor - the names of its contributors may be used to endorse or promote - products derived from this Software without specific prior written - permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -WITH THE SOFTWARE. - -This license may be viewed online at http://www.simplemachines.org/about/smf/license.php \ No newline at end of file diff --git a/config/themes/core/scripts/theme.js b/config/themes/core/scripts/theme.js deleted file mode 100755 index 84a1cbd..0000000 --- a/config/themes/core/scripts/theme.js +++ /dev/null @@ -1,97 +0,0 @@ -// The purpose of this code is to fix the height of overflow: auto blocks, because some browsers can't figure it out for themselves. -function smf_codeBoxFix() -{ - var codeFix = document.getElementsByTagName('code'); - for (var i = codeFix.length - 1; i >= 0; i--) - { - if (is_webkit && codeFix[i].offsetHeight < 20) - codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + 'px'; - - else if (is_ff && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) - codeFix[i].style.overflow = 'scroll'; - - else if ('currentStyle' in codeFix[i] && codeFix[i].currentStyle.overflow == 'auto' && (codeFix[i].currentStyle.height == '' || codeFix[i].currentStyle.height == 'auto') && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0)) - codeFix[i].style.height = (codeFix[i].offsetHeight + 24) + 'px'; - } -} - -// Add a fix for code stuff? -if ((is_ie && !is_ie4) || is_webkit || is_ff) - addLoadEvent(smf_codeBoxFix); - -// Toggles the element height and width styles of an image. -function smc_toggleImageDimensions() -{ - var oImages = document.getElementsByTagName('IMG'); - for (oImage in oImages) - { - // Not a resized image? Skip it. - if (oImages[oImage].className == undefined || oImages[oImage].className.indexOf('bbc_img resized') == -1) - continue; - - oImages[oImage].style.cursor = 'pointer'; - oImages[oImage].onclick = function() { - this.style.width = this.style.height = this.style.width == 'auto' ? null : 'auto'; - }; - } -} - -// Add a load event for the function above. -addLoadEvent(smc_toggleImageDimensions); - -// Adds a button to a certain button strip. -function smf_addButton(sButtonStripId, bUseImage, oOptions) -{ - var oButtonStrip = document.getElementById(sButtonStripId); - var aItems = oButtonStrip.getElementsByTagName('li'); - - // Remove the 'last' class from the last item. - if (aItems.length > 0) - { - var oLastItem = aItems[aItems.length - 1]; - oLastItem.className = oLastItem.className.replace(/\s*last/, 'position_holder'); - } - - // Add the button. - var oButtonStripList = oButtonStrip.getElementsByTagName('ul')[0]; - var oNewButton = document.createElement('li'); - oNewButton.className = 'last'; - setInnerHTML(oNewButton, '' + oOptions.sText + ''); - - oButtonStripList.appendChild(oNewButton); -} - -// Adds hover events to list items. Used for a versions of IE that don't support this by default. -var smf_addListItemHoverEvents = function() -{ - var cssRule, newSelector; - - // Add a rule for the list item hover event to every stylesheet. - for (var iStyleSheet = 0; iStyleSheet < document.styleSheets.length; iStyleSheet ++) - for (var iRule = 0; iRule < document.styleSheets[iStyleSheet].rules.length; iRule ++) - { - oCssRule = document.styleSheets[iStyleSheet].rules[iRule]; - if (oCssRule.selectorText.indexOf('LI:hover') != -1) - { - sNewSelector = oCssRule.selectorText.replace(/LI:hover/gi, 'LI.iehover'); - document.styleSheets[iStyleSheet].addRule(sNewSelector, oCssRule.style.cssText); - } - } - - // Now add handling for these hover events. - var oListItems = document.getElementsByTagName('LI'); - for (oListItem in oListItems) - { - oListItems[oListItem].onmouseover = function() { - this.className += ' iehover'; - }; - - oListItems[oListItem].onmouseout = function() { - this.className = this.className.replace(new RegExp(' iehover\\b'), ''); - }; - } -} - -// Add hover events to list items if the browser requires it. -if (is_ie6down && 'attachEvent' in window) - window.attachEvent('onload', smf_addListItemHoverEvents); diff --git a/config/themes/core/theme_info.xml b/config/themes/core/theme_info.xml deleted file mode 100755 index ee49be0..0000000 --- a/config/themes/core/theme_info.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - Core Theme - - info@simplemachines.org - - http://www.simplemachines.org/ - - html,body - - index - - - diff --git a/config/themes/default/Admin.template.php b/config/themes/default/Admin.template.php deleted file mode 100755 index 3a5fd9c..0000000 --- a/config/themes/default/Admin.template.php +++ /dev/null @@ -1,2112 +0,0 @@ - -
    -

    '; - - if ($context['user']['is_admin']) - echo ' - -
    - - - - -
    -
    '; - - echo $txt['admin_center'], ' -

    -
    - -
    -
    - ', $txt['hello_guest'], ' ', $context['user']['name'], '! - ', sprintf($txt['admin_main_welcome'], $txt['admin_center'], $txt['help'], $txt['help']), ' -
    -
    - '; - - // Is there an update available? - echo ' -
    '; - - echo ' -
    '; - - // Display the "live news" from simplemachines.org. - echo ' -
    -
    -

    - ', $txt['help'], ' ', $txt['live'], ' -

    -
    -
    - -
    -
    ', $txt['lfyi'], '
    -
    - -
    -
    '; - - // Show the user version information from their server. - echo ' -
    - -
    - -
    -
    - ', $txt['support_versions'], ':
    - ', $txt['support_versions_forum'], ': - ', $context['forum_version'], '
    - ', $txt['support_versions_current'], ': - ??
    - ', $context['can_admin'] ? '' . $txt['version_check_more'] . '' : '', '
    '; - - // Display all the members who can administrate the forum. - echo ' -
    - ', $txt['administrators'], ': - ', implode(', ', $context['administrators']); - // If we have lots of admins... don't show them all. - if (!empty($context['more_admins_link'])) - echo ' - (', $context['more_admins_link'], ')'; - - echo ' -
    -
    - -
    -
    -
    '; - - echo ' -
    - -
    -
      '; - - foreach ($context['quick_admin_tasks'] as $task) - echo ' -
    • - ', !empty($task['icon']) ? '' : '', ' -
      ', $task['link'], '
      - ', $task['description'],' -
    • '; - - echo ' -
    -
    - -
    -
  • -
    '; - - // The below functions include all the scripts needed from the simplemachines.org site. The language and format are passed for internationalization. - if (empty($modSettings['disable_smf_js'])) - echo ' - - '; - - // This sets the announcements and current versions themselves ;). - echo ' - - '; -} - -// Show some support information and credits to those who helped make this. -function template_credits() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Show the user version information from their server. - echo ' - -
    -
    -

    - ', $txt['support_title'], ' -

    -
    -
    - -
    - ', $txt['support_versions'], ':
    - ', $txt['support_versions_forum'], ': - ', $context['forum_version'], '', $context['can_admin'] ? ' ' . $txt['version_check_more'] . '' : '', '
    - ', $txt['support_versions_current'], ': - ??
    '; - - // Display all the variables we have server information for. - foreach ($context['current_versions'] as $version) - echo ' - ', $version['title'], ': - ', $version['version'], '
    '; - - echo ' -
    - -
    - '; - - // Point the admin to common support resources. - echo ' -
    -

    - ', $txt['support_resources'], ' -

    -
    -
    - -
    -

    ', $txt['support_resources_p1'], '

    -

    ', $txt['support_resources_p2'], '

    -
    - -
    '; - - // Display latest support questions from simplemachines.org. - echo ' -
    -

    - ', $txt['help'], ' ', $txt['support_latest'], ' -

    -
    -
    - -
    -
    ', $txt['support_latest_fetch'], '
    -
    - -
    '; - - // The most important part - the credits :P. - echo ' -
    -

    - ', $txt['admin_credits'], ' -

    -
    -
    - -
    '; - - foreach ($context['credits'] as $section) - { - if (isset($section['pretext'])) - echo ' -

    ', $section['pretext'], '

    '; - - echo ' -
    '; - - foreach ($section['groups'] as $group) - { - if (isset($group['title'])) - echo ' -
    - ', $group['title'], ': -
    '; - - echo ' -
    ', implode(', ', $group['members']), '
    '; - } - - echo ' -
    '; - - if (isset($section['posttext'])) - echo ' -

    ', $section['posttext'], '

    '; - } - - echo ' -
    - -
    -
    -
    '; - - // This makes all the support information available to the support script... - echo ' - - - - '; - - // This sets the latest support stuff. - echo ' - '; -} - -// Displays information about file versions installed, and compares them to current version. -function template_view_versions() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    - ', $txt['admin_version_check'], ' -

    -
    -
    ', $txt['version_check_desc'], '
    - - - - - - - - - '; - - // The current version of the core SMF package. - echo ' - - - - - '; - - // Now list all the source file versions, starting with the overall version (if all match!). - echo ' - - - - - - -
    - ', $txt['admin_smffile'], ' - - ', $txt['dvc_your'], ' - - ', $txt['dvc_current'], ' -
    - ', $txt['admin_smfpackage'], ' - - ', $context['forum_version'], ' - - ?? -
    - ', $txt['dvc_sources'], ' - - ?? - - ?? -
    - - - '; - - // Loop through every source file displaying its version - using javascript. - foreach ($context['file_versions'] as $filename => $version) - echo ' - - - - - '; - - // Default template files. - echo ' - -
    - ', $filename, ' - - ', $version, ' - - ?? -
    - - - - - - - - - -
    - ', $txt['dvc_default'], ' - - ?? - - ?? -
    - - - '; - - foreach ($context['default_template_versions'] as $filename => $version) - echo ' - - - - - '; - - // Now the language files... - echo ' - -
    - ', $filename, ' - - ', $version, ' - - ?? -
    - - - - - - - - - -
    - ', $txt['dvc_languages'], ' - - ?? - - ?? -
    - - - '; - - foreach ($context['default_language_versions'] as $language => $files) - { - foreach ($files as $filename => $version) - echo ' - - - - - '; - } - - echo ' - -
    - ', $filename, '.', $language, '.php - - ', $version, ' - - ?? -
    '; - - // Finally, display the version information for the currently selected theme - if it is not the default one. - if (!empty($context['template_versions'])) - { - echo ' - - - - - - - - -
    - ', $txt['dvc_templates'], ' - - ?? - - ?? -
    - - - '; - - foreach ($context['template_versions'] as $filename => $version) - echo ' - - - - - '; - - echo ' - -
    - ', $filename, ' - - ', $version, ' - - ?? -
    '; - } - - echo ' -
    -
    '; - - /* Below is the hefty javascript for this. Upon opening the page it checks the current file versions with ones - held at simplemachines.org and works out if they are up to date. If they aren't it colors that files number - red. It also contains the function, swapOption, that toggles showing the detailed information for each of the - file categories. (sources, languages, and templates.) */ - echo ' - - - '; - -} - -// Form for stopping people using naughty words, etc. -function template_edit_censored() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // First section is for adding/removing words from the censored list. - echo ' -
    -
    -
    -

    - ', $txt['admin_censored_words'], ' -

    -
    -
    - -
    -

    ', $txt['admin_censored_where'], '

    '; - - // Show text boxes for censoring [bad ] => [good ]. - foreach ($context['censored_words'] as $vulgar => $proper) - echo ' -
    =>
    '; - - // Now provide a way to censor more words. - echo ' - -
    - -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    - -
    '; - - // This table lets you test out your filters by typing in rude words and seeing what comes out. - echo ' -
    -

    - ', $txt['censor_test'], ' -

    -
    -
    - -
    -

    - - -

    -
    - -
    - - -
    -
    -
    '; -} - -// Maintenance is a lovely thing, isn't it? -function template_not_done() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    - ', $txt['not_done_title'], ' -

    -
    -
    - -
    - ', $txt['not_done_reason']; - - if (!empty($context['continue_percent'])) - echo ' -
    -
    -
    ', $context['continue_percent'], '%
    -
     
    -
    -
    '; - - if (!empty($context['substep_enabled'])) - echo ' -
    - ', $context['substep_title'], ' -
    -
    ', $context['substep_continue_percent'], '%
    -
     
    -
    -
    '; - - echo ' -
    -
    - ', $context['continue_post_data'], ' -
    -
    - -
    -
    -
    - '; -} - -// Template for showing settings (Of any kind really!) -function template_show_settings() -{ - global $context, $txt, $settings, $scripturl; - - echo ' - '; - - if (!empty($context['settings_insert_above'])) - echo $context['settings_insert_above']; - - echo ' -
    -
    '; - - // Is there a custom title? - if (isset($context['settings_title'])) - echo ' -
    -

    - ', $context['settings_title'], ' -

    -
    '; - - // Have we got some custom code to insert? - if (!empty($context['settings_message'])) - echo ' -
    ', $context['settings_message'], '
    '; - - // Now actually loop through all the variables. - $is_open = false; - foreach ($context['config_vars'] as $config_var) - { - // Is it a title or a description? - if (is_array($config_var) && ($config_var['type'] == 'title' || $config_var['type'] == 'desc')) - { - // Not a list yet? - if ($is_open) - { - $is_open = false; - echo ' - -
    - -
    '; - } - - // A title? - if ($config_var['type'] == 'title') - { - echo ' -
    -

    - ', ($config_var['help'] ? '' . $txt['help'] . '' : ''), ' - ', $config_var['label'], ' -

    -
    '; - } - // A description? - else - { - echo ' -

    - ', $config_var['label'], ' -

    '; - } - - continue; - } - - // Not a list yet? - if (!$is_open) - { - $is_open = true; - echo ' -
    - -
    -
    '; - } - - // Hang about? Are you pulling my leg - a callback?! - if (is_array($config_var) && $config_var['type'] == 'callback') - { - if (function_exists('template_callback_' . $config_var['name'])) - call_user_func('template_callback_' . $config_var['name']); - - continue; - } - - if (is_array($config_var)) - { - // First off, is this a span like a message? - if (in_array($config_var['type'], array('message', 'warning'))) - { - echo ' - - ', $config_var['label'], ' - '; - } - // Otherwise it's an input box of some kind. - else - { - echo ' - '; - - // Some quick helpers... - $javascript = $config_var['javascript']; - $disabled = !empty($config_var['disabled']) ? ' disabled="disabled"' : ''; - $subtext = !empty($config_var['subtext']) ? '
    ' . $config_var['subtext'] . '' : ''; - - // Show the [?] button. - if ($config_var['help']) - echo ' - ', $txt['help'], '', $subtext, ($config_var['type'] == 'password' ? '
    ' . $txt['admin_confirm_password'] . '' : ''), ' - '; - else - echo ' - ', $subtext, ($config_var['type'] == 'password' ? '
    ' . $txt['admin_confirm_password'] . '' : ''), ' - '; - - echo ' - ', - $config_var['preinput']; - - // Show a check box. - if ($config_var['type'] == 'check') - echo ' - '; - // Escape (via htmlspecialchars.) the text box. - elseif ($config_var['type'] == 'password') - echo ' -
    - '; - // Show a selection box. - elseif ($config_var['type'] == 'select') - { - echo ' - '; - } - // Text area? - elseif ($config_var['type'] == 'large_text') - echo ' - '; - // Permission group? - elseif ($config_var['type'] == 'permissions') - theme_inline_permissions($config_var['name']); - // BBC selection? - elseif ($config_var['type'] == 'bbc') - { - echo ' -
    - ', $txt['bbcTagsToUse_select'], ' -
      '; - - foreach ($context['bbc_columns'] as $bbcColumn) - { - foreach ($bbcColumn as $bbcTag) - echo ' -
    • - ', $bbcTag['show_help'] ? ' (?)' : '', ' -
    • '; - } - echo '
    - -
    '; - } - // A simple message? - elseif ($config_var['type'] == 'var_message') - echo ' - ', $config_var['var_message'], '
    '; - // Assume it must be a text box. - else - echo ' - '; - - echo isset($config_var['postinput']) ? ' - ' . $config_var['postinput'] : '', - ''; - } - } - - else - { - // Just show a separator. - if ($config_var == '') - echo ' - -
    -
    '; - else - echo ' -
    - ' . $config_var . ' -
    '; - } - } - - if ($is_open) - echo ' -
    '; - - if (empty($context['settings_save_dont_show'])) - echo ' -
    -
    - -
    '; - - if ($is_open) - echo ' -
    - - '; - - echo ' - - - -
    '; - - if (!empty($context['settings_post_javascript'])) - echo ' - '; - - if (!empty($context['settings_insert_below'])) - echo $context['settings_insert_below']; -} - -// Template for showing custom profile fields. -function template_show_custom_profile() -{ - global $context, $txt, $settings, $scripturl; - - // Standard fields. - template_show_list('standard_profile_fields'); - - echo ' -
    '; - - // Custom fields. - template_show_list('custom_profile_fields'); -} - -// Edit a profile field? -function template_edit_profile_field() -{ - global $context, $txt, $settings, $scripturl; - - // All the javascript for this page - quite a bit! - echo ' - '; - - echo ' -
    -
    -
    -

    - ', $context['page_title'], ' -

    -
    -
    - -
    -
    - ', $txt['custom_edit_general'], ' - -
    -
    - ', $txt['custom_edit_name'], ': -
    -
    - -
    -
    - ', $txt['custom_edit_desc'], ': -
    -
    - -
    -
    - ', $txt['custom_edit_profile'], ':
    - ', $txt['custom_edit_profile_desc'], ' -
    -
    - -
    -
    - ', $txt['custom_edit_registration'], ': -
    -
    - -
    -
    - ', $txt['custom_edit_display'], ': -
    -
    - -
    - -
    - ', $txt['custom_edit_placement'], ': -
    -
    - -
    -
    - ', $txt['help'], ' - ', $txt['custom_edit_enclose'], ':
    - ', $txt['custom_edit_enclose_desc'], ' -
    -
    - -
    -
    -
    -
    - ', $txt['custom_edit_input'], ' -
    -
    - ', $txt['custom_edit_picktype'], ': -
    -
    - -
    -
    - ', $txt['custom_edit_max_length'], ':
    - ', $txt['custom_edit_max_length_desc'], ' -
    -
    - -
    -
    - ', $txt['custom_edit_dimension'], ': -
    -
    - ', $txt['custom_edit_dimension_row'], ': - ', $txt['custom_edit_dimension_col'], ': -
    -
    - ', $txt['custom_edit_bbc'], ' -
    -
    - -
    -
    - ', $txt['help'], ' - ', $txt['custom_edit_options'], ':
    - ', $txt['custom_edit_options_desc'], ' -
    -
    -
    '; - - foreach ($context['field']['options'] as $k => $option) - { - echo ' - ', $k == 0 ? '' : '
    ', ''; - } - echo ' - - [', $txt['custom_edit_options_more'], '] -
    -
    -
    - ', $txt['custom_edit_default'], ': -
    -
    - -
    -
    -
    -
    - ', $txt['custom_edit_advanced'], ' -
    -
    - ', $txt['help'], ' - ', $txt['custom_edit_mask'], ':
    - ', $txt['custom_edit_mask_desc'], ' -
    -
    - -
    - - - -
    -
    - ', $txt['custom_edit_privacy'], ': - ', $txt['custom_edit_privacy_desc'], ' -
    -
    - -
    -
    - ', $txt['custom_edit_can_search'], ':
    - ', $txt['custom_edit_can_search_desc'], ' -
    -
    - -
    -
    - ', $txt['custom_edit_active'], ':
    - ', $txt['custom_edit_active_desc'], ' -
    -
    - -
    -
    -
    -
    - '; - - if ($context['fid']) - echo ' - '; - - echo ' -
    -
    - -
    - -
    -
    -
    '; - - // Get the javascript bits right! - echo ' - '; -} - -// Results page for an admin search. -function template_admin_search_results() -{ - global $context, $txt, $settings, $options, $scripturl; - - echo ' -
    -

    - -
    - - - -
    -
    -  ', sprintf($txt['admin_search_results_desc'], $context['search_term']), ' -

    -
    -
    - -
    '; - - if (empty($context['search_results'])) - { - echo ' -

    ', $txt['admin_search_results_none'], '

    '; - } - else - { - echo ' -
      '; - foreach ($context['search_results'] as $result) - { - // Is it a result from the online manual? - if ($context['search_type'] == 'online') - { - echo ' -
    1. -

      - ', $result['messages'][0]['subject'], ' -
      ', $result['category']['name'], '  /  - ', $result['board']['name'], ' / -

      -

      - ', $result['messages'][0]['body'], ' -

      -
    2. '; - } - // Otherwise it's... not! - else - { - echo ' -
    3. - ', $result['name'], ' [', isset($txt['admin_search_section_' . $result['type']]) ? $txt['admin_search_section_' . $result['type']] : $result['type'] , ']'; - - if ($result['help']) - echo ' -

      ', $result['help'], '

      '; - - echo ' -
    4. '; - } - } - echo ' -
    '; - } - - echo ' -
    - -
    -
    '; -} - -// Turn on and off certain key features. -function template_core_features() -{ - global $context, $txt, $settings, $options, $scripturl; - - echo ' - -
    '; - if ($context['is_new_install']) - { - echo ' -
    -

    - ', $txt['core_settings_welcome_msg'], ' -

    -
    -
    - ', $txt['core_settings_welcome_msg_desc'], ' -
    '; - } - - echo ' -
    -
    -

    - ', $txt['core_settings_title'], ' -

    -
    '; - - $alternate = true; - foreach ($context['features'] as $id => $feature) - { - echo ' -
    - -
    - ', $feature['title'], ' - -

    ', ($feature['enabled'] && $feature['url'] ? '' . $feature['title'] . '' : $feature['title']), '

    -

    ', $feature['desc'], '

    -
    - - -
    -
    - -
    '; - - $alternate = !$alternate; - } - - echo ' -
    - - - -
    -
    -
    -
    '; - - // Turn on the pretty javascript if we can! - echo ' - '; -} - -// Add a new language -function template_add_language() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    - ', $txt['add_language'], ' -

    -
    -
    - -
    -
    - ', $txt['add_language_smf'], ' - - '; - - if (!empty($context['smf_error'])) - echo ' -
    ', $txt['add_language_error_' . $context['smf_error']], '
    '; - - echo ' - -
    -
    - ', $context['browser']['is_ie'] ? ' ' : '', ' - -
    -
    - -
    - '; - - // Had some results? - if (!empty($context['smf_languages'])) - { - echo ' -
    ', $txt['add_language_smf_found'], '
    - - - - - - - - - - - - '; - - foreach ($context['smf_languages'] as $language) - echo ' - - - - - - - '; - - echo ' - -
    ', $txt['name'], '', $txt['add_language_smf_desc'], '', $txt['add_language_smf_version'], '', $txt['add_language_smf_utf8'], '', $txt['add_language_smf_install'], '
    ', $language['name'], '', $language['description'], '', $language['version'], '', $language['utf8'] ? $txt['yes'] : $txt['no'], '', $txt['add_language_smf_install'], '
    '; - } - - echo ' -
    -
    -
    '; -} - -// Download a new language file? -function template_download_language() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // Actually finished? - if (!empty($context['install_complete'])) - { - echo ' -
    -
    -

    - ', $txt['languages_download_complete'], ' -

    -
    -
    - -
    - ', $context['install_complete'], ' -
    - -
    -
    -
    '; - return; - } - - // An error? - if (!empty($context['error_message'])) - echo ' -
    -

    ', $context['error_message'], '

    -
    '; - - // Provide something of an introduction... - echo ' -
    -
    -
    -

    - ', $txt['languages_download'], ' -

    -
    -
    - -
    -

    - ', $txt['languages_download_note'], ' -

    -
    - ', $txt['languages_download_info'], ' -
    -
    - -
    '; - - // Show the main files. - template_show_list('lang_main_files_list'); - - // Now, all the images and the likes, hidden via javascript 'cause there are so fecking many. - echo ' -
    -
    -

    - ', $txt['languages_download_theme_files'], ' -

    -
    - - - - - - - - - - '; - - foreach ($context['files']['images'] as $theme => $group) - { - $count = 0; - echo ' - - - '; - - $alternate = false; - foreach ($group as $file) - { - echo ' - - - - - - '; - $alternate = !$alternate; - } - } - - echo ' - -
    - ', $txt['languages_download_filename'], ' - - ', $txt['languages_download_writable'], ' - - ', $txt['languages_download_exists'], ' - - ', $txt['languages_download_copy'], ' -
    - * ', isset($context['theme_names'][$theme]) ? $context['theme_names'][$theme] : $theme, ' -
    - ', $file['name'], '
    - ', $txt['languages_download_dest'], ': ', $file['destination'], ' -
    - ', ($file['writable'] ? $txt['yes'] : $txt['no']), ' - - ', $file['exists'] ? ($file['exists'] == 'same' ? $txt['languages_download_exists_same'] : $txt['languages_download_exists_different']) : $txt['no'], ' - - -
    '; - - // Do we want some FTP baby? - if (!empty($context['still_not_writable'])) - { - if (!empty($context['package_ftp']['error'])) - echo ' -
    - ', $context['package_ftp']['error'], ' -
    '; - - echo ' -
    -

    - ', $txt['package_ftp_necessary'], ' -

    -
    -
    - -
    -

    ', $txt['package_ftp_why'],'

    -
    -
    ', $txt['package_ftp_server'], ': -
    -
    -
    - -
    - -
    - -
    -
    - -
    - -
    - -
    -
    - -
    - -
    - -
    -
    - -
    -
    -
    - -
    '; - } - - // Install? - echo ' -
    - - -
    -
    -
    -
    '; - - // The javascript for expand and collapse of sections. - echo ' - '; -} - -// Edit some language entries? -function template_modify_language_entries() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    - ', $txt['edit_languages'], ' -

    -
    '; - - // Not writable? - if ($context['lang_file_not_writable_message']) - echo ' -
    -

    ', $context['lang_file_not_writable_message'], '

    -
    '; - - echo ' -
    - ', $txt['edit_language_entries_primary'], ' -
    -
    - -
    -
    - ', $context['primary_settings']['name'], ' -
    -
    - ', $txt['languages_character_set'], ': -
    -
    - -
    -
    - ', $txt['languages_locale'], ': -
    -
    - -
    -
    - ', $txt['languages_dictionary'], ': -
    -
    - -
    -
    - ', $txt['languages_spelling'], ': -
    -
    - -
    -
    - ', $txt['languages_rtl'], ': -
    -
    - -
    -
    -
    -
    - - '; - - // English can't be deleted. - if ($context['lang_id'] != 'english') - echo ' - '; - - echo ' -
    -
    - -
    -
    - -
    -
    -

    - ', $txt['edit_language_entries'], ' -

    -
    -
    - ', $txt['edit_language_entries_file'], ': - - - -
    '; - - // Is it not writable? - if (!empty($context['entries_not_writable_message'])) - echo ' -
    - ', $context['entries_not_writable_message'], ' -
    '; - - // Already have some? - if (!empty($context['file_entries'])) - { - echo ' -
    - -
    -
    '; - - $cached = array(); - foreach ($context['file_entries'] as $entry) - { - // Do it in two's! - if (empty($cached)) - { - $cached = $entry; - continue; - } - - echo ' -
    - ', $cached['key'], ' -
    -
    - ', $entry['key'], ' -
    -
    - - -
    -
    - - -
    '; - $cached = array(); - } - - // Odd number? - if (!empty($cached)) - echo ' - -
    - ', $cached['key'], ' -
    -
    -
    -
    - - -
    -
    -
    '; - - echo ' -
    - '; - - echo ' -
    - -
    '; - } - echo ' -
    -
    -
    '; -} - -// This little beauty shows questions and answer from the captcha type feature. -function template_callback_question_answer_list() -{ - global $txt, $context; - - echo ' -
    - ', $txt['setup_verification_question'], ' -
    -
    - ', $txt['setup_verification_answer'], ' -
    '; - - foreach ($context['question_answers'] as $data) - echo ' - -
    - -
    -
    - -
    '; - - // Some blank ones. - for ($count = 0; $count < 3; $count++) - echo ' -
    - -
    -
    - -
    '; - - echo ' -
    -
    '; - - // The javascript needs to go at the end but we'll put it in this template for looks. - $context['settings_post_javascript'] .= ' - // Create a named element dynamically - thanks to: http://www.thunderguy.com/semicolon/2005/05/23/setting-the-name-attribute-in-internet-explorer/ - function createNamedElement(type, name, customFields) - { - var element = null; - - if (!customFields) - customFields = ""; - - // Try the IE way; this fails on standards-compliant browsers - try - { - element = document.createElement("<" + type + \' name="\' + name + \'" \' + customFields + ">"); - } - catch (e) - { - } - if (!element || element.nodeName != type.toUpperCase()) - { - // Non-IE browser; use canonical method to create named element - element = document.createElement(type); - element.name = name; - } - - return element; - } - - var placeHolder = document.getElementById(\'add_more_question_placeholder\'); - - function addAnotherQuestion() - { - var newDT = document.createElement("dt"); - - var newInput = createNamedElement("input", "question[]"); - newInput.type = "text"; - newInput.className = "input_text"; - newInput.size = "50"; - newInput.setAttribute("class", "verification_question"); - newDT.appendChild(newInput); - - newDD = document.createElement("dd"); - - newInput = createNamedElement("input", "answer[]"); - newInput.type = "text"; - newInput.className = "input_text"; - newInput.size = "50"; - newInput.setAttribute("class", "verification_answer"); - newDD.appendChild(newInput); - - placeHolder.parentNode.insertBefore(newDT, placeHolder); - placeHolder.parentNode.insertBefore(newDD, placeHolder); - } - document.getElementById(\'add_more_link_div\').style.display = \'\'; - '; -} - -// Repairing boards. -function template_repair_boards() -{ - global $context, $txt, $scripturl; - - echo ' -
    -
    -

    ', - $context['error_search'] ? $txt['errors_list'] : $txt['errors_fixing'] , ' -

    -
    -
    - -
    '; - - // Are we actually fixing them, or is this just a prompt? - if ($context['error_search']) - { - if (!empty($context['to_fix'])) - { - echo ' - ', $txt['errors_found'], ': -
      '; - - foreach ($context['repair_errors'] as $error) - echo ' -
    • - ', $error, ' -
    • '; - - echo ' -
    -

    - ', $txt['errors_fix'], ' -

    -

    - ', $txt['yes'], ' - ', $txt['no'], ' -

    '; - } - else - echo ' -

    ', $txt['maintain_no_errors'], '

    -

    - ', $txt['maintain_return'], ' -

    '; - - } - else - { - if (!empty($context['redirect_to_recount'])) - { - echo ' -

    - ', $txt['errors_do_recount'], ' -

    -
    - - -
    '; - } - else - { - echo ' -

    ', $txt['errors_fixed'], '

    -

    - ', $txt['maintain_return'], ' -

    '; - } - } - - echo ' -
    - -
    -
    -
    '; - - if (!empty($context['redirect_to_recount'])) - { - echo ' - '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/default/BanFromTopic.template.php b/config/themes/default/BanFromTopic.template.php deleted file mode 100755 index 9a2bb29..0000000 --- a/config/themes/default/BanFromTopic.template.php +++ /dev/null @@ -1,133 +0,0 @@ - -

    ',$txt['ban_from_topic'],'

    - '; - - // begin content - echo '
    - -
    '; - - if($context['banconfirmed']) - { - // form submitted. show result message - template_confirm(); - } - else - { - // prompt for reason - template_form(); - } - - - // end content - echo' -
    - -
    '; - -} - -function template_form() -{ - global $context, $txt, $scripturl; - - if($context['canBanFromTopic']) - { - echo - '
    ', - sprintf($txt['ban_from_topic_form_body'], $context['ban_from_topic_target_poster_name']), - '
    -
    - ', $context['ban_from_topic_target_post_body'], - ' -
    '; - - echo "
    "; - - echo '
    ', $txt['ban_from_topic_reason'], ':
    -
    '; - - echo ''; - echo ''; - echo ''; - echo ''; - - echo '

    - '; - - echo '
    '; - - } -} - -function template_confirm() -{ - global $context, $txt, $scripturl; - - - if(!$context['bansuccess']) - { - // display error message - if(strlen(trim($context['reason'])) <= 0) - { - echo $txt['ban_from_topic_fail_reason_empty']; - - echo '
    '; - - // display back button - backbutton(); - } - else - { - echo sprintf($txt['ban_from_topic_fail'], $context['ban_from_topic_target_poster_name']); - - echo '
    '; - returnbutton(); - } - - } - else - { - // display success message and return to topic button - echo sprintf($txt['ban_from_topic_success'], $context['ban_from_topic_target_poster_name']); - - echo '
    '; - - returnbutton(); - } - -} - -function backbutton() -{ - global $context, $txt, $scripturl; - - echo '',$txt['ban_from_topic_back'],''; - -} - -function returnbutton() -{ - global $context, $txt, $scripturl; - - echo '',$txt['ban_from_topic_return'],''; - -} diff --git a/config/themes/default/Bans.template.php b/config/themes/default/Bans.template.php deleted file mode 100755 index 3873574..0000000 --- a/config/themes/default/Bans.template.php +++ /dev/null @@ -1,131 +0,0 @@ - -

    Recent Bans

    - '; - - if (!$context['user']['is_guest']) - { - // Search form - echo '
    -
    - -
    -
    '; - } - - echo '
    - -

    '; - - // begin content - echo '
    '; - - if (empty($context['recent_bans'])) - { - echo 'No results! '; - if (!empty($_GET['user'])) - { - echo 'Go back?'; - } - } - - // Count each unique ban so that each fish canvas has a unique id - $count = 0; - foreach ($context['recent_bans'] as $ban) - { - $count++; - - if (!$ban['post']) - { - continue; - } - - echo ' -
    -
    -
    '; - // Load avatar - echo ' - '; - // Display avatar - echo ' - - ', sprintf($txt['fish_avatar_img_alt'], $ban['member']['name']),' -

    - ', $ban['member']['name'], ' -

    -
    '; - - echo ' -
    -
    - -
    -
    -
    - -
    -
    - ', $ban['post']['subject'], ' -
    -
    « ', $txt['on'], ': ', timeformat($ban['post']['poster_time']), ' »
    -
    -
    '; - - echo ' -
    -
    '; - echo parse_bbc($ban['post']['body'], $ban['post']['smileys_enabled'], $ban['post']['id_msg']); - echo ' -
    -
    '; - echo sprintf('

    USER WAS BANNED FROM THIS TOPIC
    Reason: %s', $ban['reason']); - - echo ' -

    -
    -
    -
    -
    '; - } - // end content - echo '
    '; - echo '
    - -
    '; -} diff --git a/config/themes/default/BoardIndex.template.php b/config/themes/default/BoardIndex.template.php deleted file mode 100755 index 2388d35..0000000 --- a/config/themes/default/BoardIndex.template.php +++ /dev/null @@ -1,508 +0,0 @@ - - ', $txt['members'], ': ', $context['common_stats']['total_members'], '  •  ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], '  •  ', $txt['topics'], ': ', $context['common_stats']['total_topics'], ' - ', ($settings['show_latest_member'] ? ' ' . $txt['welcome_member'] . ' ' . $context['common_stats']['latest_member']['link'] . '' . $txt['newest_member'] : '') , ' - '; - - // Show the news fader? (assuming there are things to show...) - if ($settings['show_newsfader'] && !empty($context['fader_news_lines'])) - { - echo ' -
    -
    -

    - - ', $txt['news'], ' -

    -
    - -
    - - '; - } - - echo ' -
    - '; - - /* Each category in categories is made up of: - id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?), - new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down image), - and boards. (see below.) */ - foreach ($context['categories'] as $category) - { - // If theres no parent boards we can see, avoid showing an empty category (unless its collapsed) - if (empty($category['boards']) && !$category['is_collapsed']) - continue; - - echo ' - - - - - '; - - // Assuming the category hasn't been collapsed... - if (!$category['is_collapsed']) - { - - echo ' - '; - /* Each board in each category's boards has: - new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.), - children (see below.), link_children (easier to use.), children_new (are they new?), - topics (# of), posts (# of), link, href, and last_post. (see below.) */ - foreach ($category['boards'] as $board) - { - echo ' - - - - - - '; - // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) - if (!empty($board['children'])) - { - // Sort the links into an array with new boards bold so it can be imploded. - $children = array(); - /* Each child in each board's children has: - id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */ - foreach ($board['children'] as $child) - { - if (!$child['is_redirect']) - $child['link'] = '' . $child['name'] . ($child['new'] ? '' : '') . ''; - else - $child['link'] = '' . $child['name'] . ''; - - // Has it posts awaiting approval? - if ($child['can_approve_posts'] && ($child['unapproved_posts'] || $child['unapproved_topics'])) - $child['link'] .= ' (!)'; - - $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; - } - echo ' - - - '; - } - } - echo ' - '; - } - echo ' - - - - - '; - } - echo ' -
    -
    -

    '; - - // If this category even can collapse, show a link to collapse it. - if ($category['can_collapse']) - echo ' - ', $category['collapse_image'], ''; - - if (!$context['user']['is_guest'] && !empty($category['show_unread'])) - echo ' - ', $txt['view_unread_category'], ''; - - echo ' - ', $category['link'], ' -

    -
    -
    - '; - - // If the board or children is new, show an indicator. - if ($board['new'] || $board['children_new']) - echo ' - ', $txt['new_posts'], ''; - // Is it a redirection board? - elseif ($board['is_redirect']) - echo ' - *'; - // No new posts at all! The agony!! - else - echo ' - ', $txt['old_posts'], ''; - - echo ' - - - ', $board['name'], ''; - - // Has it outstanding posts for approval? - if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) - echo ' - (!)'; - - echo ' - -

    ', $board['description'] , '

    '; - - // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) - if (!empty($board['moderators'])) - echo ' -

    ', count($board['moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '

    '; - - // Show some basic information about the number of posts, etc. - echo ' -
    -

    ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
    - ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], ' -

    -
    '; - - /* The board's and children's 'last_post's have: - time, timestamp (a number that represents the time.), id (of the post), topic (topic id.), - link, href, subject, start (where they should go for the first unread post.), - and member. (which has id, name, link, href, username in it.) */ - if (!empty($board['last_post']['id'])) - echo ' -

    ', $txt['last_post'], ' ', $txt['by'], ' ', $board['last_post']['member']['link'] , '
    - ', $txt['in'], ' ', $board['last_post']['link'], '
    - ', $txt['on'], ' ', $board['last_post']['time'],' -

    '; - echo ' -
    - ', $txt['parent_boards'], ': ', implode(', ', $children), ' -
    -
    '; - - if ($context['user']['is_logged']) - { - echo ' -
    '; - - // Mark read button. - $mark_read_button = array( - 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;' . $context['session_var'] . '=' . $context['session_id']), - ); - - echo ' -
      -
    • ', $txt['new_posts'], '
    • -
    • ', $txt['old_posts'], '
    • -
    • ', $txt['redirect_board'], '
    • -
    -
    '; - - // Show the mark all as read button? - if ($settings['show_mark_read'] && !empty($context['categories'])) - echo '
    ', template_button_strip($mark_read_button, 'right'), '
    '; - } - else - { - echo ' -
    -
      -
    • ', $txt['old_posts'], '
    • -
    • ', $txt['redirect_board'], '
    • -
    -
    '; - } - - template_info_center(); -} - -function template_info_center() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // Here's where the "Info Center" starts... - echo ' - -
    -
    -

    - - ', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), ' -

    -
    - -
    - '; - - // Info center collapse object. - echo ' - '; -} -?> \ No newline at end of file diff --git a/config/themes/default/Calendar.template.php b/config/themes/default/Calendar.template.php deleted file mode 100755 index a252a8d..0000000 --- a/config/themes/default/Calendar.template.php +++ /dev/null @@ -1,824 +0,0 @@ - -
    - ', template_show_month_grid('prev'), ' - ', template_show_month_grid('current'), ' - ', template_show_month_grid('next'), ' -
    -
    - ', $context['view_week'] ? template_show_week_grid('main') : template_show_month_grid('main'); - - // Build the calendar button array. - $calendar_buttons = array( - 'post_event' => array('test' => 'can_post', 'text' => 'calendar_post_event', 'image' => 'calendarpe.gif', 'lang' => true, 'url' => $scripturl . '?action=calendar;sa=post;month=' . $context['current_month'] . ';year=' . $context['current_year'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - template_button_strip($calendar_buttons, 'right'); - - // Show some controls to allow easy calendar navigation. - echo ' -
    - - - '; - - echo ' -
    -
    -
    - '; -} - -// Template for posting a calendar event. -function template_event_post() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // Start the javascript for drop down boxes... - echo ' - - -
    '; - - if (!empty($context['event']['new'])) - echo ' - '; - - // Start the main table. - echo ' -
    -
    -

    - ', $context['page_title'], ' -

    -
    '; - - if (!empty($context['post_error']['messages'])) - { - echo ' -
    -
    -
    - ', $context['error_type'] == 'serious' ? '' . $txt['error_while_submitting'] . '' : '', ' -
    -
    - ', implode('
    ', $context['post_error']['messages']), ' -
    -
    -
    '; - } - - echo ' -
    - -
    -
    - ', $txt['calendar_event_title'], ' - -
    - ', $txt['calendar_year'], ' - - ', $txt['calendar_month'], ' - - ', $txt['calendar_day'], ' - -
    -
    '; - - if (!empty($modSettings['cal_allowspan']) || $context['event']['new']) - echo ' -
    - ', $txt['calendar_event_options'], ' -
    -
      '; - - // If events can span more than one day then allow the user to select how long it should last. - if (!empty($modSettings['cal_allowspan'])) - { - echo ' -
    • - ', $txt['calendar_numb_days'], ' - -
    • '; - } - - // If this is a new event let the user specify which board they want the linked post to be put into. - if ($context['event']['new']) - { - echo ' -
    • - ', $txt['calendar_link_event'], ' - -
    • -
    • - ', $txt['calendar_post_in'], ' - -
    • '; - } - - if (!empty($modSettings['cal_allowspan']) || $context['event']['new']) - echo ' -
    -
    -
    '; - - echo ' -
    - '; - // Delete button? - if (empty($context['event']['new'])) - echo ' - '; - - echo ' - - -
    -
    - -
    -
    -
    -
    '; -} - -// Display a monthly calendar grid. -function template_show_month_grid($grid_name) -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings, $smcFunc; - - if (!isset($context['calendar_grid_' . $grid_name])) - return false; - - $calendar_data = &$context['calendar_grid_' . $grid_name]; - $colspan = !empty($calendar_data['show_week_links']) ? 8 : 7; - - if (empty($calendar_data['disable_title'])) - { - echo ' -
    -

    '; - - if (empty($calendar_data['previous_calendar']['disabled']) && $calendar_data['show_next_prev']) - echo ' - «'; - - if (empty($calendar_data['next_calendar']['disabled']) && $calendar_data['show_next_prev']) - echo ' - »'; - - if ($calendar_data['show_next_prev']) - echo ' - ', $txt['months_titles'][$calendar_data['current_month']], ' ', $calendar_data['current_year']; - else - echo ' - ', $txt['months_titles'][$calendar_data['current_month']], ' ', $calendar_data['current_year'], ''; - - echo ' -

    -
    '; - } - - echo ' - '; - - // Show each day of the week. - if (empty($calendar_data['disable_day_titles'])) - { - echo ' - '; - - if (!empty($calendar_data['show_week_links'])) - echo ' - '; - - foreach ($calendar_data['week_days'] as $day) - { - echo ' - '; - } - echo ' - '; - } - - /* Each week in weeks contains the following: - days (a list of days), number (week # in the year.) */ - foreach ($calendar_data['weeks'] as $week) - { - echo ' - '; - - if (!empty($calendar_data['show_week_links'])) - echo ' - '; - - /* Every day has the following: - day (# in month), is_today (is this day *today*?), is_first_day (first day of the week?), - holidays, events, birthdays. (last three are lists.) */ - foreach ($week['days'] as $day) - { - // If this is today, make it a different color and show a border. - echo ' - '; - } - - echo ' - '; - } - - echo ' -
     ', !empty($calendar_data['short_day_titles']) ? ($smcFunc['substr']($txt['days'][$day], 0, 1)) : $txt['days'][$day], '
    - » - '; - - // Skip it if it should be blank - it's not a day if it has no number. - if (!empty($day['day'])) - { - // Should the day number be a link? - if (!empty($modSettings['cal_daysaslink']) && $context['can_post']) - echo ' - ', $day['day'], ''; - else - echo ' - ', $day['day']; - - // Is this the first day of the week? (and are we showing week numbers?) - if ($day['is_first_day'] && $calendar_data['size'] != 'small') - echo ' - ', $txt['calendar_week'], ' ', $week['number'], ''; - - // Are there any holidays? - if (!empty($day['holidays'])) - echo ' -
    ', $txt['calendar_prompt'], ' ', implode(', ', $day['holidays']), '
    '; - - // Show any birthdays... - if (!empty($day['birthdays'])) - { - echo ' -
    - ', $txt['birthdays'], ''; - - /* Each of the birthdays has: - id, name (person), age (if they have one set?), and is_last. (last in list?) */ - $use_js_hide = empty($context['show_all_birthdays']) && count($day['birthdays']) > 15; - $count = 0; - foreach ($day['birthdays'] as $member) - { - echo ' - ', $member['name'], isset($member['age']) ? ' (' . $member['age'] . ')' : '', '', $member['is_last'] || ($count == 10 && $use_js_hide)? '' : ', '; - - // Stop at ten? - if ($count == 10 && $use_js_hide) - echo '...
    (', sprintf($txt['calendar_click_all'], count($day['birthdays'])), ')
    '; - - echo ' -
    '; - } - - // Any special posted events? - if (!empty($day['events'])) - { - echo ' -
    - ', $txt['events'], ''; - - /* The events are made up of: - title, href, is_last, can_edit (are they allowed to?), and modify_href. */ - foreach ($day['events'] as $event) - { - // If they can edit the event, show a star they can click on.... - if ($event['can_edit']) - echo ' - *'; - - echo ' - ', $event['link'], $event['is_last'] ? '' : ', '; - } - - echo ' -
    '; - } - } - - echo ' -
    '; -} - -// Or show a weekly one? -function template_show_week_grid($grid_name) -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - if (!isset($context['calendar_grid_' . $grid_name])) - return false; - - $calendar_data = &$context['calendar_grid_' . $grid_name]; - - // Loop through each month (At least one) and print out each day. - foreach ($calendar_data['months'] as $month_data) - { - echo ' -
    -

    '; - - if (empty($calendar_data['previous_calendar']['disabled']) && $calendar_data['show_next_prev'] && empty($done_title)) - echo ' - «'; - - if (empty($calendar_data['next_calendar']['disabled']) && $calendar_data['show_next_prev'] && empty($done_title)) - echo ' - »'; - - echo ' - ', $txt['months_titles'][$month_data['current_month']], ' ', $month_data['current_year'], '', empty($done_title) && !empty($calendar_data['week_number']) ? (' - ' . $txt['calendar_week'] . ' ' . $calendar_data['week_number']) : '', ' -

    -
    '; - - $done_title = true; - - echo ' - '; - - foreach ($month_data['days'] as $day) - { - echo ' - - - - - - - '; - } - - echo ' -
    -
    -

    ', $txt['days'][$day['day_of_week']], '

    -
    -
    '; - - // Should the day number be a link? - if (!empty($modSettings['cal_daysaslink']) && $context['can_post']) - echo ' - ', $day['day'], ''; - else - echo ' - ', $day['day']; - - echo ' - '; - - // Are there any holidays? - if (!empty($day['holidays'])) - echo ' -
    ', $txt['calendar_prompt'], ' ', implode(', ', $day['holidays']), '
    '; - - // Show any birthdays... - if (!empty($day['birthdays'])) - { - echo ' -
    - ', $txt['birthdays'], ''; - - /* Each of the birthdays has: - id, name (person), age (if they have one set?), and is_last. (last in list?) */ - foreach ($day['birthdays'] as $member) - echo ' - ', $member['name'], isset($member['age']) ? ' (' . $member['age'] . ')' : '', '', $member['is_last'] ? '' : ', '; - echo ' -
    '; - } - - // Any special posted events? - if (!empty($day['events'])) - { - echo ' -
    - ', $txt['events'], ''; - - /* The events are made up of: - title, href, is_last, can_edit (are they allowed to?), and modify_href. */ - foreach ($day['events'] as $event) - { - // If they can edit the event, show a star they can click on.... - if ($event['can_edit']) - echo ' - * '; - - echo ' - ', $event['link'], $event['is_last'] ? '' : ', '; - } - - echo ' -
    '; - } - - echo ' -
    '; - } -} - -function template_bcd() -{ - global $context, $scripturl; - - echo ' - - - '; - - $alt = false; - foreach ($context['clockicons'] as $t => $v) - { - echo ' - '; - - $alt = !$alt; - } - - echo ' - -
    BCD Clock
    '; - - foreach ($v as $i) - echo ' -
    '; - - echo ' -
    -

    Are you hardcore?

    - - '; -} - -function template_hms() -{ - global $context, $scripturl; - - echo ' - - '; - $alt = false; - foreach ($context['clockicons'] as $t => $v) - { - echo ' - - '; - $alt = !$alt; - } - - echo ' - - -
    Binary Clock
    '; - foreach ($v as $i) - echo ' - '; - echo ' -
    Too tough for you?
    '; - - echo ' - '; -} - -function template_omfg() -{ - global $context, $scripturl; - - echo ' - - '; - $alt = false; - foreach ($context['clockicons'] as $t => $v) - { - echo ' - - '; - $alt = !$alt; - } - - echo ' - -
    OMFG Binary Clock
    '; - foreach ($v as $i) - echo ' - '; - echo ' -
    '; - - echo ' - '; -} - -function template_thetime() -{ - global $context, $scripturl; - - echo ' - - '; - $alt = false; - foreach ($context['clockicons'] as $t => $v) - { - echo ' - - '; - $alt = !$alt; - } - - echo ' - -
    The time you requested
    '; - foreach ($v as $i) - echo ' - '; - echo ' -
    '; - -} - -?> \ No newline at end of file diff --git a/config/themes/default/Compat.template.php b/config/themes/default/Compat.template.php deleted file mode 100755 index a8b2afd..0000000 --- a/config/themes/default/Compat.template.php +++ /dev/null @@ -1,46 +0,0 @@ - $value) - { - if (!isset($value['test']) || !empty($context[$value['test']])) - $buttons[] = ' -
  • ' . $txt[$value['text']] . '
  • '; - } - - // No buttons? No button strip either. - if (empty($buttons)) - return; - - // Make the last one, as easy as possible. - $buttons[count($buttons) - 1] = str_replace('', '', $buttons[count($buttons) - 1]); - - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Display.template.php b/config/themes/default/Display.template.php deleted file mode 100755 index b1492c1..0000000 --- a/config/themes/default/Display.template.php +++ /dev/null @@ -1,883 +0,0 @@ - - ', $txt['report_sent'], ' - '; - } - - // Show the anchor for the top and for the first message. If the first message is new, say so. - echo ' - - ', $context['first_new_message'] ? '' : ''; - - // Is this topic also a poll? - if ($context['is_poll']) - { - echo ' -
    -
    -

    - ', $txt['poll'], ' -

    -
    -
    - -
    -

    - ', $context['poll']['question'], ' -

    '; - - // Are they not allowed to vote but allowed to view the options? - if ($context['poll']['show_results'] || !$context['allow_vote']) - { - echo ' -
    '; - - // Show each option with its corresponding percentage bar. - foreach ($context['poll']['options'] as $option) - { - echo ' -
    ', $option['option'], '
    -
    '; - - if ($context['allow_poll_view']) - echo ' - ', $option['bar_ndt'], ' - ', $option['votes'], ' (', $option['percent'], '%)'; - - echo ' -
    '; - } - - echo ' -
    '; - - if ($context['allow_poll_view']) - echo ' -

    ', $txt['poll_total_voters'], ': ', $context['poll']['total_votes'], '

    '; - } - // They are allowed to vote! Go to it! - else - { - echo ' -
    '; - - // Show a warning if they are allowed more than one option. - if ($context['poll']['allowed_warning']) - echo ' -

    ', $context['poll']['allowed_warning'], '

    '; - - echo ' -
      '; - - // Show each option with its button - a radio likely. - foreach ($context['poll']['options'] as $option) - echo ' -
    • ', $option['vote_button'], '
    • '; - - echo ' -
    -
    - - -
    -
    '; - } - - // Is the clock ticking? - if (!empty($context['poll']['expire_time'])) - echo ' -

    ', ($context['poll']['is_expired'] ? $txt['poll_expired_on'] : $txt['poll_expires_on']), ': ', $context['poll']['expire_time'], '

    '; - - echo ' -
    - -
    -
    -
    '; - - // Build the poll moderation button array. - $poll_buttons = array( - 'vote' => array('test' => 'allow_return_vote', 'text' => 'poll_return_vote', 'image' => 'poll_options.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start']), - 'results' => array('test' => 'show_view_results_button', 'text' => 'poll_results', 'image' => 'poll_results.gif', 'lang' => true, 'url' => $scripturl . '?topic=' . $context['current_topic'] . '.' . $context['start'] . ';viewresults'), - 'change_vote' => array('test' => 'allow_change_vote', 'text' => 'poll_change_vote', 'image' => 'poll_change_vote.gif', 'lang' => true, 'url' => $scripturl . '?action=vote;topic=' . $context['current_topic'] . '.' . $context['start'] . ';poll=' . $context['poll']['id'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'allow_lock_poll', 'text' => (!$context['poll']['is_locked'] ? 'poll_lock' : 'poll_unlock'), 'image' => 'poll_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lockvoting;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'edit' => array('test' => 'allow_edit_poll', 'text' => 'poll_edit', 'image' => 'poll_edit.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;topic=' . $context['current_topic'] . '.' . $context['start']), - 'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - template_button_strip($poll_buttons); - - echo ' -
    '; - } - - // Does this topic have some events linked to it? - if (!empty($context['linked_calendar_events'])) - { - echo ' -
    -
    -

    ', $txt['calendar_linked_events'], '

    -
    -
    - -
    -
      '; - - foreach ($context['linked_calendar_events'] as $event) - echo ' -
    • - ', ($event['can_edit'] ? ' ' : ''), '', $event['title'], ': ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), ' -
    • '; - - echo ' -
    -
    - -
    -
    '; - } - - // Build the normal button array. - $normal_buttons = array( - 'reply' => array('test' => 'can_reply', 'text' => 'reply', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';last_msg=' . $context['topic_last_message'], 'active' => true), - 'add_poll' => array('test' => 'can_add_poll', 'text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start']), - 'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : '') . 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');"', 'url' => $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'mark_unread' => array('test' => 'can_mark_unread', 'text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'send' => array('test' => 'can_send_topic', 'text' => 'send_topic', 'image' => 'sendtopic.gif', 'lang' => true, 'url' => $scripturl . '?action=emailuser;sa=sendtopic;topic=' . $context['current_topic'] . '.0'), - 'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'), - ); - - // Allow adding new buttons easily. - call_integration_hook('integrate_display_buttons', array(&$normal_buttons)); - - // Show the page index... "Pages: [1]". - echo ' -
    - ', template_button_strip($normal_buttons, 'right'), ' - -
    '; - - // Show the topic information - icon, subject, etc. - echo ' -
    -
    -

    - - ', $txt['author'], ' - ', $txt['topic'], ': ', $context['subject'], '  (', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ') -

    -
    '; - - if (!empty($settings['display_who_viewing'])) - { - echo ' -

    '; - - // Show just numbers...? - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members']; - // Or show the actual people viewing the topic? - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - - // Now show how many guests are here too. - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], ' -

    '; - } - - echo ' -
    '; - - $ignoredMsgs = array(); - $removableMessageIDs = array(); - $alternate = false; - - // Get all the messages... - while ($message = $context['get_message']()) - { - $ignoring = false; - $alternate = !$alternate; - if ($message['can_remove']) - $removableMessageIDs[] = $message['id']; - - // Are we ignoring this message? - if (!empty($message['is_ignored'])) - { - $ignoring = true; - $ignoredMsgs[] = $message['id']; - } - - // Show the message anchor and a "new" anchor if this message is new. - if ($message['id'] != $context['first_message']) - echo ' - ', $message['first_new'] ? '' : ''; - - echo ' -
    - -
    '; - - // Show information about the poster of this message. - echo ' -
    -

    '; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest']) - echo ' - ', $context['can_send_pm'] ? '' : '', '', $message['member']['online']['text'], '', $context['can_send_pm'] ? '' : ''; - - // Show a link to the member's profile. - echo ' - ', $message['member']['link'], ' -

    -
      '; - - // Show the member's custom title, if they have one. - if (!empty($message['member']['title'])) - echo ' -
    • ', $message['member']['title'], '
    • '; - - // Show the member's primary group (like 'Administrator') if they have one. - if (!empty($message['member']['group'])) - echo ' -
    • ', $message['member']['group'], '
    • '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - // Show the post group if and only if they have no other group or the option is on, and they are in a post group. - if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '') - echo ' -
    • ', $message['member']['post_group'], '
    • '; - echo ' -
    • ', $message['member']['group_stars'], '
    • '; - - // Show avatars, images, etc.? - if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - echo ' -
    • - - ', $message['member']['avatar']['image'], ' - -
    • '; - - // Show how many posts they have made. - if (!isset($context['disabled_fields']['posts'])) - echo ' -
    • ', $txt['member_postcount'], ': ', $message['member']['posts'], '
    • '; - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
    • ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
    • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
    • ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
    • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
    • - ', $modSettings['karmaApplaudLabel'], ' - ', $modSettings['karmaSmiteLabel'], ' -
    • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
    • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
    • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
    • ', $message['member']['blurb'], '
    • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    • -
        '; - } - echo ' -
      • ', $custom['value'], '
      • '; - } - if ($shown) - echo ' -
      -
    • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
    • -
        - ', !empty($message['member']['icq']['link']) ? '
      • ' . $message['member']['icq']['link'] . '
      • ' : '', ' - ', !empty($message['member']['msn']['link']) ? '
      • ' . $message['member']['msn']['link'] . '
      • ' : '', ' - ', !empty($message['member']['aim']['link']) ? '
      • ' . $message['member']['aim']['link'] . '
      • ' : '', ' - ', !empty($message['member']['yim']['link']) ? '
      • ' . $message['member']['yim']['link'] . '
      • ' : '', ' -
      -
    • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
    • - -
    • '; - } - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) || empty($custom['value'])) - echo ' -
    • ', $custom['title'], ': ', $custom['value'], '
    • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
    • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
    • '; - } - // Otherwise, show the guest's email. - elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum'))) - echo ' - '; - - // Done with the information about the poster... on to the post itself. - echo ' -
    -
    -
    -
    -
    -
    - -
    -
    - ', $message['subject'], ' -
    -
    « ', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ': ', $message['time'], ' »
    -
    -
    '; - - // If this is the first post, (#0) just say when it was posted - otherwise give the reply #. - if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg']) - echo ' -
      '; - - // Maybe we can approve it, maybe we should? - if ($message['can_approve']) - echo ' -
    • ', $txt['approve'], '
    • '; - - // Can they reply? Have they turned on quick reply? - if ($context['can_quote'] && !empty($options['display_quick_reply'])) - echo ' -
    • ', $txt['quote'], '
    • '; - - // So... quick reply is off, but they *can* reply? - elseif ($context['can_quote']) - echo ' -
    • ', $txt['quote'], '
    • '; - - // Can the user modify the contents of this post? - if ($message['can_modify']) - echo ' -
    • ', $txt['modify'], '
    • '; - - // How about... even... remove it entirely?! - if ($message['can_remove']) - echo ' -
    • ', $txt['remove'], '
    • '; - - // What about splitting it off the rest of the topic? - if ($context['can_split'] && !empty($context['real_num_replies'])) - echo ' -
    • ', $txt['split'], '
    • '; - - // Can we restore topics? - if ($context['can_restore_msg']) - echo ' -
    • ', $txt['restore_message'], '
    • '; - - // Show a checkbox for quick moderation? - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove']) - echo ' - '; - - if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg']) - echo ' -
    '; - - echo ' -
    '; - - // Ignoring this user? Hide the post. - if ($ignoring) - echo ' -
    - ', $txt['ignoring_user'], ' - -
    '; - - // Show the post itself, finally! - echo ' -
    '; - - if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id']) - echo ' -
    - ', $txt['post_awaiting_approval'], ' -
    '; - echo ' -
    ', $message['body'], '
    -
    '; - - // Can the user modify the contents of this post? Show the modify inline image. - if ($message['can_modify']) - echo ' - '; - - // Assuming there are attachments... - if (!empty($message['attachment'])) - { - echo ' - '; - } - - echo ' -
    -
    -
    '; - - // Show "� Last Edit: Time by Person �" if this post was edited. - if ($settings['show_modify'] && !empty($message['modified']['name'])) - echo ' - « ', $txt['last_edit'], ': ', $message['modified']['time'], ' ', $txt['by'], ' ', $message['modified']['name'], ' »'; - - echo ' -
    - '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    -
      '; - } - echo ' -
    • ', $custom['value'], '
    • '; - } - if ($shown) - echo ' -
    -
    '; - } - - // Show the member's signature? - if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) - echo ' -
    ', $message['member']['signature'], '
    '; - - echo ' -
    -
    - -
    -
    '; - } - - echo ' -
    -
    - '; - - // Show the page index... "Pages: [1]". - echo ' -
    - ', template_button_strip($normal_buttons, 'right'), ' - - -
    '; - - // Show the lower breadcrumbs. - theme_linktree(); - - $mod_buttons = array( - 'move' => array('test' => 'can_move', 'text' => 'move_topic', 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0'), - 'delete' => array('test' => 'can_delete', 'text' => 'remove_topic', 'image' => 'admin_rem.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['are_sure_remove_topic'] . '\');"', 'url' => $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - 'lock' => array('test' => 'can_lock', 'text' => empty($context['is_locked']) ? 'set_lock' : 'set_unlock', 'image' => 'admin_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_sticky']) ? 'set_sticky' : 'set_nonsticky', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'merge' => array('test' => 'can_merge', 'text' => 'merge', 'image' => 'merge.gif', 'lang' => true, 'url' => $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic']), - 'calendar' => array('test' => 'calendar_post', 'text' => 'calendar_link', 'image' => 'linktocal.gif', 'lang' => true, 'url' => $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0'), - ); - - // Restore topic. eh? No monkey business. - if ($context['can_restore_topic']) - $mod_buttons[] = array('text' => 'restore_topic', 'image' => '', 'lang' => true, 'url' => $scripturl . '?action=restoretopic;topics=' . $context['current_topic'] . ';' . $context['session_var'] . '=' . $context['session_id']); - - // Allow adding new mod buttons easily. - call_integration_hook('integrate_mod_buttons', array(&$mod_buttons)); - - echo ' -
    ', template_button_strip($mod_buttons, 'bottom', array('id' => 'moderationbuttons_strip')), '
    '; - - // Show the jumpto box, or actually...let Javascript do it. - echo ' -
     
    '; - - if ($context['can_reply'] && !empty($options['display_quick_reply'])) - { - echo ' - -
    - - -
    '; - } - else - echo ' -
    '; - - if ($context['show_spellchecking']) - echo ' -
    - '; - - echo ' - - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Errors.template.php b/config/themes/default/Errors.template.php deleted file mode 100755 index bd847cc..0000000 --- a/config/themes/default/Errors.template.php +++ /dev/null @@ -1,203 +0,0 @@ - -
    -

    - ', $context['error_title'], ' -

    -
    -
    - -
    ', $context['error_message'], '
    - -
    - '; - - // Show a back button (using javascript.) - echo ' - '; -} - -function template_error_log() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    - -
    -

    - - ', $txt['help'], ' ', $txt['errlog'], ' - -

    -
    - - - - - - - '; - - if ($context['has_filter']) - echo ' - - - '; - - if (!empty($context['errors'])) - echo ' - - - '; - - foreach ($context['errors'] as $error) - { - echo ' - - - - - - - - '; - } - - if (!empty($context['errors'])) - echo ' - - - '; - else - echo ' - - - '; - - echo ' - - - -
    -   ', $txt['apply_filter_of_type'], ':'; - - $error_types = array(); - foreach ($context['error_types'] as $type => $details) - $error_types[] = ($details['is_selected'] ? ' ' : '') . '' . $details['label'] . ''; - - echo ' - ', implode(' | ', $error_types), ' -
    -   ', $txt['pages'], ': ', $context['page_index'], ' -
    - ', $txt['applying_filter'], ': ', $context['filter']['entity'], ' ', $context['filter']['value']['html'], ' (', $txt['clear_filter'], ') -
    -
    - -
    - - - ', $txt['apply_filter'], ': ', $txt['filter_only_member'], ' - ', $error['member']['link'], '
    - ', $txt['apply_filter'], ': ', $txt['filter_only_ip'], ' - ', $error['member']['ip'], '   -
      -
    - ', $txt['reverse_direction'], ' - ', $error['time'], ' -
    '; - - if ($error['member']['session'] != '') - echo ' - ', $txt['apply_filter'], ': ', $txt['filter_only_session'], ' - ', $error['member']['session'], ' -
    '; - - echo ' - ', $txt['apply_filter'], ': ', $txt['filter_only_type'], ' - ', $txt['error_type'], ': ', $error['error_type']['name'], ' -
    -
    ', $txt['apply_filter'], ': ', $txt['filter_only_url'], '
    - -
    ', $txt['apply_filter'], ': ', $txt['filter_only_message'], '
    -
    ', $error['message']['html'], '
    '; - - if (!empty($error['file'])) - echo ' -
    ', $txt['apply_filter'], ': ', $txt['filter_only_file'], '
    -
    - ', $txt['file'], ': ', $error['file']['link'], '
    - ', $txt['line'], ': ', $error['file']['line'], ' -
    '; - - echo ' -
    -
    -   -
    ', $txt['errlog_no_entries'], '
    -   ', $txt['pages'], ': ', $context['page_index'], ' -

    '; - if ($context['sort_direction'] == 'down') - echo ' - '; - echo ' - -
    '; -} - -function template_show_file() -{ - global $context, $settings; - - echo ' - - - ', $context['file_data']['file'], ' - - - - - '; - foreach ($context['file_data']['contents'] as $index => $line) - { - $line_num = $index+$context['file_data']['min']; - $is_target = $line_num == $context['file_data']['target']; - echo ' - - - - '; - } - echo ' -
    ==>' : '>', $line_num , ':', $line, '
    - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/default/GenericControls.template.php b/config/themes/default/GenericControls.template.php deleted file mode 100755 index 833ae0a..0000000 --- a/config/themes/default/GenericControls.template.php +++ /dev/null @@ -1,359 +0,0 @@ - -
    -
    - -
    -
    -
    - - - - -
    -
    -

    - ' . $txt['more_smileys_pick'] . ' -

    -
    -
    - %smileyRows% -
    - -
    - - '), ' - });'; - } - - if ($context['show_bbc'] && $bbcContainer !== null) - { - echo ' - var oBBCBox_', $editor_id, ' = new smc_BBCButtonBox({ - sUniqueId: ', JavaScriptEscape('BBCBox_' . $editor_id), ', - sContainerDiv: ', JavaScriptEscape($bbcContainer), ', - sButtonClickHandler: ', JavaScriptEscape('oEditorHandle_' . $editor_id . '.handleButtonClick'), ', - sSelectChangeHandler: ', JavaScriptEscape('oEditorHandle_' . $editor_id . '.handleSelectChange'), ', - aButtonRows: ['; - - // Here loop through the array, printing the images/rows/separators! - foreach ($context['bbc_tags'] as $i => $buttonRow) - { - echo ' - ['; - foreach ($buttonRow as $tag) - { - // Is there a "before" part for this bbc button? If not, it can't be a button!! - if (isset($tag['before'])) - echo ' - { - sType: \'button\', - bEnabled: ', empty($context['disabled_tags'][$tag['code']]) ? 'true' : 'false', ', - sImage: ', JavaScriptEscape($settings['images_url'] . '/bbc/' . $tag['image'] . '.gif'), ', - sCode: ', JavaScriptEscape($tag['code']), ', - sBefore: ', JavaScriptEscape($tag['before']), ', - sAfter: ', isset($tag['after']) ? JavaScriptEscape($tag['after']) : 'null', ', - sDescription: ', JavaScriptEscape($tag['description']), ' - }', empty($tag['isLast']) ? ',' : ''; - - // Must be a divider then. - else - echo ' - { - sType: \'divider\' - }', empty($tag['isLast']) ? ',' : ''; - } - - // Add the select boxes to the first row. - if ($i == 0) - { - // Show the font drop down... - if (!isset($context['disabled_tags']['font'])) - echo ', - { - sType: \'select\', - sName: \'sel_face\', - oOptions: { - \'\': ', JavaScriptEscape($txt['font_face']), ', - \'courier\': \'Courier\', - \'arial\': \'Arial\', - \'arial black\': \'Arial Black\', - \'impact\': \'Impact\', - \'verdana\': \'Verdana\', - \'times new roman\': \'Times New Roman\', - \'georgia\': \'Georgia\', - \'andale mono\': \'Andale Mono\', - \'trebuchet ms\': \'Trebuchet MS\', - \'comic sans ms\': \'Comic Sans MS\' - } - }'; - - // Font sizes anyone? - if (!isset($context['disabled_tags']['size'])) - echo ', - { - sType: \'select\', - sName: \'sel_size\', - oOptions: { - \'\': ', JavaScriptEscape($txt['font_size']), ', - \'1\': \'8pt\', - \'2\': \'10pt\', - \'3\': \'12pt\', - \'4\': \'14pt\', - \'5\': \'18pt\', - \'6\': \'24pt\', - \'7\': \'36pt\' - } - }'; - - // Print a drop down list for all the colors we allow! - if (!isset($context['disabled_tags']['color'])) - echo ', - { - sType: \'select\', - sName: \'sel_color\', - oOptions: { - \'\': ', JavaScriptEscape($txt['change_color']), ', - \'black\': ', JavaScriptEscape($txt['black']), ', - \'red\': ', JavaScriptEscape($txt['red']), ', - \'yellow\': ', JavaScriptEscape($txt['yellow']), ', - \'pink\': ', JavaScriptEscape($txt['pink']), ', - \'green\': ', JavaScriptEscape($txt['green']), ', - \'orange\': ', JavaScriptEscape($txt['orange']), ', - \'purple\': ', JavaScriptEscape($txt['purple']), ', - \'blue\': ', JavaScriptEscape($txt['blue']), ', - \'beige\': ', JavaScriptEscape($txt['beige']), ', - \'brown\': ', JavaScriptEscape($txt['brown']), ', - \'teal\': ', JavaScriptEscape($txt['teal']), ', - \'navy\': ', JavaScriptEscape($txt['navy']), ', - \'maroon\': ', JavaScriptEscape($txt['maroon']), ', - \'limegreen\': ', JavaScriptEscape($txt['lime_green']), ', - \'white\': ', JavaScriptEscape($txt['white']), ' - } - }'; - } - echo ' - ]', $i == count($context['bbc_tags']) - 1 ? '' : ','; - } - echo ' - ], - sButtonTemplate: ', JavaScriptEscape(' - %buttonDescription% - '), ', - sButtonBackgroundImage: ', JavaScriptEscape($settings['images_url'] . '/bbc/bbc_bg.gif'), ', - sButtonBackgroundImageHover: ', JavaScriptEscape($settings['images_url'] . '/bbc/bbc_hoverbg.gif'), ', - sActiveButtonBackgroundImage: ', JavaScriptEscape($settings['images_url'] . '/bbc/bbc_hoverbg.gif'), ', - sDividerTemplate: ', JavaScriptEscape(' - | - '), ', - sSelectTemplate: ', JavaScriptEscape(' - - '), ', - sButtonRowTemplate: ', JavaScriptEscape(' -
    %buttonRow%
    - '), ' - });'; - } - - // Now it's all drawn out we'll actually setup the box. - echo ' - var oEditorHandle_', $editor_id, ' = new smc_Editor({ - sSessionId: ', JavaScriptEscape($context['session_id']), ', - sSessionVar: ', JavaScriptEscape($context['session_var']), ', - sFormId: ', JavaScriptEscape($editor_context['form']), ', - sUniqueId: ', JavaScriptEscape($editor_id), ', - bRTL: ', $txt['lang_rtl'] ? 'true' : 'false', ', - bWysiwyg: ', $editor_context['rich_active'] ? 'true' : 'false', ', - sText: ', JavaScriptEscape($editor_context['rich_active'] ? $editor_context['rich_value'] : ''), ', - sEditWidth: ', JavaScriptEscape($editor_context['width']), ', - sEditHeight: ', JavaScriptEscape($editor_context['height']), ', - bRichEditOff: ', empty($modSettings['disable_wysiwyg']) ? 'false' : 'true', ', - oSmileyBox: ', !empty($context['smileys']['postform']) && !$editor_context['disable_smiley_box'] && $smileyContainer !== null ? 'oSmileyBox_' . $editor_id : 'null', ', - oBBCBox: ', $context['show_bbc'] && $bbcContainer !== null ? 'oBBCBox_' . $editor_id : 'null', ' - }); - smf_editorArray[smf_editorArray.length] = oEditorHandle_', $editor_id, ';'; - - echo ' - // ]]>'; -} - -function template_control_richedit_buttons($editor_id) -{ - global $context, $settings, $options, $txt, $modSettings, $scripturl; - - $editor_context = &$context['controls']['richedit'][$editor_id]; - - echo ' - '; - - if ($editor_context['preview_type']) - echo ' - '; - - if ($context['show_spellchecking']) - echo ' - '; -} - -// What's this, verification?! -function template_control_verification($verify_id, $display_type = 'all', $reset = false) -{ - global $context, $settings, $options, $txt, $modSettings; - - $verify_context = &$context['controls']['verification'][$verify_id]; - - // Keep track of where we are. - if (empty($verify_context['tracking']) || $reset) - $verify_context['tracking'] = 0; - - // How many items are there to display in total. - $total_items = count($verify_context['questions']) + ($verify_context['show_visual'] ? 1 : 0); - - // If we've gone too far, stop. - if ($verify_context['tracking'] > $total_items) - return false; - - // Loop through each item to show them. - for ($i = 0; $i < $total_items; $i++) - { - // If we're after a single item only show it if we're in the right place. - if ($display_type == 'single' && $verify_context['tracking'] != $i) - continue; - - if ($display_type != 'single') - echo ' -
    '; - - // Do the actual stuff - image first? - if ($i == 0 && $verify_context['show_visual']) - { - if ($context['use_graphic_library']) - echo ' - ', $txt['visual_verification_description'], ''; - else - echo ' - ', $txt['visual_verification_description'], ' - ', $txt['visual_verification_description'], ' - ', $txt['visual_verification_description'], ' - ', $txt['visual_verification_description'], ' - ', $txt['visual_verification_description'], ' - ', $txt['visual_verification_description'], ''; - - if (WIRELESS) - echo '
    - '; - else - echo ' -
    - ', $txt['visual_verification_sound'], ' / ', $txt['visual_verification_request_new'], '', $display_type != 'quick_reply' ? '
    ' : '', '
    - ', $txt['visual_verification_description'], ':', $display_type != 'quick_reply' ? '
    ' : '', ' - -
    '; - } - else - { - // Where in the question array is this question? - $qIndex = $verify_context['show_visual'] ? $i - 1 : $i; - - echo ' -
    - ', $verify_context['questions'][$qIndex]['q'], ':
    - -
    '; - } - - if ($display_type != 'single') - echo ' -
    '; - - // If we were displaying just one and we did it, break. - if ($display_type == 'single' && $verify_context['tracking'] == $i) - break; - } - - // Assume we found something, always, - $verify_context['tracking']++; - - // Tell something displaying piecemeal to keep going. - if ($display_type == 'single') - return true; -} - -?> \ No newline at end of file diff --git a/config/themes/default/GenericList.template.php b/config/themes/default/GenericList.template.php deleted file mode 100755 index e1fcfda..0000000 --- a/config/themes/default/GenericList.template.php +++ /dev/null @@ -1,333 +0,0 @@ - -
    '; - - // Show the title of the table (if any). - if (!empty($cur_list['title'])) - echo ' -
    -

    - ', $cur_list['title'], ' -

    -
    '; - // This is for the old style menu with the arrows "> Test | Test 1" - if (empty($settings['use_tabs']) && isset($cur_list['list_menu'], $cur_list['list_menu']['show_on']) && ($cur_list['list_menu']['show_on'] == 'both' || $cur_list['list_menu']['show_on'] == 'top')) - template_create_list_menu($cur_list['list_menu'], 'top'); - - if (isset($cur_list['additional_rows']['top_of_list'])) - template_additional_rows('top_of_list', $cur_list); - - if (isset($cur_list['additional_rows']['after_title'])) - { - echo ' -
    '; - template_additional_rows('after_title', $cur_list); - echo ' -
    '; - } - - if (!empty($cur_list['items_per_page']) || isset($cur_list['additional_rows']['bottom_of_list'])) - { - echo ' -
    '; - - // Show the page index (if this list doesn't intend to show all items). - if (!empty($cur_list['items_per_page'])) - echo ' -
    -
    ', $txt['pages'], ': ', $cur_list['page_index'], '
    -
    '; - - if (isset($cur_list['additional_rows']['above_column_headers'])) - { - echo ' -
    '; - - template_additional_rows('above_column_headers', $cur_list); - - echo ' -
    '; - } - - echo ' -
    '; - } - - echo ' - '; - - // Show the column headers. - $header_count = count($cur_list['headers']); - if (!($header_count < 2 && empty($cur_list['headers'][0]['label']))) - { - echo ' - - '; - - // Loop through each column and add a table header. - $i = 0; - foreach ($cur_list['headers'] as $col_header) - { - $i ++; - if (empty($col_header['class']) && $i == 1) - $col_header['class'] = 'first_th'; - elseif (empty($col_header['class']) && $i == $header_count) - $col_header['class'] = 'last_th'; - - echo ' - '; - } - - echo ' - - - '; - } - - // Show a nice message informing there are no items in this list. - if (empty($cur_list['rows']) && !empty($cur_list['no_items_label'])) - echo ' - - - '; - - // Show the list rows. - elseif (!empty($cur_list['rows'])) - { - $alternate = false; - foreach ($cur_list['rows'] as $id => $row) - { - echo ' - '; - - foreach ($row as $row_data) - echo ' - ', $row_data['value'], ''; - - echo ' - '; - - $alternate = !$alternate; - } - } - - echo ' - -
    ', empty($col_header['href']) ? '' : '', empty($col_header['label']) ? ' ' : $col_header['label'], empty($col_header['href']) ? '' : '', empty($col_header['sort_image']) ? '' : ' ', '
    ', $cur_list['no_items_label'], '
    '; - - if (!empty($cur_list['items_per_page']) || isset($cur_list['additional_rows']['below_table_data']) || isset($cur_list['additional_rows']['bottom_of_list'])) - { - echo ' -
    '; - - // Show the page index (if this list doesn't intend to show all items). - if (!empty($cur_list['items_per_page'])) - echo ' -
    -
    ', $txt['pages'], ': ', $cur_list['page_index'], '
    -
    '; - - if (isset($cur_list['additional_rows']['below_table_data'])) - { - echo ' -
    '; - - template_additional_rows('below_table_data', $cur_list); - - echo ' -
    '; - } - - if (isset($cur_list['additional_rows']['bottom_of_list'])) - { - echo ' -
    '; - - template_additional_rows('bottom_of_list', $cur_list); - - echo ' -
    '; - } - - echo ' -
    '; - } - - if (isset($cur_list['form'])) - { - foreach ($cur_list['form']['hidden_fields'] as $name => $value) - echo ' - '; - - echo ' -
    - '; - } - - // Tabs at the bottom. Usually bottom alligned. - if (!empty($settings['use_tabs']) && isset($cur_list['list_menu'], $cur_list['list_menu']['show_on']) && ($cur_list['list_menu']['show_on'] == 'both' || $cur_list['list_menu']['show_on'] == 'bottom')) - template_create_list_menu($cur_list['list_menu'], 'bottom'); - - if (isset($cur_list['javascript'])) - echo ' - '; -} - -function template_additional_rows($row_position, $cur_list) -{ - global $context, $settings, $options; - - foreach ($cur_list['additional_rows'][$row_position] as $row) - echo ' -
    ', $row['value'], '
    '; -} - -function template_create_list_menu($list_menu, $direction = 'top') -{ - global $context, $settings; - - /** - // This is use if you want your generic lists to have tabs. - $cur_list['list_menu'] = array( - // This is the style to use. Tabs or Buttons (Text 1 | Text 2). - // By default tabs are selected if not set. - // The main difference between tabs and buttons is that tabs get highlighted if selected. - // If style is set to buttons and use tabs is diabled then we change the style to old styled tabs. - 'style' => 'tabs', - // The posisiton of the tabs/buttons. Left or Right. By default is set to left. - 'position' => 'left', - // This is used by the old styled menu. We *need* to know the total number of columns to span. - 'columns' => 0, - // This gives you the option to show tabs only at the top, bottom or both. - // By default they are just shown at the top. - 'show_on' => 'top', - // Links. This is the core of the array. It has all the info that we need. - 'links' => array( - 'name' => array( - // This will tell use were to go when they click it. - 'href' => $scripturl . '?action=theaction', - // The name that you want to appear for the link. - 'label' => $txt['name'], - // If we use tabs instead of buttons we highlight the current tab. - // Must use conditions to determine if its selected or not. - 'is_selected' => isset($_REQUEST['name']), - ), - ), - ); - */ - - // Are we using right-to-left orientation? - $first = $context['right_to_left'] ? 'last' : 'first'; - $last = $context['right_to_left'] ? 'first' : 'last'; - - // Tabs take preference over buttons in certain cases. - if (empty($settings['use_tabs']) && $list_menu['style'] == 'button') - $list_menu['style'] = 'tabs'; - - if (!isset($list_menu['style']) || isset($list_menu['style']) && $list_menu['style'] == 'tabs') - { - if (!empty($settings['use_tabs'])) - { - echo ' - - ', $list_menu['position'] == 'right' ? ' - ' : '', ' - ', $list_menu['position'] == 'left' ? ' - ' : '', ' - -
      - - - '; - - foreach ($list_menu['links'] as $link) - { - if ($link['is_selected']) - echo ' - - - '; - else - echo ' - '; - } - - echo ' - - -
       - ', $link['label'], ' -   - ', $link['label'], ' -  
    -
     
    '; - } - else - { - echo ' - - '; - - $links = array(); - foreach ($list_menu['links'] as $link) - $links[] = ($link['is_selected'] ? '> ' : '') . '' . $link['label'] . ''; - - echo ' - ', implode(' | ', $links), ' - - '; - } - } - elseif (isset($list_menu['style']) && $list_menu['style'] == 'buttons') - { - $links = array(); - foreach ($list_menu['links'] as $link) - $links[] = '' . $link['label'] . ''; - - echo ' - - ', $list_menu['position'] == 'right' ? ' - ' : '', ' - ', $list_menu['position'] == 'left' ? ' - ' : '', ' - -
      - - - - - - -
     ', implode('  |  ', $links), ' 
    -
     
    '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/default/GenericMenu.template.php b/config/themes/default/GenericMenu.template.php deleted file mode 100755 index 7070f5d..0000000 --- a/config/themes/default/GenericMenu.template.php +++ /dev/null @@ -1,367 +0,0 @@ - -
    '; - - // What one are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - // For every section that appears on the sidebar... - $firstSection = true; - foreach ($menu_context['sections'] as $section) - { - // Show the section header - and pump up the line spacing for readability. - echo ' -
    -
    -

    '; - - if ($firstSection && !empty($menu_context['can_toggle_drop_down'])) - { - echo ' - - ', $section['title'],'! - '; - } - else - { - echo ' - ', $section['title']; - } - - echo ' -

    -
    -
      '; - - // For every area of this section show a link to that area (bold if it's currently selected.) - foreach ($section['areas'] as $i => $area) - { - // Not supposed to be printed? - if (empty($area['label'])) - continue; - - echo ' -
    • '; - - // Is this the current area, or just some area? - if ($i == $menu_context['current_area']) - { - echo ' - ', $area['label'], ''; - - if (empty($context['tabs'])) - $context['tabs'] = isset($area['subsections']) ? $area['subsections'] : array(); - } - else - echo ' - ', $area['label'], ''; - - echo ' -
    • '; - } - - echo ' -
    -
    '; - - $firstSection = false; - } - - // This is where the actual "main content" area for the admin section starts. - echo ' -
    -
    '; - - // If there are any "tabs" setup, this is the place to shown them. - if (!empty($context['tabs']) && empty($context['force_disable_tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the sidebar layer - closes off the main bit. -function template_generic_menu_sidebar_below() -{ - global $context, $settings, $options; - - echo ' -
    -
    '; -} - -// This contains the html for the side bar of the admin center, which is used for all admin pages. -function template_generic_menu_dropdown_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Which menu are we rendering? - $context['cur_menu_id'] = isset($context['cur_menu_id']) ? $context['cur_menu_id'] + 1 : 1; - $menu_context = &$context['menu_data_' . $context['cur_menu_id']]; - - if (!empty($menu_context['can_toggle_drop_down'])) - echo ' - *'; - - echo ' -
    -
    '; - - // This is the main table - we need it so we can keep the content to the right of it. - echo ' -
    '; - - // It's possible that some pages have their own tabs they wanna force... - if (!empty($context['tabs'])) - template_generic_menu_tabs($menu_context); -} - -// Part of the admin layer - used with admin_above to close the table started in it. -function template_generic_menu_dropdown_below() -{ - global $context, $settings, $options; - - echo ' -
    '; -} - -// Some code for showing a tabbed view. -function template_generic_menu_tabs(&$menu_context) -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Handy shortcut. - $tab_context = &$menu_context['tab_data']; - - echo ' -
    -

    '; - - // Exactly how many tabs do we have? - foreach ($context['tabs'] as $id => $tab) - { - // Can this not be accessed? - if (!empty($tab['disabled'])) - { - $tab_context['tabs'][$id]['disabled'] = true; - continue; - } - - // Did this not even exist - or do we not have a label? - if (!isset($tab_context['tabs'][$id])) - $tab_context['tabs'][$id] = array('label' => $tab['label']); - elseif (!isset($tab_context['tabs'][$id]['label'])) - $tab_context['tabs'][$id]['label'] = $tab['label']; - - // Has a custom URL defined in the main admin structure? - if (isset($tab['url']) && !isset($tab_context['tabs'][$id]['url'])) - $tab_context['tabs'][$id]['url'] = $tab['url']; - // Any additional paramaters for the url? - if (isset($tab['add_params']) && !isset($tab_context['tabs'][$id]['add_params'])) - $tab_context['tabs'][$id]['add_params'] = $tab['add_params']; - // Has it been deemed selected? - if (!empty($tab['is_selected'])) - $tab_context['tabs'][$id]['is_selected'] = true; - // Does it have its own help? - if (!empty($tab['help'])) - $tab_context['tabs'][$id]['help'] = $tab['help']; - // Is this the last one? - if (!empty($tab['is_last']) && !isset($tab_context['override_last'])) - $tab_context['tabs'][$id]['is_last'] = true; - } - - // Find the selected tab - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['is_selected']) || (isset($menu_context['current_subsection']) && $menu_context['current_subsection'] == $sa)) - { - $selected_tab = $tab; - $tab_context['tabs'][$sa]['is_selected'] = true; - } - } - - // Show an icon and/or a help item? - if (!empty($selected_tab['icon']) || !empty($tab_context['icon']) || !empty($selected_tab['help']) || !empty($tab_context['help'])) - { - echo ' - '; - - if (!empty($selected_tab['icon']) || !empty($tab_context['icon'])) - echo ''; - - if (!empty($selected_tab['help']) || !empty($tab_context['help'])) - echo '', $txt['help'], ''; - - echo $tab_context['title'], ' - '; - } - else - { - echo ' - ', $tab_context['title']; - } - - echo ' -

    -
    '; - - // Shall we use the tabs? - if (!empty($settings['use_tabs'])) - { - echo ' -

    - ', !empty($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], ' -

    '; - - // The admin tabs. - echo ' -
    -
      '; - - // Print out all the items in this tab. - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['disabled'])) - continue; - - if (!empty($tab['is_selected'])) - { - echo ' -
    • - ', $tab['label'], ' -
    • '; - } - else - echo ' -
    • - ', $tab['label'], ' -
    • '; - } - - // the end of tabs - echo ' -
    -

    '; - } - // ...if not use the old style - else - { - echo ' -

    '; - - // Print out all the items in this tab. - foreach ($tab_context['tabs'] as $sa => $tab) - { - if (!empty($tab['disabled'])) - continue; - - if (!empty($tab['is_selected'])) - { - echo ' - * ', $tab['label'], ''; - } - else - echo ' - ', $tab['label'], ''; - - if (empty($tab['is_last'])) - echo ' | '; - } - - echo ' -

    -

    ', isset($selected_tab['description']) ? $selected_tab['description'] : $tab_context['description'], '

    '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/default/GetItem.template.php b/config/themes/default/GetItem.template.php deleted file mode 100755 index 72c7f95..0000000 --- a/config/themes/default/GetItem.template.php +++ /dev/null @@ -1,53 +0,0 @@ - -

    ',$txt['buy_item_title'],'

    - '; - - // begin content - echo '
    - -
    '; - -//echo '
    ', print_r($context), '
    '; - - if(!empty($context['daily_item_purchased'])) - { - $item = $context['daily_item_purchased']; - echo '

    ', sprintf($txt['featured_item_success'], $item['name_eng']),'

    -

    '; - echo '', $txt['featured_item_edit_avatar'],''; - } - else if (isset($context['fail_message'])) - { - echo '

    ',$context['fail_message'],'

    '; - } - else - { - echo '

    ',$txt['featured_item_fail'],'

    '; - } - - // end content - echo' -
    - -
    '; - -} - diff --git a/config/themes/default/Help.template.php b/config/themes/default/Help.template.php deleted file mode 100755 index 2bd0ebe..0000000 --- a/config/themes/default/Help.template.php +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - ', $context['page_title'], ' - - - - -
    - ', $context['help_text'], '
    -
    - ', $txt['close_window'], ' -
    - -'; -} - -function template_find_members() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' - - - ', $txt['find_members'], ' - - - - - - - -
    - -
    -
    -
    -

    ', $txt['find_members'], '

    -
    -
    - ', $txt['find_username'], ':
    -
    - ', $txt['find_wildcards'], '
    '; - - // Only offer to search for buddies if we have some! - if (!empty($context['show_buddies'])) - echo ' -
    '; - - echo ' -
    - - -
    -
    -
    -
    - -
    - -
    -
    -
    -

    ', $txt['find_results'], '

    -
    '; - - if (empty($context['results'])) - echo ' -

    ', $txt['find_no_results'], '

    '; - else - { - echo ' -
      '; - - $alternate = true; - foreach ($context['results'] as $result) - { - echo ' -
    • - ', $txt['view_profile'], ' - ', $result['name'], ' -
    • '; - - $alternate = !$alternate; - } - - echo ' -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - } - - echo ' -
    -
    - - - - -
    '; - - if (empty($context['results'])) - echo ' - '; - - echo ' - -'; -} - -// The main help page. -function template_manual() -{ - global $context, $scripturl, $txt; - - echo ' -
    -

    ', $txt['manual_smf_user_help'], '

    -
    -
    -
    - -
    -

    ', sprintf($txt['manual_welcome'], $context['forum_name']), '

    -

    ', $txt['manual_introduction'], '

    - -

    ', sprintf($txt['manual_docs_and_credits'], $context['wiki_url'], $scripturl . '?action=credits'), '

    -
    - -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Login.template.php b/config/themes/default/Login.template.php deleted file mode 100755 index 4c2f997..0000000 --- a/config/themes/default/Login.template.php +++ /dev/null @@ -1,308 +0,0 @@ - - -
    -
    '; - - // Focus on the correct input - username or password. - echo ' - '; -} - -// Tell a guest to get lost or login! -function template_kick_guest() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // This isn't that much... just like normal login but with a message at the top. - echo ' - -
    - -
    '; - - // Do the focus thing... - echo ' - '; -} - -// This is for maintenance mode. -function template_maintenance() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Display the administrator's message at the top. - echo ' - -
    - -
    '; -} - -// This is for the security stuff - makes administrators login every so often. -function template_admin_login() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Since this should redirect to whatever they were doing, send all the get data. - echo ' - - -
    - - -
    '; - - // Focus on the password box. - echo ' -'; -} - -// Activate your account manually? -function template_retry_activate() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Just ask them for their code so they can try it again... - echo ' -
    -
    -

    ', $context['page_title'], '

    -
    - -
    '; - - // You didn't even have an ID? - if (empty($context['member_id'])) - echo ' -
    -
    ', $txt['invalid_activation_username'], ':
    -
    '; - - echo ' -
    ', $txt['invalid_activation_retry'], ':
    -
    -
    -

    -
    - -
    '; -} - -// Activate your account manually? -function template_resend() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Just ask them for their code so they can try it again... - echo ' -
    -
    -

    ', $context['page_title'], '

    -
    - -
    -
    -
    ', $txt['invalid_activation_username'], ':
    -
    -
    -

    ', $txt['invalid_activation_new'], '

    -
    -
    ', $txt['invalid_activation_new_email'], ':
    -
    -
    ', $txt['invalid_activation_password'], ':
    -
    -
    '; - - if ($context['can_activate']) - echo ' -

    ', $txt['invalid_activation_known'], '

    -
    -
    ', $txt['invalid_activation_retry'], ':
    -
    -
    '; - - echo ' -

    -
    - -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageAttachments.template.php b/config/themes/default/ManageAttachments.template.php deleted file mode 100755 index 2ed9a67..0000000 --- a/config/themes/default/ManageAttachments.template.php +++ /dev/null @@ -1,215 +0,0 @@ - -'; -} - -function template_browse() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - '; - - template_show_list('file_list'); - echo ' -
    '; - -} - -function template_maintenance() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['attachment_stats'], '

    -
    -
    - -
    -
    -
    ', $txt['attachment_total'], ':
    ', $context['num_attachments'], '
    -
    ', $txt['attachment_manager_total_avatars'], ':
    ', $context['num_avatars'], '
    -
    ', $txt['attachmentdir_size' . ($context['attach_multiple_dirs'] ? '_current' : '')], ':
    ', $context['attachment_total_size'], ' ', $txt['kilobyte'], '
    -
    ', $txt['attachment_space' . ($context['attach_multiple_dirs'] ? '_current' : '')], ':
    ', isset($context['attachment_space']) ? $context['attachment_space'] . ' ' . $txt['kilobyte'] : $txt['attachmentdir_size_not_set'], '
    -
    -
    - -
    -
    -

    ', $txt['attachment_integrity_check'], '

    -
    -
    - -
    -
    -

    ', $txt['attachment_integrity_check_desc'], '

    - -
    -
    - -
    -
    -

    ', $txt['attachment_pruning'], '

    -
    -
    - -
    -
    - ', $txt['attachment_remove_old'], ' ', $txt['days_word'], '
    - ', $txt['attachment_pruning_message'], ':
    - - - - -
    -
    -
    - ', $txt['attachment_remove_size'], ' ', $txt['kilobyte'], '
    - ', $txt['attachment_pruning_message'], ':
    - - - - -
    -
    -
    - ', $txt['attachment_manager_avatars_older'], ' ', $txt['days_word'], '
    - - - - -
    -
    - -
    -
    -
    '; -} - -function template_attachment_repair() -{ - global $context, $txt, $scripturl, $settings; - - // If we've completed just let them know! - if ($context['completed']) - { - echo ' -
    -
    -

    ', $txt['repair_attachments_complete'], '

    -
    -
    - -
    - ', $txt['repair_attachments_complete_desc'], ' -
    - -
    -
    -
    '; - } - - // What about if no errors were even found? - elseif (!$context['errors_found']) - { - echo ' -
    -
    -

    ', $txt['repair_attachments_complete'], '

    -
    -
    - -
    - ', $txt['repair_attachments_no_errors'], ' -
    - -
    -
    -
    '; - } - // Otherwise, I'm sad to say, we have a problem! - else - { - echo ' -
    -
    -
    -

    ', $txt['repair_attachments'], '

    -
    -
    - -
    -

    ', $txt['repair_attachments_error_desc'], '

    '; - - // Loop through each error reporting the status - foreach ($context['repair_errors'] as $error => $number) - { - if (!empty($number)) - echo ' - -
    '; - } - - echo '
    - - -
    - -
    -
    -
    -
    '; - } -} - -function template_attachment_paths() -{ - template_show_list('attach_paths'); -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageBans.template.php b/config/themes/default/ManageBans.template.php deleted file mode 100755 index 0097fbd..0000000 --- a/config/themes/default/ManageBans.template.php +++ /dev/null @@ -1,365 +0,0 @@ - - -
    -

    - ', $context['ban']['is_new'] ? $txt['ban_add_new'] : $txt['ban_edit'] . ' \'' . $context['ban']['name'] . '\'', ' -

    -
    '; - - if ($context['ban']['is_new']) - echo ' -
    ', $txt['ban_add_notes'], '
    '; - - echo ' -
    - -
    -
    -
    -
    - ', $txt['ban_name'], ': -
    -
    - -
    -
    - ', $txt['ban_reason'], ':
    - ', $txt['ban_reason_desc'], ' -
    -
    - -
    -
    - ', $txt['ban_notes'], ':
    - ', $txt['ban_notes_desc'], ' -
    -
    - -
    -
    -
    - - ', $txt['ban_expiration'], ' - -
    - : ', $txt['ban_days'], '
    - -
    -
    - - ', $txt['ban_restriction'], ' - -
    -
    - (?)
    -
    -
    -
    -
    '; - - if (!empty($context['ban_suggestions'])) - { - echo ' -
    - - ', $txt['ban_triggers'], ' - -
    -
    - - -
    -
    - -
    '; - - if (empty($modSettings['disableHostnameLookup'])) - echo ' -
    - - -
    -
    - -
    '; - - echo ' -
    - - -
    -
    - -
    -
    - - : -
    -
    '; - - if (empty($context['ban_suggestions']['member']['id'])) - echo ' - '; - else - echo ' - ', $context['ban_suggestions']['member']['link'], ' - '; - echo ' -
    '; - - if (!empty($context['ban_suggestions']['message_ips'])) - { - echo ' -
    -
    ', $txt['ips_in_messages'], ':
    -
    '; - - foreach ($context['ban_suggestions']['message_ips'] as $ip) - echo ' -
    - -
    -
    - ', $ip, ' -
    '; - } - - if (!empty($context['ban_suggestions']['error_ips'])) - { - echo ' -
    -
    ', $txt['ips_in_errors'], '
    -
    '; - - foreach ($context['ban_suggestions']['error_ips'] as $ip) - echo ' -
    - -
    -
    - ', $ip, ' -
    '; - } - - echo ' -
    -
    '; - } - - echo ' -
    - - - - -
    -
    -
    - -
    '; - - if (!$context['ban']['is_new'] && empty($context['ban_suggestions'])) - { - echo ' -
    -
    - - - - - - '; - if (empty($context['ban_items'])) - echo ' - - - '; - else - { - foreach ($context['ban_items'] as $ban_item) - { - echo ' - - - - - - '; - } - } - - echo ' - -
    ', $txt['ban_banned_entity'], ' - ', $txt['ban_hits'], ' - ', $txt['ban_actions'], ' - -
    (', $txt['ban_no_triggers'], ')
    '; - if ($ban_item['type'] == 'ip') - echo ' ', $txt['ip'], ': ', $ban_item['ip']; - elseif ($ban_item['type'] == 'hostname') - echo ' ', $txt['hostname'], ': ', $ban_item['hostname']; - elseif ($ban_item['type'] == 'email') - echo ' ', $txt['email'], ': ', $ban_item['email']; - elseif ($ban_item['type'] == 'user') - echo ' ', $txt['username'], ': ', $ban_item['user']['link']; - echo ' - ', $ban_item['hits'], '', $txt['ban_edit_trigger'], '
    - -
    - - -
    '; - - } - - echo ' - -
    - - '; -} - -function template_ban_edit_trigger() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    - ', $context['ban_trigger']['is_new'] ? $txt['ban_add_trigger'] : $txt['ban_edit_trigger_title'], ' -

    -
    -
    - -
    -
    - - ', $txt['ban_triggers'], ' - -
    -
    - - ', $txt['ban_on_ip'], ' -
    -
    - -
    '; - if (empty($modSettings['disableHostnameLookup'])) - echo ' -
    - - ', $txt['ban_on_hostname'], ' -
    -
    - -
    '; - echo ' -
    - - ', $txt['ban_on_email'], ' -
    -
    - -
    -
    - - ', $txt['ban_on_username'], ' -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    - - - -
    -
    -
    - - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageBoards.template.php b/config/themes/default/ManageBoards.template.php deleted file mode 100755 index 395d892..0000000 --- a/config/themes/default/ManageBoards.template.php +++ /dev/null @@ -1,633 +0,0 @@ - -
    -

    ', $txt['boardsEdit'], '

    -
    '; - - if (!empty($context['move_board'])) - echo ' -
    -

    ', $context['move_title'], ' [', $txt['mboards_cancel_moving'], ']', '

    -
    '; - - // No categories so show a label. - if (empty($context['categories'])) - echo ' -
    - -
    - ', $txt['mboards_no_cats'], ' -
    - -
    '; - - // Loop through every category, listing the boards in each as we go. - foreach ($context['categories'] as $category) - { - // Link to modify the category. - echo ' - '; - - // Boards table header. - echo ' -
    -
    - -
    -
      '; - - if (!empty($category['move_link'])) - echo ' -
    • ', $category['move_link']['label'], '
    • '; - - $alternate = false; - - // List through every board in the category, printing its name and link to modify the board. - foreach ($category['boards'] as $board) - { - $alternate = !$alternate; - - echo ' - ', $board['name'], '', !empty($modSettings['recycle_board']) && !empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] == $board['id'] ? ' ' . $txt['recycle_board'] . '' : '', ' - ', $context['can_manage_permissions'] ? '' . $txt['mboards_permissions'] . '' : '', ' - ', $txt['mboards_move'], ' - ', $txt['mboards_modify'], '
      - '; - - if (!empty($board['move_links'])) - { - $alternate = !$alternate; - - echo ' -
    • '; - - foreach ($board['move_links'] as $link) - echo ' - ', $link['label'], ''; - - echo ' -
    • '; - } - } - - // Button to add a new board. - echo ' -
    -
    - - -
    -
    - -
    -
    '; - } - echo ' - -
    '; -} - -// Template for editing/adding a category on the forum. -function template_modify_category() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Print table header. - echo ' -
    -
    - -
    -

    - ', isset($context['category']['is_new']) ? $txt['mboards_new_cat_name'] : $txt['catEdit'], ' -

    -
    -
    - -
    -
    '; - // If this isn't the only category, let the user choose where this category should be positioned down the board index. - if (count($context['category_order']) > 1) - { - echo ' -
    ', $txt['order'], ':
    -
    - -
    '; - } - // Allow the user to edit the category name and/or choose whether you can collapse the category. - echo ' -
    - ', $txt['full_name'], ':
    - ', $txt['name_on_display'], ' -
    -
    - -
    -
    - ' . $txt['collapse_enable'] . '
    - ' . $txt['collapse_desc'] . ' -
    -
    - -
    '; - - // Table footer. - echo ' -
    -
    '; - - if (isset($context['category']['is_new'])) - echo ' - '; - else - echo ' - - '; - echo ' - '; - - // If this category is empty we don't bother with the next confirmation screen. - if ($context['category']['is_empty']) - echo ' - '; - - echo ' -
    -
    - -
    -
    -
    -
    '; -} - -// A template to confirm if a user wishes to delete a category - and whether they want to save the boards. -function template_confirm_category_delete() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Print table header. - echo ' -
    -
    - -
    -

    ', $txt['mboards_delete_cat'], '

    -
    -
    - -
    -

    ', $txt['mboards_delete_cat_contains'], ':

    -
      '; - - foreach ($context['category']['children'] as $child) - echo ' -
    • ', $child, '
    • '; - - echo ' -
    -
    - -
    -
    -

    ', $txt['mboards_delete_what_do'], '

    -
    -
    - -
    -

    -
    - : - -

    - - - - -
    - -
    -
    -
    -
    '; -} - -// Below is the template for adding/editing an board on the forum. -function template_modify_board() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // The main table header. - echo ' -
    -
    - -
    -

    - ', isset($context['board']['is_new']) ? $txt['mboards_new_board_name'] : $txt['boardsEdit'], ' -

    -
    -
    - -
    -
    '; - - // Option for choosing the category the board lives in. - echo ' - -
    - ', $txt['mboards_category'], ': - -
    -
    - -
    '; - - // If this isn't the only board in this category let the user choose where the board is to live. - if ((isset($context['board']['is_new']) && count($context['board_order']) > 0) || count($context['board_order']) > 1) - { - echo ' -
    - ', $txt['order'], ': -
    -
    '; - - // The first select box gives the user the option to position it before, after or as a child of another board. - echo ' - '; - - // The second select box lists all the boards in the category. - echo ' - -
    '; - } - - // Options for board name and description. - echo ' -
    - ', $txt['full_name'], ':
    - ', $txt['name_on_display'], ' -
    -
    - -
    -
    - ', $txt['mboards_description'], ':
    - ', $txt['mboards_description_desc'], ' -
    -
    - -
    -
    - ', $txt['permission_profile'], ':
    - ', $context['can_manage_permissions'] ? sprintf($txt['permission_profile_desc'], $scripturl . '?action=admin;area=permissions;sa=profiles;' . $context['session_var'] . '=' . $context['session_id']) : strip_tags($txt['permission_profile_desc']), ' -
    -
    - -
    -
    - ', $txt['mboards_groups'], ':
    - ', $txt['mboards_groups_desc'], ' -
    -
    '; - - // List all the membergroups so the user can choose who may access this board. - foreach ($context['groups'] as $group) - echo ' -
    '; - echo ' - ', $txt['check_all'], '
    -
    -
    '; - - // Options to choose moderators, specifiy as announcement board and choose whether to count posts here. - echo ' -
    - ', $txt['mboards_moderators'], ':
    - ', $txt['mboards_moderators_desc'], '
    -
    -
    - -
    -
    -
    -
    '; - - if (empty($context['board']['is_recycle']) && empty($context['board']['topics'])) - echo ' -
    -
    - ', $txt['mboards_redirect'], ':
    - ', $txt['mboards_redirect_desc'], '
    -
    -
    - -
    -
    '; - - if (!empty($context['board']['is_recycle'])) - echo ' -
    ', $txt['mboards_redirect_disabled_recycle'], '
    '; - - if (empty($context['board']['is_recycle']) && !empty($context['board']['topics'])) - echo ' -
    - ', $txt['mboards_redirect'],'
    - ', $txt['mboards_redirect_disabled'], ' -
    '; - - if (!$context['board']['topics'] && empty($context['board']['is_recycle'])) - { - echo ' -
    -
    -
    - ', $txt['mboards_redirect_url'], ':
    - ', $txt['mboards_redirect_url_desc'], '
    -
    -
    - -
    -
    -
    '; - - if ($context['board']['redirect']) - echo ' -
    -
    -
    - ', $txt['mboards_redirect_reset'], ':
    - ', $txt['mboards_redirect_reset_desc'], '
    -
    -
    - - (', sprintf($txt['mboards_current_redirects'], $context['board']['posts']), ') -
    -
    -
    '; - } - - echo ' -
    -
    -
    - ', $txt['mboards_count_posts'], ':
    - ', $txt['mboards_count_posts_desc'], '
    -
    -
    - -
    -
    -
    '; - - // Here the user can choose to force this board to use a theme other than the default theme for the forum. - echo ' -
    -
    -
    - ', $txt['mboards_theme'], ':
    - ', $txt['mboards_theme_desc'], '
    -
    -
    - -
    -
    -
    -
    -
    -
    - ', $txt['mboards_override_theme'], ':
    - ', $txt['mboards_override_theme_desc'], '
    -
    -
    - -
    -
    -
    '; - - if (!empty($context['board']['is_recycle'])) - echo '
    ', $txt['mboards_recycle_disabled_delete'], '
    '; - - echo ' - - '; - - // If this board has no children don't bother with the next confirmation screen. - if ($context['board']['no_children']) - echo ' - '; - - if (isset($context['board']['is_new'])) - echo ' - - '; - else - echo ' - '; - - if (!isset($context['board']['is_new']) && empty($context['board']['is_recycle'])) - echo ' - ' : '>', ''; - echo ' -
    - -
    -
    -
    -
    - -'; - - // Javascript for deciding what to show. - echo ' - '; -} - -// A template used when a user is deleting a board with child boards in it - to see what they want to do with them. -function template_confirm_board_delete() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Print table header. - echo ' -
    -
    - - -
    -

    ', $txt['mboards_delete_board'], '

    -
    -
    - -
    -

    ', $txt['mboards_delete_board_contains'], '

    -
      '; - - foreach ($context['children'] as $child) - echo ' -
    • ', $child['node']['name'], '
    • '; - - echo ' -
    -
    - -
    -
    -

    ', $txt['mboards_delete_what_do'], '

    -
    -
    - -
    -

    -
    - : - -

    - - - - -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageCalendar.template.php b/config/themes/default/ManageCalendar.template.php deleted file mode 100755 index 5bdf9a8..0000000 --- a/config/themes/default/ManageCalendar.template.php +++ /dev/null @@ -1,117 +0,0 @@ -'; - - // Show a form for all the holiday information. - echo ' -
    -
    -
    -

    ', $context['page_title'], '

    -
    -
    - -
    -
    -
    - ', $txt['holidays_title_label'], ': -
    -
    - -
    -
    - ', $txt['calendar_year'], ' -
    -
    -   - ', $txt['calendar_month'], '  -   - ', $txt['calendar_day'], '  - -
    -
    '; - - if ($context['is_new']) - echo ' - '; - else - echo ' - - - '; - echo ' - -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageItems.template.php b/config/themes/default/ManageItems.template.php deleted file mode 100755 index 54a5449..0000000 --- a/config/themes/default/ManageItems.template.php +++ /dev/null @@ -1,361 +0,0 @@ -'; - - echo '
    -

    ',$txt['manage_items_view_all'],'

    -
    '; - - - echo '
    - -
    -
    -
    - TODO -
    -
    - -
    -
    -
    - -
    '; - - echo ''; -} - -function template_add_new_item() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - - // If an error occurred while trying to save previously, give the user a clue! - if (!empty($context['post_errors'])) - { - echo ' -
    -
      '; - - // Cycle through each error and display an error message. - foreach ($context['post_errors'] as $error) - echo ' -
    • ', $error, '
    • '; - - echo ' -
    -
    '; - } - - - // If the profile was update successfully, let the user know this. - if (!empty($context['item_updated'])) - { - echo ' -
    - ', $context['item_updated'], ' -
    '; - } - - -// header -echo ' -
    '; -echo '
    -

    ',$txt['manage_items_add_new'],'

    -
    '; - -// start form -echo '
    - -
    -
    '; - -// item name -echo ' -
    - -
    -
    - -
    '; - -// item type -echo ' -
    - -
    -
    - -
    '; - - - -// equip slot -echo ' -
    - - ',$txt['admin_new_item_slot_desc'],' -
    -
    - -
    '; - - -// cost -echo ' -
    - - ',$txt['admin_new_item_cost_desc'],' -
    -
    - -
    '; - -// availability -echo ' -
    - - ',$txt['admin_new_item_availability_desc'],' -
    -
    -
    - -
    '; - - -foreach ($availabilities as $name => $value) { - echo ''; -} - - -echo ' - - -
    '; - - -// item icon -echo ' - -
    - - ',$txt['admin_new_item_icon_desc'],' - -
    -
    -
    - - -
    '; - - -// item image -displayImageAndLayerFields(0); - -displayImageAndLayerFields(1); - -displayImageAndLayerFields(2); - - -// submit button and end form -echo ' -
    -
    - -
    -
    - -
    '; - - echo '
    '; -} - - -function template_search_items() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    '; - - echo '
    -

    ',$txt['manage_items_search'],'

    -
    '; - - - echo '
    - -
    -
    -
    - TODO -
    -
    - -
    -
    -
    - -
    '; - - echo '
    '; -} - - -function displayImageAndLayerFields($index) -{ - global $txt; - - $secondary = false; - if ($index != 0) - { - $secondary = true; - } - - // file - echo ' - -
    - - - ', $secondary ? sprintf($txt['admin_new_item_img_desc_sec'], $index) : $txt['admin_new_item_img_desc'], ' - -
    -
    - - -
    '; - - - // layer - echo ' -
    - - ', $secondary ? sprintf($txt['admin_new_item_layer_desc_sec'], $index) : $txt['admin_new_item_layer_desc'],' -
    -
    -
    - -
    '; - -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageMail.template.php b/config/themes/default/ManageMail.template.php deleted file mode 100755 index 0f907c4..0000000 --- a/config/themes/default/ManageMail.template.php +++ /dev/null @@ -1,42 +0,0 @@ - -
    -

    ', $txt['mailqueue_stats'], '

    -
    -
    - -
    -
    -
    ', $txt['mailqueue_size'], '
    -
    ', $context['mail_queue_size'], '
    -
    ', $txt['mailqueue_oldest'], '
    -
    ', $context['oldest_mail'], '
    -
    -
    - -
    '; - - template_show_list('mail_queue'); - - echo ' - -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageMaintenance.template.php b/config/themes/default/ManageMaintenance.template.php deleted file mode 100755 index 7efafcb..0000000 --- a/config/themes/default/ManageMaintenance.template.php +++ /dev/null @@ -1,622 +0,0 @@ - - ', sprintf($txt['maintain_done'], $context['maintenance_finished']), ' - '; - - echo ' -
    -
    -

    ', $txt['maintain_optimize'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_optimize_info'], '

    - - -
    -
    - -
    - -
    -

    - ', $txt['help'], ' ', $txt['maintain_backup'], ' -

    -
    - -
    - -
    -
    -

    ', $txt['maintain_backup_info'], '

    '; - - if ($db_type == 'sqlite') - echo ' -

    '; - else - echo ' -


    -
    -

    -

    '; - - echo ' - -
    -
    - -
    '; - - // Show an option to convert to UTF-8 if we're not on UTF-8 yet. - if ($context['convert_utf8']) - { - echo ' -
    -

    ', $txt['utf8_title'], '

    -
    -
    - -
    -
    -

    ', $txt['utf8_introduction'], '

    - ', !empty($modSettings['search_index']) && $modSettings['search_index'] == 'fulltext' ? '

    ' . $txt['utf8_cannot_convert_fulltext'] . '

    ' : '', ' - - -
    -
    - -
    '; - } - - // We might want to convert entities if we're on UTF-8. - if ($context['convert_entities']) - { - echo ' -
    -

    ', $txt['entity_convert_title'], '

    -
    -
    - -
    -
    -

    ', $txt['entity_convert_introduction'], '

    - - -
    -
    - -
    '; - } - - echo ' -
    -
    '; -} - -// Template for the routine maintenance tasks. -function template_maintain_routine() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // If maintenance has finished tell the user. - if (!empty($context['maintenance_finished'])) - echo ' -
    - ', sprintf($txt['maintain_done'], $context['maintenance_finished']), ' -
    '; - - // Starts off with general maintenance procedures. - echo ' -
    -
    -

    ', $txt['maintain_version'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_version_info'], '

    - - -
    -
    - -
    -
    -

    ', $txt['maintain_errors'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_errors_info'], '

    - - -
    -
    - -
    -
    -

    ', $txt['maintain_recount'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_recount_info'], '

    - - -
    -
    - -
    -
    -

    ', $txt['maintain_logs'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_logs_info'], '

    - - -
    -
    - -
    -
    -

    ', $txt['maintain_cache'], '

    -
    -
    - -
    -
    -

    ', $txt['maintain_cache_info'], '

    - - -
    -
    - -
    -
    -
    '; -} - -// Template for the member maintenance tasks. -function template_maintain_members() -{ - global $context, $settings, $options, $txt, $scripturl; - - // If maintenance has finished tell the user. - if (!empty($context['maintenance_finished'])) - echo ' -
    - ', sprintf($txt['maintain_done'], $context['maintenance_finished']), ' -
    '; - - echo ' - -
    -
    -

    ', $txt['maintain_reattribute_posts'], '

    -
    -
    - -
    -
    -

    ', $txt['reattribute_guest_posts'], '

    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -

    - - -

    - - -
    -
    - -
    -
    -

    - - ', $txt['help'], ' ', $txt['maintain_members'], ' - -

    -
    -
    - -
    -
    -

    ', $txt['maintain_members_since1'], ' - ', $txt['maintain_members_since2'], ' ', $txt['maintain_members_since3'], '

    '; - - echo ' -

    + ', $txt['maintain_members_all'], '

    - - - -
    -
    - -
    -
    -
    - - - '; -} - -// Template for the topic maintenance tasks. -function template_maintain_topics() -{ - global $scripturl, $txt, $context, $settings, $modSettings; - - // If maintenance has finished tell the user. - if (!empty($context['maintenance_finished'])) - echo ' -
    - ', sprintf($txt['maintain_done'], $context['maintenance_finished']), ' -
    '; - - // Bit of javascript for showing which boards to prune in an otherwise hidden list. - echo ' - '; - - echo ' -
    -
    -

    ', $txt['maintain_old'], '

    -
    -
    - -
    -
    '; - - // The otherwise hidden "choose which boards to prune". - echo ' -

    - ', $txt['maintain_old_since_days1'], '', $txt['maintain_old_since_days2'], ' -

    -

    -
    -
    -
    -

    '; - - if (!empty($modSettings['enableStickyTopics'])) - echo ' -

    -
    -

    '; - - echo ' -

    - + ', $txt['maintain_old_all'], ' -

    - - - -
    -
    - -
    -
    -

    ', $txt['move_topics_maintenance'], '

    -
    -
    - -
    -
    -

    - - -

    - - -
    -
    - -
    -
    -
    '; -} - -// Simple template for showing results of our optimization... -function template_optimize() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['maintain_optimize'], '

    -
    -
    - -
    -

    - ', $txt['database_numb_tables'], '
    - ', $txt['database_optimize_attempt'], '
    '; - - // List each table being optimized... - foreach ($context['optimized_tables'] as $table) - echo ' - ', sprintf($txt['database_optimizing'], $table['name'], $table['data_freed']), '
    '; - - // How did we go? - echo ' -
    ', $context['num_tables_optimized'] == 0 ? $txt['database_already_optimized'] : $context['num_tables_optimized'] . ' ' . $txt['database_optimized']; - - echo ' -

    -

    ', $txt['maintain_return'], '

    -
    - -
    -
    -
    '; -} - -function template_convert_utf8() -{ - global $context, $txt, $settings, $scripturl; - - echo ' -
    -
    -

    ', $txt['utf8_title'], '

    -
    -
    - -
    -
    -

    ', $txt['utf8_introduction'], '

    -
    ', $txt['utf8_warning'], '
    - -
    -
    ', $txt['utf8_source_charset'], ':
    -
    -
    ', $txt['utf8_database_charset'], ':
    -
    ', $context['database_charset'], '
    -
    ', $txt['utf8_target_charset'], ':
    -
    ', $txt['utf8_utf8'], '
    -
    - - - -
    -
    - -
    -
    -
    '; -} - -function template_convert_entities() -{ - global $context, $txt, $settings, $scripturl; - - echo ' -
    -
    -

    ', $txt['entity_convert_title'], '

    -
    -
    - -
    -

    ', $txt['entity_convert_introduction'], '

    -
    - -
    -
    - -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageMembergroups.template.php b/config/themes/default/ManageMembergroups.template.php deleted file mode 100755 index 8065031..0000000 --- a/config/themes/default/ManageMembergroups.template.php +++ /dev/null @@ -1,610 +0,0 @@ -
    '; - template_show_list('post_count_membergroups_list'); - -} - -function template_new_group() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['membergroups_new_group'], '

    -
    -
    - -
    -
    -
    - -
    -
    - -
    '; - if ($context['undefined_group']) - { - echo ' -
    - -
    -
    -
    - ', $txt['membergroups_edit_select_group_type'], ' -
    '; - - if ($context['allow_protected']) - echo ' -
    '; - - echo ' -
    -
    -
    -
    -
    '; - } - - if ($context['post_group'] || $context['undefined_group']) - echo ' -
    - ', $txt['membergroups_min_posts'], ': -
    -
    - -
    '; - if (!$context['post_group'] || !empty($modSettings['permission_enable_postgroups'])) - { - echo ' -
    -
    - ', $txt['membergroups_can_edit_later'], ' -
    -
    -
    - ', $txt['membergroups_select_permission_type'], ' - - -
    - - - -
    - - - - -
    -
    '; - } - echo ' -
    - ', $txt['membergroups_new_board'], ':', $context['post_group'] ? '
    - ' . $txt['membergroups_new_board_post_groups'] . '' : '', ' -
    -
    -
    - ', $txt['membergroups_new_board_desc'], ''; - foreach ($context['boards'] as $board) - echo ' -
    '; - - echo ' -
    - -
    -
    -
    -
    - -
    -
    - -
    '; - if ($context['undefined_group']) - { - echo ' - '; - } - echo ' - -
    -
    -
    '; -} - -function template_edit_group() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -
    -

    ', $txt['membergroups_edit_group'], ' - ', $context['group']['name'], ' -

    -
    -
    - -
    -
    -
    - -
    -
    - -
    '; - - if ($context['group']['id'] != 3 && $context['group']['id'] != 4) - echo ' - -
    - -
    -
    - -
    '; - - // Group type... - if ($context['group']['allow_post_group']) - { - echo ' -
    - -
    -
    -
    - ', $txt['membergroups_edit_select_group_type'], ' -
    '; - - if ($context['group']['allow_protected']) - echo ' -
    '; - - echo ' -
    -
    -
    -
    -
    '; - } - - if ($context['group']['id'] != 3 && $context['group']['id'] != 4) - echo ' -
    - -
    -
    - -
    -
    -
    - -
    -
    - -
    '; - - // Can they inherit permissions? - if ($context['group']['id'] > 1 && $context['group']['id'] != 3) - { - echo ' -
    - :
    - ', $txt['membergroups_edit_inherit_permissions_desc'], ' -
    -
    - - -
    '; - } - - if ($context['group']['allow_post_group']) - echo ' - -
    - -
    -
    - -
    '; - echo ' -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - ', $txt['membergroups_star_image_note'], ' -
    -
    - ', $txt['membergroups_images_url'], ' - - * -
    -
    -
    - ', $txt['membergroups_max_messages_note'], ' -
    -
    - -
    '; - if (!empty($context['boards'])) - { - echo ' -
    - ', $txt['membergroups_new_board'], ':', $context['group']['is_post_group'] ? '
    - ' . $txt['membergroups_new_board_post_groups'] . '' : '', ' -
    -
    -
    - ', $txt['membergroups_new_board_desc'], ''; - foreach ($context['boards'] as $board) - echo ' -
    '; - - echo ' -
    - -
    - - -
    '; - } - echo ' -
    -
    - ', $context['group']['allow_delete'] ? ' - ' : '', ' -
    -
    - -
    - -
    -
    -
    - - '; - - if ($context['group']['allow_post_group']) - echo ' - '; -} - -// Templating for viewing the members of a group. -function template_group_members() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -
    -

    ', $context['page_title'], '

    -
    -
    - -
    -
    -
    - ', $txt['name'], ': -
    -
    - ', $context['group']['name'], ' ', $context['group']['stars'], ' -
    '; - //Any description to show? - if (!empty($context['group']['description'])) - echo ' -
    - ' . $txt['membergroups_members_description'] . ': -
    -
    - ', $context['group']['description'] ,' -
    '; - - echo ' -
    - ', $txt['membergroups_members_top'], ': -
    -
    - ', $context['total_members'] ,' -
    '; - // Any group moderators to show? - if (!empty($context['group']['moderators'])) - { - $moderators = array(); - foreach ($context['group']['moderators'] as $moderator) - $moderators[] = '' . $moderator['name'] . ''; - - echo ' -
    - ', $txt['membergroups_members_group_moderators'], ': -
    -
    - ', implode(', ', $moderators) ,' -
    '; - } - - echo ' -
    -
    - -
    - -
    -
    -

    ', $txt['membergroups_members_group_members'], '

    -
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    - - - - - - - - ', $txt['posts'], $context['sort_by'] == 'posts' ? ' ' : '', ''; - if (!empty($context['group']['assignable'])) - echo ' - '; - echo ' - - - '; - - if (empty($context['members'])) - echo ' - - - '; - - foreach ($context['members'] as $member) - { - echo ' - - - '; - - // Is it totally hidden? - if ($member['show_email'] == 'no') - echo ' - ', $txt['hidden'], ''; - // ... otherwise they want it hidden but it's not to this person? - elseif ($member['show_email'] == 'yes_permission_override') - echo ' - ', $member['email'], ''; - // ... otherwise it's visible - but only via an image? - elseif ($member['show_email'] == 'no_through_forum') - echo ' - ', ($settings['use_image_buttons'] ? '' . $txt['email'] . '' : $txt['email']), ''; - // ... otherwise it must be a 'yes', show it and show it fully. - else - echo ' - ', $member['email'], ''; - - echo ' - - - - ', $member['posts'], ''; - if (!empty($context['group']['assignable'])) - echo ' - '; - echo ' - '; - } - - echo ' - -
    ', $txt['name'], $context['sort_by'] == 'name' ? ' ' : '', '', $txt['email'], $context['sort_by'] == 'email' ? ' ' : '', '', $txt['membergroups_members_last_active'], $context['sort_by'] == 'active' ? ' ' : '', '', $txt['date_registered'], $context['sort_by'] == 'registered' ? ' ' : '', '
    ', $txt['membergroups_members_no_members'], '
    ', $member['name'], '', $member['last_online'], '', $member['registered'], '
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - if (!empty($context['group']['assignable'])) - echo ' -
    '; - echo ' -
    -
    '; - - if (!empty($context['group']['assignable'])) - { - echo ' -
    -

    ', $txt['membergroups_members_add_title'], '

    -
    -
    - -
    - ', $txt['membergroups_members_add_desc'], ': - -
    - -
    - -
    '; - } - - echo ' - -
    -
    -
    '; - - if (!empty($context['group']['assignable'])) - echo ' - - '; -} - -// Allow the moderator to enter a reason to each user being rejected. -function template_group_request_reason() -{ - global $settings, $options, $context, $txt, $scripturl; - - // Show a welcome message to the user. - echo ' -
    -
    -
    -

    ', $txt['mc_groups_reason_title'], '

    -
    -
    - -
    -
    '; - - // Loop through and print out a reason box for each... - foreach ($context['group_requests'] as $request) - echo ' -
    - ', sprintf($txt['mc_groupr_reason_desc'], $request['member_link'], $request['group_link']), ': -
    -
    - - -
    '; - - echo ' -
    - - - -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageMembers.template.php b/config/themes/default/ManageMembers.template.php deleted file mode 100755 index 5ac1daa..0000000 --- a/config/themes/default/ManageMembers.template.php +++ /dev/null @@ -1,332 +0,0 @@ - -
    -
    -

    - ', $txt['search_for'], ' - ', $txt['wild_cards_allowed'], ' -

    -
    - -
    - -
    -
    -
    -
    -
    - ', $txt['member_id'], ': - -
    -
    - -
    -
    - ', $txt['age'], ': - -
    -
    - -
    -
    - ', $txt['member_postcount'], ': - -
    -
    - -
    -
    - ', $txt['date_registered'], ': - -
    -
    - ', $txt['date_format'], ' -
    -
    - ', $txt['viewmembers_online'], ': - -
    -
    - ', $txt['date_format'], ' -
    -
    -
    -
    -
    -
    - ', $txt['username'], ': -
    -
    - -
    -
    - ', $txt['email_address'], ': -
    -
    - -
    -
    - ', $txt['website'], ': -
    -
    - -
    -
    - ', $txt['location'], ': -
    -
    - -
    -
    - ', $txt['ip_address'], ': -
    -
    - -
    -
    - ', $txt['messenger_address'], ': -
    -
    - -
    -
    -
    -
    -
    -
    -
    - ', $txt['gender'], ' -    -    - -
    -
    -
    -
    - ', $txt['activation_status'], ' -    - -
    -
    -
    -
    - -
    -
    -
    -

    ', $txt['member_part_of_these_membergroups'], '

    -
    -
    - - - - - - - - - '; - - foreach ($context['membergroups'] as $membergroup) - echo ' - - - - - '; - - echo ' - - - - - - -
    ', $txt['membergroups'], '', $txt['primary'], '', $txt['additional'], '
    ', $membergroup['name'], ' - - - ', $membergroup['can_be_additional'] ? '' : '', ' -
    - ', $txt['check_all'], ' - - - - -
    - - - - - - - - - '; - - foreach ($context['postgroups'] as $postgroup) - echo ' - - - - '; - - echo ' - - - - - -
    - ', $txt['membergroups_postgroups'], ' -  
    - ', $postgroup['name'], ' - - -
    - ', $txt['check_all'], ' - - -
    -

    -
    - -
    -
    - -
    '; -} - -function template_admin_browse() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    '; - - template_show_list('approve_list'); - - // If we have lots of outstanding members try and make the admin's life easier. - if ($context['approve_list']['total_num_items'] > 20) - { - echo ' -
    -
    -
    -

    ', $txt['admin_browse_outstanding'], '

    -
    - - -
    - -
    -
    -
    - ', $txt['admin_browse_outstanding_days_1'], ': -
    -
    - ', $txt['admin_browse_outstanding_days_2'], '. -
    -
    - ', $txt['admin_browse_outstanding_perform'], ': -
    -
    - -
    -
    - - - - - - ', !empty($context['approve_list']['sort']['desc']) ? ' - ' : '', ' -
    - -
    - -
    '; - } - - echo ' -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageNews.template.php b/config/themes/default/ManageNews.template.php deleted file mode 100755 index aa12029..0000000 --- a/config/themes/default/ManageNews.template.php +++ /dev/null @@ -1,355 +0,0 @@ - -
    - - - - - - - - - '; - - // Loop through all the current news items so you can edit/remove them. - foreach ($context['admin_current_news'] as $admin_news) - echo ' - - - '; - - // This provides an empty text box to add a news item to the site. - echo ' - - - - - - -
    ', $txt['admin_edit_news'], '', $txt['preview'], '
    - -
    -
    -
    ', $admin_news['parsed'], '
    -
    - -
    -
    - - - -
    -
    - -
    - -
    - -
    '; -} - -function template_email_members() -{ - global $context, $settings, $options, $txt, $scripturl; - - // This is some javascript for the simple/advanced toggling stuff. - echo ' - '; - - echo ' -
    -
    -
    -

    ', $txt['admin_newsletters'], '

    -
    -
    - ', $txt['admin_news_select_recipients'], ' -
    -
    - -
    -
    -
    - ', $txt['admin_news_select_group'], ':
    - ', $txt['admin_news_select_group_desc'], ' -
    -
    '; - - foreach ($context['groups'] as $group) - echo ' - (', $group['member_count'], ')
    '; - - echo ' -
    - '; - - echo ' -
    -

    -
    - -
    -
    - - - - -
    - - -
    -
    -
    -
    '; - - // Make the javascript stuff visible. - echo ' - - '; -} - -function template_email_members_compose() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    - ', $txt['help'], ' ', $txt['admin_newsletters'], ' -

    -
    -
    - ', $txt['email_variables'], ' -
    -
    - -
    -

    - -

    -

    - -

    -
      -
    • -
    • -
    • -
    -

    - -

    -
    - -
    - - - - '; - - foreach ($context['recipients'] as $key => $values) - echo ' - '; - - echo ' -
    -
    -
    '; -} - -function template_email_members_send() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    - ', $txt['help'], ' ', $txt['admin_newsletters'], ' -

    -
    -
    - -
    -

    - ', $context['percentage_done'], '% ', $txt['email_done'], ' -

    - - - - - - - - - - '; - - // All the things we must remember! - foreach ($context['recipients'] as $key => $values) - echo ' - '; - - echo ' -
    - -
    -
    -
    -
    - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManagePaid.template.php b/config/themes/default/ManagePaid.template.php deleted file mode 100755 index e69ba0b..0000000 --- a/config/themes/default/ManagePaid.template.php +++ /dev/null @@ -1,676 +0,0 @@ -'; - - echo ' -
    -
    -
    -

    ', $txt['paid_' . $context['action_type'] . '_subscription'], '

    -
    '; - - if (!empty($context['disable_groups'])) - echo ' -
    - ', $txt['paid_mod_edit_note'], ' -
    - '; - echo ' -
    - -
    -
    -
    - ', $txt['paid_mod_name'], ': -
    -
    - -
    -
    - ', $txt['paid_mod_desc'], ': -
    -
    - -
    -
    - : -
    -
    - -
    -
    - :
    ', $txt['paid_mod_active_desc'], ' -
    -
    - -
    -
    -
    -
    -
    - ', $txt['paid_mod_prim_group'], ':
    ', $txt['paid_mod_prim_group_desc'], ' -
    -
    - -
    -
    - ', $txt['paid_mod_add_groups'], ':
    ', $txt['paid_mod_add_groups_desc'], ' -
    -
    '; - - // Put a checkbox in for each group - foreach ($context['groups'] as $id => $name) - echo ' -
    '; - - echo ' -
    -
    - ', $txt['paid_mod_reminder'], ':
    ', $txt['paid_mod_reminder_desc'], ' -
    -
    - -
    -
    - ', $txt['paid_mod_email'], ':
    ', $txt['paid_mod_email_desc'], ' -
    -
    - -
    -
    -
    - - ', $txt['paid_mod_fixed_price'], ' -
    -
    -
    -
    -
    - ', $txt['paid_cost'], ' (', str_replace('%1.2f', '', $modSettings['paid_currency_symbol']), '): -
    -
    - -
    -
    - ', $txt['paid_mod_span'], ': -
    -
    - - -
    -
    -
    -
    - - ', $txt['paid_mod_flexible_price'], ' -
    -
    -
    '; - - //!! Removed until implemented - if (!empty($sdflsdhglsdjgs)) - echo ' -
    -
    - :
    ', $txt['paid_mod_allow_partial_desc'], ' -
    -
    - -
    -
    '; - - echo ' -
    - ', $txt['paid_mod_price_breakdown'], '
    - ', $txt['paid_mod_price_breakdown_desc'], ' -
    -
    -
    - ', $txt['paid_duration'], ' -
    -
    - ', $txt['paid_cost'], ' (', preg_replace('~%[df\.\d]+~', '', $modSettings['paid_currency_symbol']), ') -
    -
    - ', $txt['paid_per_day'], ': -
    -
    - -
    -
    - ', $txt['paid_per_week'], ': -
    -
    - -
    -
    - ', $txt['paid_per_month'], ': -
    -
    - -
    -
    - ', $txt['paid_per_year'], ': -
    -
    - -
    -
    -
    -
    -
    - - -
    -
    - -
    -
    -
    -
    '; - -} - -function template_delete_subscription() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['paid_delete_subscription'], '

    -
    -
    - -
    -

    ', $txt['paid_mod_delete_warning'], '

    - - - -
    - -
    -
    -
    -
    '; - -} - -// Add or edit an existing subscriber. -function template_modify_user_subscription() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Some quickly stolen javascript from Post, could do with being more efficient :) - echo ' - '; - - echo ' -
    -
    -
    -

    - ', $txt['paid_' . $context['action_type'] . '_subscription'], ' - ', $context['current_subscription']['name'], ' - ', empty($context['sub']['username']) ? '' : ' (' . $txt['user'] . ': ' . $context['sub']['username'] . ')', ' -

    -
    -
    - -
    -
    '; - - // Do we need a username? - if ($context['action_type'] == 'add') - echo ' - -
    - ', $txt['paid_username'], ':
    - ', $txt['one_username'], ' -
    -
    - -
    '; - - echo ' -
    - ', $txt['paid_status'], ': -
    -
    - -
    -
    -
    - ', $txt['start_date_and_time'], ' -   - ', (isset($txt['calendar_month']) ? $txt['calendar_month'] : $txt['calendar_month']), '  -   - ', (isset($txt['calendar_day']) ? $txt['calendar_day'] : $txt['calendar_day']), '  - - ', $txt['hour'], ': - ', $txt['minute'], ': -
    -
    - ', $txt['end_date_and_time'], ' -   - ', (isset($txt['calendar_month']) ? $txt['calendar_month'] : $txt['calendar_month']), '  -   - ', (isset($txt['calendar_day']) ? $txt['calendar_day'] : $txt['calendar_day']), '  - - ', $txt['hour'], ': - ', $txt['minute'], ': -
    - -
    - -
    - -
    - - '; - - if (!empty($context['pending_payments'])) - { - echo ' -
    -

    ', $txt['pending_payments'], '

    -
    -
    - ', $txt['pending_payments_desc'], ' -
    -
    -

    ', $txt['pending_payments_value'], '

    -
    -
    - -
    - -
    - -
    '; - } - - echo ' -
    -
    '; -} - -// Template for a user to edit/pick their subscriptions. -function template_user_subscription() -{ - global $context, $txt, $scripturl, $modSettings; - - echo ' - -
    '; -} - -// The "choose payment" dialog. -function template_choose_payment() -{ - global $context, $txt, $modSettings, $scripturl; - - echo ' - -
    '; -} - -// The "thank you" bit... -function template_paid_done() -{ - global $context, $txt, $modSettings, $scripturl; - - echo ' - -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManagePermissions.template.php b/config/themes/default/ManagePermissions.template.php deleted file mode 100755 index 569baca..0000000 --- a/config/themes/default/ManagePermissions.template.php +++ /dev/null @@ -1,1194 +0,0 @@ - - ', sprintf($txt['permission_cannot_edit'], $scripturl . '?action=admin;area=permissions;sa=profiles'), ' - '; - - echo ' -
    -
    '; - - if (!empty($context['profile'])) - echo ' -
    -

    ', $txt['permissions_for_profile'], ': "', $context['profile']['name'], '"

    -
    '; - - echo ' - - - - - '; - - if (empty($modSettings['permission_enable_deny'])) - echo ' - '; - else - echo ' - - '; - - echo ' - - - - - '; - - $alternate = false; - foreach ($context['groups'] as $group) - { - $alternate = !$alternate; - echo ' - - - '; - - if (empty($modSettings['permission_enable_deny'])) - echo ' - '; - else - echo ' - - '; - - echo ' - - - '; - } - - echo ' - -
    ', $txt['membergroups_name'], '', $txt['membergroups_members_top'], '', $txt['membergroups_permissions'], '', $txt['permissions_allowed'], '', $txt['permissions_denied'], '', $context['can_modify'] ? $txt['permissions_modify'] : $txt['permissions_view'], ' - ', $context['can_modify'] ? '' : '', ' -
    - ', $group['name'], $group['id'] == -1 ? ' (?)' : ($group['id'] == 0 ? ' (?)' : ($group['id'] == 1 ? ' (?)' : ($group['id'] == 3 ? ' (?)' : ''))); - - if (!empty($group['children'])) - echo ' -
    ', $txt['permissions_includes_inherited'], ': "', implode('", "', $group['children']), '"'; - - echo ' -
    ', $group['can_search'] ? $group['link'] : $group['num_members'], '', $group['num_permissions']['allowed'], '', $group['num_permissions']['allowed'], '', $group['num_permissions']['denied'], '', $group['allow_modify'] ? '' . ($context['can_modify'] ? $txt['permissions_modify'] : $txt['permissions_view']). '' : '', '', $group['allow_modify'] && $context['can_modify'] ? '' : '', '
    -
    '; - - // Advanced stuff... - if ($context['can_modify']) - { - echo ' -
    -

    - - * ', $txt['permissions_advanced_options'], ' - -

    -
    -
    - -
    -
    - ', $txt['permissions_with_selection'], ' -
    -
    - ', $txt['permissions_apply_pre_defined'], ' (?): -
    -
    - -
    -
    - ', $txt['permissions_like_group'], ': -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    '; - - // Javascript for the advanced stuff. - echo ' - '; - - if (!empty($context['profile'])) - echo ' - '; - - echo ' - '; - } - else - echo ' - '; - - echo ' -
    -
    -
    '; -} - -function template_by_board() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -

    ', $txt['permissions_boards'], '

    -
    -
    - ', $txt['permissions_boards_desc'], ' -
    -
    -

    - ', $txt['board_name'], ' - ', $txt['permission_profile'], ' -

    -
    '; - - if (!$context['edit_all']) - echo ' - '; - - foreach ($context['categories'] as $category) - { - echo ' -
    -

    ', $category['name'], '

    -
    '; - - if (!empty($category['boards'])) - echo ' -
    - -
    - -
    - -
    '; - } - - echo ' -
    '; - - if ($context['edit_all']) - echo ' - '; - else - echo ' - [', $txt['permissions_board_all'], ']'; - - echo ' - -
    -
    -
    '; -} - -// Edit permission profiles (predefined). -function template_edit_profiles() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['permissions_profile_edit'], '

    -
    - - - - - - - - - - '; - $alternate = false; - foreach ($context['profiles'] as $profile) - { - echo ' - - - - - '; - $alternate = !$alternate; - } - - echo ' - -
    ', $txt['permissions_profile_name'], '', $txt['permissions_profile_used_by'], '', $txt['delete'], '
    '; - - if (!empty($context['show_rename_boxes']) && $profile['can_edit']) - echo ' - '; - else - echo ' - ', $profile['name'], ''; - - echo ' - - ', !empty($profile['boards_text']) ? $profile['boards_text'] : $txt['permissions_profile_used_by_none'], ' - - -
    -
    - '; - - if ($context['can_edit_something']) - echo ' - '; - - echo ' - -
    -
    -
    -
    -
    -

    ', $txt['permissions_profile_new'], '

    -
    -
    - -
    -
    -
    - ', $txt['permissions_profile_name'], ': -
    -
    - -
    -
    - ', $txt['permissions_profile_copy_from'], ': -
    -
    - -
    -
    -
    - - -
    -
    - -
    -
    -
    -
    '; -} - -function template_modify_group() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Cannot be edited? - if (!$context['profile']['can_modify']) - { - echo ' -
    - ', sprintf($txt['permission_cannot_edit'], $scripturl . '?action=admin;area=permissions;sa=profiles'), ' -
    '; - } - else - { - echo ' - '; - } - - echo ' -
    -
    '; - - if (!empty($modSettings['permission_enable_deny']) && $context['group']['id'] != -1) - echo ' -
    - ', $txt['permissions_option_desc'], ' -
    '; - - echo ' -
    -

    '; - if ($context['permission_type'] == 'board') - echo ' - ', $txt['permissions_local_for'], ' "', $context['group']['name'], '" ', $txt['permissions_on'], ' "', $context['profile']['name'], '"'; - else - echo ' - ', $context['permission_type'] == 'membergroup' ? $txt['permissions_general'] : $txt['permissions_board'], ' - "', $context['group']['name'], '"'; - echo ' -

    -
    -
    - -
    - ', $txt['permissions_change_view'], ': ', ($context['view_type'] == 'simple' ? '*' : ''), '', $txt['permissions_view_simple'], ' | - ', ($context['view_type'] == 'classic' ? '*' : ''), '', $txt['permissions_view_classic'], ' -
    - -
    -
    '; - - // Draw out the main bits. - if ($context['view_type'] == 'simple') - template_modify_group_simple($context['permission_type']); - else - template_modify_group_classic($context['permission_type']); - - echo ' -
    '; - - // If this is general permissions also show the default profile. - if ($context['permission_type'] == 'membergroup') - { - echo ' -
    -
    -

    ', $txt['permissions_board'], '

    -
    -
    - ', $txt['permissions_board_desc'], ' -
    -
    '; - - if ($context['view_type'] == 'simple') - template_modify_group_simple('board'); - else - template_modify_group_classic('board'); - - echo ' -
    '; - } - - if ($context['profile']['can_modify']) - echo ' -
    - -
    '; - - echo ' - -
    -
    -
    '; - -} - -// A javascript enabled clean permissions view. -function template_modify_group_simple($type) -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Simple only has one column so we only need bother ourself with that one. - $permission_data = &$context['permissions'][$type]['columns'][0]; - - // Short cut for disabling fields we can't change. - $disable_field = $context['profile']['can_modify'] ? '' : 'disabled="disabled" '; - - echo ' - - - - '; - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - echo ' - - - '; - - foreach ($permission_data as $id_group => $permissionGroup) - { - if (empty($permissionGroup['permissions'])) - continue; - - // Are we likely to have something in this group to display or is it all hidden? - $has_display_content = false; - if (!$permissionGroup['hidden']) - { - // Before we go any further check we are going to have some data to print otherwise we just have a silly heading. - foreach ($permissionGroup['permissions'] as $permission) - if (!$permission['hidden']) - $has_display_content = true; - - if ($has_display_content) - { - echo ' - - '; - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - echo ' - '; - } - } - - $alternate = false; - foreach ($permissionGroup['permissions'] as $permission) - { - // If it's hidden keep the last value. - if ($permission['hidden'] || $permissionGroup['hidden']) - { - echo ' - - - '; - } - else - { - echo ' - - - '; - - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - - echo ' - '; - } - $alternate = !$alternate; - } - - if (!$permissionGroup['hidden'] && $has_display_content) - echo ' - - - '; - } - echo ' - -
     ', $txt['permissions_option_on'], '', $txt['permissions_option_off'], '', $txt['permissions_option_deny'], '
    - - * ', $permissionGroup['name'], ' - - -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    - -
    - ', $permission['help_index'] ? '' . $txt['help'] . '' : '', ' - ', $permission['name'], '
    - '; -} - -// The SMF 1.x way of looking at permissions. -function template_modify_group_classic($type) -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - $permission_type = &$context['permissions'][$type]; - $disable_field = $context['profile']['can_modify'] ? '' : 'disabled="disabled" '; - - echo ' -
    - -
    '; - - foreach ($permission_type['columns'] as $column) - { - echo ' - '; - - foreach ($column as $permissionGroup) - { - if (empty($permissionGroup['permissions'])) - continue; - - // Are we likely to have something in this group to display or is it all hidden? - $has_display_content = false; - if (!$permissionGroup['hidden']) - { - // Before we go any further check we are going to have some data to print otherwise we just have a silly heading. - foreach ($permissionGroup['permissions'] as $permission) - if (!$permission['hidden']) - $has_display_content = true; - - if ($has_display_content) - { - echo ' - - '; - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - echo ' - '; - } - } - - $alternate = false; - foreach ($permissionGroup['permissions'] as $permission) - { - // If it's hidden keep the last value. - if ($permission['hidden'] || $permissionGroup['hidden']) - { - echo ' - - - '; - } - else - { - echo ' - - '; - - if ($permission['has_own_any']) - { - echo ' - - '; - - // Guests can't do their own thing. - if ($context['group']['id'] != -1) - { - echo ' - - '; - - if (empty($modSettings['permission_enable_deny'])) - echo ' - '; - else - echo ' - - - '; - - echo ' - '; - } - - echo ' - - '; - - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - - echo ' - '; - } - else - { - echo ' - '; - - if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) - echo ' - '; - else - echo ' - - - '; - - echo ' - '; - } - } - $alternate = !$alternate; - } - - if (!$permissionGroup['hidden'] && $has_display_content) - echo ' - - - '; - } - echo ' -
    ', $permissionGroup['name'], '
    ', $txt['permissions_option_on'], '
    ', $txt['permissions_option_off'], '
    ', $txt['permissions_option_deny'], '
    '; - - if ($permission['has_own_any']) - { - // Guests can't have own permissions. - if ($context['group']['id'] != -1) - echo ' - '; - - echo ' - '; - } - else - echo ' - '; - echo ' -
    - ', $permission['show_help'] ? '' . $txt['help'] . '' : '', ' - ', $permission['name'], '
    ', $permission['own']['name'], ':
    ', $permission['any']['name'], ':
    ', $permission['name'], '
    '; - } - echo ' -
    -
    - -
    '; -} - -function template_inline_permissions() -{ - global $context, $settings, $options, $txt, $modSettings; - - echo ' -
    - ', $txt['avatar_select_permission'], ''; - if (empty($modSettings['permission_enable_deny'])) - echo ' -
      '; - else - echo ' -
      ', $txt['permissions_option_desc'], '
      -
      -
      - ', $txt['permissions_option_on'], ' - ', $txt['permissions_option_off'], ' - ', $txt['permissions_option_deny'], ' -
      -
      -
      '; - foreach ($context['member_groups'] as $group) - { - if (!empty($modSettings['permission_enable_deny'])) - echo ' -
      '; - else - echo ' -
    • '; - - if (empty($modSettings['permission_enable_deny'])) - echo ' - '; - else - echo ' - - - '; - - if (!empty($modSettings['permission_enable_deny'])) - echo ' -
    • -
      - ', $group['name'], ' -
      '; - else - echo ' - ', $group['name'], ' - '; - } - - if (empty($modSettings['permission_enable_deny'])) - echo ' -
    '; - else - echo ' - '; - - echo ' -
    - - - - '; -} - -// Edit post moderation permissions. -function template_postmod_permissions() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['permissions_post_moderation'], '

    -
    '; - - // Got advanced permissions - if so warn! - if (!empty($modSettings['permission_enable_deny'])) - echo ' -
    ', $txt['permissions_post_moderation_deny_note'], '
    '; - - echo ' -
    - ', $txt['permissions_post_moderation_select'], ': - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - '; - - foreach ($context['profile_groups'] as $group) - { - echo ' - - - - - - - - - - - - - - - '; - } - - echo ' - -
    - ', $txt['permissions_post_moderation_new_topics'], ' - - ', $txt['permissions_post_moderation_replies_own'], ' - - ', $txt['permissions_post_moderation_replies_any'], ' - - ', $txt['permissions_post_moderation_attachments'], ' -
    - ', $txt['permissions_post_moderation_group'], ' - ', $txt['permissions_post_moderation_allow'], '', $txt['permissions_post_moderation_moderate'], '', $txt['permissions_post_moderation_disallow'], '', $txt['permissions_post_moderation_allow'], '', $txt['permissions_post_moderation_moderate'], '', $txt['permissions_post_moderation_disallow'], '', $txt['permissions_post_moderation_allow'], '', $txt['permissions_post_moderation_moderate'], '', $txt['permissions_post_moderation_disallow'], '', $txt['permissions_post_moderation_allow'], '', $txt['permissions_post_moderation_moderate'], '', $txt['permissions_post_moderation_disallow'], '
    - ', $group['name'], ''; - if (!empty($group['children'])) - echo ' -
    ', $txt['permissions_includes_inherited'], ': "', implode('", "', $group['children']), '"'; - - echo ' -
    -
    - -
    -
    -

    - ', $txt['permissions_post_moderation_legend'], ':
    - ', $txt['permissions_post_moderation_allow'], ' - ', $txt['permissions_post_moderation_allow'], '
    - ', $txt['permissions_post_moderation_moderate'], ' - ', $txt['permissions_post_moderation_moderate'], '
    - ', $txt['permissions_post_moderation_disallow'], ' - ', $txt['permissions_post_moderation_disallow'], ' -

    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageScheduledTasks.template.php b/config/themes/default/ManageScheduledTasks.template.php deleted file mode 100755 index 511cbfd..0000000 --- a/config/themes/default/ManageScheduledTasks.template.php +++ /dev/null @@ -1,95 +0,0 @@ - - ', $txt['scheduled_tasks_were_run'], ' - '; - - template_show_list('scheduled_tasks'); -} - -// A template for, you guessed it, editing a task! -function template_edit_scheduled_tasks() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // Starts off with general maintenance procedures. - echo ' -
    -
    -
    -

    ', $txt['scheduled_task_edit'], '

    -
    -
    - ', sprintf($txt['scheduled_task_time_offset'], $context['server_time']), ' -
    -
    - -
    -
    -
    - ', $txt['scheduled_tasks_name'], ': -
    -
    - ', $context['task']['name'], '
    - ', $context['task']['desc'], ' -
    -
    - ', $txt['scheduled_task_edit_interval'], ': -
    -
    - ', $txt['scheduled_task_edit_repeat'], ' - - -
    -
    - ', $txt['scheduled_task_edit_start_time'], ':
    - ', $txt['scheduled_task_edit_start_time_desc'], ' -
    -
    - -
    -
    - ', $txt['scheduled_tasks_enabled'], ': -
    -
    - -
    -
    -
    - - -
    -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageSearch.template.php b/config/themes/default/ManageSearch.template.php deleted file mode 100755 index 6ed8f3f..0000000 --- a/config/themes/default/ManageSearch.template.php +++ /dev/null @@ -1,428 +0,0 @@ - -
    -
    -

    ', $txt['search_weights'], '

    -
    -
    - -
    -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_frequency'], ': -
    -
    - - ', $context['relative_weights']['search_weight_frequency'], '% -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_age'], ': -
    -
    - - ', $context['relative_weights']['search_weight_age'], '% -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_length'], ': -
    -
    - - ', $context['relative_weights']['search_weight_length'], '% -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_subject'], ': -
    -
    - - ', $context['relative_weights']['search_weight_subject'], '% -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_first_message'], ': -
    -
    - - ', $context['relative_weights']['search_weight_first_message'], '% -
    -
    - ', $txt['help'], ' - ', $txt['search_weight_sticky'], ': -
    -
    - - ', $context['relative_weights']['search_weight_sticky'], '% -
    -
    - ', $txt['search_weights_total'], ' -
    -
    - ', $context['relative_weights']['total'], ' - 100% -
    -
    - -
    -
    - -
    -
    - -
    - '; -} - -function template_select_search_method() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['search_method'], '

    -
    - -
    - -
    -
    - - '; - if (!empty($context['table_info'])) - echo ' -
    - ', $txt['search_method_messages_table_space'], ': -
    -
    - ', $context['table_info']['data_length'], ' -
    -
    - ', $txt['search_method_messages_index_space'], ': -
    -
    - ', $context['table_info']['index_length'], ' -
    '; - echo ' -
    - ', $context['double_index'] ? '
    - ' . $txt['search_double_index'] . '
    ' : '', ' -
    - ', $txt['search_index'], ' -
    -
    - ', $txt['search_index_none'], ' -
    '; - - if ($context['supports_fulltext']) - { - echo ' -
    - - ', $txt['search_method_fulltext_index'], ' -
    -
    - - '; - if (empty($context['fulltext_index']) && empty($context['cannot_create_fulltext'])) - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_no_index_exists'], ' [', $txt['search_method_fulltext_create'], ']'; - elseif (empty($context['fulltext_index']) && !empty($context['cannot_create_fulltext'])) - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_fulltext_cannot_create']; - else - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_index_already_exists'], ' [', $txt['search_method_fulltext_remove'], ']
    - ', $txt['search_index_size'], ': ', $context['table_info']['fulltext_length']; - echo ' -
    -
    '; - } - - echo ' -
    - - ', $txt['search_index_custom'], ' -
    -
    - '; - if ($context['custom_index']) - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_index_already_exists'], ' [', $txt['search_index_custom_remove'], ']
    - ', $txt['search_index_size'], ': ', $context['table_info']['custom_index_length']; - elseif ($context['partial_custom_index']) - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_index_partial'], ' [', $txt['search_index_custom_remove'], '] [', $txt['search_index_custom_resume'], ']
    - ', $txt['search_index_size'], ': ', $context['table_info']['custom_index_length']; - else - echo ' - ', $txt['search_index_label'], ': ', $txt['search_method_no_index_exists'], ' [', $txt['search_index_create_custom'], ']'; - echo ' -
    -
    '; - - foreach ($context['search_apis'] as $api) - { - if (empty($api['label']) || $api['has_template']) - continue; - - echo ' -
    - - ', $api['label'] ,' -
    '; - - if ($api['desc']) - echo ' -
    - ', $api['desc'], ' -
    '; - } - - echo ' -
    -
    -
    - ', $txt['search_method'], ' -
    - -
    -
    - - -
    -
    - -
    -
    -
    -
    '; -} - -function template_create_index() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -
    -

    ', $txt['search_create_index'], '

    -
    -
    - -
    -
    -
    - -
    -
    - -
    -
    - - -
    - -
    - -
    -
    -
    '; -} - -function template_create_index_progress() -{ - global $context, $settings, $options, $scripturl, $txt; - echo ' -
    -
    -
    -

    ', $txt['search_create_index'], '

    -
    -
    - -
    -

    - ', $txt['search_create_index_not_ready'], ' -

    -

    - ', $txt['search_create_index_progress'], ': ', $context['percentage'], '% -

    - -
    - -
    - - - - -
    -
    -
    - '; - -} - -function template_create_index_done() -{ - global $context, $settings, $options, $scripturl, $txt; - echo ' -
    -
    -

    ', $txt['search_create_index'], '

    -
    -
    - -
    -

    ', $txt['search_create_index_done'], '

    -

    - ', $txt['search_create_index_done_link'], ' -

    -
    - -
    -
    -
    '; -} - -// Add or edit a search engine spider. -function template_spider_edit() -{ - global $context, $settings, $options, $scripturl, $txt; - echo ' -
    -
    -
    -

    ', $context['page_title'], '

    -
    -
    - ', $txt['add_spider_desc'], ' -
    -
    - -
    -
    -
    - ', $txt['spider_name'], ':
    - ', $txt['spider_name_desc'], ' -
    -
    - -
    -
    - ', $txt['spider_agent'], ':
    - ', $txt['spider_agent_desc'], ' -
    -
    - -
    -
    - ', $txt['spider_ip_info'], ':
    - ', $txt['spider_ip_info_desc'], ' -
    -
    - -
    -
    - - -
    - -
    -
    -
    -
    '; -} - -// Show... spider... logs... -function template_show_spider_logs() -{ - global $context, $txt, $settings, $scripturl; - - echo ' -
    '; - - // Standard fields. - template_show_list('spider_logs'); - - echo ' -
    -
    -

    ', $txt['spider_logs_delete'], '

    -
    -
    -
    - -
    -

    - ', $txt['spider_logs_delete_older'], ' - - ', $txt['spider_logs_delete_day'], ' -

    - - -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ManageSmileys.template.php b/config/themes/default/ManageSmileys.template.php deleted file mode 100755 index ec7ad2e..0000000 --- a/config/themes/default/ManageSmileys.template.php +++ /dev/null @@ -1,583 +0,0 @@ -'; - - template_show_list('smiley_set_list'); - - echo ' -
    -
    -

    ', $txt['smiley_sets_latest'], '

    -
    -
    - -
    -
    ', $txt['smiley_sets_latest_fetch'], '
    -
    - -
    - -
    - '; - - if (empty($modSettings['disable_smf_js'])) - echo ' - '; - - echo ' - '; -} - -// Modifying a smiley set. -function template_modifyset() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    - ', $context['current_set']['is_new'] ? $txt['smiley_set_new'] : $txt['smiley_set_modify_existing'], ' -

    -
    '; - - // If this is an existing set, and there are still un-added smileys - offer an import opportunity. - if (!empty($context['current_set']['can_import'])) - { - echo ' -
    - ', $context['current_set']['can_import'] == 1 ? $txt['smiley_set_import_single'] : $txt['smiley_set_import_multiple'], ' ', $txt['here'], ' ', $context['current_set']['can_import'] == 1 ? $txt['smiley_set_to_import_single'] : $txt['smiley_set_to_import_multiple'], ' -
    '; - } - - echo ' -
    - -
    -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - ', $modSettings['smileys_url'], '/'; - if ($context['current_set']['id'] == 'default') - echo 'default'; - elseif (empty($context['smiley_set_dirs'])) - echo ' - '; - else - { - echo ' - '; - } - echo ' - /.. -
    -
    - : -
    -
    - -
    '; - - // If this is a new smiley set they have the option to import smileys already in the directory. - if ($context['current_set']['is_new'] && !empty($modSettings['smiley_enable'])) - echo ' -
    - : -
    -
    - -
    '; - - echo ' -
    - -
    - -
    - - -
    -
    -
    '; -} - -// Editing an individual smiley -function template_modifysmiley() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    ', $txt['smiley_modify_existing'], '

    -
    -
    - -
    -
    -
    - ', $txt['smiley_preview'], ': -
    -
    - (', $txt['smiley_preview_using'], ': ) -
    -
    - : -
    -
    - -
    -
    - : -
    -
    '; - if (empty($context['filenames'])) - echo ' - '; - else - { - echo ' - '; - } - echo ' -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    - - -
    - -
    - - -
    -
    -
    - '; -} - -// Adding a new smiley. -function template_addsmiley() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' - -
    -
    -
    -

    ', $txt['smileys_add_method'], '

    -
    -
    - -
    -
      -
    • - -
    • -
    • - -
    • -
    -
    -
    -
    -
    - -
    -
    - ', $txt['smiley_preview_using'], ': -
    -
    - : -
    -
    '; - if (empty($context['filenames'])) - echo ' - '; - else - { - echo ' - '; - } - - echo ' -
    -
    -
    - - - -
    - -
    -
    -
    -

    ', $txt['smiley_new'], '

    -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    - -
    - -
    - -
    -
    -
    - '; -} - -// Ordering smileys. -function template_setorder() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    '; - - foreach ($context['smileys'] as $location) - { - echo ' -
    -
    -

    ', $location['title'], '

    -
    -
    - ', $location['description'], ' -
    -
    - -
    - ', empty($context['move_smiley']) ? $txt['smileys_move_select_smiley'] : $txt['smileys_move_select_destination'], '...
    '; - foreach ($location['rows'] as $row) - { - if (!empty($context['move_smiley'])) - echo ' - ', $txt['smileys_move_here'], ''; - - foreach ($row as $smiley) - { - if (empty($context['move_smiley'])) - echo '', $smiley['description'], ''; - else - echo '', $smiley['description'], '', $txt['smileys_move_here'], ''; - } - - echo ' -
    '; - } - if (!empty($context['move_smiley'])) - echo ' - ', $txt['smileys_move_here'], ''; - echo ' -
    - -
    - -
    -
    '; - } - echo ' -
    -
    '; -} - -// Editing Message Icons -function template_editicons() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - template_show_list('message_icon_list'); -} - -// Editing an individual message icon -function template_editicon() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -
    -

    - ', $context['new_icon'] ? $txt['icons_new_icon'] : $txt['icons_edit_icon'], ' -

    -
    -
    - -
    -
    '; - if (!$context['new_icon']) - echo ' -
    - ', $txt['smiley_preview'], ': -
    -
    - ', $context['icon']['title'], ' -
    '; - echo ' -
    - :
    ', $txt['icons_filename_all_gif'], ' -
    -
    - -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    '; - - if (!$context['new_icon']) - echo ' - '; - - echo ' - - - -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Memberlist.template.php b/config/themes/default/Memberlist.template.php deleted file mode 100755 index 49e766d..0000000 --- a/config/themes/default/Memberlist.template.php +++ /dev/null @@ -1,232 +0,0 @@ - array('text' => 'view_all_members', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist' . ';sa=all', 'active'=> true), - 'mlist_search' => array('text' => 'mlist_search', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist' . ';sa=search'), - ); - - echo ' -
    -
    -

    - ', $txt['members_list'], ''; - if (!isset($context['old_search'])) - echo ' - ', $context['letter_links'], ''; - echo ' -

    -
    -
    - ', template_button_strip($memberlist_buttons, 'right'), ' - -
    '; - - echo ' -
    - - - - '; - - // Display each of the column headers of the table. - foreach ($context['columns'] as $column) - { - // We're not able (through the template) to sort the search results right now... - if (isset($context['old_search'])) - echo ' - '; - // This is a selected column, so underline it or some such. - elseif ($column['selected']) - echo ' - '; - // This is just some column... show the link and be done with it. - else - echo ' - '; - } - echo ' - - - '; - - // Assuming there are members loop through each one displaying their data. - if (!empty($context['members'])) - { - foreach ($context['members'] as $member) - { - - echo ' - - - - - - - '; - - if (!isset($context['disabled_fields']['website'])) - echo ' - '; - - // ICQ? - if (!isset($context['disabled_fields']['icq'])) - echo ' - '; - - // AIM? - if (!isset($context['disabled_fields']['aim'])) - echo ' - '; - - // YIM? - if (!isset($context['disabled_fields']['yim'])) - echo ' - '; - - // MSN? - if (!isset($context['disabled_fields']['msn'])) - echo ' - '; - - // Group and date. - echo ' - - '; - - if (!isset($context['disabled_fields']['posts'])) - { - echo ' - - '; - } - - echo ' - '; - } - } - // No members? - else - echo ' - - - '; - - // Show the page numbers again. (makes 'em easier to find!) - echo ' - -
    Avatar - ', $column['label'], ' - ' . $column['label'] . ' - ', $column['link'], '
    - - - - ', sprintf($txt['fish_avatar_img_alt'], $member['name']),' - - ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $member['online']['text'] . '' : $member['online']['label'], $context['can_send_pm'] ? '' : '', ' - ', $member['link'], '', $member['show_email'] == 'no' ? '' : '' . $txt['email'] . '', '', $member['website']['url'] != '' ? '' . $member['website']['title'] . '' : '', '', $member['icq']['link'], '', $member['aim']['link'], '', $member['yim']['link'], '', $member['msn']['link'], '', empty($member['group']) ? $member['post_group'] : $member['group'], '', $member['registered_date'], '', $member['posts'], ''; - - if (!empty($member['post_percent'])) - echo ' -
    -
    -
    '; - - echo ' -
    ', $txt['search_no_results'], '
    -
    '; - - echo ' -
    - '; - - // If it is displaying the result of a search show a "search again" link to edit their criteria. - if (isset($context['old_search'])) - echo ' - '; - echo ' -
    -
    '; - -} - -// A page allowing people to search the member list. -function template_search() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Build the memberlist button array. - $memberlist_buttons = array( - 'view_all_members' => array('text' => 'view_all_members', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist' . ';sa=all'), - 'mlist_search' => array('text' => 'mlist_search', 'image' => 'mlist.gif', 'lang' => true, 'url' => $scripturl . '?action=mlist' . ';sa=search', 'active' => true), - ); - - // Start the submission form for the search! - echo ' -
    -
    -
    -

    - ', !empty($settings['use_buttons']) ? '' : '', $txt['mlist_search'], ' -

    -
    -
    - ', template_button_strip($memberlist_buttons, 'right'), ' -
    '; - // Display the input boxes for the form. - echo ' -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/MessageIndex.template.php b/config/themes/default/MessageIndex.template.php deleted file mode 100755 index d7a55a6..0000000 --- a/config/themes/default/MessageIndex.template.php +++ /dev/null @@ -1,466 +0,0 @@ -'; - - if (!empty($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) - { - echo ' -
    -
    -

    ', $txt['parent_boards'], '

    -
    -
    - - '; - - foreach ($context['boards'] as $board) - { - echo ' - - - - - - '; - - // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) - if (!empty($board['children'])) - { - // Sort the links into an array with new boards bold so it can be imploded. - $children = array(); - /* Each child in each board's children has: - id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */ - foreach ($board['children'] as $child) - { - if (!$child['is_redirect']) - $child['link'] = '' . $child['name'] . ($child['new'] ? '' : '') . ''; - else - $child['link'] = '' . $child['name'] . ''; - - // Has it posts awaiting approval? - if ($child['can_approve_posts'] && ($child['unapproved_posts'] | $child['unapproved_topics'])) - $child['link'] .= ' (!)'; - - $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; - } - echo ' - '; - } - } - echo ' - -
    - '; - - // If the board or children is new, show an indicator. - if ($board['new'] || $board['children_new']) - echo ' - ', $txt['new_posts'], ''; - // Is it a redirection board? - elseif ($board['is_redirect']) - echo ' - *'; - // No new posts at all! The agony!! - else - echo ' - ', $txt['old_posts'], ''; - - echo ' - - - ', $board['name'], ''; - - // Has it outstanding posts for approval? - if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) - echo ' - (!)'; - - echo ' - -

    ', $board['description'] , '

    '; - - // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) - if (!empty($board['moderators'])) - echo ' -

    ', count($board['moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '

    '; - - // Show some basic information about the number of posts, etc. - echo ' -
    -

    ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
    - ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], ' -

    -
    '; - - /* The board's and children's 'last_post's have: - time, timestamp (a number that represents the time.), id (of the post), topic (topic id.), - link, href, subject, start (where they should go for the first unread post.), - and member. (which has id, name, link, href, username in it.) */ - if (!empty($board['last_post']['id'])) - echo ' -

    ', $txt['last_post'], ' ', $txt['by'], ' ', $board['last_post']['member']['link'], '
    - ', $txt['in'], ' ', $board['last_post']['link'], '
    - ', $txt['on'], ' ', $board['last_post']['time'],' -

    '; - - echo ' -
    ', $txt['parent_boards'], ': ', implode(', ', $children), '
    -
    -
    '; - } - - if (!empty($options['show_board_desc']) && $context['description'] != '') - echo ' -

    ', $context['description'], '

    '; - - // Create the button set... - $normal_buttons = array( - 'new_topic' => array('test' => 'can_post_new', 'text' => 'new_topic', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0', 'active' => true), - 'post_poll' => array('test' => 'can_post_poll', 'text' => 'new_poll', 'image' => 'new_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll'), - 'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : ''). 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');"', 'url' => $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']), - 'markread' => array('text' => 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;' . $context['session_var'] . '=' . $context['session_id']), - ); - - // They can only mark read if they are logged in and it's enabled! - if (!$context['user']['is_logged'] || !$settings['show_mark_read']) - unset($normal_buttons['markread']); - - // Allow adding new buttons easily. - call_integration_hook('integrate_messageindex_buttons', array(&$normal_buttons)); - - if (!$context['no_topic_listing']) - { - echo ' -
    - - ', template_button_strip($normal_buttons, 'right'), ' -
    '; - - // If Quick Moderation is enabled start the form. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' -
    '; - - echo ' -
    - - - '; - - // Are there actually any topics to show? - if (!empty($context['topics'])) - { - echo ' - - - '; - // Show a "select all" box for quick moderation? - if (empty($context['can_quick_mod'])) - echo ' - '; - else - echo ' - '; - - // Show a "select all" box for quick moderation? - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1) - echo ' - '; - - // If it's on in "image" mode, don't show anything but the column. - elseif (!empty($context['can_quick_mod'])) - echo ' - '; - } - // No topics.... just say, "sorry bub". - else - echo ' - - - '; - - echo ' - - - '; - - if (!empty($settings['display_who_viewing'])) - { - echo ' - - - '; - } - - // If this person can approve items and we have some awaiting approval tell them. - if (!empty($context['unapproved_posts_message'])) - { - echo ' - - - '; - } - - foreach ($context['topics'] as $topic) - { - // Is this topic pending approval, or does it have any posts pending approval? - if ($context['can_approve_posts'] && $topic['unapproved_posts']) - $color_class = !$topic['approved'] ? 'approvetbg' : 'approvebg'; - // We start with locked and sticky topics. - elseif ($topic['is_sticky'] && $topic['is_locked']) - $color_class = 'stickybg locked_sticky'; - // Sticky topics should get a different color, too. - elseif ($topic['is_sticky']) - $color_class = 'stickybg'; - // Locked topics get special treatment as well. - elseif ($topic['is_locked']) - $color_class = 'lockedbg'; - // Last, but not least: regular topics. - else - $color_class = 'windowbg'; - - // Some columns require a different shade of the color class. - $alternate_class = $color_class . '2'; - - echo ' - - - - - - '; - - // Show the quick moderation options? - if (!empty($context['can_quick_mod'])) - { - echo ' - '; - } - echo ' - '; - } - - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) - { - echo ' - - - '; - } - - echo ' - -
     ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' / ', $txt['started_by'], $context['sort_by'] == 'starter' ? ' ' : '', '', $txt['replies'], $context['sort_by'] == 'replies' ? ' ' : '', ' / ', $txt['views'], $context['sort_by'] == 'views' ? ' ' : '', '', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', '', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', '  ', $txt['msg_alert_none'], ' 
    '; - if ($settings['display_who_viewing'] == 1) - echo count($context['view_members']), ' ', count($context['view_members']) === 1 ? $txt['who_member'] : $txt['members']; - else - echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) or $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); - echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], ' -
    - ! ', $context['unapproved_posts_message'], ' -
    - - - - -
    - ', $topic['is_sticky'] ? '' : '', '', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '', $topic['is_sticky'] ? '' : ''; - - // Is this topic new? (assuming they are logged in!) - if ($topic['new'] && $context['user']['is_logged']) - echo ' - ', $txt['new'], ''; - - echo ' -

    ', $txt['started_by'], ' ', $topic['first_post']['member']['link'], ' - ', $topic['pages'], ' -

    -
    -
    - ', $topic['replies'], ' ', $txt['replies'], ' -
    - ', $topic['views'], ' ', $txt['views'], ' -
    - ', $txt['last_post'], ' - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    '; - if ($options['display_quick_mod'] == 1) - echo ' - '; - else - { - // Check permissions on each and show only the ones they are allowed to use. - if ($topic['quick_mod']['remove']) - echo '', $txt['remove_topic'], ''; - - if ($topic['quick_mod']['lock']) - echo '', $txt['set_lock'], ''; - - if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) - echo '
    '; - - if ($topic['quick_mod']['sticky']) - echo '', $txt['set_sticky'], ''; - - if ($topic['quick_mod']['move']) - echo '', $txt['move_topic'], ''; - } - echo ' -
    - '; - - // Show a list of boards they can move the topic to. - if ($context['can_move']) - { - echo ' - '; - } - - echo ' - -
    -
    - '; - - // Finish off the form - again. - if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] > 0 && !empty($context['topics'])) - echo ' - -
    '; - - echo ' -
    - ', template_button_strip($normal_buttons, 'right'), ' - -
    '; - } - - // Show breadcrumbs at the bottom too. - theme_linktree(); - - echo ' -
    -
    -

     

    '; - - if (!$context['no_topic_listing']) - echo ' -

    ', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? ' - ' . $txt['participation_caption'] . '
    ' : '', ' - ' . $txt['normal_topic'] . '
    - ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '
    - ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . ' -

    -

    - ' . $txt['locked_topic'] . '
    ' . ($modSettings['enableStickyTopics'] == '1' ? ' - ' . $txt['sticky_topic'] . '
    ' : '') . ($modSettings['pollMode'] == '1' ? ' - ' . $txt['poll'] : '') . ' -

    '; - - echo ' - -
    -
    -
    '; - - // Javascript for inline editing. - echo ' - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/default/ModerationCenter.template.php b/config/themes/default/ModerationCenter.template.php deleted file mode 100755 index 28d13d9..0000000 --- a/config/themes/default/ModerationCenter.template.php +++ /dev/null @@ -1,860 +0,0 @@ - -
    -

    ', $txt['moderation_center'], '

    -
    -
    - ', $txt['hello_guest'], ' ', $context['user']['name'], '! -

    - ', $txt['mc_description'], ' -

    - -
    '; - - $alternate = true; - // Show all the blocks they want to see. - foreach ($context['mod_blocks'] as $block) - { - $block_function = 'template_' . $block; - - echo ' -
    ', function_exists($block_function) ? $block_function() : '', '
    '; - - if (!$alternate) - echo ' -
    '; - - $alternate = !$alternate; - } - - echo ' - -
    '; -} - -function template_latest_news() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' -
    -

    - ', $txt['help'], ' ', $txt['mc_latest_news'], ' -

    -
    -
    - -
    -
    ', $txt['mc_cannot_connect_sm'], '
    -
    - -
    '; - - // This requires a lot of javascript... - //!!! Put this in it's own file!! - echo ' - - - - '; - -} - -// Show all the group requests the user can see. -function template_group_requests_block() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' - -
    - -
    -
      '; - - foreach ($context['group_requests'] as $request) - echo ' -
    • - ', $request['group']['name'], ' ', $txt['mc_groupr_by'], ' ', $request['member']['link'], ' -
    • '; - - // Don't have any watched users right now? - if (empty($context['group_requests'])) - echo ' -
    • - ', $txt['mc_group_requests_none'], ' -
    • '; - - echo ' -
    -
    - -
    '; -} - -// A block to show the current top reported posts. -function template_reported_posts_block() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' - -
    - -
    -
      '; - - foreach ($context['reported_posts'] as $report) - echo ' -
    • - ', $report['subject'], ' ', $txt['mc_reportedp_by'], ' ', $report['author']['link'], ' -
    • '; - - // Don't have any watched users right now? - if (empty($context['reported_posts'])) - echo ' -
    • - ', $txt['mc_recent_reports_none'], ' -
    • '; - - echo ' -
    -
    - -
    '; -} - -function template_watched_users() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' - -
    - -
    -
      '; - - foreach ($context['watched_users'] as $user) - echo ' -
    • - ', sprintf(!empty($user['last_login']) ? $txt['mc_seen'] : $txt['mc_seen_never'], $user['link'], $user['last_login']), ' -
    • '; - - // Don't have any watched users right now? - if (empty($context['watched_users'])) - echo ' -
    • - ', $txt['mc_watched_users_none'], ' -
    • '; - - echo ' -
    -
    - -
    '; -} - -// Little section for making... notes. -function template_notes() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['mc_notes'], '

    -
    -
    - -
    '; - - if (!empty($context['notes'])) - { - echo ' -
      '; - - // Cycle through the notes. - foreach ($context['notes'] as $note) - echo ' -
    • ', $note['author']['link'], ': ', $note['text'], '
    • '; - - echo ' -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - } - - echo ' -
    - -
    -
    - -
    -
    -
    - -
    - -
    '; -} - -function template_reported_posts() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' -
    -
    -

    - ', $context['view_closed'] ? $txt['mc_reportedp_closed'] : $txt['mc_reportedp_active'], ' -

    -
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
    '; - - // Make the buttons. - $close_button = create_button('close.gif', $context['view_closed'] ? 'mc_reportedp_open' : 'mc_reportedp_close', $context['view_closed'] ? 'mc_reportedp_open' : 'mc_reportedp_close', 'align="middle"'); - $details_button = create_button('details.gif', 'mc_reportedp_details', 'mc_reportedp_details', 'align="middle"'); - $ignore_button = create_button('ignore.gif', 'mc_reportedp_ignore', 'mc_reportedp_ignore', 'align="middle"'); - $unignore_button = create_button('ignore.gif', 'mc_reportedp_unignore', 'mc_reportedp_unignore', 'align="middle"'); - - foreach ($context['reports'] as $report) - { - echo ' -
    - -
    -
    -
    - ', $report['subject'], ' ', $txt['mc_reportedp_by'], ' ', $report['author']['link'], ' -
    - -

    -
    - « ', $txt['mc_reportedp_last_reported'], ': ', $report['last_updated'], ' »
    '; - - // Prepare the comments... - $comments = array(); - foreach ($report['comments'] as $comment) - $comments[$comment['member']['id']] = $comment['member']['link']; - - echo ' - « ', $txt['mc_reportedp_reported_by'], ': ', implode(', ', $comments), ' » -
    -
    - ', $report['body'], ' -
    - -
    '; - } - - // Were none found? - if (empty($context['reports'])) - echo ' -
    - -
    -

    ', $txt['mc_reportedp_none_found'], '

    -
    - -
    '; - - echo ' -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    -
    - ', !$context['view_closed'] ? '' : '', ' -
    -
    - -
    -
    '; -} - -// Show a list of all the unapproved posts -function template_unapproved_posts() -{ - global $settings, $options, $context, $txt, $scripturl; - - // Just a big table of it all really... - echo ' -
    -
    -
    -

    ', $txt['mc_unapproved_posts'], '

    -
    '; - - // Make up some buttons - $approve_button = create_button('approve.gif', 'approve', 'approve', 'align="middle"'); - $remove_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"'); - - // No posts? - if (empty($context['unapproved_items'])) - echo ' -
    - -
    -

    ', $txt['mc_unapproved_' . $context['current_view'] . '_none_found'], '

    -
    - -
    '; - else - echo ' -
    - -
    '; - - foreach ($context['unapproved_items'] as $item) - { - echo ' -
    -

    - ', $item['counter'], '  - ', $item['category']['name'], ' / ', $item['board']['name'], ' / ', $item['subject'], ' - ', $txt['mc_unapproved_by'], ' ', $item['poster']['link'], ' ', $txt['on'], ': ', $item['time'], ' -

    -
    -
    - -
    -
    ', $item['body'], '
    - - ', $approve_button, ''; - - if ($item['can_delete']) - echo ' - ', $context['menu_separator'], ' - ', $remove_button, ''; - - echo ' - '; - - echo ' - -
    -
    - -
    '; - } - - echo ' -
    -
    - - -
    '; - - if (!empty($context['unapproved_items'])) - echo ' -
    - -
    '; - - echo ' -
    - -
    -
    -
    '; -} - -// List all attachments awaiting approval. -function template_unapproved_attachments() -{ - global $settings, $options, $context, $txt, $scripturl; - - // Show all the attachments still oustanding. - echo ' -
    -
    -
    -

    ', $txt['mc_unapproved_attachments'], '

    -
    '; - - // The ever popular approve button, with the massively unpopular delete. - $approve_button = create_button('approve.gif', 'approve', 'approve', 'align="middle"'); - $remove_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"'); - - // None awaiting? - if (empty($context['unapproved_items'])) - echo ' -
    - -
    -

    ', $txt['mc_unapproved_attachments_none_found'], '

    -
    - -
    '; - else - echo ' -
    - -
    - - - - - - - - - - - '; - - foreach ($context['unapproved_items'] as $item) - { - echo ' - - - - - - - '; - } - - if (!empty($context['unapproved_items'])) - echo ' - -
    ', $txt['mc_unapproved_attach_name'], '', $txt['mc_unapproved_attach_size'], '', $txt['mc_unapproved_attach_poster'], '', $txt['date'], '
    - ', $item['filename'], ' - - ', $item['size'], $txt['kilobyte'], ' - - ', $item['poster']['link'], ' - - ', $item['time'], '
    ', $txt['in'], ' ', $item['message']['subject'], ' -
    - -
    '; - - echo ' -
    -
    - - -
    '; - - if (!empty($context['unapproved_items'])) - echo ' -
    - -
    '; - - echo ' -
    - -
    -
    -
    '; -} - -function template_viewmodreport() -{ - global $context, $scripturl, $txt; - - echo ' -
    -
    -
    -

    - ', sprintf($txt['mc_viewmodreport'], $context['report']['message_link'], $context['report']['author']['link']), ' -

    -
    -
    -

    - - ', sprintf($txt['mc_modreport_summary'], $context['report']['num_reports'], $context['report']['last_updated']), ' - - '; - - // Make the buttons. - $close_button = create_button('close.gif', $context['report']['closed'] ? 'mc_reportedp_open' : 'mc_reportedp_close', $context['report']['closed'] ? 'mc_reportedp_open' : 'mc_reportedp_close', 'align="middle"'); - $ignore_button = create_button('ignore.gif', 'mc_reportedp_ignore', 'mc_reportedp_ignore', 'align="middle"'); - $unignore_button = create_button('ignore.gif', 'mc_reportedp_unignore', 'mc_reportedp_unignore', 'align="middle"'); - - echo ' - ', $context['report']['ignore'] ? $unignore_button : $ignore_button, ' - ', $close_button, ' - -

    -
    -
    - -
    - ', $context['report']['body'], ' -
    - -
    -
    -
    -

    ', $txt['mc_modreport_whoreported_title'], '

    -
    '; - - foreach ($context['report']['comments'] as $comment) - echo ' -
    - -
    -

    ', sprintf($txt['mc_modreport_whoreported_data'], $comment['member']['link'] . (empty($comment['member']['id']) && !empty($comment['member']['ip']) ? ' (' . $comment['member']['ip'] . ')' : ''), $comment['time']), '

    -

    ', $comment['message'], '

    -
    - -
    '; - - echo ' -
    -
    -

    ', $txt['mc_modreport_mod_comments'], '

    -
    -
    - -
    '; - - if (empty($context['report']['mod_comments'])) - echo ' -

    ', $txt['mc_modreport_no_mod_comment'], '

    '; - - foreach ($context['report']['mod_comments'] as $comment) - echo - '

    ', $comment['member']['link'], ': ', $comment['message'], ' (', $comment['time'], ')

    '; - - echo ' - -
    - -
    -
    - -
    -
    '; - - $alt = false; - - template_show_list('moderation_actions_list'); - - if (!empty($context['entries'])) - { - echo ' -
    -

    ', $txt['mc_modreport_modactions'], '

    -
    - - - - - - - - - - - '; - - foreach ($context['entries'] as $entry) - { - echo ' - - - - - - - - - - '; - } - echo ' - -
    ', $txt['modlog_action'], '', $txt['modlog_date'], '', $txt['modlog_member'], '', $txt['modlog_position'], '', $txt['modlog_ip'], '
    ', $entry['action'], '', $entry['time'], '', $entry['moderator']['link'], '', $entry['position'], '', $entry['ip'], '
    '; - - foreach ($entry['extra'] as $key => $value) - echo ' - ', $key, ': ', $value; - echo ' -
    '; - } - - echo ' - -
    -
    -
    '; -} - -// Callback function for showing a watched users post in the table. -function template_user_watch_post_callback($post) -{ - global $scripturl, $context, $txt, $delete_button; - - // We'll have a delete please bob. - if (empty($delete_button)) - $delete_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"'); - - $output_html = ' -
    -
    - ' . $post['subject'] . ' ' . $txt['mc_reportedp_by'] . ' ' . $post['author_link'] . ' -
    -
    '; - - if ($post['can_delete']) - $output_html .= ' - ' . $delete_button . ' - '; - - $output_html .= ' -
    -

    -
    - « ' . $txt['mc_watched_users_posted'] . ': ' . $post['poster_time'] . ' » -
    -
    - ' . $post['body']; - - return $output_html; -} - -// Moderation settings -function template_moderation_settings() -{ - global $settings, $options, $context, $txt, $scripturl; - - echo ' -
    -
    -
    -

    ', $txt['mc_prefs_title'], '

    -
    -
    - ', $txt['mc_prefs_desc'], ' -
    -
    - -
    -
    -
    - ', $txt['mc_prefs_homepage'], ': -
    -
    '; - - foreach ($context['homepage_blocks'] as $k => $v) - echo ' -
    '; - - echo ' -
    '; - - // If they can moderate boards they have more options! - if ($context['can_moderate_boards']) - { - echo ' -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    '; - - } - - if ($context['can_moderate_approvals']) - { - echo ' - -
    - : -
    -
    - -
    '; - } - - echo ' -
    -
    - - -
    -
    - -
    -
    -
    -
    '; -} - -// Show a notice sent to a user. -function template_show_notice() -{ - global $txt, $settings, $options, $context; - - // We do all the HTML for this one! - echo ' - - - - ', $context['page_title'], ' - - - -
    -

    ', $txt['show_notice'], '

    -
    -
    -

    ', $txt['show_notice_subject'], ': ', $context['notice_subject'], '

    -
    -
    - -
    -
    -
    - ', $txt['show_notice_text'], ': -
    -
    - ', $context['notice_body'], ' -
    -
    -
    - -
    - -'; - -} - -// Add or edit a warning template. -function template_warn_template() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    ', $context['page_title'], '

    -
    -
    - ', $txt['mc_warning_template_desc'], ' -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    - :
    - ', $txt['mc_warning_template_body_desc'], ' -
    -
    - -
    -
    '; - - if ($context['template_data']['can_edit_personal']) - echo ' - - -
    - ', $txt['mc_warning_template_personal_desc'], ' -
    '; - - echo ' - -
    - -
    - -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/MoveTopic.template.php b/config/themes/default/MoveTopic.template.php deleted file mode 100755 index 6603912..0000000 --- a/config/themes/default/MoveTopic.template.php +++ /dev/null @@ -1,92 +0,0 @@ - -
    -
    -

    ', $txt['move_topic'], '

    -
    -
    - -
    -
    -
    -
    - ', $txt['move_to'], ': -
    -
    - -
    '; - - // Disable the reason textarea when the postRedirect checkbox is unchecked... - echo ' -
    -
    - - -
    -
    -
    - ', $txt['moved_why'], ' -
    -
    - -
    -
    -
    -
    - -
    -
    -
    - -
    '; - - if ($context['back_to_topic']) - echo ' - '; - - echo ' - - -
    - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Notify.template.php b/config/themes/default/Notify.template.php deleted file mode 100755 index b397355..0000000 --- a/config/themes/default/Notify.template.php +++ /dev/null @@ -1,53 +0,0 @@ - -

    - ', $txt['notify'], ' -

    - - -
    -

    ', $context['notification_set'] ? $txt['notify_deactivate'] : $txt['notify_request'], '

    -

    - ', $txt['yes'], ' - ', $txt['no'], ' -

    -
    - '; -} - -function template_notify_board() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -

    - ', $txt['notify'], ' -

    -
    - -
    -

    ', $context['notification_set'] ? $txt['notifyboard_turnoff'] : $txt['notifyboard_turnon'], '

    -

    - ', $txt['yes'], ' - ', $txt['no'], ' -

    -
    - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Packages.template.php b/config/themes/default/Packages.template.php deleted file mode 100755 index ea6ebd7..0000000 --- a/config/themes/default/Packages.template.php +++ /dev/null @@ -1,2142 +0,0 @@ - -
    -

    ', $txt[($context['uninstalling'] ? 'un' : '') . 'install_mod'], '

    -
    -
    '; - - if ($context['is_installed']) - echo ' - ', $txt['package_installed_warning1'], '
    -
    - ', $txt['package_installed_warning2'], '
    -
    '; - - echo $txt['package_installed_warning3'], ' -
    '; - - // Do errors exist in the install? If so light them up like a christmas tree. - if ($context['has_failure']) - { - echo ' -
    - ', $txt['package_will_fail_title'], '
    - ', $txt['package_will_fail_warning'], ' -
    '; - } - - if (isset($context['package_readme'])) - { - echo ' -
    -

    ', $txt['package_' . ($context['uninstalling'] ? 'un' : '') . 'install_readme'], '

    -
    -
    - -
    - ', $context['package_readme'], ' - ', $txt['package_available_readme_language'], ' - - -
    - -
    -
    '; - } - - echo ' -
    -
    -

    - ', $context['uninstalling'] ? $txt['package_uninstall_actions'] : $txt['package_install_actions'], ' "', $context['package_name'], '" -

    -
    '; - - // Are there data changes to be removed? - if ($context['uninstalling'] && !empty($context['database_changes'])) - { - echo ' -
    - -
    - [', $txt['package_db_uninstall_details'], '] -
    - ', $txt['package_db_uninstall_actions'], ': -
      '; - - foreach ($context['database_changes'] as $change) - echo ' -
    • ', $change, '
    • '; - echo ' -
    -
    -
    - -
    '; - } - - echo ' -
    '; - - if (empty($context['actions']) && empty($context['database_changes'])) - echo ' - ', $txt['corrupt_compatible'], ' -
    '; - else - { - echo ' - ', $txt['perform_actions'], ' - - - - - - - - - - - - '; - - $alternate = true; - $i = 1; - $action_num = 1; - $js_operations = array(); - foreach ($context['actions'] as $packageaction) - { - // Did we pass or fail? Need to now for later on. - $js_operations[$action_num] = isset($packageaction['failed']) ? $packageaction['failed'] : 0; - - echo ' - - - - - - - '; - - // Is there water on the knee? Operation! - if (isset($packageaction['operations'])) - { - echo ' - - - '; - - // Increase it. - $action_num++; - } - $alternate = !$alternate; - } - echo ' - -
    ', $txt['package_install_type'], '', $txt['package_install_action'], '', $txt['package_install_desc'], '
    ', isset($packageaction['operations']) ? '' : '', '', $i++, '.', $packageaction['type'], '', $packageaction['action'], '', $packageaction['description'], '
    - '; - - // Show the operations. - $alternate2 = true; - $operation_num = 1; - foreach ($packageaction['operations'] as $operation) - { - // Determine the position text. - $operation_text = $operation['position'] == 'replace' ? 'operation_replace' : ($operation['position'] == 'before' ? 'operation_after' : 'operation_before'); - - echo ' - - - - - - - - '; - - $operation_num++; - $alternate2 = !$alternate2; - } - - echo ' -
    ', $operation_num, '.', $txt[$operation_text], '', $operation['action'], '', $operation['description'], !empty($operation['ignore_failure']) ? ' (' . $txt['operation_ignore'] . ')' : '', '
    -
    - '; - - // What if we have custom themes we can install into? List them too! - if (!empty($context['theme_actions'])) - { - echo ' -
    -
    -

    - ', $context['uninstalling'] ? $txt['package_other_themes_uninstall'] : $txt['package_other_themes'], ' -

    -
    -
    -
    - ', $txt['package_other_themes_desc'], ' -
    - '; - - // Loop through each theme and display it's name, and then it's details. - foreach ($context['theme_actions'] as $id => $theme) - { - // Pass? - $js_operations[$action_num] = !empty($theme['has_failure']); - - echo ' - - - - - '; - - foreach ($theme['actions'] as $action) - { - echo ' - - - - - - - '; - - // Is there water on the knee? Operation! - if (isset($action['operations'])) - { - echo ' - - - '; - - // Increase it. - $action_num++; - } - } - - $alternate = !$alternate; - } - - echo ' -
    '; - if (!empty($context['themes_locked'])) - echo ' - '; - echo ' - - - ', $theme['name'], ' -
    ', isset($packageaction['operations']) ? '' : '', ' - - ', $action['type'], '', $action['action'], '', $action['description'], '
    - '; - - $alternate2 = true; - $operation_num = 1; - foreach ($action['operations'] as $operation) - { - // Determine the possition text. - $operation_text = $operation['position'] == 'replace' ? 'operation_replace' : ($operation['position'] == 'before' ? 'operation_after' : 'operation_before'); - - echo ' - - - - - - - - '; - $operation_num++; - $alternate2 = !$alternate2; - } - - echo ' -
    ', $operation_num, '.', $txt[$operation_text], '', $operation['action'], '', $operation['description'], !empty($operation['ignore_failure']) ? ' (' . $txt['operation_ignore'] . ')' : '', '
    -
    -
    '; - } - } - - // Are we effectively ready to install? - if (!$context['ftp_needed'] && (!empty($context['actions']) || !empty($context['database_changes']))) - { - echo ' -
    - -
    '; - } - // If we need ftp information then demand it! - elseif ($context['ftp_needed']) - { - echo ' -
    -

    ', $txt['package_ftp_necessary'], '

    -
    -
    - ', template_control_chmod(), ' -
    '; - } - echo ' - - ', (isset($context['form_sequence_number']) && !$context['ftp_needed']) ? ' - ' : '', ' -
    - -
    '; - - // Toggle options. - echo ' - '; - - // And a bit more for database changes. - if (!empty($context['database_changes'])) - echo ' - '; -} -function template_extract_package() -{ - global $context, $settings, $options, $txt, $scripturl; - - if (!empty($context['redirect_url'])) - { - echo ' - '; - } - - echo ' -
    '; - - if (empty($context['redirect_url'])) - { - echo ' -
    -

    ', $context['uninstalling'] ? $txt['uninstall'] : $txt['extracting'], '

    -
    -
    ', $txt['package_installed_extract'], '
    '; - } - else - echo ' -
    -

    ', $txt['package_installed_redirecting'], '

    -
    '; - - echo ' -
    - -
    '; - - // If we are going to redirect we have a slightly different agenda. - if (!empty($context['redirect_url'])) - { - echo ' - ', $context['redirect_text'], '

    - ', $txt['package_installed_redirect_go_now'], ' | ', $txt['package_installed_redirect_cancel'], ''; - } - elseif ($context['uninstalling']) - echo ' - ', $txt['package_uninstall_done']; - elseif ($context['install_finished']) - { - if ($context['extract_type'] == 'avatar') - echo ' - ', $txt['avatars_extracted']; - elseif ($context['extract_type'] == 'language') - echo ' - ', $txt['language_extracted']; - else - echo ' - ', $txt['package_installed_done']; - } - else - echo ' - ', $txt['corrupt_compatible']; - - echo ' -
    - -
    '; - - // Show the "restore permissions" screen? - if (function_exists('template_show_list') && !empty($context['restore_file_permissions']['rows'])) - { - echo '
    '; - template_show_list('restore_file_permissions'); - } - - echo ' -
    -
    '; -} - -function template_list() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['list_file'], '

    -
    -
    -

    ', $txt['files_archive'], ' ', $context['filename'], ':

    -
    -
    - -
    -
      '; - - foreach ($context['files'] as $fileinfo) - echo ' -
    1. ', $fileinfo['filename'], ' (', $fileinfo['size'], ' ', $txt['package_bytes'], ')
    2. '; - - echo ' -
    -
    - [ ', $txt['back'], ' ] -
    - -
    -
    -
    '; -} - -function template_examine() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['package_examine_file'], '

    -
    -
    -

    ', $txt['package_file_contents'], ' ', $context['filename'], ':

    -
    -
    - -
    -
    ', $context['filedata'], '
    - [ ', $txt['list_files'], ' ] -
    - -
    -
    -
    '; -} - -function template_view_installed() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ' . $txt['view_and_remove'] . '

    -
    '; - - if (empty($context['installed_mods'])) - { - echo ' -
    - ', $txt['no_mods_installed'], ' -
    '; - } - else - { - echo ' - - - - - - - - - - '; - - $alt = false; - foreach ($context['installed_mods'] as $i => $file) - { - echo ' - - - - - - '; - $alt = !$alt; - } - - echo ' - -
    ', $txt['mod_name'], '', $txt['mod_version'], '
    ', ++$i, '.', $file['name'], '', $file['version'], '[ ', $txt['uninstall'], ' ]
    -
    - [ ', $txt['delete_list'], ' ]'; - } - - echo ' -
    -
    '; -} - -function template_browse() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings, $forum_version; - - echo ' -
    -
    -

    - ', $txt['help'], ' ', $txt['packages_latest'], ' -

    -
    -
    - -
    -
    ', $txt['packages_latest_fetch'], '
    -
    - -
    - - '; - - if (empty($modSettings['disable_smf_js'])) - echo ' - '; - - echo ' - '; - - echo ' - '; - - echo ' -
    -
    -

    ', $txt['browse_packages'], '

    -
    '; - - if (!empty($context['available_mods'])) - { - echo ' -
    -
    -

    ', $txt['modification_package'], '

    -
    - - - - - - - - - - - '; - - $alt = false; - foreach ($context['available_mods'] as $i => $package) - { - echo ' - - - - - - '; - $alt = !$alt; - } - - echo ' - -
    ', $txt['mod_name'], '', $txt['mod_version'], '
    ', ++$i, '.', $package['name'], ' - ', $package['version']; - - if ($package['is_installed'] && !$package['is_newer']) - echo ' - '; - - echo ' - '; - - if ($package['can_uninstall']) - echo ' - [ ', $txt['uninstall'], ' ]'; - elseif ($package['can_upgrade']) - echo ' - [ ', $txt['package_upgrade'], ' ]'; - elseif ($package['can_install']) - echo ' - [ ', $txt['install_mod'], ' ]'; - - echo ' - [ ', $txt['list_files'], ' ] - [ ', $txt['package_delete'], ' ] -
    '; - } - - if (!empty($context['available_avatars'])) - { - echo ' -
    -
    -

    ', $txt['avatar_package'], '

    -
    - - - - - - - - - - '; - - foreach ($context['available_avatars'] as $i => $package) - { - echo ' - - - - - - '; - } - - echo ' - -
    ', $txt['mod_name'], '', $txt['mod_version'], '
    ', ++$i, '.', $package['name'], '', $package['version']; - - if ($package['is_installed'] && !$package['is_newer']) - echo ' - '; - - echo ' - '; - - if ($package['can_uninstall']) - echo ' - [ ', $txt['uninstall'], ' ]'; - elseif ($package['can_upgrade']) - echo ' - [ ', $txt['package_upgrade'], ' ]'; - elseif ($package['can_install']) - echo ' - [ ', $txt['install_mod'], ' ]'; - - echo ' - [ ', $txt['list_files'], ' ] - [ ', $txt['package_delete'], ' ] -
    '; - } - - if (!empty($context['available_languages'])) - { - echo ' -
    -
    -

    ' . $txt['language_package'] . '

    -
    - - - - - - - - - - '; - - foreach ($context['available_languages'] as $i => $package) - { - echo ' - - - - - - '; - } - - echo ' - -
    ', $txt['mod_name'], '', $txt['mod_version'], '
    ' . ++$i . '.' . $package['name'] . '' . $package['version']; - - if ($package['is_installed'] && !$package['is_newer']) - echo ' - '; - - echo ' - '; - - if ($package['can_uninstall']) - echo ' - [ ', $txt['uninstall'], ' ]'; - elseif ($package['can_upgrade']) - echo ' - [ ', $txt['package_upgrade'], ' ]'; - elseif ($package['can_install']) - echo ' - [ ', $txt['install_mod'], ' ]'; - - echo ' - [ ', $txt['list_files'], ' ] - [ ', $txt['package_delete'], ' ] -
    '; - } - - if (!empty($context['available_other'])) - { - echo ' -
    -
    -

    ' . $txt['unknown_package'] . '

    -
    - - - - - - - - - - '; - - foreach ($context['available_other'] as $i => $package) - { - echo ' - - - - - - '; - } - - echo ' - -
    ', $txt['mod_name'], '', $txt['mod_version'], '
    ' . ++$i . '.' . $package['name'] . '' . $package['version']; - - if ($package['is_installed'] && !$package['is_newer']) - echo ' - '; - - echo ' - '; - - if ($package['can_uninstall']) - echo ' - [ ', $txt['uninstall'], ' ]'; - elseif ($package['can_upgrade']) - echo ' - [ ', $txt['package_upgrade'], ' ]'; - elseif ($package['can_install']) - echo ' - [ ', $txt['install_mod'], ' ]'; - - echo ' - [ ', $txt['list_files'], ' ] - [ ', $txt['package_delete'], ' ] -
    '; - } - - if (empty($context['available_mods']) && empty($context['available_avatars']) && empty($context['available_languages']) && empty($context['available_other'])) - echo ' -
    ', $txt['no_packages'], '
    '; - - echo ' -
    -
    - ', $txt['package_installed_key'], ' - ', $txt['package_installed_current'], ' - ', $txt['package_installed_old'], ' -
    - -
    -
    - - - - -
    -
    -
    '; -} - -function template_servers() -{ - global $context, $settings, $options, $txt, $scripturl; - - if (!empty($context['package_ftp']['error'])) - echo ' -
    - ', $context['package_ftp']['error'], ' -
    '; - - echo ' -
    -
    -

    ', $txt['download_new_package'], '

    -
    '; - - if ($context['package_download_broken']) - { - echo ' -
    -

    ', $txt['package_ftp_necessary'], '

    -
    -
    - -
    -

    - ', $txt['package_ftp_why_download'], ' -

    -
    -
    -
    - -
    -
    - - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    '; - } - - echo ' -
    - -
    -
    - ' . $txt['package_servers'] . ' - -
    -
    - ' . $txt['add_server'] . ' -
    -
    -
    - ' . $txt['server_name'] . ': -
    -
    - -
    -
    - ' . $txt['serverurl'] . ': -
    -
    - -
    -
    -
    - - -
    -
    -
    -
    - ', $txt['package_download_by_url'], ' -
    -
    -
    - ' . $txt['serverurl'] . ': -
    -
    - -
    -
    - ', $txt['package_download_filename'], ': -
    -
    -
    - ', $txt['package_download_filename_info'], ' -
    -
    -
    - -
    -
    -
    -
    - -
    -
    -
    -

    ' . $txt['package_upload_title'] . '

    -
    -
    - -
    -
    -
    -
    - ' . $txt['package_upload_select'] . ': -
    -
    - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    '; -} - -function template_package_confirm() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $context['page_title'], '

    -
    - -
    -
    '; -} - -function template_package_list() -{ - global $context, $settings, $options, $txt, $scripturl, $smcFunc; - - echo ' -
    -
    -

    ' . $context['page_title'] . '

    -
    -
    - -
    '; - - // No packages, as yet. - if (empty($context['package_list'])) - echo ' -
      -
    • ', $txt['no_packages'], '
    • -
    '; - // List out the packages... - else - { - echo ' -
      '; - foreach ($context['package_list'] as $i => $packageSection) - { - echo ' -
    • - ', $packageSection['title'], ''; - - if (!empty($packageSection['text'])) - echo ' -
      ', $packageSection['text'], '
      '; - - echo ' - <', $context['list_type'], ' id="package_section_', $i, '" class="packages">'; - - $alt = false; - - foreach ($packageSection['items'] as $id => $package) - { - echo ' -
    • '; - // Textual message. Could be empty just for a blank line... - if ($package['is_text']) - echo ' - ', empty($package['name']) ? ' ' : $package['name']; - // This is supposed to be a rule.. - elseif ($package['is_line']) - echo ' -
      '; - // A remote link. - elseif ($package['is_remote']) - { - echo ' - ', $package['link'], ''; - } - // A title? - elseif ($package['is_heading'] || $package['is_title']) - { - echo ' - ', $package['name'], ''; - } - // Otherwise, it's a package. - else - { - // 1. Some mod [ Download ]. - echo ' - ', $package['can_install'] ? '' . $package['name'] . ' [ ' . $txt['download'] . ' ]': $package['name']; - - // Mark as installed and current? - if ($package['is_installed'] && !$package['is_newer']) - echo '', $package['is_current'] ? $txt['package_installed_current'] : $txt['package_installed_old'], ''; - - echo ' - -
        '; - - // Show the mod type? - if ($package['type'] != '') - echo ' -
      • ', $txt['package_type'], ':  ', $smcFunc['ucwords']($smcFunc['strtolower']($package['type'])), '
      • '; - // Show the version number? - if ($package['version'] != '') - echo ' -
      • ', $txt['mod_version'], ':  ', $package['version'], '
      • '; - // How 'bout the author? - if (!empty($package['author']) && $package['author']['name'] != '' && isset($package['author']['link'])) - echo ' -
      • ', $txt['mod_author'], ':  ', $package['author']['link'], '
      • '; - // The homepage.... - if ($package['author']['website']['link'] != '') - echo ' -
      • ', $txt['author_website'], ':  ', $package['author']['website']['link'], '
      • '; - - // Desciption: bleh bleh! - // Location of file: http://someplace/. - echo ' -
      • ', $txt['file_location'], ':  ', $package['href'], '
      • -
      • ', $txt['package_description'], ':  ', $package['description'], '
      • -
      '; - } - $alt = !$alt; - echo ' -
    • '; - } - echo ' - - '; - } - echo ' -
    '; - - } - - echo ' -
    - -
    -
    - ', $txt['package_installed_key'], ' - ', $txt['package_installed_current'], ' - ', $txt['package_installed_old'], ' -
    -
    -
    - - '; - // Now go through and turn off all the sections. - if (!empty($context['package_list'])) - { - $section_count = count($context['package_list']); - echo ' - '; - } -} - -function template_downloaded() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $context['page_title'], '

    -
    -
    - -
    -

    ', (empty($context['package_server']) ? $txt['package_uploaded_successfully'] : $txt['package_downloaded_successfully']), '

    -
      -
    • ', $context['package']['name'], ' - ', $context['package']['list_files']['link'], ' - ', $context['package']['install']['link'], ' -
    • -
    -

    -

    [ ', $txt['back'], ' ]

    -
    - -
    -
    -
    '; -} - -function template_install_options() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['package_install_options'], '

    -
    -
    - ', $txt['package_install_options_ftp_why'], ' -
    - -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -

    -
    - - -
    -
    -
    - -
    -
    -
    '; -} - -function template_control_chmod() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Nothing to do? Brilliant! - if (empty($context['package_ftp'])) - return false; - - if (empty($context['package_ftp']['form_elements_only'])) - { - echo ' - ', sprintf($txt['package_ftp_why'], 'document.getElementById(\'need_writable_list\').style.display = \'\'; return false;'), '
    -
    - ', $txt['package_ftp_why_file_list'], ' -
      '; - if (!empty($context['notwritable_files'])) - foreach ($context['notwritable_files'] as $file) - echo ' -
    • ', $file, '
    • '; - - echo ' -
    -
    '; - } - - echo ' -
    - ', !empty($context['package_ftp']['error']) ? $context['package_ftp']['error'] : '', ' -
    '; - - if (!empty($context['package_ftp']['destination'])) - echo ' -
    '; - - echo ' -
    -
    -
    - -
    -
    - - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    '; - - if (empty($context['package_ftp']['form_elements_only'])) - echo ' - -
    - - -
    '; - - if (!empty($context['package_ftp']['destination'])) - echo ' - -
    '; - - // Hide the details of the list. - if (empty($context['package_ftp']['form_elements_only'])) - echo ' - '; - - // Quick generate the test button. - echo ' - '; - - // Make sure the button gets generated last. - $context['insert_after_template'] .= ' - '; -} - -function template_ftp_required() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    - - ', $txt['package_ftp_necessary'], ' - -
    - ', template_control_chmod(), ' -
    -
    '; -} - -function template_view_operations() -{ - global $context, $txt, $settings; - - echo ' - - - ', $txt['operation_title'], ' - - - - - - - -
    -
    - ', $context['operations']['search'], ' -
    -
    - ', $context['operations']['replace'], ' -
    -
    - -'; -} - -function template_file_permissions() -{ - global $txt, $scripturl, $context, $settings; - - // This will handle expanding the selection. - echo ' - '; - - echo ' -
    -
    - ', $txt['package_file_perms_warning'], ': -
    -
      - ', $txt['package_file_perms_warning_desc'], ' -
    -
    -
    -
    - -
    -
    -

    - ', $txt['package_file_perms'], '', $txt['package_file_perms_new_status'], ' -

    -
    - - - - - - - - - - - - '; - - foreach ($context['file_tree'] as $name => $dir) - { - echo ' - - - - - - - - - - - '; - - if (!empty($dir['contents'])) - template_permission_show_contents($name, $dir['contents'], 1); - } - - echo ' - -
     ', $txt['package_file_perms_name'], ' ', $txt['package_file_perms_status'], '', $txt['package_file_perms_status_read'], '', $txt['package_file_perms_status_write'], '', $txt['package_file_perms_status_execute'], '', $txt['package_file_perms_status_custom'], '', $txt['package_file_perms_status_no_change'], '
    '; - - if (!empty($dir['type']) && ($dir['type'] == 'dir' || $dir['type'] == 'dir_recursive')) - echo ' - *'; - - echo ' - ', $name, ' - - ', ($dir['perms']['chmod'] ? $txt['package_file_perms_writable'] : $txt['package_file_perms_not_writable']), ' - ', ($dir['perms']['perms'] ? ' (' . $txt['package_file_perms_chmod'] . ': ' . substr(sprintf('%o', $dir['perms']['perms']), -4) . ')' : ''), ' -
    -
    -
    -

    ', $txt['package_file_perms_change'], '

    -
    -
    - -
    -
    -
    -
    - - -
    -
    - ', $txt['package_file_perms_custom'], ':  (?) -
    -
    - - - -
    -
    - ', $txt['package_file_perms_predefined_note'], ' -
    -
    -
    '; - - // Likely to need FTP? - if (empty($context['ftp_connected'])) - echo ' -

    - ', $txt['package_file_perms_ftp_details'], ': -

    - ', template_control_chmod(), ' -
    ', $txt['package_file_perms_ftp_retain'], '
    '; - - echo ' - -
    - - -
    -
    - -
    '; - - // Any looks fors we've already done? - foreach ($context['look_for'] as $path) - echo ' - '; - echo ' -

    '; -} - -function template_permission_show_contents($ident, $contents, $level, $has_more = false) -{ - global $settings, $txt, $scripturl, $context; - $js_ident = preg_replace('~[^A-Za-z0-9_\-=:]~', ':-:', $ident); - // Have we actually done something? - $drawn_div = false; - - foreach ($contents as $name => $dir) - { - if (isset($dir['perms'])) - { - if (!$drawn_div) - { - $drawn_div = true; - echo ' - - '; - } - - $cur_ident = preg_replace('~[^A-Za-z0-9_\-=:]~', ':-:', $ident . '/' . $name); - echo ' - - - - - - - - - - '; - - if (!empty($dir['contents'])) - { - template_permission_show_contents($ident . '/' . $name, $dir['contents'], $level + 1, !empty($dir['more_files'])); - - } - } - } - - // We have more files to show? - if ($has_more) - echo ' - - - - '; - - if ($drawn_div) - { - // Hide anything too far down the tree. - $isFound = false; - foreach ($context['look_for'] as $tree) - { - if (substr($tree, 0, strlen($ident)) == $ident) - $isFound = true; - } - - if ($level > 1 && !$isFound) - echo ' -
    ' . str_repeat(' ', $level * 5), ' - ', (!empty($dir['type']) && $dir['type'] == 'dir_recursive') || !empty($dir['list_contents']) ? '' : ''; - - if (!empty($dir['type']) && ($dir['type'] == 'dir' || $dir['type'] == 'dir_recursive')) - echo ' - *'; - - echo ' - ', $name, ' - ', (!empty($dir['type']) && $dir['type'] == 'dir_recursive') || !empty($dir['list_contents']) ? '' : '', ' - - ', ($dir['perms']['chmod'] ? $txt['package_file_perms_writable'] : $txt['package_file_perms_not_writable']), ' - ', ($dir['perms']['perms'] ? ' (' . $txt['package_file_perms_chmod'] . ': ' . substr(sprintf('%o', $dir['perms']['perms']), -4) . ')' : ''), ' -
    ' . str_repeat(' ', $level * 5), ' - « ', $txt['package_file_perms_more_files'], ' » -
    - - '; - } -} - -function template_action_permissions() -{ - global $txt, $scripturl, $context, $settings; - - $countDown = 3; - - echo ' -
    -
    -
    -

    ', $txt['package_file_perms_applying'], '

    -
    '; - - if (!empty($context['skip_ftp'])) - echo ' -
    - ', $txt['package_file_perms_skipping_ftp'], ' -
    '; - - // How many have we done? - $remaining_items = count($context['method'] == 'individual' ? $context['to_process'] : $context['directory_list']); - $progress_message = sprintf($context['method'] == 'individual' ? $txt['package_file_perms_items_done'] : $txt['package_file_perms_dirs_done'], $context['total_items'] - $remaining_items, $context['total_items']); - $progress_percent = round(($context['total_items'] - $remaining_items) / $context['total_items'] * 100, 1); - - echo ' -
    - -
    -
    - ', $progress_message, ' -
    -
    ', $progress_percent, '%
    -
     
    -
    -
    '; - - // Second progress bar for a specific directory? - if ($context['method'] != 'individual' && !empty($context['total_files'])) - { - $file_progress_message = sprintf($txt['package_file_perms_files_done'], $context['file_offset'], $context['total_files']); - $file_progress_percent = round($context['file_offset'] / $context['total_files'] * 100, 1); - - echo ' -
    -
    - ', $file_progress_message, ' -
    -
    ', $file_progress_percent, '%
    -
     
    -
    -
    '; - } - - echo ' -
    '; - - // Put out the right hidden data. - if ($context['method'] == 'individual') - echo ' - - - '; - else - echo ' - - - - - '; - - // Are we not using FTP for whatever reason. - if (!empty($context['skip_ftp'])) - echo ' - '; - - // Retain state. - foreach ($context['back_look_data'] as $path) - echo ' - '; - - echo ' - - -
    - -
    -
    - -
    - -
    -
    '; - - // Just the countdown stuff - echo ' - '; - -} - -?> \ No newline at end of file diff --git a/config/themes/default/PersonalMessage.template.php b/config/themes/default/PersonalMessage.template.php deleted file mode 100755 index 6ff12f1..0000000 --- a/config/themes/default/PersonalMessage.template.php +++ /dev/null @@ -1,1747 +0,0 @@ -'; - - // Show the capacity bar, if available. - if (!empty($context['limit_bar'])) - echo ' -
    -

    - ', $txt['pm_capacity'], ': - - - - ', $context['limit_bar']['text'], ' -

    -
    '; - - // Message sent? Show a small indication. - if (isset($context['pm_sent'])) - echo ' -
    - ', $txt['pm_sent'], ' -
    '; -} - -// Just the end of the index bar, nothing special. -function template_pm_below() -{ - global $context, $settings, $options; - - echo ' - '; -} - -function template_folder() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The every helpful javascript! - echo ' - '; - - echo ' -'; - - // If we are not in single display mode show the subjects on the top! - if ($context['display_mode'] != 1) - { - template_subject_list(); - echo '

    '; - } - - // Got some messages to display? - if ($context['get_pmessage']('message', true)) - { - // Show the helpful titlebar - generally. - if ($context['display_mode'] != 1) - echo ' -
    -

    - ', $txt['author'], ' - ', $txt[$context['display_mode'] == 0 ? 'messages' : 'conversation'], ' -

    -
    '; - - // Show a few buttons if we are in conversation mode and outputting the first message. - if ($context['display_mode'] == 2) - { - // Build the normal button array. - $conversation_buttons = array( - 'reply' => array('text' => 'reply_to_all', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=send;f=' . $context['folder'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';pmsg=' . $context['current_pm'] . ';u=all', 'active' => true), - 'delete' => array('text' => 'delete_conversation', 'image' => 'delete.gif', 'lang' => true, 'url' => $scripturl . '?action=pm;sa=pmactions;pm_actions[' . $context['current_pm'] . ']=delete;conversation;f=' . $context['folder'] . ';start=' . $context['start'] . ($context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '') . ';' . $context['session_var'] . '=' . $context['session_id'], 'custom' => 'onclick="return confirm(\'' . addslashes($txt['remove_message']) . '?\');"'), - ); - - // Show the conversation buttons. - echo ' -
    '; - - template_button_strip($conversation_buttons, 'right'); - - echo ' -
    '; - } - - while ($message = $context['get_pmessage']('message')) - { - $window_class = $message['alternate'] == 0 ? 'windowbg' : 'windowbg2'; - - echo ' -
    - -
    - -

    '; - - // Show online and offline buttons? - if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest']) - echo ' - ', $message['member']['online']['text'], ''; - - echo ' - ', $message['member']['link'], ' -

    -
      '; - - // Show the member's custom title, if they have one. - if (isset($message['member']['title']) && $message['member']['title'] != '') - echo ' -
    • ', $message['member']['title'], '
    • '; - - // Show the member's primary group (like 'Administrator') if they have one. - if (isset($message['member']['group']) && $message['member']['group'] != '') - echo ' -
    • ', $message['member']['group'], '
    • '; - - // Don't show these things for guests. - if (!$message['member']['is_guest']) - { - // Show the post group if and only if they have no other group or the option is on, and they are in a post group. - if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '') - echo ' -
    • ', $message['member']['post_group'], '
    • '; - echo ' -
    • ', $message['member']['group_stars'], '
    • '; - - // Show avatars, images, etc.? - if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) - echo ' -
    • - - ', $message['member']['avatar']['image'], ' - -
    • '; - - // Show how many posts they have made. - if (!isset($context['disabled_fields']['posts'])) - echo ' -
    • ', $txt['member_postcount'], ': ', $message['member']['posts'], '
    • '; - - // Is karma display enabled? Total or +/-? - if ($modSettings['karmaMode'] == '1') - echo ' -
    • ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '
    • '; - elseif ($modSettings['karmaMode'] == '2') - echo ' -
    • ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '
    • '; - - // Is this user allowed to modify this member's karma? - if ($message['member']['karma']['allow']) - echo ' -
    • - ', $modSettings['karmaApplaudLabel'], ' ', $modSettings['karmaSmiteLabel'], ' -
    • '; - - // Show the member's gender icon? - if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender'])) - echo ' -
    • ', $txt['gender'], ': ', $message['member']['gender']['image'], '
    • '; - - // Show their personal text? - if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') - echo ' -
    • ', $message['member']['blurb'], '
    • '; - - // Any custom fields to show as icons? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 1 || empty($custom['value'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    • -
        '; - } - echo ' -
      • ', $custom['value'], '
      • '; - } - if ($shown) - echo ' -
      -
    • '; - } - - // This shows the popular messaging icons. - if ($message['member']['has_messenger'] && $message['member']['can_view_profile']) - echo ' -
    • -
        ', !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? ' -
      • ' . $message['member']['icq']['link'] . '
      • ' : '', !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? ' -
      • ' . $message['member']['msn']['link'] . '
      • ' : '', !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? ' -
      • ' . $message['member']['aim']['link'] . '
      • ' : '', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? ' -
      • ' . $message['member']['yim']['link'] . '
      • ' : '', ' -
      -
    • '; - - // Show the profile, website, email address, and personal message buttons. - if ($settings['show_profile_buttons']) - { - echo ' -
    • - -
    • '; - } - - // Any custom fields for standard placement? - if (!empty($message['member']['custom_fields'])) - { - foreach ($message['member']['custom_fields'] as $custom) - if (empty($custom['placement']) || empty($custom['value'])) - echo ' -
    • ', $custom['title'], ': ', $custom['value'], '
    • '; - } - - // Are we showing the warning status? - if ($message['member']['can_see_warning']) - echo ' -
    • ', $context['can_issue_warning'] ? '' : '', '', $txt['user_warn_' . $message['member']['warning_status']], '', $context['can_issue_warning'] ? '' : '', '', $txt['warn_' . $message['member']['warning_status']], '
    • '; - } - - // Done with the information about the poster... on to the post itself. - echo ' -
    -
    -
    -
    -
    -
    - ', $message['subject'], ' -
    '; - - // Show who the message was sent to. - echo ' - « ', $txt['sent_to'], ': '; - - // People it was sent directly to.... - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' - ', $txt['on'], ': ', $message['time'], ' » - '; - - // If we're in the sent items, show who it was sent to besides the "To:" people. - if (!empty($message['recipients']['bcc'])) - echo ' -
    « ', $txt['pm_bcc'], ': ', implode(', ', $message['recipients']['bcc']), ' »'; - - if (!empty($message['is_replied_to'])) - echo ' -
    « ', $txt['pm_is_replied_to'], ' »'; - - echo ' -
    -
      '; - - // Show reply buttons if you have the permission to send PMs. - if ($context['can_send_pm']) - { - // You can't really reply if the member is gone. - if (!$message['member']['is_guest']) - { - // Is there than more than one recipient you can reply to? - if ($message['number_recipients'] > 1 && $context['display_mode'] != 2) - echo ' -
    • ', $txt['reply_to_all'], '
    • '; - - echo ' -
    • ', $txt['reply'], '
    • -
    • ', $txt['quote'], '
    • '; - } - // This is for "forwarding" - even if the member is gone. - else - echo ' -
    • ', $txt['reply_quote'], '
    • '; - } - echo ' -
    • ', $txt['delete'], '
    • '; - - if (empty($context['display_mode'])) - echo ' -
    • '; - - echo ' -
    -
    -
    -
    ', $message['body'], '
    - '; - - // Are there any custom profile fields for above the signature? - if (!empty($message['member']['custom_fields'])) - { - $shown = false; - foreach ($message['member']['custom_fields'] as $custom) - { - if ($custom['placement'] != 2 || empty($custom['value'])) - continue; - if (!$shown) - { - $shown = true; - echo ' -
    -
      '; - } - echo ' -
    • ', $custom['value'], '
    • '; - } - if ($shown) - echo ' -
    -
    '; - } - - // Show the member's signature? - if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) - echo ' -
    ', $message['member']['signature'], '
    '; - - // Add an extra line at the bottom if we have labels enabled. - if ($context['folder'] != 'sent' && !empty($context['currently_using_labels']) && $context['display_mode'] != 2) - { - echo ' -
    '; - // Add the label drop down box. - if (!empty($context['currently_using_labels'])) - { - echo ' - - '; - } - echo ' -
    '; - } - - echo ' -
    -
    -
    -
    -
    - -
    '; - } - - if (empty($context['display_mode'])) - echo ' - -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
    -
    '; - - // Show a few buttons if we are in conversation mode and outputting the first message. - elseif ($context['display_mode'] == 2 && isset($conversation_buttons)) - { - echo ' - -
    '; - - template_button_strip($conversation_buttons, 'right'); - - echo ' -
    '; - } - - echo ' -
    '; - } - - // Individual messages = buttom list! - if ($context['display_mode'] == 1) - { - template_subject_list(); - echo '
    '; - } - - echo ' - -'; -} - -// Just list all the personal message subjects - to make templates easier. -function template_subject_list() -{ - global $context, $options, $settings, $modSettings, $txt, $scripturl; - - echo ' -
    - - - - - - - - - - '; - if (!$context['show_delete']) - echo ' - - - '; - $next_alternate = false; - - while ($message = $context['get_pmessage']('subject')) - { - echo ' - - - - - - - '; - $next_alternate = !$next_alternate; - } - - echo ' - -
    - ', $txt['pm_change_view'], ' - - ', $txt['date'], $context['sort_by'] == 'date' ? ' ' : '', ' - - ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' - - ', ($context['from_or_to'] == 'from' ? $txt['from'] : $txt['to']), $context['sort_by'] == 'name' ? ' ' : '', ' - - -
    ', $txt['msg_alert_none'], '
    - - ', $message['is_replied_to'] ? '' . $txt['pm_replied'] . '' : '' . $txt['pm_read'] . '', '', $message['time'], '', ($context['display_mode'] != 0 && $context['current_pm'] == $message['id'] ? '*' : ''), '', $message['subject'], '', $message['is_unread'] ? ' ' . $txt['new'] . '' : '', '', ($context['from_or_to'] == 'from' ? $message['member']['link'] : (empty($message['recipients']['to']) ? '' : implode(', ', $message['recipients']['to']))), '
    -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    -
     '; - - if ($context['show_delete']) - { - if (!empty($context['currently_using_labels']) && $context['folder'] != 'sent') - { - echo ' - - '; - } - - echo ' - '; - } - - echo ' -
    -
    '; -} - -function template_search() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' - -
    -
    -

    ', $txt['pm_search_title'], '

    -
    '; - - if (!empty($context['search_errors'])) - { - echo ' -
    - ', implode('
    ', $context['search_errors']['messages']), ' -
    '; - } - - if ($context['simple_search']) - { - echo ' - '; - } - - // Advanced search! - else - { - echo ' - '; - - // Do we have some labels setup? If so offer to search by them! - if ($context['currently_using_labels']) - { - echo ' -
    - -
    - -
      '; - - foreach ($context['search_labels'] as $label) - echo ' -
    • - -
    • '; - - echo ' -
    -

    - - -


    -
    - -
    '; - } - } - - echo ' -
    '; -} - -function template_search_results() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    ', $txt['pm_search_results'], '

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - // complete results ? - if (empty($context['search_params']['show_complete']) && !empty($context['personal_messages'])) - echo ' - - - - - - - - - '; - - $alternate = true; - // Print each message out... - foreach ($context['personal_messages'] as $message) - { - // We showing it all? - if (!empty($context['search_params']['show_complete'])) - { - echo ' -
    -

    - ', $txt['search_on'], ': ', $message['time'], ' - ', $message['counter'], '  ', $message['subject'], ' -

    -
    -
    -

    ', $txt['from'], ': ', $message['member']['link'], ', ', $txt['to'], ': '; - - // Show the recipients. - // !!! This doesn't deal with the sent item searching quite right for bcc. - if (!empty($message['recipients']['to'])) - echo implode(', ', $message['recipients']['to']); - // Otherwise, we're just going to say "some people"... - elseif ($context['folder'] != 'sent') - echo '(', $txt['pm_undisclosed_recipients'], ')'; - - echo ' -

    -
    -
    - -
    - ', $message['body'], ' -

    '; - - if ($context['can_send_pm']) - { - $quote_button = create_button('quote.gif', 'reply_quote', 'reply_quote', 'align="middle"'); - $reply_button = create_button('im_reply.gif', 'reply', 'reply', 'align="middle"'); - // You can only reply if they are not a guest... - if (!$message['member']['is_guest']) - echo ' - ', $quote_button , '', $context['menu_separator'], ' - ', $reply_button , ' ', $context['menu_separator']; - // This is for "forwarding" - even if the member is gone. - else - echo ' - ', $quote_button , '', $context['menu_separator']; - } - - echo ' -

    -
    - -
    '; - } - // Otherwise just a simple list! - else - { - // !!! No context at all of the search? - echo ' - - - - - '; - } - - $alternate = !$alternate; - } - - // Finish off the page... - if (empty($context['search_params']['show_complete']) && !empty($context['personal_messages'])) - echo ' - -
    ', $txt['date'], '', $txt['subject'], '', $txt['from'], '
    ', $message['time'], '', $message['link'], '', $message['member']['link'], '
    '; - - // No results? - if (empty($context['personal_messages'])) - echo ' -
    - -
    -

    ', $txt['pm_search_none_found'], '

    -
    - -
    '; - - echo ' -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - -} - -function template_send() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // Show which messages were sent successfully and which failed. - if (!empty($context['send_log'])) - { - echo ' -
    -

    ', $txt['pm_send_report'], '

    -
    -
    - -
    '; - if (!empty($context['send_log']['sent'])) - foreach ($context['send_log']['sent'] as $log_entry) - echo '', $log_entry, '
    '; - if (!empty($context['send_log']['failed'])) - foreach ($context['send_log']['failed'] as $log_entry) - echo '', $log_entry, '
    '; - echo ' -
    - -
    -
    '; - } - - // Show the preview of the personal message. - if (isset($context['preview_message'])) - echo ' -
    -

    ', $context['preview_subject'], '

    -
    -
    - -
    - ', $context['preview_message'], ' -
    - -
    -
    '; - - // Main message editing box. - echo ' -
    -

    - ', $txt['new_message'], ' ', $txt['new_message'], ' -

    -
    '; - - echo ' -
    -
    - -

    '; - - // If there were errors for sending the PM, show them. - if (!empty($context['post_error']['messages'])) - { - echo ' -
    - ', $txt['error_while_submitting'], ' -
      '; - - foreach ($context['post_error']['messages'] as $error) - echo ' -
    • ', $error, '
    • '; - - echo ' -
    -
    '; - } - - echo ' -
    '; - - // To and bcc. Include a button to search for members. - echo ' -
    - ', $txt['pm_to'], ': -
    '; - - // Autosuggest will be added by the JavaScript later on. - echo ' -
    - '; - - // A link to add BCC, only visible with JavaScript enabled. - echo ' - '; - - // A div that'll contain the items found by the autosuggest. - echo ' -
    '; - - echo ' -
    '; - - // This BCC row will be hidden by default if JavaScript is enabled. - echo ' -
    - ', $txt['pm_bcc'], ': -
    -
    - -
    -
    '; - - // The subject of the PM. - echo ' -
    - ', $txt['subject'], ': -
    -
    - -
    -

    '; - - // Showing BBC? - if ($context['show_bbc']) - { - echo ' -
    '; - } - - // What about smileys? - if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) - echo ' -
    '; - - // Show BBC buttons, smileys and textbox. - echo ' - ', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'); - - // Require an image to be typed to save spamming? - if ($context['require_verification']) - { - echo ' -
    - ', $txt['pm_visual_verification_label'], ': - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
    '; - } - - // Send, Preview, spellcheck buttons. - echo ' -

    -

    - ', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], ' -

    -

    - ', template_control_richedit_buttons($context['post_box_name']), ' -

    - - - - - - -
    -
    - -
    -
    '; - - // Show the message you're replying to. - if ($context['reply']) - echo ' -
    -
    -
    -

    ', $txt['subject'], ': ', $context['quoted_message']['subject'], '

    -
    -
    - -
    -
    - ', $txt['on'], ': ', $context['quoted_message']['time'], ' - ', $txt['from'], ': ', $context['quoted_message']['member']['name'], ' -

    - ', $context['quoted_message']['body'], ' -
    - -

    '; - - echo ' - - - '; -} - -// This template asks the user whether they wish to empty out their folder/messages. -function template_ask_delete() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    ', ($context['delete_all'] ? $txt['delete_message'] : $txt['delete_all']), '

    -
    -
    - -
    -

    ', $txt['delete_all_confirm'], '


    - ', $txt['yes'], ' - ', $txt['no'], ' -
    - -
    '; -} - -// This template asks the user what messages they want to prune. -function template_prune() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['pm_prune'], '

    -
    -
    - -
    -

    ', $txt['pm_prune_desc1'], ' ', $txt['pm_prune_desc2'], '

    -
    - -
    -
    - -
    - -
    '; -} - -// Here we allow the user to setup labels, remove labels and change rules for labels (i.e, do quite a bit) -function template_labels() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['pm_manage_labels'], '

    -
    -
    - ', $txt['pm_labels_desc'], ' -
    - - - - - - - - '; - if (count($context['labels']) < 2) - echo ' - - - '; - else - { - $alternate = true; - foreach ($context['labels'] as $label) - { - if ($label['id'] == -1) - continue; - - echo ' - - - - '; - - $alternate = !$alternate; - } - } - echo ' - -
    - ', $txt['pm_label_name'], ' - '; - - if (count($context['labels']) > 2) - echo ' - '; - - echo ' -
    ', $txt['pm_labels_no_exist'], '
    - -
    '; - - if (!count($context['labels']) < 2) - echo ' -
    - - -
    '; - - echo ' - -
    -
    -
    -

    ', $txt['pm_label_add_new'], '

    -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    -
    - -
    -
    - -
    - -

    '; -} - -// Template for reporting a personal message. -function template_report_message() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    - -
    -

    ', $txt['pm_report_title'], '

    -
    -
    - ', $txt['pm_report_desc'], ' -
    -
    - -
    -
    '; - - // If there is more than one admin on the forum, allow the user to choose the one they want to direct to. - // !!! Why? - if ($context['admin_count'] > 1) - { - echo ' -
    - ', $txt['pm_report_admins'], ': -
    -
    - -
    '; - } - - echo ' -
    - ', $txt['pm_report_reason'], ': -
    -
    - -
    -
    -
    - -
    -
    - -
    - -
    '; -} - -// Little template just to say "Yep, it's been submitted" -function template_report_message_complete() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -

    ', $txt['pm_report_title'], '

    -
    -
    - -
    -

    ', $txt['pm_report_done'], '

    - ', $txt['pm_report_return'], ' -
    - -
    '; -} - -// Manage rules. -function template_rules() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['pm_manage_rules'], '

    -
    -
    - ', $txt['pm_manage_rules_desc'], ' -
    - - - - - - - - '; - - if (empty($context['rules'])) - echo ' - - - '; - - $alternate = false; - foreach ($context['rules'] as $rule) - { - echo ' - - - - '; - $alternate = !$alternate; - } - - echo ' - -
    - ', $txt['pm_rule_title'], ' - '; - - if (!empty($context['rules'])) - echo ' - '; - - echo ' -
    - ', $txt['pm_rules_none'], ' -
    - ', $rule['name'], ' - - -
    -
    - [', $txt['pm_add_rule'], ']'; - - if (!empty($context['rules'])) - echo ' - [', $txt['pm_apply_rules'], ']'; - - if (!empty($context['rules'])) - echo ' - - '; - - echo ' -
    -
    '; - -} - -// Template for adding/editing a rule. -function template_add_rule() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - '; - - echo ' -
    -
    -

    ', $context['rid'] == 0 ? $txt['pm_add_rule'] : $txt['pm_edit_rule'], '

    -
    -
    - -
    -
    -
    - ', $txt['pm_rule_name'], ':
    - ', $txt['pm_rule_name_desc'], ' -
    -
    - -
    -
    -
    - ', $txt['pm_rule_criteria'], ''; - - // Add a dummy criteria to allow expansion for none js users. - $context['rule']['criteria'][] = array('t' => '', 'v' => ''); - - // For each criteria print it out. - $isFirst = true; - foreach ($context['rule']['criteria'] as $k => $criteria) - { - if (!$isFirst && $criteria['t'] == '') - echo '
    '; - elseif (!$isFirst) - echo '
    '; - - echo ' - - - - - - - '; - - // If this is the dummy we add a means to hide for non js users. - if ($isFirst) - $isFirst = false; - elseif ($criteria['t'] == '') - echo '
    '; - } - - echo ' -
    - -

    - ', $txt['pm_rule_logic'], ': - -
    -
    - ', $txt['pm_rule_actions'], ''; - - // As with criteria - add a dummy action for "expansion". - $context['rule']['actions'][] = array('t' => '', 'v' => ''); - - // Print each action. - $isFirst = true; - foreach ($context['rule']['actions'] as $k => $action) - { - if (!$isFirst && $action['t'] == '') - echo '
    '; - elseif (!$isFirst) - echo '
    '; - - echo ' - - - - '; - - if ($isFirst) - $isFirst = false; - elseif ($action['t'] == '') - echo ' -
    '; - } - - echo ' -
    - -
    -
    - -

    -
    -

    ', $txt['pm_rule_description'], '

    -
    -
    -
    ', $txt['pm_rule_js_disabled'], '
    -
    -
    - - -
    -
    '; - - // Now setup all the bits! - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Poll.template.php b/config/themes/default/Poll.template.php deleted file mode 100755 index 0f2e805..0000000 --- a/config/themes/default/Poll.template.php +++ /dev/null @@ -1,156 +0,0 @@ -:
  • '; - - // Start the main poll form. - echo ' -
    -
    -
    -

    ', $context['page_title'], '

    -
    '; - - if (!empty($context['poll_error']['messages'])) - echo ' -
    -
    -
    - ', $context['is_edit'] ? $txt['error_while_editing_poll'] : $txt['error_while_adding_poll'], ': -
    -
    - ', empty($context['poll_error']['messages']) ? '' : implode('
    ', $context['poll_error']['messages']), ' -
    -
    -
    '; - - echo ' -
    - -
    - -
    - ', $txt['poll_question'], ': - -
      '; - - foreach ($context['choices'] as $choice) - { - echo ' -
    • - : - '; - - // Does this option have a vote count yet, or is it new? - if ($choice['votes'] != -1) - echo ' (', $choice['votes'], ' ', $txt['votes'], ')'; - - echo ' -
    • '; - } - - echo ' -
    • -
    - (', $txt['poll_add_option'], ') -
    -
    - ', $txt['poll_options'], ': -
    '; - - if ($context['can_moderate_poll']) - { - echo ' -
    - -
    -
    - -
    -
    -
    - ', $txt['poll_run_limit'], ' -
    -
    - ', $txt['days_word'], ' -
    -
    - -
    -
    - -
    '; - - if ($context['poll']['guest_vote_allowed']) - echo ' -
    - -
    -
    - -
    '; - } - - echo ' -
    - ', $txt['poll_results_visibility'], ': -
    -
    -
    -
    - -
    -
    -
    '; - // If this is an edit, we can allow them to reset the vote counts. - if ($context['is_edit']) - echo ' -
    - ', $txt['reset_votes'], ' - ' . $txt['reset_votes_check'] . ' -
    '; - echo ' -
    - -
    -
    - -
    - - -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Post.template.php b/config/themes/default/Post.template.php deleted file mode 100755 index 85c0cf9..0000000 --- a/config/themes/default/Post.template.php +++ /dev/null @@ -1,1129 +0,0 @@ -:
  • '), '); - }'; - - // If we are making a calendar event we want to ensure we show the current days in a month etc... this is done here. - if ($context['make_event']) - echo ' - var monthLength = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; - - function generateDays() - { - var dayElement = document.getElementById(\'day\'), yearElement = document.getElementById(\'year\'), monthElement = document.getElementById(\'month\'); - var days, selected = dayElement.selectedIndex; - - monthLength[1] = yearElement.options[yearElement.selectedIndex].value % 4 == 0 ? 29 : 28; - days = monthLength[monthElement.value - 1]; - - while (dayElement.options.length) - dayElement.options[0] = null; - - for (i = 1; i <= days; i++) - dayElement.options[dayElement.length] = new Option(i, i); - - if (selected < days) - dayElement.selectedIndex = selected; - }'; - - // End of the javascript, start the form and display the link tree. - echo ' - // ]]> -
    '; - - // If the user wants to see how their message looks - the preview section is where it's at! - echo ' -
    '; - - if ($context['make_event'] && (!$context['event']['new'] || !empty($context['current_board']))) - echo ' - '; - - // Start the main table. - echo ' -
    -

    ', $context['page_title'], '

    -
    -
    - -
    ', isset($context['current_topic']) ? ' - ' : ''; - - // If an error occurred, explain what happened. - echo ' - '; - - // If this won't be approved let them know! - if (!$context['becomes_approved']) - { - echo ' -

    - ', $txt['wait_for_approval'], ' - -

    '; - } - - // If it's locked, show a message to warn the replyer. - echo ' - '; - - // The post header... important stuff - echo ' -
    '; - - // Guests have to put in their name and email... - if (isset($context['name']) && isset($context['email'])) - { - echo ' -
    - ', $txt['name'], ': -
    -
    - -
    '; - - if (empty($modSettings['guest_post_no_email'])) - echo ' -
    - ', $txt['email'], ': -
    -
    - -
    '; - } - - // Now show the subject box for this post. - echo ' -
    - ', $txt['subject'], ': -
    -
    - -
    '; - - - // Justin Nov 24 2016 - Message icons have been removed. Left in some empty containers so the style doesn't get messed up. - echo '
    '; - - - // Are you posting a calendar event? - if ($context['make_event']) - { - echo ' -
    -
    - ', $txt['calendar_event_title'], ' - -
    - ', $txt['calendar_year'], ' - - ', $txt['calendar_month'], ' - - ', $txt['calendar_day'], ' - -
    -
    '; - - if (!empty($modSettings['cal_allowspan']) || ($context['event']['new'] && $context['is_new_post'])) - { - echo ' -
    - ', $txt['calendar_event_options'], ' -
    -
      '; - - // If events can span more than one day then allow the user to select how long it should last. - if (!empty($modSettings['cal_allowspan'])) - { - echo ' -
    • - ', $txt['calendar_numb_days'], ' - -
    • '; - } - - // If this is a new event let the user specify which board they want the linked post to be put into. - if ($context['event']['new'] && $context['is_new_post']) - { - echo ' -
    • - ', $txt['calendar_post_in'], ' - -
    • '; - } - - echo ' -
    -
    -
    '; - } - - echo ' -
    '; - } - - // If this is a poll then display all the poll options! - if ($context['make_poll']) - { - echo ' -
    -
    - ', $txt['poll_question'], ' - -
      '; - - // Loop through all the choices and print them out. - foreach ($context['choices'] as $choice) - { - echo ' -
    • - : - -
    • '; - } - - echo ' -
    • -
    - (', $txt['poll_add_option'], ') -
    -
    - ', $txt['poll_options'], ' -
    -
    - -
    -
    - -
    -
    -
    - ', $txt['poll_run_limit'], ' -
    -
    - ', $txt['days_word'], ' -
    -
    - -
    -
    - -
    '; - - if ($context['poll_options']['guest_vote_enabled']) - echo ' -
    - -
    -
    - -
    '; - - echo ' -
    - ', $txt['poll_results_visibility'], ': -
    -
    -
    -
    - -
    -
    -
    -
    '; - } - - // Show the actual posting area... - if ($context['show_bbc']) - { - echo ' -
    '; - } - - // What about smileys? - if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) - echo ' -
    '; - - echo ' - ', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'); - - // If this message has been edited in the past - display when it was. - if (isset($context['last_modified'])) - echo ' -
    - ', $txt['last_edit'], ': - ', $context['last_modified'], ' -
    '; - - // If the admin has enabled the hiding of the additional options - show a link and image for it. - if (!empty($settings['additional_options_collapsable'])) - echo ' - '; - - // Display the check boxes for all the standard options - if they are available to the user! - echo ' -
    -
      - ', $context['can_notify'] ? '
    • ' : '', ' - ', $context['can_lock'] ? '
    • ' : '', ' -
    • - ', $context['can_sticky'] ? '
    • ' : '', ' -
    • ', ' - ', $context['can_move'] ? '
    • ' : '', ' - ', $context['can_announce'] && $context['is_first_post'] ? '
    • ' : '', ' - ', $context['show_approval'] ? '
    • ' : '', ' -
    -
    '; - - // If this post already has attachments on it - give information about them. - if (!empty($context['current_attachments'])) - { - echo ' -
    -
    - ', $txt['attached'], ': -
    -
    - - ', $txt['uncheck_unwatchd_attach'], ': -
    '; - foreach ($context['current_attachments'] as $attachment) - echo ' -
    - -
    '; - echo ' -
    '; - } - - - if($context['can_create_npc_shop']) - { - echo ' -
    '; - - // TODO allow the poster to select number of items instead of hard coding it like this - echo ''; - for($i = 0; $i < 10; $i++) - { - // TODO search for item by name instead of using item id field - // TODO date picker for expire time - echo ' - -
    - -
    - - -
    - ',$txt['npc_shop_expire_time_desc'], - '
    -
    -
    - '; - } - - echo '
    '; - } - - // Is the user allowed to post any additional ones? If so give them the boxes to do it! - if ($context['can_post_attachment']) - { - echo ' -
    -
    - ', $txt['attach'], ': -
    -
    - (', $txt['clean_attach'], ')'; - - // Show more boxes only if they aren't approaching their limit. - if ($context['num_allowed_attachments'] > 1) - echo ' - -
    -
    (', $txt['more_attachments'], ')
    '; - - echo ' -
    '; - - // Show some useful information such as allowed extensions, maximum size and amount of attachments allowed. - if (!empty($modSettings['attachmentCheckExtensions'])) - echo ' - ', $txt['allowed_types'], ': ', $context['allowed_extensions'], '
    '; - - if (!empty($context['attachment_restrictions'])) - echo ' - ', $txt['attach_restrictions'], ' ', implode(', ', $context['attachment_restrictions']), '
    '; - - if (!$context['can_post_attachment_unapproved']) - echo ' - ', $txt['attachment_requires_approval'], '', '
    '; - - echo ' -
    -
    '; - } - - // Is visual verification enabled? - if ($context['require_verification'] && $modSettings['visual_verification_type'] != 6) - { - echo ' -
    - - ', $txt['verification'], ': - - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
    '; - } - - if($context['require_verification'] && $modSettings['visual_verification_type'] == 6) - { - echo ' -
    - - ', $txt['verification'], ': - -
    - - -
    '; - } - - - // Finally, the submit buttons. - echo ' -

    - ', $context['browser']['is_firefox'] ? $txt['shortcuts_firefox'] : $txt['shortcuts'], ' -

    -

    - ', template_control_richedit_buttons($context['post_box_name']); - - // Option to delete an event if user is editing one. - if ($context['make_event'] && !$context['event']['new']) - echo ' - '; - - echo ' -

    -
    - -
    -
    '; - - // Assuming this isn't a new topic pass across the last message id. - if (isset($context['topic_last_message'])) - echo ' - '; - - echo ' - - - -
    '; - - echo ' - '; - - // If the user is replying to a topic show the previous posts. - if (isset($context['previous_posts']) && count($context['previous_posts']) > 0) - { - echo ' -
    -
    -

    ', $txt['topic_summary'], '

    -
    - '; - - $ignored_posts = array(); - foreach ($context['previous_posts'] as $post) - { - $ignoring = false; - if (!empty($post['is_ignored'])) - $ignored_posts[] = $ignoring = $post['id']; - - echo ' -
    - -
    -
    -
    ', $txt['posted_by'], ': ', $post['poster'], '
    - « ', $txt['on'], ': ', $post['time'], ' » -
    '; - - if ($context['can_quote']) - { - echo ' - '; - } - - echo ' -
    '; - - if ($ignoring) - { - echo ' -
    - ', $txt['ignoring_user'], ' - -
    '; - } - - echo ' -
    ', $post['message'], '
    -
    - -
    '; - } - - echo ' -
    - '; - } -} - -// The template for the spellchecker. -function template_spellcheck() -{ - global $context, $settings, $options, $txt; - - // The style information that makes the spellchecker look... like the forum hopefully! - echo ' - - - ', $txt['spell_check'], ' - - - - - - - - - -
    -
     
    - - - -
    - ', $txt['spellcheck_change_to'], '
    - -
    - ', $txt['spellcheck_suggest'], '
    - -
    -
    - - - - -
    -
    - -'; -} - -function template_quotefast() -{ - global $context, $settings, $options, $txt; - - echo ' - - - - ', $txt['retrieving_quote'], ' - - - - ', $txt['retrieving_quote'], ' - - - -'; -} - -function template_announce() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    ', $txt['announce_title'], '

    -
    -
    - ', $txt['announce_desc'], ' -
    -
    - -
    -

    - ', $txt['announce_this_topic'], ' ', $context['topic_subject'], ' -

    -
      '; - - foreach ($context['groups'] as $group) - echo ' -
    • - (', $group['member_count'], ') -
    • '; - - echo ' -
    • - -
    • -
    -
    - - - - - -
    -
    - -
    -
    -
    -
    '; -} - -function template_announcement_send() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    - -
    -

    ', $txt['announce_sending'], ' ', $context['topic_subject'], '

    -

    ', $context['percentage_done'], '% ', $txt['announce_done'], '

    -
    - - - - - - - -
    -
    - -
    -
    -
    -
    - '; -} - -?> diff --git a/config/themes/default/Printpage.template.php b/config/themes/default/Printpage.template.php deleted file mode 100755 index bf93af2..0000000 --- a/config/themes/default/Printpage.template.php +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - ', $txt['print_page'], ' - ', $context['topic_subject'], ' - - - -

    ', $context['forum_name_html_safe'], '

    -

    ', $context['category_name'], ' => ', (!empty($context['parent_boards']) ? implode(' => ', $context['parent_boards']) . ' => ' : ''), $context['board_name'], ' => ', $txt['topic_started'], ': ', $context['poster_name'], ' ', $txt['search_on'], ' ', $context['post_time'], '

    -
    '; -} - -function template_main() -{ - global $context, $settings, $options, $txt; - - foreach ($context['posts'] as $post) - echo ' -
    - ', $txt['title'], ': ', $post['subject'], '
    - ', $txt['post_by'], ': ', $post['member'], ' ', $txt['search_on'], ' ', $post['time'], ' -
    -
    - ', $post['body'], ' -
    '; -} - -function template_print_below() -{ - global $context, $settings, $options; - - echo ' -
    - - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Profile.template.php b/config/themes/default/Profile.template.php deleted file mode 100755 index 73e5e20..0000000 --- a/config/themes/default/Profile.template.php +++ /dev/null @@ -1,3069 +0,0 @@ - - '; - - // Prevent Chrome from auto completing fields when viewing/editing other members profiles - if ($context['browser']['is_chrome'] && !$context['user']['is_owner']) - echo ' - '; - - // If an error occurred while trying to save previously, give the user a clue! - if (!empty($context['post_errors'])) - echo ' - ', template_error_message(); - - // If the profile was update successfully, let the user know this. - if (!empty($context['profile_updated'])) - echo ' -
    - ', $context['profile_updated'], ' -
    '; -} - -// Template for closing off table started in profile_above. -function template_profile_below() -{ -} - -// This template displays users details without any option to edit them. -function template_summary() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // load the avatar - echo ''; - - // Display the basic information about the user - echo ' -
    -
    -

    - ', $txt['summary'], ' -

    -
    -
    -
    - -
    - - ', sprintf($txt['fish_avatar_img_alt'], $context['member']['name']),' -

    ', $context['member']['name'], ' ', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '

    - ', $context['member']['avatar']['image'], ' -
      '; - - // What about if we allow email only via the forum?? - if ($context['member']['show_email'] === 'yes' || $context['member']['show_email'] === 'no_through_forum' || $context['member']['show_email'] === 'yes_permission_override') - echo ' -
    • ', $txt['email'], '
    • '; - - // Don't show an icon if they haven't specified a website. - if ($context['member']['website']['url'] !== '' && !isset($context['disabled_fields']['website'])) - echo ' -
    • ', ($settings['use_image_buttons'] ? '' . $context['member']['website']['title'] . '' : $txt['www']), '
    • '; - - // Are there any custom profile fields for the summary? - if (!empty($context['custom_fields'])) - { - foreach ($context['custom_fields'] as $field) - if (($field['placement'] == 1 || empty($field['output_html'])) && !empty($field['value'])) - echo ' -
    • ', $field['output_html'], '
    • '; - } - - echo ' - ', !isset($context['disabled_fields']['icq']) && !empty($context['member']['icq']['link']) ? '
    • ' . $context['member']['icq']['link'] . '
    • ' : '', ' - ', !isset($context['disabled_fields']['msn']) && !empty($context['member']['msn']['link']) ? '
    • ' . $context['member']['msn']['link'] . '
    • ' : '', ' - ', !isset($context['disabled_fields']['aim']) && !empty($context['member']['aim']['link']) ? '
    • ' . $context['member']['aim']['link'] . '
    • ' : '', ' - ', !isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']) ? '
    • ' . $context['member']['yim']['link'] . '
    • ' : '', ' -
    - ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $context['member']['online']['text'] . '' : $context['member']['online']['text'], $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? ' ' . $context['member']['online']['text'] . '' : ''; - - // Can they add this member as a buddy? - if (!empty($context['can_have_buddy']) && !$context['user']['is_owner']) - echo ' -
    [', $txt['buddy_' . ($context['member']['is_buddy'] ? 'remove' : 'add')], ']'; - - echo ' -
    '; - - echo ' - '; - - echo ' -
    - -
    -
    -
    -
    - -
    -
    '; - - if ($context['user']['is_owner'] || $context['user']['is_admin']) - echo ' -
    ', $txt['username'], ':
    -
    ', $context['member']['username'], '
    '; - - if (!isset($context['disabled_fields']['posts'])) - echo ' -
    ', $txt['profile_posts'], ':
    -
    ', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')
    '; - - // Only show the email address fully if it's not hidden - and we reveal the email. - if ($context['member']['show_email'] == 'yes') - echo ' -
    ', $txt['email'], ':
    -
    ', $context['member']['email'], '
    '; - - // ... Or if the one looking at the profile is an admin they can see it anyway. - elseif ($context['member']['show_email'] == 'yes_permission_override') - echo ' -
    ', $txt['email'], ':
    -
    ', $context['member']['email'], '
    '; - - if (!empty($modSettings['titlesEnable']) && !empty($context['member']['title'])) - echo ' -
    ', $txt['custom_title'], ':
    -
    ', $context['member']['title'], '
    '; - - if (!empty($context['member']['blurb'])) - echo ' -
    ', $txt['personal_text'], ':
    -
    ', $context['member']['blurb'], '
    '; - - // If karma enabled show the members karma. - if ($modSettings['karmaMode'] == '1') - echo ' -
    ', $modSettings['karmaLabel'], '
    -
    ', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
    '; - - elseif ($modSettings['karmaMode'] == '2') - echo ' -
    ', $modSettings['karmaLabel'], '
    -
    +', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
    '; - - if (!isset($context['disabled_fields']['gender']) && !empty($context['member']['gender']['name'])) - echo ' -
    ', $txt['gender'], ':
    -
    ', $context['member']['gender']['name'], '
    '; - - echo ' -
    ', $txt['age'], ':
    -
    ', $context['member']['age'] . ($context['member']['today_is_birthday'] ? '   ' : ''), '
    '; - - if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location'])) - echo ' -
    ', $txt['location'], ':
    -
    ', $context['member']['location'], '
    '; - - echo ' -
    '; - - // Any custom fields for standard placement? - if (!empty($context['custom_fields'])) - { - $shown = false; - foreach ($context['custom_fields'] as $field) - { - if ($field['placement'] != 0 || empty($field['output_html'])) - continue; - - if (empty($shown)) - { - echo ' -
    '; - $shown = true; - } - - echo ' -
    ', $field['name'], ':
    -
    ', $field['output_html'], '
    '; - } - - if (!empty($shown)) - echo ' -
    '; - } - - echo ' -
    '; - - // Can they view/issue a warning? - if ($context['can_view_warning'] && $context['member']['warning']) - { - echo ' -
    ', $txt['profile_warning_level'], ':
    -
    - ', $context['member']['warning'], '%'; - - // Can we provide information on what this means? - if (!empty($context['warning_status'])) - echo ' - (', $context['warning_status'], ')'; - - echo ' -
    '; - } - - // Is this member requiring activation and/or banned? - if (!empty($context['activate_message']) || !empty($context['member']['bans'])) - { - - // If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves. - if (!empty($context['activate_message'])) - echo ' -
    ', $context['activate_message'], ' (', $context['activate_link_text'], ')
    '; - - // If the current member is banned, show a message and possibly a link to the ban. - if (!empty($context['member']['bans'])) - { - echo ' -
    ', $txt['user_is_banned'], ' [' . $txt['view_ban'] . ']
    - '; - } - } - - echo ' -
    ', $txt['date_registered'], ':
    -
    ', $context['member']['registered'], '
    '; - - // If the person looking is allowed, they can check the members IP address and hostname. - if ($context['can_see_ip']) - { - if (!empty($context['member']['ip'])) - echo ' -
    ', $txt['ip'], ':
    -
    ', $context['member']['ip'], '
    '; - - if (empty($modSettings['disableHostnameLookup']) && !empty($context['member']['ip'])) - echo ' -
    ', $txt['hostname'], ':
    -
    ', $context['member']['hostname'], '
    '; - } - - echo ' -
    ', $txt['local_time'], ':
    -
    ', $context['member']['local_time'], '
    '; - - if (!empty($modSettings['userLanguage']) && !empty($context['member']['language'])) - echo ' -
    ', $txt['language'], ':
    -
    ', $context['member']['language'], '
    '; - - echo ' -
    ', $txt['lastLoggedIn'], ':
    -
    ', $context['member']['last_login'], '
    -
    '; - - // Are there any custom profile fields for the summary? - if (!empty($context['custom_fields'])) - { - $shown = false; - foreach ($context['custom_fields'] as $field) - { - if ($field['placement'] != 2 || empty($field['output_html'])) - continue; - if (empty($shown)) - { - $shown = true; - echo ' -
    -
      '; - } - echo ' -
    • ', $field['output_html'], '
    • '; - } - if ($shown) - echo ' -
    -
    '; - } - - // Show the users signature. - if ($context['signature_enabled'] && !empty($context['member']['signature'])) - echo ' -
    -
    ', $txt['signature'], ':
    - ', $context['member']['signature'], ' -
    '; - - echo ' -
    - -
    -
    -
    -
    '; -} - -// Template for showing all the posts of the user, in chronological order. -function template_showPosts() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    - ', (!isset($context['attachments']) && empty($context['is_topics']) ? $txt['showMessages'] : (!empty($context['is_topics']) ? $txt['showTopics'] : $txt['showAttachments'])), ' - ', $context['member']['name'], ' -

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - // Button shortcuts - $quote_button = create_button('quote.gif', 'reply_quote', 'quote', 'align="middle"'); - $reply_button = create_button('reply_sm.gif', 'reply', 'reply', 'align="middle"'); - $remove_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"'); - $notify_button = create_button('notify_sm.gif', 'notify_replies', 'notify', 'align="middle"'); - - // Are we displaying posts or attachments? - if (!isset($context['attachments'])) - { - // For every post to be displayed, give it its own div, and show the important details of the post. - foreach ($context['posts'] as $post) - { - echo ' -
    -
    - -
    -
    ', $post['counter'], '
    -
    -
    ', $post['board']['name'], ' / ', $post['subject'], '
    - « ', $txt['on'], ': ', $post['time'], ' » -
    -
    '; - - if (!$post['approved']) - echo ' -
    - ', $txt['post_awaiting_approval'], ' -
    '; - - echo ' - ', $post['body'], ' -
    -
    '; - - if ($post['can_reply'] || $post['can_mark_notify'] || $post['can_delete']) - echo ' -
    -
      '; - - // If they *can* reply? - if ($post['can_reply']) - echo ' -
    • ', $txt['reply'], '
    • '; - - // If they *can* quote? - if ($post['can_quote']) - echo ' -
    • ', $txt['quote'], '
    • '; - - // Can we request notification of topics? - if ($post['can_mark_notify']) - echo ' -
    • ', $txt['notify'], '
    • '; - - // How about... even... remove it entirely?! - if ($post['can_delete']) - echo ' -
    • ', $txt['remove'], '
    • '; - - if ($post['can_reply'] || $post['can_mark_notify'] || $post['can_delete']) - echo ' -
    -
    '; - - echo ' -
    - -
    -
    '; - } - } - else - { - echo ' - - - - - - - - - - '; - - // Looks like we need to do all the attachments instead! - $alternate = false; - foreach ($context['attachments'] as $attachment) - { - echo ' - - - - - - '; - $alternate = !$alternate; - } - - // No posts? Just end the table with a informative message. - if ((isset($context['attachments']) && empty($context['attachments'])) || (!isset($context['attachments']) && empty($context['posts']))) - echo ' - - - '; - - echo ' - -
    - - ', $txt['show_attach_filename'], ' - ', ($context['sort_order'] == 'filename' ? '' : ''), ' - - - - ', $txt['show_attach_downloads'], ' - ', ($context['sort_order'] == 'downloads' ? '' : ''), ' - - - - ', $txt['message'], ' - ', ($context['sort_order'] == 'subject' ? '' : ''), ' - - - - ', $txt['show_attach_posted'], ' - ', ($context['sort_order'] == 'posted' ? '' : ''), ' - -
    ', $attachment['filename'], '', !$attachment['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : '', '', $attachment['downloads'], '', $attachment['subject'], '', $attachment['posted'], '
    - ', isset($context['attachments']) ? $txt['show_attachments_none'] : ($context['is_topics'] ? $txt['show_topics_none'] : $txt['show_posts_none']), ' -
    '; - } - // Show more page numbers. - echo ' -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; -} - -// Template for showing all the buddies of the current user. -function template_editBuddies() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    - ', $txt['editBuddies'], ' -

    -
    - - - - - - - - - - - '; - - // If they don't have any buddies don't list them! - if (empty($context['buddies'])) - echo ' - - - '; - - // Now loop through each buddy showing info on each. - $alternate = false; - foreach ($context['buddies'] as $buddy) - { - echo ' - - - - - - - - - - '; - - $alternate = !$alternate; - } - - echo ' -
    ', $txt['name'], '', $txt['status'], '', $txt['email'], '', $txt['icq'], '', $txt['aim'], '', $txt['yim'], '', $txt['msn'], '
    ', $txt['no_buddies'], '
    ', $buddy['link'], '', $buddy['online']['label'], '', ($buddy['show_email'] == 'no' ? '' : '' . $txt['email'] . ''), '', $buddy['icq']['link'], '', $buddy['aim']['link'], '', $buddy['yim']['link'], '', $buddy['msn']['link'], '', $txt['buddy_remove'], '
    '; - - // Add a new buddy? - echo ' -
    -
    -
    -
    -

    ', $txt['buddy_add'], '

    -
    - -
    - - - -
    - -
    -
    - - '; -} - -// Template for showing the ignore list of the current user. -function template_editIgnoreList() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -

    - ', $txt['editIgnoreList'], ' -

    -
    - - - - - - - - - - - '; - - // If they don't have anyone on their ignore list, don't list it! - if (empty($context['ignore_list'])) - echo ' - - - '; - - // Now loop through each buddy showing info on each. - $alternate = false; - foreach ($context['ignore_list'] as $member) - { - echo ' - - - - - - - - - - '; - - $alternate = !$alternate; - } - - echo ' -
    ', $txt['name'], '', $txt['status'], '', $txt['email'], '', $txt['icq'], '', $txt['aim'], '', $txt['yim'], '', $txt['msn'], '
    ', $txt['no_ignore'], '
    ', $member['link'], '', $member['online']['label'], '', ($member['show_email'] == 'no' ? '' : '' . $txt['email'] . ''), '', $member['icq']['link'], '', $member['aim']['link'], '', $member['yim']['link'], '', $member['msn']['link'], '', $txt['ignore_remove'], '
    '; - - // Add a new buddy? - echo ' -
    -
    -
    -
    -

    ', $txt['ignore_add'], '

    -
    - -
    - - - -
    - -
    -
    - - '; -} - -// This template shows an admin information on a users IP addresses used and errors attributed to them. -function template_trackActivity() -{ - global $context, $settings, $options, $scripturl, $txt; - - // The first table shows IP information about the user. - echo ' -
    -

    ', $txt['view_ips_by'], ' ', $context['member']['name'], '

    -
    '; - - // The last IP the user used. - echo ' -
    - -
    -
    -
    ', $txt['most_recent_ip'], ': - ', (empty($context['last_ip2']) ? '' : '
    - (' . $txt['why_two_ip_address'] . ')'), ' -
    -
    - ', $context['last_ip'], ''; - - // Second address detected? - if (!empty($context['last_ip2'])) - echo ' - , ', $context['last_ip2'], ''; - - echo ' -
    '; - - // Lists of IP addresses used in messages / error messages. - echo ' -
    ', $txt['ips_in_messages'], ':
    -
    - ', (count($context['ips']) > 0 ? implode(', ', $context['ips']) : '(' . $txt['none'] . ')'), ' -
    -
    ', $txt['ips_in_errors'], ':
    -
    - ', (count($context['ips']) > 0 ? implode(', ', $context['error_ips']) : '(' . $txt['none'] . ')'), ' -
    '; - - // List any members that have used the same IP addresses as the current member. - echo ' -
    ', $txt['members_in_range'], ':
    -
    - ', (count($context['members_in_range']) > 0 ? implode(', ', $context['members_in_range']) : '(' . $txt['none'] . ')'), ' -
    -
    -
    - -
    -
    '; - - // Show the track user list. - template_show_list('track_user_list'); -} - -// The template for trackIP, allowing the admin to see where/who a certain IP has been used. -function template_trackIP() -{ - global $context, $settings, $options, $scripturl, $txt; - - // This function always defaults to the last IP used by a member but can be set to track any IP. - // The first table in the template gives an input box to allow the admin to enter another IP to track. - echo ' -
    -

    ', $txt['trackIP'], '

    -
    -
    - -
    -
    ', $txt['enter_ip'], ':    
    -
    - -
    -
    '; - - // The table inbetween the first and second table shows links to the whois server for every region. - if ($context['single_ip']) - { - echo ' -
    -

    ', $txt['whois_title'], ' ', $context['ip'], '

    -
    -
    - -
    '; - foreach ($context['whois_servers'] as $server) - echo ' - ', $server['name'], '
    '; - echo ' -
    - -
    -
    '; - } - - // The second table lists all the members who have been logged as using this IP address. - echo ' -
    -

    ', $txt['members_from_ip'], ' ', $context['ip'], '

    -
    '; - if (empty($context['ips'])) - echo ' -

    ', $txt['no_members_from_ip'], '

    '; - else - { - echo ' - - - - - - - - '; - - // Loop through each of the members and display them. - foreach ($context['ips'] as $ip => $memberlist) - echo ' - - - - '; - - echo ' - -
    ', $txt['ip_address'], '', $txt['display_name'], '
    ', $ip, '', implode(', ', $memberlist), '
    -
    '; - } - - template_show_list('track_message_list'); - - echo '
    '; - - template_show_list('track_user_list'); -} - -function template_showPermissions() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -

    - ', $txt['showPermissions'], ' -

    -
    '; - - if ($context['member']['has_all_permissions']) - { - echo ' -

    ', $txt['showPermissions_all'], '

    '; - } - else - { - echo ' -

    ',$txt['showPermissions_help'],'

    -
    '; - - if (!empty($context['no_access_boards'])) - { - echo ' -
    -

    ', $txt['showPermissions_restricted_boards'], '

    -
    -
    - -
    ', $txt['showPermissions_restricted_boards_desc'], ':
    '; - foreach ($context['no_access_boards'] as $no_access_board) - echo ' - ', $no_access_board['name'], '', $no_access_board['is_last'] ? '' : ', '; - echo ' -
    - -
    '; - } - - // General Permissions section. - echo ' -
    -
    -

    ', $txt['showPermissions_general'], '

    -
    '; - if (!empty($context['member']['permissions']['general'])) - { - echo ' - - - - - - - - '; - - foreach ($context['member']['permissions']['general'] as $permission) - { - echo ' - - - - '; - } - echo ' - -
    ', $txt['showPermissions_permission'], '', $txt['showPermissions_status'], '
    - ', $permission['is_denied'] ? '' . $permission['name'] . '' : $permission['name'], ' - '; - - if ($permission['is_denied']) - echo ' - ', $txt['showPermissions_denied'], ': ', implode(', ', $permission['groups']['denied']),''; - else - echo ' - ', $txt['showPermissions_given'], ': ', implode(', ', $permission['groups']['allowed']); - - echo ' -
    -

    '; - } - else - echo ' -

    ', $txt['showPermissions_none_general'], '

    '; - - // Board permission section. - echo ' -
    -
    -
    -

    - ', $txt['showPermissions_select'], ': - -

    -
    -
    '; - if (!empty($context['member']['permissions']['board'])) - { - echo ' - - - - - - - - '; - foreach ($context['member']['permissions']['board'] as $permission) - { - echo ' - - - - '; - } - echo ' - -
    ', $txt['showPermissions_permission'], '', $txt['showPermissions_status'], '
    - ', $permission['is_denied'] ? '' . $permission['name'] . '' : $permission['name'], ' - '; - - if ($permission['is_denied']) - { - echo ' - ', $txt['showPermissions_denied'], ': ', implode(', ', $permission['groups']['denied']), ''; - } - else - { - echo ' - ', $txt['showPermissions_given'], ':  ', implode(', ', $permission['groups']['allowed']); - } - echo ' -
    '; - } - else - echo ' -

    ', $txt['showPermissions_none_board'], '

    '; - echo ' -
    -
    '; - } -} - -// Template for user statistics, showing graphs and the like. -function template_statPanel() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // First, show a few text statistics such as post/topic count. - echo ' -
    -
    -
    -

    - - ', $txt['statPanel_generalStats'], ' - ', $context['member']['name'], ' - -

    -
    -
    - -
    -
    -
    ', $txt['statPanel_total_time_online'], ':
    -
    ', $context['time_logged_in'], '
    -
    ', $txt['statPanel_total_posts'], ':
    -
    ', $context['num_posts'], ' ', $txt['statPanel_posts'], '
    -
    ', $txt['statPanel_total_topics'], ':
    -
    ', $context['num_topics'], ' ', $txt['statPanel_topics'], '
    -
    ', $txt['statPanel_users_polls'], ':
    -
    ', $context['num_polls'], ' ', $txt['statPanel_polls'], '
    -
    ', $txt['statPanel_users_votes'], ':
    -
    ', $context['num_votes'], ' ', $txt['statPanel_votes'], '
    -
    -
    - -
    -
    '; - - // This next section draws a graph showing what times of day they post the most. - echo ' -
    -
    -

    - ', $txt['statPanel_activityTime'], ' -

    -
    -
    - -
    '; - - // If they haven't post at all, don't draw the graph. - if (empty($context['posts_by_time'])) - echo ' - ', $txt['statPanel_noPosts'], ''; - // Otherwise do! - else - { - echo ' -
      '; - - // The labels. - foreach ($context['posts_by_time'] as $time_of_day) - { - echo ' - -
      -
      - ', sprintf($txt['statPanel_activityTime_posts'], $time_of_day['posts'], $time_of_day['posts_percent']), ' -
      -
      - ', $time_of_day['hour_format'], ' - '; - } - - echo ' - -
    '; - } - - echo ' - -
    - -
    -
    '; - - // Two columns with the most popular boards by posts and activity (activity = users posts / total posts). - echo ' -
    -
    -
    -

    - ', $txt['statPanel_topBoards'], ' -

    -
    -
    - -
    '; - - if (empty($context['popular_boards'])) - echo ' - ', $txt['statPanel_noPosts'], ''; - - else - { - echo ' -
    '; - - // Draw a bar for every board. - foreach ($context['popular_boards'] as $board) - { - echo ' -
    ', $board['link'], '
    -
    -
    - ', sprintf($txt['statPanel_topBoards_memberposts'], $board['posts'], $board['total_posts_member'], $board['posts_percent']), ' -
    - ', empty($context['hide_num_posts']) ? $board['posts'] : '', ' -
    '; - } - - echo ' -
    '; - } - echo ' -
    - -
    -
    '; - echo ' -
    -
    -

    - ', $txt['statPanel_topBoardsActivity'], ' -

    -
    -
    - -
    '; - - if (empty($context['board_activity'])) - echo ' - ', $txt['statPanel_noPosts'], ''; - else - { - echo ' -
    '; - - // Draw a bar for every board. - foreach ($context['board_activity'] as $activity) - { - echo ' -
    ', $activity['link'], '
    -
    -
    - ', sprintf($txt['statPanel_topBoards_posts'], $activity['posts'], $activity['total_posts'], $activity['posts_percent']), ' -
    - ', $activity['percent'], '% -
    '; - } - - echo ' -
    '; - } - echo ' -
    - -
    -
    -
    '; - - echo ' -
    -
    '; -} - -// Template for editing profile options. -function template_edit_options() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The main header! - echo ' -
    -
    -

    - '; - - // Don't say "Profile" if this isn't the profile... - if (!empty($context['profile_header_text'])) - echo ' - ', $context['profile_header_text']; - else - echo ' - ', $txt['profile']; - - echo ' - -

    -
    '; - - // Have we some description? - if ($context['page_desc']) - echo ' -

    ', $context['page_desc'], '

    '; - - echo ' -
    - -
    '; - - // Any bits at the start? - if (!empty($context['profile_prehtml'])) - echo ' -
    ', $context['profile_prehtml'], '
    '; - - - - if (!empty($context['profile_fields'])) - echo ' -
    '; - - // Start the big old loop 'of love. - $lastItem = 'hr'; - foreach ($context['profile_fields'] as $key => $field) - { - // We add a little hack to be sure we never get more than one hr in a row! - if ($lastItem == 'hr' && $field['type'] == 'hr') - continue; - - $lastItem = $field['type']; - if ($field['type'] == 'hr') - { - echo ' -
    -
    -
    '; - } - elseif ($field['type'] == 'callback') - { - if (isset($field['callback_func']) && function_exists('template_profile_' . $field['callback_func'])) - { - $callback_func = 'template_profile_' . $field['callback_func']; - $callback_func(); - } - } - else - { - echo ' -
    - ', $field['label'], ''; - - // Does it have any subtext to show? - if (!empty($field['subtext'])) - echo ' -
    - ', $field['subtext'], ''; - - echo ' -
    -
    '; - - // Want to put something infront of the box? - if (!empty($field['preinput'])) - echo ' - ', $field['preinput']; - - // What type of data are we showing? - if ($field['type'] == 'label') - echo ' - ', $field['value']; - - // Maybe it's a text box - very likely! - elseif (in_array($field['type'], array('int', 'float', 'text', 'password'))) - echo ' - '; - - // You "checking" me out? ;) - elseif ($field['type'] == 'check') - echo ' - '; - - // Always fun - select boxes! - elseif ($field['type'] == 'select') - { - echo ' - '; - } - - // Something to end with? - if (!empty($field['postinput'])) - echo ' - ', $field['postinput']; - - echo ' -
    '; - } - } - - if (!empty($context['profile_fields'])) - echo ' -
    '; - - // Are there any custom profile fields - if so print them! - if (!empty($context['custom_fields'])) - { - if ($lastItem != 'hr') - echo ' -
    '; - - echo ' -
    '; - - foreach ($context['custom_fields'] as $field) - { - echo ' -
    - ', $field['name'], ':
    - ', $field['desc'], ' -
    -
    - ', $field['input_html'], ' -
    '; - } - - echo ' -
    '; - - } - - // Any closing HTML? - if (!empty($context['profile_posthtml'])) - echo ' -
    ', $context['profile_posthtml'], '
    '; - elseif ($lastItem != 'hr') - echo ' -
    '; - - // Only show the password box if it's actually needed. - if ($context['require_password']) - echo ' -
    -
    - ', $txt['current_password'], ':
    - ', $txt['required_security_reasons'], ' -
    -
    - -
    -
    '; - - echo ' -
    '; - - // The button shouldn't say "Change profile" unless we're changing the profile... - if (!empty($context['submit_button_text'])) - echo ' - '; - else - echo ' - '; - - echo ' - - - -
    -
    - -
    -
    -
    '; - - // Some javascript! - echo ' - '; - - // Any final spellchecking stuff? - if (!empty($context['show_spellchecking'])) - echo ' -
    '; -} - -// Personal Message settings. -function template_profile_pm_settings() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    - -
    -
    - -
    -
    - -
    -
    - - -
    - -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - - -
    -
    -
    -
    -
    - -
    -
    - - -
    -
    - -
    -
    - - -
    '; - -} - -// Template for showing theme settings. Note: template_options() actually adds the theme specific options. -function template_profile_theme_settings() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - echo ' -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • '; - - if ($settings['allow_no_censored']) - echo ' -
    • - - -
    • '; - - echo ' -
    • - - -
    • -
    • - - -
    • '; - - if (!empty($modSettings['enable_buddylist'])) - echo ' -
    • - - -
    • '; - - echo ' -
    • - - -
    • '; - - // Choose WYSIWYG settings? - if (empty($modSettings['disable_wysiwyg'])) - echo ' -
    • - - -
    • '; - - if (empty($modSettings['disableCustomPerPage'])) - { - echo ' -
    • - - -
    • -
    • - - -
    • '; - } - - if (!empty($modSettings['cal_enabled'])) - echo ' -
    • - - -
    • '; - - echo ' -
    • - - -
    • -
    • - - -
    • -
    -
    -
    '; -} - -function template_notification() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - // The main containing header. - echo ' -
    -

    - ', $txt['profile'], ' -

    -
    -

    ', $txt['notification_info'], '

    -
    - -
    -
    '; - - // Allow notification on announcements to be disabled? - if (!empty($modSettings['allow_disableAnnounce'])) - echo ' - -
    '; - - // More notification options. - echo ' - -
    '; - - if (empty($modSettings['disallow_sendBody'])) - echo ' - -
    '; - - echo ' -
    - - -

    - -
    - -
    - - - - -

    -
    -
    - -
    -
    '; - - template_show_list('topic_notification_list'); - - echo ' -
    '; - - template_show_list('board_notification_list'); -} - -// Template for choosing group membership. -function template_groupMembership() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The main containing header. - echo ' -
    -
    -

    - ', $txt['profile'], ' -

    -
    -

    ', $txt['groupMembership_info'], '

    '; - - // Do we have an update message? - if (!empty($context['update_message'])) - echo ' -
    - ', $context['update_message'], '. -
    '; - - // Requesting membership to a group? - if (!empty($context['group_request'])) - { - echo ' -
    -
    -

    ', $txt['request_group_membership'], '

    -
    - -
    - ', $txt['request_group_membership_desc'], ': - -
    - - -
    -
    - -
    '; - } - else - { - echo ' - - - - - - - - '; - - $alternate = true; - foreach ($context['groups']['member'] as $group) - { - echo ' - '; - - if ($context['can_edit_primary']) - echo ' - '; - - echo ' - - - '; - $alternate = !$alternate; - } - - echo ' - -
    ', $txt['current_membergroups'], '
    - - - - '; - - // Can they leave their group? - if ($group['can_leave']) - echo ' - ' . $txt['leave_group'] . ''; - echo ' -
    '; - - if ($context['can_edit_primary']) - echo ' -
    - -
    '; - - // Any groups they can join? - if (!empty($context['groups']['available'])) - { - echo ' -
    - - - - - - - - '; - - $alternate = true; - foreach ($context['groups']['available'] as $group) - { - echo ' - - - - '; - $alternate = !$alternate; - } - echo ' - -
    - ', $txt['available_groups'], ' -
    - ', (empty($group['color']) ? $group['name'] : '' . $group['name'] . ''), '', (!empty($group['desc']) ? '
    ' . $group['desc'] . '' : ''), ' -
    '; - - if ($group['type'] == 3) - echo ' - ', $txt['join_group'], ''; - elseif ($group['type'] == 2 && $group['pending']) - echo ' - ', $txt['approval_pending']; - elseif ($group['type'] == 2) - echo ' - ', $txt['request_group'], ''; - - echo ' -
    '; - } - - // Javascript for the selector stuff. - echo ' - '; - } - - echo ' - - -
    '; -} - -function template_ignoreboards() -{ - global $context, $txt, $settings, $scripturl; - // The main containing header. - echo ' - - -
    -
    -

    - ', $txt['profile'], ' -

    -
    -

    ', $txt['ignoreboards_info'], '

    -
    - -
    -
      '; - - $i = 0; - $limit = ceil($context['num_boards'] / 2); - foreach ($context['categories'] as $category) - { - if ($i == $limit) - { - echo ' -
    -
      '; - - $i++; - } - - echo ' -
    • - ', $category['name'], ' -
        '; - - foreach ($category['boards'] as $board) - { - if ($i == $limit) - echo ' -
      -
    • -
    -
      -
    • -
        '; - - echo ' -
      • - -
      • '; - - $i++; - } - - echo ' -
      -
    • '; - } - - echo ' -
    -
    '; - - // Show the standard "Save Settings" profile button. - template_profile_save(); - - echo ' -
    - -
    -
    -
    '; -} - -// Simple load some theme variables common to several warning templates. -function template_load_warning_variables() -{ - global $modSettings, $context; - - $context['warningBarWidth'] = 200; - // Setup the colors - this is a little messy for theming. - $context['colors'] = array( - 0 => 'green', - $modSettings['warning_watch'] => 'darkgreen', - $modSettings['warning_moderate'] => 'orange', - $modSettings['warning_mute'] => 'red', - ); - - // Work out the starting color. - $context['current_color'] = $context['colors'][0]; - foreach ($context['colors'] as $limit => $color) - if ($context['member']['warning'] >= $limit) - $context['current_color'] = $color; -} - -// Show all warnings of a user? -function template_viewWarning() -{ - global $context, $txt, $scripturl, $settings; - - template_load_warning_variables(); - - echo ' -
    -

    - - ', sprintf($txt['profile_viewwarning_for_user'], $context['member']['name']), ' - -

    -
    -
    - -
    -
    -
    - ', $txt['profile_warning_name'], ': -
    -
    - ', $context['member']['name'], ' -
    -
    - ', $txt['profile_warning_level'], ': -
    -
    -
    -
    -
    -
    ', $context['member']['warning'], '%
    -
     
    -
    -
    -
    -
    '; - - // There's some impact of this? - if (!empty($context['level_effects'][$context['current_level']])) - echo ' -
    - ', $txt['profile_viewwarning_impact'], ': -
    -
    - ', $context['level_effects'][$context['current_level']], ' -
    '; - - echo ' -
    -
    - -
    '; - - template_show_list('view_warnings'); -} - -// Show a lovely interface for issuing warnings. -function template_issueWarning() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - template_load_warning_variables(); - - echo ' - '; - - echo ' -
    -
    -

    - - ', $context['user']['is_owner'] ? $txt['profile_warning_level'] : $txt['profile_issue_warning'], ' - -

    -
    '; - - if (!$context['user']['is_owner']) - echo ' -

    ', $txt['profile_warning_desc'], '

    '; - - echo ' -
    - -
    -
    '; - - if (!$context['user']['is_owner']) - echo ' -
    - ', $txt['profile_warning_name'], ': -
    -
    - ', $context['member']['name'], ' -
    '; - - echo ' -
    - ', $txt['profile_warning_level'], ':'; - - // Is there only so much they can apply? - if ($context['warning_limit']) - echo ' -
    ', sprintf($txt['profile_warning_limit_attribute'], $context['warning_limit']), ''; - - echo ' -
    -
    - -
    -  ', $txt['profile_warning_max'], ' -
    ', $txt['profile_warning_impact'], ':
    '; - // For non-javascript give a better list. - foreach ($context['level_effects'] as $limit => $effect) - echo ' - ', sprintf($txt['profile_warning_effect_text'], $limit, $effect), '
    '; - - echo ' -
    -
    -
    '; - - if (!$context['user']['is_owner']) - { - echo ' -
    - ', $txt['profile_warning_reason'], ':
    - ', $txt['profile_warning_reason_desc'], ' -
    -
    - -
    -
    -
    -
    -
    - ', $txt['profile_warning_notify'], ': -
    -
    - -
    -
    - ', $txt['profile_warning_notify_subject'], ': -
    -
    - -
    -
    - ', $txt['profile_warning_notify_body'], ': -
    -
    - -
    - -
    '; - } - echo ' -
    -
    - - -
    -
    - -
    -
    '; - - // Previous warnings? - echo '
    -
    -

    - ', $txt['profile_warning_previous'], ' -

    -
    - - - - - - - - - - '; - - // Print the warnings. - $alternate = 0; - foreach ($context['previous_warnings'] as $warning) - { - $alternate = !$alternate; - echo ' - - - - - - '; - } - - if (empty($context['previous_warnings'])) - echo ' - - - '; - - echo ' - -
    ', $txt['profile_warning_previous_issued'], '', $txt['profile_warning_previous_time'], '', $txt['profile_warning_previous_reason'], '', $txt['profile_warning_previous_level'], '
    ', $warning['issuer']['link'], '', $warning['time'], ' -
    - ', $warning['reason'], ' -
    '; - - if (!empty($warning['id_notice'])) - echo ' -
    - -
    '; - echo ' -
    ', $warning['counter'], '
    - ', $txt['profile_warning_previous_none'], ' -
    -
    ', $txt['pages'], ': ', $context['page_index'], '
    '; - - // Do our best to get pretty javascript enabled. - echo ' - '; -} - -// Template to show for deleting a users account - now with added delete post capability! -function template_deleteAccount() -{ - global $context, $settings, $options, $scripturl, $txt, $scripturl; - - // The main containing header. - echo ' -
    -
    -

    - ', $txt['deleteAccount'], ' -

    -
    '; - // If deleting another account give them a lovely info box. - if (!$context['user']['is_owner']) - echo ' -

    ', $txt['deleteAccount_desc'], '

    '; - echo ' -
    - -
    '; - - // If they are deleting their account AND the admin needs to approve it - give them another piece of info ;) - if ($context['needs_approval']) - echo ' -
    ', $txt['deleteAccount_approval'], '
    '; - - // If the user is deleting their own account warn them first - and require a password! - if ($context['user']['is_owner']) - { - echo ' -
    ', $txt['own_profile_confirm'], '
    -
    - ', $txt['current_password'], ': -      - - - - -
    '; - } - // Otherwise an admin doesn't need to enter a password - but they still get a warning - plus the option to delete lovely posts! - else - { - echo ' -
    ', $txt['deleteAccount_warning'], '
    '; - - // Only actually give these options if they are kind of important. - if ($context['can_delete_posts']) - echo ' -
    - ', $txt['deleteAccount_posts'], ': - -
    '; - - echo ' -
    - -
    -
    - - - - -
    '; - } - echo ' -
    - -
    -
    -
    '; -} - -// Template for the password box/save button stuck at the bottom of every profile page. -function template_profile_save() -{ - global $context, $settings, $options, $txt; - - echo ' - -
    '; - - // Only show the password box if it's actually needed. - if ($context['require_password']) - echo ' -
    -
    - ', $txt['current_password'], ':
    - ', $txt['required_security_reasons'], ' -
    -
    - -
    -
    '; - - echo ' -
    - - - - -
    '; -} - -// Small template for showing an error message upon a save problem in the profile. -function template_error_message() -{ - global $context, $txt; - - echo ' -
    - ', !empty($context['custom_error_title']) ? $context['custom_error_title'] : $txt['profile_errors_occurred'], ': -
      '; - - // Cycle through each error and display an error message. - foreach ($context['post_errors'] as $error) - echo ' -
    • ', isset($txt['profile_error_' . $error]) ? $txt['profile_error_' . $error] : $error, '.
    • '; - - echo ' -
    -
    '; -} - -// Display a load of drop down selectors for allowing the user to change group. -function template_profile_group_manage() -{ - global $context, $txt, $scripturl; - - echo ' -
    - ', $txt['primary_membergroup'], ':
    - (', $txt['moderator_why_missing'], ') -
    -
    - -
    -
    - ', $txt['additional_membergroups'], ': -
    -
    - - '; - // For each membergroup show a checkbox so members can be assigned to more than one group. - foreach ($context['member_groups'] as $member_group) - if ($member_group['can_be_additional']) - echo ' -
    '; - echo ' -
    - - -
    '; - -} - - -// Callback function for editing fish avatar -function template_profile_fish_equipper() -{ - global $txt, $context, $boardurl; - - // include a hidden field to trigger the validate function? - echo''; - - // pass current inventory to js - echo''; - - // create the fish canvas - echo ' -
    - ', $txt['inv_fish_avatar'], '
    - - ', sprintf($txt['fish_avatar_img_alt'], $context['member']['name']),' -
    '; - - // load the avatar - echo ''; - - // display only bodies first - echo '
    ', $txt['inv_body_type'], '
    '; - foreach ($context['member']['inventory'] as $key => $value) { - if($value['equip_slot'] != EquipSlot::BodyBase) - { - continue; - } - displayEquipmentIconButton($value); - } - - // and then faces - echo '
    ', $txt['inv_face_type'], '
    '; - foreach ($context['member']['inventory'] as $key => $value) { - if($value['equip_slot'] != EquipSlot::FaceBase) - { - continue; - } - displayEquipmentIconButton($value); - } - - // display the rest of the equipment - echo '
    ', $txt['inv_equipment'], '
    '; - foreach ($context['member']['inventory'] as $key => $value) { - if(isSlotRequired($value['equip_slot'])) - { - continue; - } - - displayEquipmentIconButton($value); - } - - - echo '
    '; -} - -function displayEquipmentIconButton($item) -{ - global $txt, $context, $boardurl; - - echo ''; - echo '
    '; - echo ''; - if ($item['count'] > 1) - { - echo "
    {$item['count']}
    "; - } - echo '
    '; -} - -// Callback function for entering a birthdate! -function template_profile_birthdate() -{ - global $txt, $context; - - // Just show the pretty box! - echo ' -
    - ', $txt['dob'], '
    - ', $txt['dob_year'], ' - ', $txt['dob_month'], ' - ', $txt['dob_day'], ' -
    -
    - - - - - -
    '; -} - -// Show the signature editing box? -function template_profile_signature_modify() -{ - global $txt, $context, $settings; - - echo ' -
    - ', $txt['signature'], ':
    - ', $txt['sig_info'], '
    -
    '; - - if ($context['show_spellchecking']) - echo ' - '; - - echo ' -
    -
    -
    '; - - // If there is a limit at all! - if (!empty($context['signature_limits']['max_length'])) - echo ' - ', sprintf($txt['max_sig_characters'], $context['signature_limits']['max_length']), ' ', $context['signature_limits']['max_length'], '
    '; - - if ($context['signature_warning']) - echo ' - ', $context['signature_warning'], ''; - - // Load the spell checker? - if ($context['show_spellchecking']) - echo ' - '; - - // Some javascript used to count how many characters have been used so far in the signature. - echo ' - -
    '; -} - -function template_profile_avatar_select() -{ - global $context, $txt, $modSettings; - - // Start with the upper menu - echo ' -
    - ', $txt['personal_picture'], ' -
    - ', !empty($context['member']['avatar']['allow_server_stored']) ? '
    ' : '', ' - ', !empty($context['member']['avatar']['allow_external']) ? '
    ' : '', ' - ', !empty($context['member']['avatar']['allow_upload']) ? '' : '', ' -
    -
    '; - - // If users are allowed to choose avatars stored on the server show selection boxes to choice them from. - if (!empty($context['member']['avatar']['allow_server_stored'])) - { - echo ' -
    -
    - -
    -
    - -
    -
    Do Nothing
    - -
    '; - } - - // If the user can link to an off server avatar, show them a box to input the address. - if (!empty($context['member']['avatar']['allow_external'])) - { - echo ' -
    -
    ', $txt['avatar_by_url'], '
    - -
    '; - } - - // If the user is able to upload avatars to the server show them an upload box. - if (!empty($context['member']['avatar']['allow_upload'])) - { - echo ' -
    - - ', ($context['member']['avatar']['id_attach'] > 0 ? '

    ' : ''), ' -
    '; - } - - echo ' - -
    '; -} - -// Callback for modifying karam. -function template_profile_karma_modify() -{ - global $context, $modSettings, $txt; - - echo ' -
    - ', $modSettings['karmaLabel'], ' -
    -
    - ', $modSettings['karmaApplaudLabel'], ' ', $modSettings['karmaSmiteLabel'], '
    - (', $txt['total'], ': ', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), ') -
    '; -} - -// Select the time format! -function template_profile_timeformat_modify() -{ - global $context, $modSettings, $txt, $scripturl, $settings; - - echo ' -
    - ', $txt['time_format'], ':
    - ', $txt['help'], ' -  ', $txt['date_format'], ' -
    -
    -
    - -
    '; -} - -// Time offset? -function template_profile_timeoffset_modify() -{ - global $txt, $context; - - echo ' -
    - ', $txt['time_offset'], ':
    - ', $txt['personal_time_offset'], ' -
    -
    - ', $txt['timeoffset_autodetect'], '
    ', $txt['current_time'], ': ', $context['current_forum_time'], ' -
    '; -} - -// Theme? -function template_profile_theme_pick() -{ - global $txt, $context, $scripturl; - - echo ' -
    - ', $txt['current_theme'], ': -
    -
    - ', $context['member']['theme']['name'], ' ', $txt['change'], ' -
    '; -} - -// Smiley set picker. -function template_profile_smiley_pick() -{ - global $txt, $context, $modSettings, $settings; - - echo ' -
    - ', $txt['smileys_current'], ': -
    -
    - :) -
    '; -} - -// Change the way you login to the forum. -function template_authentication_method() -{ - global $context, $settings, $options, $scripturl, $modSettings, $txt; - - // The main header! - echo ' - -
    -
    -

    - ', $txt['authentication'], ' -

    -
    -

    ', $txt['change_authentication'], '

    -
    - -
    -
    -
    -  (?)
    - -
    -
    -
    -
    - ', $txt['authenticate_openid_url'], ': -
    -
    - -
    -
    -
    -
    - ', $txt['choose_pass'], ': -
    -
    - - -
    -
    - ', $txt['verify_pass'], ': -
    -
    - - -
    -
    -
    -
    '; - - if ($context['require_password']) - echo ' -
    -
    -
    - ', $txt['current_password'], ':
    - ', $txt['required_security_reasons'], ' -
    -
    - -
    -
    '; - -echo ' -
    - - - - -
    -
    - -
    -
    '; - - // The password stuff. - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Recent.template.php b/config/themes/default/Recent.template.php deleted file mode 100755 index 900dd7e..0000000 --- a/config/themes/default/Recent.template.php +++ /dev/null @@ -1,446 +0,0 @@ - -
    -

    - ',$txt['recent_posts'],' -

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - foreach ($context['posts'] as $post) - { - echo ' -
    - -
    -
    ', $post['counter'], '
    -
    -
    ', $post['board']['link'], ' / ', $post['link'], '
    - « ', $txt['last_post'], ' ', $txt['by'], ' ', $post['poster']['link'], ' ', $txt['on'], ' ', $post['time'], ' » -
    -
    ', $post['message'], '
    -
    '; - - if ($post['can_reply'] || $post['can_mark_notify'] || $post['can_delete']) - echo ' -
    -
      '; - - // If they *can* reply? - if ($post['can_reply']) - echo ' -
    • ', $txt['reply'], '
    • '; - - // If they *can* quote? - if ($post['can_quote']) - echo ' -
    • ', $txt['quote'], '
    • '; - - // Can we request notification of topics? - if ($post['can_mark_notify']) - echo ' -
    • ', $txt['notify'], '
    • '; - - // How about... even... remove it entirely?! - if ($post['can_delete']) - echo ' -
    • ', $txt['remove'], '
    • '; - - if ($post['can_reply'] || $post['can_mark_notify'] || $post['can_delete']) - echo ' -
    -
    '; - - echo ' - -
    '; - - } - - echo ' -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    - '; -} - -function template_unread() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - echo ' -
    '; - - $showCheckboxes = !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $settings['show_mark_read']; - - if ($showCheckboxes) - echo ' -
    - - - '; - - if ($settings['show_mark_read']) - { - // Generate the button strip. - $mark_read = array( - 'markread' => array('text' => !empty($context['no_board_limits']) ? 'mark_as_read' : 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=' . (!empty($context['no_board_limits']) ? 'all' : 'board' . $context['querystring_board_limits']) . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - if ($showCheckboxes) - $mark_read['markselectread'] = array( - 'text' => 'quick_mod_markread', - 'image' => 'markselectedread.gif', - 'lang' => true, - 'url' => 'javascript:document.quickModForm.submit();', - ); - } - - if (!empty($context['topics'])) - { - echo ' -
    '; - - if (!empty($mark_read) && !empty($settings['use_tabs'])) - template_button_strip($mark_read, 'right'); - - echo ' - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - echo ' -
    - - - - - - '; - - // Show a "select all" box for quick moderation? - if ($showCheckboxes) - echo ' - - '; - else - echo ' - '; - echo ' - - - '; - - foreach ($context['topics'] as $topic) - { - // Calculate the color class of the topic. - $color_class = ''; - if (strpos($topic['class'], 'sticky') !== false) - $color_class = 'stickybg'; - if (strpos($topic['class'], 'locked') !== false) - $color_class .= 'lockedbg'; - - $color_class2 = !empty($color_class) ? $color_class . '2' : ''; - - echo ' - - - - - - '; - - if ($showCheckboxes) - echo ' - '; - echo ' - '; - } - - if (!empty($context['topics']) && !$context['showing_all_topics']) - $mark_read['readall'] = array('text' => 'unread_topics_all', 'image' => 'markreadall.gif', 'lang' => true, 'url' => $scripturl . '?action=unread;all' . $context['querystring_board_limits'], 'active' => true); - - if (empty($settings['use_tabs']) && !empty($mark_read)) - echo ' - - - '; - - if (empty($context['topics'])) - echo ' - '; - - echo ' - -
      - ', $txt['subject'], $context['sort_by'] == 'subject' ? ' ' : '', ' - - ', $txt['replies'], $context['sort_by'] == 'replies' ? ' ' : '', ' - - ', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', ' - - - - ', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' ' : '', ' -
    - - - - -
    - ', $topic['is_sticky'] ? '' : '', '', $topic['first_post']['link'], '', $topic['is_sticky'] ? '' : '', ' - ', $txt['new'], ' -

    - ', $txt['started_by'], ' ', $topic['first_post']['member']['link'], ' - ', $txt['in'], ' ', $topic['board']['link'], ' - ', $topic['pages'], ' -

    -
    -
    - ', $topic['replies'], ' ', $txt['replies'], ' -
    - ', $topic['views'], ' ', $txt['views'], ' -
    - ', $txt['last_post'], ' - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    - -
    - ', template_button_strip($mark_read, 'top'), ' -
    -
    -
    '; - - if (!empty($settings['use_tabs']) && !empty($mark_read)) - template_button_strip($mark_read, 'right'); - - echo ' - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - } - else - echo ' -
    -

    - ', $context['showing_all_topics'] ? $txt['msg_alert_none'] : $txt['unread_topics_visit_none'], ' -

    -
    '; - - if ($showCheckboxes) - echo ' -
    '; - - echo ' -
    -

    - ', !empty($modSettings['enableParticipation']) ? ' - ' . $txt['participation_caption'] . '
    ' : '', ' - ', $txt['normal_topic'], '
    - ', sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']), '
    - ', sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']), ' -

    -

    - ', $txt['locked_topic'], '
    ', ($modSettings['enableStickyTopics'] == '1' ? ' - ' . $txt['sticky_topic'] . '
    ' : ''), ($modSettings['pollMode'] == '1' ? ' - ' . $txt['poll'] : ''), ' -

    -
    -
    '; -} - -function template_replies() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - echo ' -
    '; - - $showCheckboxes = !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $settings['show_mark_read']; - - if ($showCheckboxes) - echo ' -
    - - - '; - - if (isset($context['topics_to_mark']) && !empty($settings['show_mark_read'])) - { - // Generate the button strip. - $mark_read = array( - 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=unreadreplies;topics=' . $context['topics_to_mark'] . ';' . $context['session_var'] . '=' . $context['session_id']), - ); - - if ($showCheckboxes) - $mark_read['markselectread'] = array( - 'text' => 'quick_mod_markread', - 'image' => 'markselectedread.gif', - 'lang' => true, - 'url' => 'javascript:document.quickModForm.submit();', - ); - } - - if (!empty($context['topics'])) - { - echo ' -
    '; - - if (!empty($mark_read) && !empty($settings['use_tabs'])) - template_button_strip($mark_read, 'right'); - - echo ' - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - echo ' -
    - - - - - - '; - - // Show a "select all" box for quick moderation? - if ($showCheckboxes) - echo ' - - '; - else - echo ' - '; - echo ' - - - '; - - foreach ($context['topics'] as $topic) - { - // Calculate the color class of the topic. - $color_class = ''; - if (strpos($topic['class'], 'sticky') !== false) - $color_class = 'stickybg'; - if (strpos($topic['class'], 'locked') !== false) - $color_class .= 'lockedbg'; - - $color_class2 = !empty($color_class) ? $color_class . '2' : ''; - - echo ' - - - - - - '; - - if ($showCheckboxes) - echo ' - '; - echo ' - '; - } - - if (empty($settings['use_tabs']) && !empty($mark_read)) - echo ' - - - '; - - echo ' - -
      - ', $txt['subject'], $context['sort_by'] === 'subject' ? ' ' : '', ' - - ', $txt['replies'], $context['sort_by'] === 'replies' ? ' ' : '', ' - - ', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' ' : '', ' - - - - ', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' ' : '', ' -
    - - - - -
    - ', $topic['is_sticky'] ? '' : '', '', $topic['first_post']['link'], '', $topic['is_sticky'] ? '' : '', ' - ', $txt['new'], ' -

    - ', $txt['started_by'], ' ', $topic['first_post']['member']['link'], ' - ', $txt['in'], ' ', $topic['board']['link'], ' - ', $topic['pages'], ' -

    -
    -
    - ', $topic['replies'], ' ', $txt['replies'], ' -
    - ', $topic['views'], ' ', $txt['views'], ' -
    - ', $txt['last_post'], ' - ', $topic['last_post']['time'], '
    - ', $txt['by'], ' ', $topic['last_post']['member']['link'], ' -
    - -
    - ', template_button_strip($mark_read, 'top'), ' -
    -
    -
    '; - - if (!empty($settings['use_tabs']) && !empty($mark_read)) - template_button_strip($mark_read, 'right'); - - echo ' - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - } - else - echo ' -
    -

    - ', $context['showing_all_topics'] ? $txt['msg_alert_none'] : $txt['unread_topics_visit_none'], ' -

    -
    '; - - if ($showCheckboxes) - echo ' -
    '; - - echo ' -
    -

    - ', !empty($modSettings['enableParticipation']) ? ' - ' . $txt['participation_caption'] . '
    ' : '', ' - ', $txt['normal_topic'], '
    - ', sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']), '
    - ', sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']), ' -

    -

    - ', $txt['locked_topic'], '
    ', ($modSettings['enableStickyTopics'] == '1' ? ' - ' . $txt['sticky_topic'] . '
    ' : '') . ($modSettings['pollMode'] == '1' ? ' - ' . $txt['poll'] : '') . ' -

    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Register.template.php b/config/themes/default/Register.template.php deleted file mode 100755 index 996464b..0000000 --- a/config/themes/default/Register.template.php +++ /dev/null @@ -1,733 +0,0 @@ - -
    -

    ', $txt['registration_agreement'], '

    -
    - -
    -

    ', $context['agreement'], '

    -
    - -
    '; - - // Age restriction in effect? - if ($context['show_coppa']) - echo ' -

    - '; - else - echo ' - '; - - echo ' -
    - - '; - -} - -// Before registering - get their information. -function template_registration_form() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' - - '; - - // Any errors? - if (!empty($context['registration_errors'])) - { - echo ' -
    - ', $txt['registration_errors_occurred'], ' -
      '; - - // Cycle through each error and display an error message. - foreach ($context['registration_errors'] as $error) - echo ' -
    • ', $error, '
    • '; - - echo ' -
    -
    '; - } - - echo ' -
    -
    -

    ', $txt['registration_form'], '

    -
    -
    -

    ', $txt['required_info'], '

    -
    -
    - -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - -
    -
    '; - - // If OpenID is enabled, give the user a choice between password and OpenID. - if (!empty($modSettings['enableOpenID'])) - { - echo ' -
    -
    - ', $txt['authenticate_label'], ': - (?) -
    -
    - - -
    -
    '; - } - - echo ' -
    -
    -
    - - -
    -
    -
    -
    -
    - - -
    -
    '; - - // If OpenID is enabled, give the user a choice between password and OpenID. - if (!empty($modSettings['enableOpenID'])) - { - echo ' - -
    -
    ', $txt['authenticate_openid_url'], ':
    -
    - -
    -
    '; - - } - - echo ' -
    - -
    '; - - // If we have either of these, show the extra group. - if (!empty($context['profile_fields']) || !empty($context['custom_fields'])) - { - echo ' -
    -

    ', $txt['additional_information'], '

    -
    -
    - -
    -
    '; - } - - if (!empty($context['profile_fields'])) - { - // Any fields we particularly want? - foreach ($context['profile_fields'] as $key => $field) - { - if ($field['type'] == 'callback') - { - if (isset($field['callback_func']) && function_exists('template_profile_' . $field['callback_func'])) - { - $callback_func = 'template_profile_' . $field['callback_func']; - $callback_func(); - } - } - else - { - echo ' -
    - ', $field['label'], ':'; - - // Does it have any subtext to show? - if (!empty($field['subtext'])) - echo ' - ', $field['subtext'], ''; - - echo ' -
    -
    '; - - // Want to put something infront of the box? - if (!empty($field['preinput'])) - echo ' - ', $field['preinput']; - - // What type of data are we showing? - if ($field['type'] == 'label') - echo ' - ', $field['value']; - - // Maybe it's a text box - very likely! - elseif (in_array($field['type'], array('int', 'float', 'text', 'password'))) - echo ' - '; - - // You "checking" me out? ;) - elseif ($field['type'] == 'check') - echo ' - '; - - // Always fun - select boxes! - elseif ($field['type'] == 'select') - { - echo ' - '; - } - - // Something to end with? - if (!empty($field['postinput'])) - echo ' - ', $field['postinput']; - - echo ' -
    '; - } - } - } - - // Are there any custom fields? - if (!empty($context['custom_fields'])) - { - foreach ($context['custom_fields'] as $field) - echo ' -
    - ', $field['name'], ': - ', $field['desc'], ' -
    -
    ', $field['input_html'], '
    '; - } - - // If we have either of these, close the list like a proper gent. - if (!empty($context['profile_fields']) || !empty($context['custom_fields'])) - { - echo ' -
    -
    - -
    '; - } - - if ($context['visual_verification'] && $modSettings['visual_verification_type'] != 6) - { - echo ' -
    -

    ', $txt['verification'], '

    -
    -
    - -
    - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
    - -
    '; - } - - //custom Wetfish_captcha - if($context['visual_verification'] && $modSettings['visual_verification_type'] == 6) - { - echo ' -
    -

    ', $txt['verification'], '

    -
    -
    - -
    -
    -
    - - - -
    '; - } - - echo ' -
    - -
    - -
    - '; -} - -// After registration... all done ;). -function template_after() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Not much to see here, just a quick... "you're now registered!" or what have you. - echo ' -
    -
    -

    ', $context['title'], '

    -
    -
    - -

    ', $context['description'], '

    - -
    -
    '; -} - -// Template for giving instructions about COPPA activation. -function template_coppa() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Formulate a nice complicated message! - echo ' -
    -

    ', $context['page_title'], '

    -
    -
    - -
    -

    ', $context['coppa']['body'], '

    -

    - ', $txt['coppa_form_link_popup'], ' | ', $txt['coppa_form_link_download'], ' -

    -

    ', $context['coppa']['many_options'] ? $txt['coppa_send_to_two_options'] : $txt['coppa_send_to_one_option'], '

    '; - - // Can they send by post? - if (!empty($context['coppa']['post'])) - { - echo ' -

    1) ', $txt['coppa_send_by_post'], '

    -
    - ', $context['coppa']['post'], ' -
    '; - } - - // Can they send by fax?? - if (!empty($context['coppa']['fax'])) - { - echo ' -

    ', !empty($context['coppa']['post']) ? '2' : '1', ') ', $txt['coppa_send_by_fax'], '

    -
    - ', $context['coppa']['fax'], ' -
    '; - } - - // Offer an alternative Phone Number? - if ($context['coppa']['phone']) - { - echo ' -

    ', $context['coppa']['phone'], '

    '; - } - echo ' -
    - -
    '; -} - -// An easily printable form for giving permission to access the forum for a minor. -function template_coppa_form() -{ - global $context, $settings, $options, $txt, $scripturl; - - // Show the form (As best we can) - echo ' - - - - - - - - - - -
    ', $context['forum_contacts'], '
    - ', $txt['coppa_form_address'], ': ', $context['ul'], '
    - ', $context['ul'], '
    - ', $context['ul'], '
    - ', $context['ul'], ' -
    - ', $txt['coppa_form_date'], ': ', $context['ul'], ' -

    -
    - ', $context['coppa_body'], ' -
    -
    '; -} - -// Show a window containing the spoken verification code. -function template_verification_sound() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - - - - ', $context['page_title'], ' - - - - - - - -'; -} - -function template_admin_register() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    -

    ', $txt['admin_browse_register_new'], '

    -
    -
    - - -
    '; - - if (!empty($context['registration_done'])) - echo ' -
    - ', $context['registration_done'], ' -
    '; - - echo ' -
    -
    - - ', $txt['admin_register_username_desc'], ' -
    -
    - -
    -
    - - ', $txt['admin_register_email_desc'], ' -
    -
    - -
    -
    - - ', $txt['admin_register_password_desc'], ' -
    -
    - -
    '; - - if (!empty($context['member_groups'])) - { - echo ' -
    - - ', $txt['admin_register_group_desc'], ' -
    -
    - -
    '; - } - - echo ' -
    - - ', $txt['admin_register_email_detail_desc'], ' -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - - -
    -
    - - -
    -
    -
    '; -} - -// Form for editing the agreement shown for people registering to the forum. -function template_edit_agreement() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Just a big box to edit the text file ;). - echo ' -
    -

    ', $txt['registration_agreement'], '

    -
    '; - - // Warning for if the file isn't writable. - if (!empty($context['warning'])) - echo ' -

    ', $context['warning'], '

    '; - - echo ' -
    - -
    '; - - // Is there more than one language to choose from? - if (count($context['editable_agreements']) > 1) - { - echo ' -
    -
    - ', $txt['admin_agreement_select_language'], ':  - -
    - - - -
    -
    -
    '; - } - - echo ' -
    '; - - // Show the actual agreement in an oversized text box. - echo ' -

    - -

    -

    - -

    -
    - - - - -
    -
    -
    - -
    -
    '; -} - -function template_edit_reserved_words() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -

    ', $txt['admin_reserved_set'], '

    -
    -
    - -
    -

    ', $txt['admin_reserved_line'], '

    -

    - -

    -
      -
    • -
    • -
    • -
    • -
    -
    - -
    -
    - - - -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Reminder.template.php b/config/themes/default/Reminder.template.php deleted file mode 100755 index e3c44ec..0000000 --- a/config/themes/default/Reminder.template.php +++ /dev/null @@ -1,197 +0,0 @@ - -
    - - -
    '; -} - -function template_reminder_pick() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    - - - -
    '; -} - -function template_sent() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    - '; -} - -function template_set_password() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - echo ' - -
    -
    - - - - -
    - '; -} - -function template_ask() -{ - global $context, $settings, $options, $txt, $scripturl, $modSettings; - - echo ' - -
    -
    - - - -
    '; - - if ($context['account_type'] == 'password') - echo ' -'; - -} - -?> \ No newline at end of file diff --git a/config/themes/default/Reports.template.php b/config/themes/default/Reports.template.php deleted file mode 100755 index 9d0bd68..0000000 --- a/config/themes/default/Reports.template.php +++ /dev/null @@ -1,255 +0,0 @@ - -
    -
    -

    ', $txt['generate_reports'], '

    -
    -
    - ', $txt['generate_reports_desc'], ' -
    -
    -

    ', $txt['generate_reports_type'], '

    -
    -
    - -
    -
    '; - - // Go through each type of report they can run. - foreach ($context['report_types'] as $type) - { - echo ' -
    - - -
    '; - if (isset($type['description'])) - echo ' -
    ', $type['description'], '
    '; - } - echo ' -
    -
    - - -
    -
    - -
    -
    - -
    '; -} - -// This is the standard template for showing reports in. -function template_main() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Build the reports button array. - $report_buttons = array( - 'generate_reports' => array('text' => 'generate_reports', 'image' => 'print.gif', 'lang' => true, 'url' => $scripturl . '?action=admin;area=reports', 'active' => true), - 'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'url' => $scripturl . '?action=admin;area=reports;rt=' . $context['report_type']. ';st=print', 'custom' => 'target="_blank"'), - ); - - echo ' -
    -
    -

    ', $txt['results'], '

    -
    -
    '; - - if (!empty($report_buttons) && !empty($settings['use_tabs'])) - template_button_strip($report_buttons, 'right'); - - echo ' -
    '; - - // Go through each table! - foreach ($context['tables'] as $table) - { - echo ' - '; - - if (!empty($table['title'])) - echo ' - - - - - - '; - - // Now do each row! - $row_number = 0; - $alternate = false; - foreach ($table['data'] as $row) - { - if ($row_number == 0 && !empty($table['shading']['top'])) - echo ' - '; - else - echo ' - '; - - // Now do each column. - $column_number = 0; - - foreach ($row as $key => $data) - { - // If this is a special separator, skip over! - if (!empty($data['separator']) && $column_number == 0) - { - echo ' - '; - break; - } - - // Shaded? - if ($column_number == 0 && !empty($table['shading']['left'])) - echo ' - '; - else - echo ' - '; - - $column_number++; - } - - echo ' - '; - - $row_number++; - $alternate = !$alternate; - } - echo ' - -
    ', $table['title'], '
    - ', $data['v'], ': - - ', $data['v'] == $table['default_value'] ? '' : ($data['v'] . (empty($data['v']) ? '' : ':')), ' - - ', $data['v'], ' -
    '; - } - echo ' -
    -
    '; -} - -// Header of the print page! -function template_print_above() -{ - global $context, $settings, $options, $txt; - - echo ' - - - - ', $context['page_title'], ' - - - '; -} - -function template_print() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // Go through each table! - foreach ($context['tables'] as $table) - { - echo ' -
    - '; - - if (!empty($table['title'])) - echo ' - - - '; - - // Now do each row! - $alternate = false; - $row_number = 0; - foreach ($table['data'] as $row) - { - if ($row_number == 0 && !empty($table['shading']['top'])) - echo ' - '; - else - echo ' - '; - - // Now do each column!! - $column_number = 0; - foreach ($row as $key => $data) - { - // If this is a special separator, skip over! - if (!empty($data['separator']) && $column_number == 0) - { - echo ' - '; - break; - } - - // Shaded? - if ($column_number == 0 && !empty($table['shading']['left'])) - echo ' - '; - else - echo ' - '; - - $column_number++; - } - - echo ' - '; - - $row_number++; - $alternate = !$alternate; - } - echo ' -
    - ', $table['title'], ' -
    - ', $data['v'], ': - - ', $data['v'] == $table['default_value'] ? '' : ($data['v'] . (empty($data['v']) ? '' : ':')), ' - - ', $data['v'], ' -
    -

    '; - } -} - -// Footer of the print page. -function template_print_below() -{ - global $context, $settings, $options; - - echo ' - - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Search.template.php b/config/themes/default/Search.template.php deleted file mode 100755 index 64979bb..0000000 --- a/config/themes/default/Search.template.php +++ /dev/null @@ -1,519 +0,0 @@ - -
    -

    - ', !empty($settings['use_buttons']) ? '' : ' ', $txt['set_parameters'], ' -

    -
    '; - - if (!empty($context['search_errors'])) - echo ' -

    ', implode('
    ', $context['search_errors']['messages']), '

    '; - - // Simple Search? - if ($context['simple_search']) - { - echo ' - '; - } - - // Advanced search! - else - { - echo ' - '; - - if (empty($context['search_params']['topic'])) - { - echo ' -
    - -
    - - -
    '; - - echo ' -
    - - - -
    -
    -
    - -
    '; - } - - } - - echo ' - - - '; -} - -function template_results() -{ - global $context, $settings, $options, $txt, $scripturl, $message; - - if (isset($context['did_you_mean']) || empty($context['topics'])) - { - echo ' -
    -
    -

    - ', $txt['search_adjust_query'], ' -

    -
    - -
    '; - - // Did they make any typos or mistakes, perhaps? - if (isset($context['did_you_mean'])) - echo ' -

    ', $txt['search_did_you_mean'], ' ', $context['did_you_mean'], '.

    '; - - echo ' -
    - ', $txt['search_for'], ': - - - - - - - - - '; - - if (!empty($context['search_params']['brd'])) - foreach ($context['search_params']['brd'] as $board_id) - echo ' - '; - - echo ' -
    -
    - -

    '; - } - - if ($context['compact']) - { - // Quick moderation set to checkboxes? Oh, how fun :/. - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1) - echo ' -
    '; - - echo ' -
    -

    - '; - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1) - echo ' - '; - echo ' - -  ', $txt['mlist_search_results'],': ',$context['search_params']['search'],' -

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - while ($topic = $context['get_topics']()) - { - $color_class = ''; - if ($topic['is_sticky']) - $color_class = 'stickybg'; - if ($topic['is_locked']) - $color_class .= 'lockedbg'; - - echo ' -
    -
    - -
    '; - - foreach ($topic['matches'] as $message) - { - echo ' -
    -
    ', $message['counter'], '
    -
    ', $topic['board']['link'], ' / ', $message['subject_highlighted'], '
    - « ',$txt['by'],' ', $message['member']['link'], ' ',$txt['on'],' ', $message['time'], ' » -
    '; - - if (!empty($options['display_quick_mod'])) - { - echo ' -
    '; - - if ($options['display_quick_mod'] == 1) - { - echo ' - '; - } - else - { - if ($topic['quick_mod']['remove']) - echo ' - ', $txt['remove_topic'], ''; - - if ($topic['quick_mod']['lock']) - echo ' - ', $txt['set_lock'], ''; - - if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) - echo ' -
    '; - - if ($topic['quick_mod']['sticky']) - echo ' - ', $txt['set_sticky'], ''; - - if ($topic['quick_mod']['move']) - echo ' - ', $txt['move_topic'], ''; - } - - echo ' -
    '; - } - - if ($message['body_highlighted'] != '') - echo ' -
    -
    ', $message['body_highlighted'], '
    '; - } - - echo ' -
    - -
    -
    '; - - } - if (!empty($context['topics'])) - echo ' -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) - { - echo ' -
    -
    - '; - - if ($context['can_move']) - { - echo ' - '; - } - - echo ' - - -
    -
    -
    '; - } - - - if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) - echo ' - -
    '; - - } - else - { - echo ' -
    -

    -  ', $txt['mlist_search_results'],': ',$context['search_params']['search'],' -

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - - if (empty($context['topics'])) - echo ' -
    (', $txt['search_no_results'], ')
    '; - - while ($topic = $context['get_topics']()) - { - foreach ($topic['matches'] as $message) - { - echo ' -
    -
    - -
    -
    ', $message['counter'], '
    -
    -
    ', $topic['board']['link'], ' / ', $message['subject_highlighted'], '
    - « ', $txt['message'], ' ', $txt['by'], ' ', $message['member']['link'], ' ', $txt['on'], ' ', $message['time'], ' » -
    -
    ', $message['body_highlighted'], '
    '; - - if ($topic['can_reply'] || $topic['can_mark_notify']) - echo ' -
    -
      '; - - // If they *can* reply? - if ($topic['can_reply']) - echo ' -
    • ', $txt['reply'], '
    • '; - - // If they *can* quote? - if ($topic['can_quote']) - echo ' -
    • ', $txt['quote'], '
    • '; - - // Can we request notification of topics? - if ($topic['can_mark_notify']) - echo ' -
    • ', $txt['notify'], '
    • '; - - if ($topic['can_reply'] || $topic['can_mark_notify']) - echo ' -
    -
    '; - echo ' -
    -
    - -
    -
    '; - } - } - - echo ' -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    '; - } - - // Show a jump to box for easy navigation. - echo ' -
    -
     
    - '; - -} - -?> \ No newline at end of file diff --git a/config/themes/default/SendTopic.template.php b/config/themes/default/SendTopic.template.php deleted file mode 100755 index e4e2616..0000000 --- a/config/themes/default/SendTopic.template.php +++ /dev/null @@ -1,280 +0,0 @@ - -
    -
    -

    - ', $context['page_title'], ' -

    -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    - -
    - -
    '; -} - -// Send an email to a user! -function template_custom_email() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    - ', $context['page_title'], ' -

    -
    -
    - -
    -
    -
    - ', $txt['sendtopic_receiver_name'], ': -
    -
    - ', $context['recipient']['link'], ' -
    '; - - // Can the user see the persons email? - if ($context['can_view_receipient_email']) - echo ' -
    - ', $txt['sendtopic_receiver_email'], ': -
    -
    - ', $context['recipient']['email_link'], ' -
    -
    -
    -
    '; - - // If it's a guest we need their details. - if ($context['user']['is_guest']) - echo ' -
    - -
    -
    - -
    -
    -
    - ', $txt['send_email_disclosed'], ' -
    -
    - - '; - // Otherwise show the user that we know their email. - else - echo ' -
    - ', $txt['sendtopic_sender_email'], ':
    - ', $txt['send_email_disclosed'], ' -
    -
    - ', $context['user']['email'], ' -
    '; - - echo ' -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - -
    -
    - -
    '; - - foreach ($context['form_hidden_vars'] as $key => $value) - echo ' - '; - - echo ' - -
    -
    -
    '; -} - -function template_report() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    - -
    -

    ', $txt['report_to_mod'], '

    -
    -
    - -
    '; - - if (!empty($context['post_errors'])) - { - echo ' -
    -
      '; - - foreach ($context['post_errors'] as $error) - echo ' -
    • ', $error, '
    • '; - - echo ' -
    -
    '; - } - - echo ' -

    ', $txt['report_to_mod_func'], '

    -
    -
    '; - - if ($context['user']['is_guest']) - { - echo ' -
    - : -
    -
    - -
    '; - } - - echo ' -
    - : -
    -
    - -
    '; - - if ($context['require_verification']) - { - echo ' -
    - ', $txt['verification'], ': -
    -
    - ', template_control_verification($context['visual_verification_id'], 'all'), ' -
    '; - } - - echo ' -
    -
    - -
    -
    - -
    - -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Settings.template.php b/config/themes/default/Settings.template.php deleted file mode 100755 index 3126fa0..0000000 --- a/config/themes/default/Settings.template.php +++ /dev/null @@ -1,278 +0,0 @@ - 'show_board_desc', - 'label' => $txt['board_desc_inside'], - 'default' => true, - ), - array( - 'id' => 'show_children', - 'label' => $txt['show_children'], - 'default' => true, - ), - array( - 'id' => 'use_sidebar_menu', - 'label' => $txt['use_sidebar_menu'], - 'default' => true, - ), - array( - 'id' => 'show_no_avatars', - 'label' => $txt['show_no_avatars'], - 'default' => true, - ), - array( - 'id' => 'show_no_signatures', - 'label' => $txt['show_no_signatures'], - 'default' => true, - ), - array( - 'id' => 'show_no_censored', - 'label' => $txt['show_no_censored'], - 'default' => true, - ), - array( - 'id' => 'return_to_post', - 'label' => $txt['return_to_post'], - 'default' => true, - ), - array( - 'id' => 'no_new_reply_warning', - 'label' => $txt['no_new_reply_warning'], - 'default' => true, - ), - array( - 'id' => 'view_newest_first', - 'label' => $txt['recent_posts_at_top'], - 'default' => true, - ), - array( - 'id' => 'view_newest_pm_first', - 'label' => $txt['recent_pms_at_top'], - 'default' => true, - ), - array( - 'id' => 'posts_apply_ignore_list', - 'label' => $txt['posts_apply_ignore_list'], - 'default' => false, - ), - array( - 'id' => 'wysiwyg_default', - 'label' => $txt['wysiwyg_default'], - 'default' => false, - ), - array( - 'id' => 'popup_messages', - 'label' => $txt['popup_messages'], - 'default' => true, - ), - array( - 'id' => 'copy_to_outbox', - 'label' => $txt['copy_to_outbox'], - 'default' => true, - ), - array( - 'id' => 'pm_remove_inbox_label', - 'label' => $txt['pm_remove_inbox_label'], - 'default' => true, - ), - array( - 'id' => 'auto_notify', - 'label' => $txt['auto_notify'], - 'default' => true, - ), - array( - 'id' => 'topics_per_page', - 'label' => $txt['topics_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'messages_per_page', - 'label' => $txt['messages_per_page'], - 'options' => array( - 0 => $txt['per_page_default'], - 5 => 5, - 10 => 10, - 25 => 25, - 50 => 50, - ), - 'default' => true, - ), - array( - 'id' => 'calendar_start_day', - 'label' => $txt['calendar_start_day'], - 'options' => array( - 0 => $txt['days'][0], - 1 => $txt['days'][1], - 6 => $txt['days'][6], - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_reply', - 'label' => $txt['display_quick_reply'], - 'options' => array( - 0 => $txt['display_quick_reply1'], - 1 => $txt['display_quick_reply2'], - 2 => $txt['display_quick_reply3'] - ), - 'default' => true, - ), - array( - 'id' => 'display_quick_mod', - 'label' => $txt['display_quick_mod'], - 'options' => array( - 0 => $txt['display_quick_mod_none'], - 1 => $txt['display_quick_mod_check'], - 2 => $txt['display_quick_mod_image'], - ), - 'default' => true, - ), - ); -} - -function template_settings() -{ - global $context, $settings, $options, $scripturl, $txt; - - $context['theme_settings'] = array( - array( - 'id' => 'header_logo_url', - 'label' => $txt['header_logo_url'], - 'description' => $txt['header_logo_url_desc'], - 'type' => 'text', - ), - array( - 'id' => 'site_slogan', - 'label' => $txt['site_slogan'], - 'description' => $txt['site_slogan_desc'], - 'type' => 'text', - ), - array( - 'id' => 'smiley_sets_default', - 'label' => $txt['smileys_default_set_for_theme'], - 'options' => $context['smiley_sets'], - 'type' => 'text', - ), - array( - 'id' => 'forum_width', - 'label' => $txt['forum_width'], - 'description' => $txt['forum_width_desc'], - 'type' => 'text', - 'size' => 8, - ), - '', - array( - 'id' => 'linktree_link', - 'label' => $txt['current_pos_text_img'], - ), - array( - 'id' => 'show_mark_read', - 'label' => $txt['enable_mark_as_read'], - ), - array( - 'id' => 'allow_no_censored', - 'label' => $txt['allow_no_censored'], - ), - array( - 'id' => 'enable_news', - 'label' => $txt['enable_random_news'], - ), - '', - array( - 'id' => 'show_newsfader', - 'label' => $txt['news_fader'], - ), - array( - 'id' => 'newsfader_time', - 'label' => $txt['admin_fader_delay'], - 'type' => 'number', - ), - array( - 'id' => 'number_recent_posts', - 'label' => $txt['number_recent_posts'], - 'description' => $txt['number_recent_posts_desc'], - 'type' => 'number', - ), - array( - 'id' => 'show_stats_index', - 'label' => $txt['show_stats_index'], - ), - array( - 'id' => 'show_latest_member', - 'label' => $txt['latest_members'], - ), - array( - 'id' => 'show_group_key', - 'label' => $txt['show_group_key'], - ), - array( - 'id' => 'display_who_viewing', - 'label' => $txt['who_display_viewing'], - 'options' => array( - 0 => $txt['who_display_viewing_off'], - 1 => $txt['who_display_viewing_numbers'], - 2 => $txt['who_display_viewing_names'], - ), - 'type' => 'number', - ), - '', - array( - 'id' => 'show_modify', - 'label' => $txt['last_modification'], - ), - array( - 'id' => 'show_profile_buttons', - 'label' => $txt['show_view_profile_button'], - ), - array( - 'id' => 'show_user_images', - 'label' => $txt['user_avatars'], - ), - array( - 'id' => 'show_blurb', - 'label' => $txt['user_text'], - ), - array( - 'id' => 'show_gender', - 'label' => $txt['gender_images'], - ), - array( - 'id' => 'hide_post_group', - 'label' => $txt['hide_post_group'], - 'description' => $txt['hide_post_group_desc'], - ), - '', - array( - 'id' => 'show_bbc', - 'label' => $txt['admin_bbc'], - ), - array( - 'id' => 'additional_options_collapsable', - 'label' => $txt['additional_options_collapsable'], - ), - ); -} - -?> \ No newline at end of file diff --git a/config/themes/default/SplitTopics.template.php b/config/themes/default/SplitTopics.template.php deleted file mode 100755 index 523f93f..0000000 --- a/config/themes/default/SplitTopics.template.php +++ /dev/null @@ -1,486 +0,0 @@ - -
    - -
    -

    ', $txt['split'], '

    -
    -
    - -
    -

    - : - -

    -
      -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    -
    - -
    -
    - -
    - -
    - '; -} - -function template_main() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['split'], '

    -
    -
    - -
    -

    ', $txt['split_successful'], '

    - -
    - -
    -
    '; -} - -function template_select() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -
    -

    ', $txt['split'], ' - ', $txt['select_split_posts'], '

    -
    -
    - ', $txt['please_select_split'], ' -
    -
    - ', $txt['pages'], ': ', $context['not_selected']['page_index'], ' -
    -
      '; - - foreach ($context['not_selected']['messages'] as $message) - echo ' -
    • - -
      -
      - -> - ', $message['subject'], ' ', $txt['by'], ' ', $message['poster'], '
      - ', $message['time'], ' -
      -
      ', $message['body'], '
      -
      - -
    • '; - - echo ' -
    • -
    -
    -
    -
    -

    - ', $txt['split_selected_posts'], ' (', $txt['split_reset_selection'], ') -

    -
    -
    - ', $txt['split_selected_posts_desc'], ' -
    -
    - ', $txt['pages'], ': ', $context['selected']['page_index'], ' -
    -
      '; - - if (!empty($context['selected']['messages'])) - foreach ($context['selected']['messages'] as $message) - echo ' -
    • - -
      -
      - <- - ', $message['subject'], ' ', $txt['by'], ' ', $message['poster'], '
      - ', $message['time'], ' -
      -
      ', $message['body'], '
      -
      - -
    • '; - - echo ' -
    • -
    -
    -
    -

    - - - - -

    -
    -
    -
    - '; -} - -function template_merge_done() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['merge'], '

    -
    -
    - -
    -

    ', $txt['merge_successful'], '

    -
    - -
    - -
    -
    -
    '; -} - -function template_merge() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -

    ', $txt['merge'], '

    -
    -
    - ', $txt['merge_desc'], ' -
    -
    - -
    -
    -
    - ', $txt['topic_to_merge'], ': -
    -
    - ', $context['origin_subject'], ' -
    '; - - if (!empty($context['boards']) && count($context['boards']) > 1) - { - echo ' -
    - ', $txt['target_board'], ': -
    -
    -
    - - - -
    -
    '; - } - - echo ' -
    -
    -
    -
    - ', $txt['merge_to_topic_id'], ': -
    -
    -
    - - - - -
    -
    '; - - echo ' -
    -
    - -

    -
    -

    ', $txt['target_topic'], '

    -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    -
    - -
    -
      '; - - $merge_button = create_button('merge.gif', 'merge', ''); - - foreach ($context['topics'] as $topic) - echo ' -
    • - ', $merge_button, '  - ', $topic['subject'], ' ', $txt['started_by'], ' ', $topic['poster']['link'], ' -
    • '; - - echo ' -
    -
    - -
    -
    - ', $txt['pages'], ': ', $context['page_index'], ' -
    -
    -
    '; -} - -function template_merge_extra_options() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' -
    -
    -
    -

    ', $txt['merge_topic_list'], '

    -
    - - - - - - - - - - - '; - foreach ($context['topics'] as $topic) - echo ' - - - - - - - '; - echo ' - -
    ', $txt['merge_check'], '', $txt['subject'], '', $txt['started_by'], '', $txt['last_post'], '' . $txt['merge_include_notifications'] . '
    - - - ' . $topic['subject'] . ' - - ', $topic['started']['link'], '
    - ', $topic['started']['time'], ' -
    - ' . $topic['updated']['link'] . '
    - ', $topic['updated']['time'], ' -
    - -
    -
    -
    - -
    '; - - echo ' -
    - ', $txt['merge_select_subject'], ' - -
    -
    - -
    '; - - if (!empty($context['boards']) && count($context['boards']) > 1) - { - echo ' -
    - ', $txt['merge_select_target_board'], ' -
      '; - foreach ($context['boards'] as $board) - echo ' -
    • - ' . $board['name'] . ' -
    • '; - echo ' -
    -
    '; - } - if (!empty($context['polls'])) - { - echo ' -
    - ' . $txt['merge_select_poll'] . ' -
      '; - foreach ($context['polls'] as $poll) - echo ' -
    • - ' . $poll['question'] . ' (' . $txt['topic'] . ': ' . $poll['topic']['subject'] . ') -
    • '; - echo ' -
    • - (' . $txt['merge_no_poll'] . ') -
    • -
    -
    '; - } - echo ' - - -
    -
    - -
    -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Stats.template.php b/config/themes/default/Stats.template.php deleted file mode 100755 index 2867937..0000000 --- a/config/themes/default/Stats.template.php +++ /dev/null @@ -1,473 +0,0 @@ - -
    -

    ', $context['page_title'], '

    -
    -
    -

    - - ', $txt['general_stats'], ' - -

    -
    -
    -
    -
    - -
    -
    -
    ', $txt['total_members'], ':
    -
    ', $context['show_member_list'] ? '' . $context['num_members'] . '' : $context['num_members'], '
    -
    ', $txt['total_posts'], ':
    -
    ', $context['num_posts'], '
    -
    ', $txt['total_topics'], ':
    -
    ', $context['num_topics'], '
    -
    ', $txt['total_cats'], ':
    -
    ', $context['num_categories'], '
    -
    ', $txt['users_online'], ':
    -
    ', $context['users_online'], '
    -
    ', $txt['most_online'], ':
    -
    ', $context['most_members_online']['number'], ' - ', $context['most_members_online']['date'], '
    -
    ', $txt['users_online_today'], ':
    -
    ', $context['online_today'], '
    '; - - if (!empty($modSettings['hitStats'])) - echo ' -
    ', $txt['num_hits'], ':
    -
    ', $context['num_hits'], '
    '; - - echo ' -
    -
    -
    - -
    -
    -
    -
    - -
    -
    -
    ', $txt['average_members'], ':
    -
    ', $context['average_members'], '
    -
    ', $txt['average_posts'], ':
    -
    ', $context['average_posts'], '
    -
    ', $txt['average_topics'], ':
    -
    ', $context['average_topics'], '
    -
    ', $txt['total_boards'], ':
    -
    ', $context['num_boards'], '
    -
    ', $txt['latest_member'], ':
    -
    ', $context['common_stats']['latest_member']['link'], '
    -
    ', $txt['average_online'], ':
    -
    ', $context['average_online'], '
    -
    ', $txt['gender_ratio'], ':
    -
    ', $context['gender']['ratio'], '
    '; - - if (!empty($modSettings['hitStats'])) - echo ' -
    ', $txt['average_hits'], ':
    -
    ', $context['average_hits'], '
    '; - - echo ' -
    -
    -
    - -
    -
    -
    -
    -
    -
    -

    - - ', $txt['top_posters'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_posters'] as $poster) - { - echo ' -
    - ', $poster['link'], ' -
    -
    '; - - if (!empty($poster['post_percent'])) - echo ' -
    -
    -
    '; - - echo ' - ', $poster['num_posts'], ' -
    '; - } - - echo ' -
    -
    -
    - -
    -
    -
    -
    -

    - - ', $txt['top_boards'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_boards'] as $board) - { - echo ' -
    - ', $board['link'], ' -
    -
    '; - - if (!empty($board['post_percent'])) - echo ' -
    -
    -
    '; - echo ' - ', $board['num_posts'], ' -
    '; - } - - echo ' -
    -
    -
    - -
    -
    -
    -
    -
    -
    -

    - - ', $txt['top_topics_replies'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_topics_replies'] as $topic) - { - echo ' -
    - ', $topic['link'], ' -
    -
    '; - if (!empty($topic['post_percent'])) - echo ' -
    -
    -
    '; - - echo ' - ' . $topic['num_replies'] . ' -
    '; - } - echo ' -
    -
    -
    - -
    -
    - -
    -
    -

    - - ', $txt['top_topics_views'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_topics_views'] as $topic) - { - echo ' -
    ', $topic['link'], '
    -
    '; - - if (!empty($topic['post_percent'])) - echo ' -
    -
    -
    '; - - echo ' - ' . $topic['num_views'] . ' -
    '; - } - - echo ' -
    -
    -
    - -
    -
    -
    -
    -
    -
    -

    - - ', $txt['top_starters'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_starters'] as $poster) - { - echo ' -
    - ', $poster['link'], ' -
    -
    '; - - if (!empty($poster['post_percent'])) - echo ' -
    -
    -
    '; - - echo ' - ', $poster['num_topics'], ' -
    '; - } - - echo ' -
    -
    -
    - -
    -
    -
    -
    -

    - - ', $txt['most_time_online'], ' - -

    -
    -
    - -
    -
    '; - - foreach ($context['top_time_online'] as $poster) - { - echo ' -
    - ', $poster['link'], ' -
    -
    '; - - if (!empty($poster['time_percent'])) - echo ' -
    -
    -
    '; - - echo ' - ', $poster['time_online'], ' -
    '; - } - - echo ' -
    -
    -
    - -
    -
    -
    -
    -
    -
    -

    - - ', $txt['forum_history'], ' - -

    -
    '; - - if (!empty($context['yearly'])) - { - echo ' - - - - - - - - ', $txt['smf_stats_14'], ''; - - if (!empty($modSettings['hitStats'])) - echo ' - '; - - echo ' - - - '; - - foreach ($context['yearly'] as $id => $year) - { - echo ' - - - - - - '; - - if (!empty($modSettings['hitStats'])) - echo ' - '; - - echo ' - '; - - foreach ($year['months'] as $month) - { - echo ' - - - - - - '; - - if (!empty($modSettings['hitStats'])) - echo ' - '; - - echo ' - '; - - if ($month['expanded']) - { - foreach ($month['days'] as $day) - { - echo ' - - - - - - '; - - if (!empty($modSettings['hitStats'])) - echo ' - '; - - echo ' - '; - } - } - } - } - - echo ' - -
    ', $txt['yearly_summary'], '', $txt['stats_new_topics'], '', $txt['stats_new_posts'], '', $txt['stats_new_members'], '', $txt['page_views'], '
    - * ', $year['year'], ' - ', $year['new_topics'], '', $year['new_posts'], '', $year['new_members'], '', $year['most_members_online'], '', $year['hits'], '
    - ', $month['month'], ' ', $month['year'], ' - ', $month['new_topics'], '', $month['new_posts'], '', $month['new_members'], '', $month['most_members_online'], '', $month['hits'], '
    ', $day['year'], '-', $day['month'], '-', $day['day'], '', $day['new_topics'], '', $day['new_posts'], '', $day['new_members'], '', $day['most_members_online'], '', $day['hits'], '
    -
    - - - '; - } -} - -?> \ No newline at end of file diff --git a/config/themes/default/Themes.template.php b/config/themes/default/Themes.template.php deleted file mode 100755 index be5f14a..0000000 --- a/config/themes/default/Themes.template.php +++ /dev/null @@ -1,1180 +0,0 @@ - -
    - -
    -

    - ', $txt['help'], ' - ', $txt['themeadmin_title'], ' - -

    -
    -
    - ', $txt['themeadmin_explain'], ' -
    -
    - -
    -
    -
    - -
    -
    - -
    -
    - : -
    -
    -
    '; - foreach ($context['themes'] as $theme) - echo ' -
    '; - - echo ' -
    - - -
    -
    - -
    -
    - - ', $txt['theme_select'], ' -
    -
    - : -
    -
    - - ', $txt['theme_select'], ' -
    -
    -
    - -
    -
    - -
    - -
    '; - - // Link to simplemachines.org for latest themes and info! - echo ' -
    -
    -

    - ', $txt['help'], ' ', $txt['theme_latest'], ' -

    -
    -
    - -
    -
    - ', $txt['theme_latest_fetch'], ' -
    -
    - -
    -
    '; - - // Warn them if theme creation isn't possible! - if (!$context['can_create_new']) - echo ' -
    ', $txt['theme_install_writable'], '
    '; - - echo ' -
    -
    -

    - ', $txt['help'], ' ', $txt['theme_install'], ' -

    -
    -
    - -
    -
    '; - - // Here's a little box for installing a new theme. - // !!! Should the value="theme_gz" be there?! - if ($context['can_create_new']) - echo ' -
    - : -
    -
    - -
    '; - - echo ' -
    - : -
    -
    - -
    '; - - if ($context['can_create_new']) - echo ' -
    - -
    -
    - -
    '; - - echo ' -
    -
    - -
    -
    - -
    - -
    - -
    - - '; - - if (empty($modSettings['disable_smf_js'])) - echo ' - '; - - echo ' - '; - - // Gotta love IE4, and its hatefulness... - if ($context['browser']['is_ie4']) - echo ' - '; - else - echo ' - '; -} - -function template_list_themes() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['themeadmin_list_heading'], '

    -
    -
    - ', $txt['themeadmin_list_tip'], ' -
    '; - - // Show each theme.... with X for delete and a link to settings. - foreach ($context['themes'] as $theme) - { - echo ' -
    -

    - ', $theme['name'], '', !empty($theme['version']) ? ' (' . $theme['version'] . ')' : '', ''; - - // You *cannot* delete the default theme. It's important! - if ($theme['id'] != 1) - echo ' - ', $txt['theme_remove'], ''; - - echo ' -

    -
    -
    - -
    -
    -
    ', $txt['themeadmin_list_theme_dir'], ':
    - ', $theme['theme_dir'], $theme['valid_path'] ? '' : ' ' . $txt['themeadmin_list_invalid'], ' -
    ', $txt['themeadmin_list_theme_url'], ':
    -
    ', $theme['theme_url'], '
    -
    ', $txt['themeadmin_list_images_url'], ':
    -
    ', $theme['images_url'], '
    -
    -
    - -
    '; - } - - echo ' - -
    -
    -

    ', $txt['themeadmin_list_reset'], '

    -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - -
    -
    - - -
    - -
    - -
    -
    -
    '; -} - -function template_reset_list() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['themeadmin_reset_title'], '

    -
    -
    - ', $txt['themeadmin_reset_tip'], ' -
    '; - - // Show each theme.... with X for delete and a link to settings. - $alternate = false; - - foreach ($context['themes'] as $theme) - { - $alternate = !$alternate; - - echo ' -
    -

    ', $theme['name'], '

    -
    -
    - -
    - -
    - -
    '; - } - - echo ' -
    -
    '; -} - -function template_set_options() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    - -
    -

    ', $txt['theme_options_title'], ' - ', $context['theme_settings']['name'], '

    -
    -
    - ', $context['theme_options_reset'] ? $txt['themeadmin_reset_options_info'] : $txt['theme_options_defaults'], ' -
    -
    - -
    -
      '; - - foreach ($context['options'] as $setting) - { - echo ' -
    • '; - - if ($context['theme_options_reset']) - echo ' - '; - - if ($setting['type'] == 'checkbox') - { - echo ' - - '; - } - elseif ($setting['type'] == 'list') - { - echo ' -   - '; - } - else - echo ' -   - '; - - if (isset($setting['description'])) - echo ' -
      ', $setting['description'], ''; - - echo ' -
    • '; - } - - echo ' -
    -
    - - -
    -
    - -
    -
    -
    -
    '; -} - -function template_set_settings() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -
    -

    - ', $txt['help'], ' ', $txt['theme_settings'], ' - ', $context['theme_settings']['name'], ' -

    -
    '; - - // !!! Why can't I edit the default theme popup. - if ($context['theme_settings']['theme_id'] != 1) - echo ' -
    -

    - ', $txt['theme_edit'], ' -

    -
    - '; - - echo ' -
    -

    - ', $txt['theme_url_config'], ' -

    -
    -
    - -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - -
    '; - - // Do we allow theme variants? - if (!empty($context['theme_variants'])) - { - echo ' -
    -

    - ', $txt['theme_variants'], ' -

    -
    -
    - -
    -
    -
    - : -
    -
    - -
    -
    - : -
    -
    - - -
    -
    - -
    - -
    '; - } - - echo ' -
    -

    - ', $txt['theme_options'], ' -

    -
    -
    - -
    -
    '; - - foreach ($context['settings'] as $setting) - { - // Is this a separator? - if (empty($setting)) - { - echo ' -
    -
    -
    '; - } - // A checkbox? - elseif ($setting['type'] == 'checkbox') - { - echo ' -
    - :'; - - if (isset($setting['description'])) - echo '
    - ', $setting['description'], ''; - - echo ' -
    -
    - - -
    '; - } - // A list with options? - elseif ($setting['type'] == 'list') - { - echo ' -
    - :'; - - if (isset($setting['description'])) - echo '
    - ', $setting['description'], ''; - - echo ' -
    -
    - -
    '; - } - // A regular input box, then? - else - { - echo ' -
    - :'; - - if (isset($setting['description'])) - echo '
    - ', $setting['description'], ''; - - echo ' -
    -
    - -
    '; - } - } - - echo ' -
    -
    - -
    -
    - -
    - -
    -
    -
    '; - - if (!empty($context['theme_variants'])) - { - echo ' - '; - } -} - -// This template allows for the selection of different themes ;). -function template_pick() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    '; - - // Just go through each theme and show its information - thumbnail, etc. - foreach ($context['available_themes'] as $theme) - { - echo ' - -
    - -
    -
    -

    ', $theme['description'], '

    '; - - if (!empty($theme['variants'])) - { - echo ' - : - - '; - } - - echo ' -
    -

    - ', $theme['num_users'], ' ', ($theme['num_users'] == 1 ? $txt['theme_user'] : $txt['theme_users']), ' -

    -
    - -
    - -
    '; - - if (!empty($theme['variants'])) - { - echo ' - '; - } - } - - echo ' -
    -
    -
    '; -} - -// Okay, that theme was installed successfully! -function template_installed() -{ - global $context, $settings, $options, $scripturl, $txt; - - // Not much to show except a link back... - echo ' -
    -
    -

    ', $context['page_title'], '

    -
    -
    - -
    -

    - ', $context['installed_theme']['name'], ' ', $txt['theme_installed_message'], ' -

    -

    - ', $txt['back'], ' -

    -
    - -
    -
    -
    '; -} - -function template_edit_list() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['themeadmin_edit_title'], '

    -
    '; - - $alternate = false; - - foreach ($context['themes'] as $theme) - { - $alternate = !$alternate; - - echo ' -
    -

    - ', $theme['name'], '', !empty($theme['version']) ? ' - (' . $theme['version'] . ')' : '', ' -

    -
    - '; - } - - echo ' -
    -
    '; -} - -function template_copy_template() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    -
    -

    ', $txt['themeadmin_edit_filename'], '

    -
    -
    - ', $txt['themeadmin_edit_copy_warning'], ' -
    -
    - -
    -
      '; - - $alternate = false; - foreach ($context['available_templates'] as $template) - { - $alternate = !$alternate; - - echo ' -
    • - ', $template['filename'], $template['already_exists'] ? ' (' . $txt['themeadmin_edit_exists'] . ')' : '', ' - '; - - if ($template['can_copy']) - echo '', $txt['themeadmin_edit_do_copy'], ''; - else - echo $txt['themeadmin_edit_no_copy']; - - echo ' - -
    • '; - } - - echo ' -
    -
    - -
    -
    -
    '; -} - -function template_edit_browse() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -
    - - - - - - - - - '; - - $alternate = false; - - foreach ($context['theme_files'] as $file) - { - $alternate = !$alternate; - - echo ' - - - - - '; - } - - echo ' - -
    ', $txt['themeadmin_edit_filename'], '', $txt['themeadmin_edit_modified'], '', $txt['themeadmin_edit_size'], '
    '; - - if ($file['is_editable']) - echo '', $file['filename'], ''; - - elseif ($file['is_directory']) - echo '', $file['filename'], ''; - - else - echo $file['filename']; - - echo ' - ', !empty($file['last_modified']) ? $file['last_modified'] : '', '', $file['size'], '
    -
    -
    '; -} - -// Wanna edit the stylesheet? -function template_edit_style() -{ - global $context, $settings, $options, $scripturl, $txt; - - if ($context['session_error']) - echo ' -
    - ', $txt['error_session_timeout'], ' -
    '; - - // From now on no one can complain that editing css is difficult. If you disagree, go to www.w3schools.com. - echo ' -
    - - '; - - // Just show a big box.... gray out the Save button if it's not saveable... (ie. not 777.) - echo ' -
    -
    -

    ', $txt['theme_edit'], ' - ', $context['edit_filename'], '

    -
    -
    - -
    '; - - if (!$context['allow_save']) - echo ' - ', $txt['theme_edit_no_save'], ': ', $context['allow_save_filename'], '
    '; - - echo ' -
    -
    - - -
    -
    - -
    - - -
    -
    -
    '; -} - -// This edits the template... -function template_edit_template() -{ - global $context, $settings, $options, $scripturl, $txt; - - if ($context['session_error']) - echo ' -
    - ', $txt['error_session_timeout'], ' -
    '; - - if (isset($context['parse_error'])) - echo ' -
    - ', $txt['themeadmin_edit_error'], ' -
    ', $context['parse_error'], '
    -
    '; - - // Just show a big box.... gray out the Save button if it's not saveable... (ie. not 777.) - echo ' -
    -
    -
    -

    ', $txt['theme_edit'], ' - ', $context['edit_filename'], '

    -
    -
    - -
    '; - - if (!$context['allow_save']) - echo ' - ', $txt['theme_edit_no_save'], ': ', $context['allow_save_filename'], '
    '; - - foreach ($context['file_parts'] as $part) - echo ' - :
    -
    - -
    '; - - echo ' -
    - - - -
    -
    - -
    -
    -
    '; -} - -function template_edit_file() -{ - global $context, $settings, $options, $scripturl, $txt; - - if ($context['session_error']) - echo ' -
    - ', $txt['error_session_timeout'], ' -
    '; - - //Is this file writeable? - if (!$context['allow_save']) - echo ' -
    - ', $txt['theme_edit_no_save'], ': ', $context['allow_save_filename'], ' -
    '; - - // Just show a big box.... gray out the Save button if it's not saveable... (ie. not 777.) - echo ' -
    -
    -
    -

    ', $txt['theme_edit'], ' - ', $context['edit_filename'], '

    -
    -
    - -
    -
    - - - -
    - -
    - -
    -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/TipForMessage.template.php b/config/themes/default/TipForMessage.template.php deleted file mode 100755 index c74b9cc..0000000 --- a/config/themes/default/TipForMessage.template.php +++ /dev/null @@ -1,218 +0,0 @@ - -

    ',$txt['tip_for_message'],'

    - '; - - // begin content - echo '
    - -
    '; - - if($context['tipconfirmed']) - { - // form submitted. show result message - template_confirm(); - } - else - { - // prompt for reason - template_form(); - } - - - // end content - echo' -
    - -
    '; - -} - -function template_form() -{ - global $context, $txt, $scripturl; - global $boardurl; - - // Scripts to display coral text box or inventory and set active buttons. - echo ' - '; - - if($context['canTipForMessage']) - { - echo - '
    ', - sprintf($txt['tip_for_message_form_body'], $context['tip_for_message_target_poster_name']), - '
    -
    - ', $context['tip_for_message_target_post_body'], - ' -
    '; - - echo "
    "; - - echo ' -
    -
    - - -
    -
    '; - - echo ''; - echo ''; - echo ''; - - // Stuff to display when tipping coral - echo ' -
    - Amount:
    - -
    '; - - // Stuff to display when tipping items - echo ' - '; - - echo '

    - '; - - echo '
    '; - - } -} - -function template_confirm() -{ - global $context, $txt, $scripturl; - - - if(!$context['tipsuccess']) - { - // display error message - if($context['tiperror']) - { - switch ($context['tiperror']) { - case 'invalidamount': - echo $txt['tip_for_message_fail_invalidamount']; - break; - case 'cantafford': - echo $txt['tip_for_message_fail_cantafford']; - break; - case 'noitem': - echo $txt['tip_for_message_fail_item_noitem']; - break; - case 'notenough': - echo $txt['tip_for_message_fail_item_notenough']; - break; - case 'bodyfacelimit': - echo $txt['tip_for_message_fail_item_bodyfacelimit']; - break; - case 'bodyfaceequipped': - echo $txt['tip_for_message_fail_item_bodyfaceequipped']; - break; - } - - echo '
    '; - - // display back button - backbutton(); - } - else - { - echo sprintf($txt['tip_for_message_fail'], $context['tip_for_message_target_poster_name']); - - echo '
    '; - returnbutton(); - } - - } - else - { - // display success message and return to topic button - echo sprintf($txt['tip_for_message_success']); - - echo '
    '; - - returnbutton(); - } - -} - -function backbutton() -{ - global $context, $txt, $scripturl; - - echo '',$txt['tip_for_message_back'],''; - -} - -function returnbutton() -{ - global $context, $txt, $scripturl; - - echo '',$txt['tip_for_message_return'],''; - -} diff --git a/config/themes/default/Tips.template.php b/config/themes/default/Tips.template.php deleted file mode 100755 index fe8ba6a..0000000 --- a/config/themes/default/Tips.template.php +++ /dev/null @@ -1,143 +0,0 @@ - -

    Recent Tips

    - '; - - if (!$context['user']['is_guest']) - { - // Search form - echo '
    -
    - -
    -
    '; - } - echo '
    - -

    '; - - // begin content - echo '
    '; - - if (empty($context['recent_tipped_posts'])) - { - echo 'No results!'; - } - - foreach ($context['recent_tipped_posts'] as $tippedPost) - { - echo ' -
    -
    -
    '; - // Load avatar - if ($tippedPost['poster']['id']) - { - echo ' - '; - // Display avatar - echo ' - - ', sprintf($txt['fish_avatar_img_alt'], $tippedPost['poster']['name']),''; - } - echo '

    '; - if ($tippedPost['poster']['href']) - { - echo '', $tippedPost['poster']['name'], ''; - } - else - { - echo $tippedPost['poster']['name']; - } - echo '

    -
    '; - - echo ' -
    -
    - -
    -
    -
    - -
    -
    - ', $tippedPost['post']['subject'], ' -
    -
    « ', $txt['on'], ': ', timeformat($tippedPost['post']['poster_time']), ' »
    -
    -
    '; - - echo ' -
    -
    '; - echo parse_bbc($tippedPost['post']['body'], $tippedPost['post']['smileys_enabled'], $tippedPost['post']['id_msg']); - echo ' -
    -
    '; - - foreach ($tippedPost['tips'] as $tip) - { - //echo print_r($tip); - echo '

    '; - if (!$tip['coins'] && $tip['item']) - { - echo strtoupper($tip['tipper']), ' TIPPED FOR THIS POST'; - } - else - { - echo sprintf($txt['tip_for_message_post_footer'], strtoupper($tip['tipper']), $tip['coins']); - } - '

    '; - } - - echo ' -
    -
    -
    -
    -
    '; - } - // end content - echo '
    '; - echo '
    - -

    '; -} diff --git a/config/themes/default/Who.template.php b/config/themes/default/Who.template.php deleted file mode 100755 index a8ffaec..0000000 --- a/config/themes/default/Who.template.php +++ /dev/null @@ -1,227 +0,0 @@ - -
    -
    -

    ', $txt['who_title'], '

    -
    -
    -
    - '; - echo ' -
    ', $txt['who_show1'], ' - - -
    -
    - - - - - - - - - '; - - // For every member display their name, time and action (and more for admin). - $alternate = 0; - - foreach ($context['members'] as $member) - { - // $alternate will either be true or false. If it's true, use "windowbg2" and otherwise use "windowbg". - echo ' - - - - - '; - - // Switch alternate to whatever it wasn't this time. (true -> false -> true -> false, etc.) - $alternate = !$alternate; - } - - // No members? - if (empty($context['members'])) - { - echo ' - - - '; - } - - echo ' - -
    ', $txt['who_user'], ' ', $context['sort_by'] == 'user' ? '' : '', '', $txt['who_time'], ' ', $context['sort_by'] == 'time' ? '' : '', '', $txt['who_action'], '
    '; - - // Guests don't have information like icq, msn, y!, and aim... and they can't be messaged. - if (!$member['is_guest']) - { - echo ' - - ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $member['online']['text'] . '' : $member['online']['text'], $context['can_send_pm'] ? '' : '', ' - ', isset($context['disabled_fields']['icq']) ? '' : $member['icq']['link'] , ' ', isset($context['disabled_fields']['msn']) ? '' : $member['msn']['link'], ' ', isset($context['disabled_fields']['yim']) ? '' : $member['yim']['link'], ' ', isset($context['disabled_fields']['aim']) ? '' : $member['aim']['link'], ' - '; - } - - echo ' - - ', $member['is_guest'] ? $member['name'] : '' . $member['name'] . '', ' - '; - - if (!empty($member['ip'])) - echo ' - (' . $member['ip'] . ')'; - - echo ' - ', $member['time'], '', $member['action'], '
    - ', $txt['who_no_online_' . ($context['show_by'] == 'guests' || $context['show_by'] == 'spiders' ? $context['show_by'] : 'members')], ' -
    -
    -
    - '; - - echo ' -
    ', $txt['who_show1'], ' - - -
    -
    -
    - '; -} - -function template_credits() -{ - global $context, $txt; - - // The most important part - the credits :P. - echo ' -
    -
    -

    ', $txt['credits'], '

    -
    '; - - foreach ($context['credits'] as $section) - { - if (isset($section['pretext'])) - echo ' -
    - -
    -

    ', $section['pretext'], '

    -
    - -
    '; - - if (isset($section['title'])) - echo ' -
    -

    ', $section['title'], '

    -
    '; - - echo ' -
    - -
    -
    '; - - foreach ($section['groups'] as $group) - { - if (isset($group['title'])) - echo ' -
    - ', $group['title'], ' -
    -
    '; - - // Try to make this read nicely. - if (count($group['members']) <= 2) - echo implode(' ' . $txt['credits_and'] . ' ', $group['members']); - else - { - $last_peep = array_pop($group['members']); - echo implode(', ', $group['members']), ' ', $txt['credits_and'], ' ', $last_peep; - } - - echo ' -
    '; - } - - echo ' -
    '; - - if (isset($section['posttext'])) - echo ' -

    ', $section['posttext'], '

    '; - - echo ' -
    - -
    '; - } - - echo ' -
    -

    ', $txt['credits_copyright'], '

    -
    -
    - -
    -
    -
    ', $txt['credits_forum'], '
    ', ' -
    ', $context['copyrights']['smf']; - - echo ' -
    -
    '; - - if (!empty($context['copyrights']['mods'])) - { - echo ' -
    -
    ', $txt['credits_modifications'], '
    -
    ', implode('
    ', $context['copyrights']['mods']), '
    -
    '; - } - - echo ' -
    - -
    -
    '; -} -?> \ No newline at end of file diff --git a/config/themes/default/Wireless.template.php b/config/themes/default/Wireless.template.php deleted file mode 100755 index c830fac..0000000 --- a/config/themes/default/Wireless.template.php +++ /dev/null @@ -1,1521 +0,0 @@ - - - - - '; -} - -// This is the board index (main page) in WAP 1.1. -function template_wap_boardindex() -{ - global $context, $settings, $options, $scripturl; - - // This is the "main" card... - echo ' - -

    ', $context['forum_name_html_safe'], '

    '; - - // Show an anchor for each category. - foreach ($context['categories'] as $category) - { - // Skip it if it's empty. - if (!empty($category['boards'])) - echo ' -

    ', $category['name'], '

    '; - } - - // Okay, that's it for the main card. - echo ' -
    '; - - // Now fill out the deck of cards with the boards in each category. - foreach ($context['categories'] as $category) - { - // Begin the card, and make the name available. - echo ' - -

    ', strip_tags($category['name']), '

    '; - - // Now show a link for each board. - foreach ($category['boards'] as $board) - echo ' -

    ', $board['name'], '

    '; - - echo ' -
    '; - } -} - -// This is the message index (list of topics in a board) for WAP 1.1. -function template_wap_messageindex() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - -

    ', $context['name'], '

    '; - - if (isset($context['boards']) && count($context['boards']) > 0) - { - foreach ($context['boards'] as $board) - echo ' -

    - ', $board['name'], '

    '; - echo ' -


    '; - } - - if (!empty($context['topics'])) - { - echo ' -

    ', $txt['pages'], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '

    '; - - foreach ($context['topics'] as $topic) - echo ' -

    ', $topic['first_post']['subject'], '', (!$topic['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), ' - ', $topic['first_post']['member']['name'], '

    '; - - echo ' -

    ', $txt['pages'], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '

    '; - } - - echo ' -
    '; -} - -function template_wap_display() -{ - global $context, $settings, $options, $txt; - - echo ' - -

    ' . $context['linktree'][1]['name'] . ' > ' . $context['linktree'][count($context['linktree']) - 2]['name'] . '

    -

    ', $context['subject'], '

    -

    ', $txt['pages'], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '

    '; - - while ($message = $context['get_message']()) - { - // This is a special modification to the post so it will work on phones: - $message['body'] = preg_replace('~
    (.+?)
    ~', '
    --- $1 ---', $message['body']); - $message['body'] = strip_tags(str_replace( - array( - '
    ', - '
    ', - '', - '', - '
  • ', - $txt['code_select'], - ), - array( - '
    ', - '
    --- ' . $txt['wireless_end_quote'] . ' ---
    ', - '
    ', - '
    --- ' . $txt['wireless_end_code'] . ' ---
    ', - '
    * ', - '', - ), $message['body']), '
    '); - - echo ' -

    ', $message['member']['name'], ':', (!$message['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '

    -

    ', $message['body'], '

    '; - } - - echo ' -

    ', $txt['pages'], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '

    - '; -} - -function template_wap_login() -{ - global $context, $modSettings, $scripturl, $txt; - - echo ' - '; - - if (isset($context['login_errors'])) - foreach ($context['login_errors'] as $error) - echo ' -

    ', $error, '

    '; - - echo ' -

    ', $txt['username'], ':
    -

    - -

    ', $txt['password'], ':
    -

    '; - - // Open ID? - if (!empty($modSettings['enableOpenID'])) - echo ' -

    —', $txt['or'], '—

    - -

    ', $txt['openid'], ':
    -

    '; - - echo ' -

    - - - - - -

    -
    '; -} - -function template_wap_recent() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - -

    ', $_REQUEST['action'] == 'unread' ? $txt['wireless_recent_unread_posts'] : $txt['wireless_recent_unread_replies'], '

    '; - - if (empty($context['topics'])) - echo ' -

    ', $txt['old_posts'], '

    '; - else - { - echo ' -

    ', $txt['pages'], ': ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '

    '; - foreach ($context['topics'] as $topic) - { - echo ' -

    ', $topic['first_post']['subject'], '

    '; - } - } - - echo ' -
    '; -} - -function template_wap_error() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - -

    ', $context['error_title'], '

    -

    ', $context['error_message'], '

    -

    ', $txt['wireless_error_home'], '

    -
    '; -} - -function template_wap_below() -{ - global $context, $settings, $options, $txt; - - echo ' - -

    - ', $txt['wireless_go_to_full_version'], ' -

    -
    -'; -} - -// The cHTML protocol used for i-mode starts here. -function template_imode_above() -{ - global $context, $settings, $options, $user_info; - - echo ' - - - '; - - // Present a canonical url for search engines to prevent duplicate content in their indices. - if ($user_info['is_guest'] && !empty($context['canonical_url'])) - echo ' - '; - - echo ' - ', $context['page_title'], ' - - '; -} - -function template_imode_boardindex() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - - '; - $count = 0; - foreach ($context['categories'] as $category) - { - if (!empty($category['boards']) || $category['is_collapsed']) - echo ' - '; - - foreach ($category['boards'] as $board) - { - $count++; - echo ' - '; - } - } - echo ' - '; - if ($context['user']['is_guest']) - echo ' - '; - else - { - if ($context['allow_pm']) - echo ' - '; - echo ' - - - '; - } - echo ' -
    ', $context['forum_name_html_safe'], '
    ', $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'], '
    '; -} - -function template_imode_messageindex() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - - '; - - if (!empty($context['boards'])) - { - echo ' - '; - foreach ($context['boards'] as $board) - echo ' - '; - } - - $count = 0; - if (!empty($context['topics'])) - { - echo ' - - '; - foreach ($context['topics'] as $topic) - { - $count++; - echo ' - '; - } - } - echo ' - - ', !empty($context['links']['next']) ? ' - ' : '', !empty($context['links']['prev']) ? ' - ' : '', $context['can_post_new'] ? ' - ' : '', ' -
    ', $context['name'], '
    ', $txt['parent_boards'], '
    ', $board['new'] ? '- ' : ($board['children_new'] ? '-.' : '- '), '', $board['name'], '
    ', $txt['topics'], '
    ', !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['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), $topic['new'] && $context['user']['is_logged'] ? ' [' . $txt['new'] . ']' : '', '
    ', $txt['wireless_navigation'], '
    ', $txt['wireless_navigation_up'], '
    ' . $txt['wireless_navigation_next'] . '
    [*] ' . $txt['wireless_navigation_prev'] . '
    ' . $txt['start_new_topic'] . '
    '; -} - -function template_imode_display() -{ - global $context, $settings, $options, $scripturl, $board, $txt; - - echo ' - - - - '; - while ($message = $context['get_message']()) - { - // This is a special modification to the post so it will work on phones: - $message['body'] = preg_replace('~
    (.+?)
    ~', '
    --- $1 ---', $message['body']); - $message['body'] = strip_tags(str_replace( - array( - '
    ', - '
    ', - '', - '', - '
  • ', - $txt['code_select'], - ), - array( - '
    ', - '
    --- ' . $txt['wireless_end_quote'] . ' ---
    ', - '
    ', - '
    --- ' . $txt['wireless_end_code'] . ' ---
    ', - '
    * ', - '', - ), $message['body']), '
    '); - - echo ' -
  • '; - } - echo ' - - ', $context['user']['is_logged'] ? ' - ' : '', !empty($context['links']['next']) ? ' - ' : '', !empty($context['links']['prev']) ? ' - ' : '', $context['can_reply'] ? ' - ' : ''; - - if (!empty($context['wireless_more']) && empty($context['wireless_moderate'])) - echo ' - '; - elseif (!empty($context['wireless_moderate'])) - { - if ($context['can_sticky']) - echo ' - '; - if ($context['can_lock']) - echo ' - '; - } - - echo ' -
    ' . $context['linktree'][1]['name'] . ' > ' . $context['linktree'][count($context['linktree']) - 2]['name'] . '
    ', $context['subject'], '
    ', !empty($context['links']['prev']) ? '<< < ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' > >> ' : '', '
    ', $message['first_new'] ? ' - ' : '', - $context['wireless_moderate'] && $message['member']['id'] ? '' . $message['member']['name'] . '' : '' . $message['member']['name'] . '', ': - ', ((empty($context['wireless_more']) && $message['can_modify']) || !empty($context['wireless_moderate']) ? '[' . $txt['wireless_display_edit'] . ']' : ''), (!$message['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '
    - ', $message['body'], ' -
    ', $txt['wireless_navigation'], '
    ', $txt['wireless_navigation_index'], '
    ' . $txt['mark_unread'] . '
    ' . $txt['wireless_navigation_next'] . '
    ' . $txt['wireless_navigation_prev'] . '
    ' . $txt['reply'] . '
    ', $txt['wireless_display_moderate'], '
    ', $txt['wireless_display_' . ($context['is_sticky'] ? 'unsticky' : 'sticky')], '
    ', $txt['wireless_display_' . ($context['is_locked'] ? 'unlock' : 'lock')], '
    '; -} - -function template_imode_post() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - // !!! $modSettings['guest_post_no_email'] - echo ' -
    - '; - - if (!$context['becomes_approved']) - echo ' - '; - - if ($context['locked']) - echo ' - '; - - if (isset($context['name']) && isset($context['email'])) - { - echo ' - - '; - - if (empty($modSettings['guest_post_no_email'])) - echo ' - - '; - } - - // !!! Needs a more specific imode template. - if ($context['require_verification']) - echo ' - - '; - - echo ' - - - - - - -
    ' . $txt['wait_for_approval'] . '
    ' . $txt['topic_locked_no_reply'] . '
    ', isset($context['post_error']['long_name']) || isset($context['post_error']['no_name']) ? '' . $txt['username'] . '' : $txt['username'], ':
    ', isset($context['post_error']['no_email']) || isset($context['post_error']['bad_email']) ? '' . $txt['email'] . '' : $txt['email'], ':
    ', !empty($context['post_error']['need_qr_verification']) ? '' . $txt['verification'] . '' : $txt['verification'], ':
    ', template_control_verification($context['visual_verification_id'], 'all'), '
    ', isset($context['post_error']['no_subject']) ? '' . $txt['subject'] . '' : $txt['subject'], ':
    ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? '' . $txt['message'] . '' : $txt['message'], ':
    - - - - - ', isset($context['current_topic']) ? ' - ' : '', ' - -
    -  ', !empty($context['current_topic']) ? '' . $txt['wireless_navigation_topic'] . '' : '' . $txt['wireless_navigation_index'] . '', ' -
    -
    '; -} - -function template_imode_login() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    - - '; - if (isset($context['login_errors'])) - foreach ($context['login_errors'] as $error) - echo ' - '; - echo ' - - - - '; - - // Open ID? - if (!empty($modSettings['enableOpenID'])) - echo ' - - - '; - - echo ' - - - -
    ', $txt['login'], '
    ', $error, '
    ', $txt['username'], ':
    ', $txt['password'], ':
    —', $txt['or'], '—
    ', $txt['openid'], ':
    ', $txt['wireless_navigation'], '
    [0] ', $txt['wireless_navigation_up'], '
    -
    '; -} - -function template_imode_pm() -{ - global $context, $settings, $options, $scripturl, $txt, $user_info; - - if ($_REQUEST['action'] == 'findmember') - { - echo ' -
    - - - - - '; - if (!empty($context['last_search'])) - { - echo ' - '; - if (empty($context['results'])) - echo ' - '; - else - { - echo ' - '; - $count = 0; - foreach ($context['results'] as $result) - { - $count++; - echo ' - '; - } - } - } - echo ' - - '; - if (!empty($context['results'])) - echo empty($context['links']['next']) ? '' : ' - ', empty($context['links']['prev']) ? '' : ' - '; - echo ' -
    ', $txt['wireless_pm_search_member'], '
    ', $txt['find_members'], '
    - ', $txt['wireless_pm_search_name'], ': - ', empty($_REQUEST['u']) ? '' : ' - ', ' -
    ', $txt['find_results'], '
    [-] ', $txt['find_no_results'], '
    ', empty($context['links']['prev']) ? '' : '<< < ', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', empty($context['links']['next']) ? '' : ' > >> ', '
    - ', $count < 10 ? '&#' . (59105 + $count) . '; ' : '', '', $result['name'], ' -
    ', $txt['wireless_navigation'], '
    [0] ', $txt['wireless_navigation_up'], '
    [#] ' . $txt['wireless_navigation_next'] . '
    [*] ' . $txt['wireless_navigation_prev'] . '
    -
    '; - } - elseif (!empty($_GET['sa'])) - { - echo ' - '; - if ($_GET['sa'] == 'addbuddy') - { - echo ' - - '; - $count = 0; - foreach ($context['buddies'] as $buddy) - { - $count++; - if ($buddy['selected']) - echo ' - '; - else - echo ' - '; - } - echo ' - - -
    ', $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'], '
    '; - } - if ($_GET['sa'] == 'send' || $_GET['sa'] == 'send2') - { - echo ' -
    - - ', empty($context['post_error']['messages']) ? '' : ' - ', ' - - - - '; - if ($context['reply']) - echo ' - - - '; - echo ' - - -
    ', $txt['new_message'], '
    ' . implode('
    ', $context['post_error']['messages']) . '
    - ', $txt['pm_to'], ': '; - if (empty($context['recipients']['to'])) - echo $txt['wireless_pm_no_recipients']; - else - { - $to_names = array(); - $ids = array(); - foreach ($context['recipients']['to'] as $to) - { - $ids[] = $to['id']; - $to_names[] = $to['name']; - } - echo implode(', ', $to_names); - $ids = implode(',', $ids); - } - echo ' - ', empty($ids) ? '' : '', '
    - ', $txt['wireless_pm_search_member'], '', empty($user_info['buddies']) ? '' : '
    - ' . $txt['wireless_pm_add_buddy'] . '', ' -
    - ', $txt['subject'], ': -
    - ', $txt['message'], ':
    - -
    - - - - - - - - -
    ', $txt['wireless_pm_reply_to'], '
    ', $context['quoted_message']['subject'], '
    ', $context['quoted_message']['body'], '
    ', $txt['wireless_navigation'], '
    [0] ', $txt['wireless_navigation_up'], '
    -
    '; - } - } - elseif (empty($_GET['pmsg'])) - { - echo ' - - - '; - $count = 0; - while ($message = $context['get_pmessage']()) - { - $count++; - echo ' - '; - } - - if ($context['currently_using_labels']) - { - $labels = array(); - ksort($context['labels']); - foreach ($context['labels'] as $label) - $labels[] = '' . $label['name'] . '' . (!empty($label['unread_messages']) ? ' (' . $label['unread_messages'] . ')' : ''); - echo ' - - '; - } - echo ' - - ', empty($context['links']['next']) ? '' : ' - ', empty($context['links']['prev']) ? '' : ' - ', $context['can_send_pm'] ? ' - ' : '', ' -
    ', $context['current_label_id'] == -1 ? $txt['wireless_pm_inbox'] : $txt['pm_current_label'] . ': ' . $context['current_label'], '
    ', 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'], '', $message['is_unread'] ? ' [' . $txt['new'] . ']' : '', ' -
    ', $txt['pm_labels'], '
    - ', implode(', ', $labels), ' -
    ', $txt['wireless_navigation'], '
    [0] ', $txt['wireless_navigation_up'], '
    [#] ' . $txt['wireless_navigation_next'] . '
    [*] ' . $txt['wireless_navigation_prev'] . '
    ' . $txt['new_message'] . '
    '; - } - else - { - $message = $context['get_pmessage'](); - $message['body'] = preg_replace('~
    (.+?)
    ~', '
    --- $1 ---', $message['body']); - $message['body'] = strip_tags(str_replace( - array( - '
    ', - '
    ', - '', - '', - '
  • ', - $txt['code_select'], - ), - array( - '
    ', - '
    --- ' . $txt['wireless_end_quote'] . ' ---
    ', - '
    ', - '
    --- ' . $txt['wireless_end_code'] . ' ---
    ', - '
    * ', - '', - ), $message['body']), '
    '); - - echo ' - - - - - - '; - if ($context['can_send_pm']) - echo ' - '; - - if ($context['can_send_pm'] && $message['number_recipients'] > 1) - echo ' - '; - - echo ' -
    ', $message['subject'], '
    - ', $txt['wireless_pm_by'], ': ', $message['member']['name'], '
    - ', $txt['on'], ': ', $message['time'], ' -
    - ', $message['body'], ' -
    ', $txt['wireless_navigation'], '
    [0] ', $txt['wireless_navigation_up'], '
    ', $txt['wireless_pm_reply'], '
    ', $txt['wireless_pm_reply_all'], '
    '; - } -} - -function template_imode_recent() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - - '; - - $count = 0; - if (empty($context['topics'])) - echo ' - '; - else - { - echo ' - '; - foreach ($context['topics'] as $topic) - { - $count++; - echo ' - '; - } - } - echo ' - - ', !empty($context['links']['next']) ? ' - ' : '', !empty($context['links']['prev']) ? ' - ' : '', ' -
    ', $_REQUEST['action'] == 'unread' ? $txt['wireless_recent_unread_posts'] : $txt['wireless_recent_unread_replies'], '
    ', $txt['old_posts'], '
    ', !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'] . '
    '; -} - -function template_imode_error() -{ - global $context, $settings, $options, $txt, $scripturl; - - echo ' - - - - -
    ', $context['error_title'], '
    ', $context['error_message'], '
    [0] ', $txt['wireless_error_home'], '
    '; -} - -function template_imode_profile() -{ - global $context, $settings, $options, $scripturl, $board, $txt; - - echo ' - - - - - '; - - if (!empty($context['member']['bans'])) - { - echo ' - '; - } - - echo ' - - '; - - if (!$context['user']['is_owner'] && $context['can_send_pm']) - echo ' - '; - - if (!$context['user']['is_owner'] && !empty($context['can_edit_ban'])) - echo ' - '; - - echo ' - '; - - echo ' -
    ', $txt['summary'], ' - ', $context['member']['name'], '
    - ', $txt['name'], ': ', $context['member']['name'], ' -
    - ', $txt['position'], ': ', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), ' -
    - ', $txt['lastLoggedIn'], ': ', $context['member']['last_login'], ' -
    - ', $txt['user_banned_by_following'], ':'; - - foreach ($context['member']['bans'] as $ban) - echo ' -
    ', $ban['explanation'], ''; - - echo ' -
    ', $txt['additional_info'], '
    ', $txt['wireless_profile_pm'], '.
    ', $txt['profileBanUser'], '.
    ', $txt['wireless_error_home'], '.
    '; -} - -function template_imode_ban_edit() -{ - global $context, $settings, $options, $scripturl, $board, $txt, $modSettings; - - echo ' -
    - - - - - - - '; - - if (!empty($context['ban_suggestions'])) - { - echo ' - - '; - - if (empty($modSettings['disableHostnameLookup'])) - echo ' - '; - - echo ' - - '; - } - - echo ' - - - '; - - echo ' -
    ', $context['ban']['is_new'] ? $txt['ban_add_new'] : $txt['ban_edit'] . ' \'' . $context['ban']['name'] . '\'', '
    - ', $txt['ban_name'], ': - -
    - ', $txt['ban_expiration'], ':
    - ', $txt['never'], '
    - ', $txt['ban_will_expire_within'], ' ', $txt['ban_days'], '
    - ', $txt['ban_expired'], '
    -
    - ', $txt['ban_reason'], ': - -
    - ', $txt['ban_notes'], ':
    - -
    - ', $txt['ban_restriction'], ':
    - ', $txt['ban_full_ban'], '
    - ', $txt['ban_cannot_post'], '
    - ', $txt['ban_cannot_register'], '
    - ', $txt['ban_cannot_login'], ' -
    ', $txt['ban_triggers'], '
    - ', $txt['wireless_ban_ip'], ':
    -      -
    - ', $txt['wireless_ban_hostname'], ':
    -      -
    - ', $txt['wireless_ban_email'], ':
    -      -
    - ', $txt['ban_on_username'], ':
    '; - - if (empty($context['ban_suggestions']['member']['id'])) - echo ' -     '; - else - echo ' -     ', $context['ban_suggestions']['member']['name'], ' - '; - - echo ' -
    ', $txt['wireless_additional_info'], '
    ', $txt['wireless_error_home'], '.
    - - - -
    '; -} - -function template_imode_below() -{ - global $context, $settings, $options, $txt; - - echo ' -
    ', $txt['wireless_go_to_full_version'], ' - -'; -} - -// XHTMLMP (XHTML Mobile Profile) templates used for WAP 2.0 start here -function template_wap2_above() -{ - global $context, $settings, $options, $user_info; - - echo ' - - - - ', $context['page_title'], ''; - - // Present a canonical url for search engines to prevent duplicate content in their indices. - if ($user_info['is_guest'] && !empty($context['canonical_url'])) - echo ' - '; - - echo ' - - - '; -} - -function template_wap2_boardindex() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -

    ', $context['forum_name_html_safe'], '

    '; - - $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['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 ' -

    ', empty($context['user']['unread_messages']) ? $txt['wireless_pm_inbox'] : sprintf($txt['wireless_pm_inbox_new'], $context['user']['unread_messages']), '

    '; - 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['topics'], '

    -

    ', !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['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), $topic['new'] && $context['user']['is_logged'] ? ' [' . $txt['new'] . ']' : '', '

    '; - } - } - - 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'] ? ' -

    ' . $txt['start_new_topic'] . '

    ' : ''; -} - -function template_wap2_display() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' -

    ' . $context['linktree'][1]['name'] . ' > ' . $context['linktree'][count($context['linktree']) - 2]['name'] . '

    -

    ', $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: - $message['body'] = preg_replace('~
    (.+?)
    ~', '
    --- $1 ---', $message['body']); - $message['body'] = strip_tags(str_replace( - array( - '
    ', - '
    ', - '', - '', - '
  • ', - $txt['code_select'], - ), - array( - '
    ', - '
    --- ' . $txt['wireless_end_quote'] . ' ---
    ', - '
    ', - '
    --- ' . $txt['wireless_end_code'] . ' ---
    ', - '
    * ', - '', - ), $message['body']), '
    '); - - echo $message['first_new'] ? ' - ' : '', ' -

    - ', $context['wireless_moderate'] && $message['member']['id'] ? '' . $message['member']['name'] . '' : '' . $message['member']['name'] . '', ': - ', ((empty($context['wireless_more']) && $message['can_modify']) || !empty($context['wireless_moderate']) ? '[' . $txt['wireless_display_edit'] . ']' : ''), (!$message['approved'] ? ' (' . $txt['awaiting_approval'] . ')' : ''), '
    - ', $message['body'], ' -

    '; - $alternate = !$alternate; - } - echo ' -

    ', $txt['wireless_navigation'], '

    -

    [0] ', $txt['wireless_navigation_index'], '

    ', $context['user']['is_logged'] ? ' -

    [1] ' . $txt['mark_unread'] . '

    ' : '', !empty($context['links']['next']) ? ' -

    [#] ' . $txt['wireless_navigation_next'] . '

    ' : '', !empty($context['links']['prev']) ? ' -

    [*] ' . $txt['wireless_navigation_prev'] . '

    ' : '', $context['can_reply'] ? ' -

    ' . $txt['reply'] . '

    ' : ''; - - if (!empty($context['wireless_more']) && empty($context['wireless_moderate'])) - echo ' -

    ', $txt['wireless_display_moderate'], '

    '; - elseif (!empty($context['wireless_moderate'])) - { - if ($context['can_sticky']) - echo ' -

    ', $txt['wireless_display_' . ($context['is_sticky'] ? 'unsticky' : 'sticky')], '

    '; - if ($context['can_lock']) - echo ' -

    ', $txt['wireless_display_' . ($context['is_locked'] ? 'unlock' : 'lock')], '

    '; - } -} - -function template_wap2_login() -{ - global $context, $modSettings, $scripturl, $txt; - - echo ' -
    -

    ', $txt['login'], '

    '; - - if (isset($context['login_errors'])) - foreach ($context['login_errors'] as $error) - echo ' -

    ', $error, '

    '; - - echo ' -

    ', $txt['username'], ':

    -

    -

    ', $txt['password'], ':

    -

    '; - - // Open ID? - if (!empty($modSettings['enableOpenID'])) - echo ' -

    —', $txt['or'], '—

    -

    ', $txt['openid'], ':

    -

    '; - - echo ' -

    -

    ', $txt['wireless_navigation'], '

    -

    [0] ', $txt['wireless_navigation_up'], '

    -
    '; -} - -function template_wap2_post() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -

    ', $context['page_title'], '

    '; - - if (!$context['becomes_approved']) - echo ' -

    - ' . $txt['wait_for_approval'] . ' - -

    '; - - if ($context['locked']) - echo ' -

    - ' . $txt['topic_locked_no_reply'] . ' -

    '; - - if (isset($context['name']) && isset($context['email'])) - { - echo ' -

    - ' . $txt['username'] . ': -

    '; - - if (empty($modSettings['guest_post_no_email'])) - echo ' -

    - ' . $txt['email'] . ': -

    '; - } - - if ($context['require_verification']) - echo ' -

    - ' . $txt['verification'] . ': ', template_control_verification($context['visual_verification_id'], 'all'), ' -

    '; - - echo ' -

    - ', $txt['subject'], ': -

    -

    - ', $txt['message'], ':
    - -

    -

    - - - - - ', isset($context['current_topic']) ? ' - ' : '', ' - -

    -

    [0] ', !empty($context['current_topic']) ? '' . $txt['wireless_navigation_topic'] . '' : '' . $txt['wireless_navigation_index'] . '', '

    -
    '; -} - -function template_wap2_pm() -{ - global $context, $settings, $options, $scripturl, $txt, $user_info; - - if ($_REQUEST['action'] == 'findmember') - { - echo ' -
    -

    ', $txt['wireless_pm_search_member'], '

    -

    ', $txt['find_members'], '

    -

    - ', $txt['wireless_pm_search_name'], ': - ', empty($_REQUEST['u']) ? '' : ' - ', ' -

    -

    -
    '; - 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 ' -
    -

    ', $txt['new_message'], '

    ', empty($context['post_error']['messages']) ? '' : ' -

    ' . implode('
    ', $context['post_error']['messages']) . '

    ', ' -

    - ', $txt['pm_to'], ': '; - if (empty($context['recipients']['to'])) - echo $txt['wireless_pm_no_recipients']; - else - { - $to_names = array(); - $ids = array(); - foreach ($context['recipients']['to'] as $to) - { - $ids[] = $to['id']; - $to_names[] = $to['name']; - } - echo implode(', ', $to_names); - $ids = implode(',', $ids); - } - echo ' - ', empty($ids) ? '' : '', '
    - ', $txt['wireless_pm_search_member'], '', empty($user_info['buddies']) ? '' : '
    - ' . $txt['wireless_pm_add_buddy'] . '', ' -

    -

    - ', $txt['subject'], ': -

    -

    - ', $txt['message'], ':
    - -

    -

    - - - - - - - - -

    '; - if ($context['reply']) - echo ' -

    ', $txt['wireless_pm_reply_to'], '

    -

    ', $context['quoted_message']['subject'], '

    -

    ', $context['quoted_message']['body'], '

    '; - echo ' -

    ', $txt['wireless_navigation'], '

    -

    [0] ', $txt['wireless_navigation_up'], '

    -
    '; - } - } - elseif (empty($_GET['pmsg'])) - { - echo ' -

    ', $context['current_label_id'] == -1 ? $txt['wireless_pm_inbox'] : $txt['pm_current_label'] . ': ' . $context['current_label'], '

    -

    ', 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'], '', $message['is_unread'] ? ' [' . $txt['new'] . ']' : '', ' -

    '; - } - - if ($context['currently_using_labels']) - { - $labels = array(); - ksort($context['labels']); - foreach ($context['labels'] as $label) - $labels[] = '' . $label['name'] . '' . (!empty($label['unread_messages']) ? ' (' . $label['unread_messages'] . ')' : ''); - echo ' -

    - ', $txt['pm_labels'], ' -

    -

    - ', implode(', ', $labels), ' -

    '; - } - - 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_send_pm'] ? ' -

    ' . $txt['new_message'] . '

    ' : ''; - } - else - { - $message = $context['get_pmessage'](); - $message['body'] = preg_replace('~
    (.+?)
    ~', '
    --- $1 ---', $message['body']); - $message['body'] = strip_tags(str_replace( - array( - '
    ', - '
    ', - '', - '', - '
  • ', - $txt['code_select'], - ), - array( - '
    ', - '
    --- ' . $txt['wireless_end_quote'] . ' ---
    ', - '
    ', - '
    --- ' . $txt['wireless_end_code'] . ' ---
    ', - '
    * ', - '', - ), $message['body']), '
    '); - - echo ' -

    ', $message['subject'], '

    -

    - ', $txt['wireless_pm_by'], ': ', $message['member']['name'], '
    - ', $txt['on'], ': ', $message['time'], ' -

    -

    - ', $message['body'], ' -

    -

    ', $txt['wireless_navigation'], '

    -

    [0] ', $txt['wireless_navigation_up'], '

    '; - if ($context['can_send_pm']) - echo ' -

    ', $txt['wireless_pm_reply'], '

    '; - - if ($context['can_send_pm'] && $message['number_recipients'] > 1) - echo ' -

    ', $txt['wireless_pm_reply_all'], '

    '; - - } -} - -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['old_posts'], '

    '; - 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'], '

    -

    [0] ', $txt['wireless_error_home'], '

    '; -} - -function template_wap2_profile() -{ - global $context, $settings, $options, $scripturl, $board, $txt; - - echo ' -

    ', $txt['summary'], ' - ', $context['member']['name'], '

    -

    ', $txt['name'], ': ', $context['member']['name'], '

    -

    ', $txt['position'], ': ', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '

    -

    ', $txt['lastLoggedIn'], ': ', $context['member']['last_login'], '

    '; - - if (!empty($context['member']['bans'])) - { - echo ' -

    ', $txt['user_banned_by_following'], ':

    '; - - foreach ($context['member']['bans'] as $ban) - echo ' -

    ', $ban['explanation'], '

    '; - - } - - echo ' - -

    ', $txt['additional_info'], '

    '; - - if (!$context['user']['is_owner'] && $context['can_send_pm']) - echo ' -

    ', $txt['wireless_profile_pm'], '.

    '; - - if (!$context['user']['is_owner'] && !empty($context['can_edit_ban'])) - echo ' -

    ', $txt['profileBanUser'], '.

    '; - - echo ' -

    ', $txt['wireless_error_home'], '.

    '; - -} - -function template_wap2_ban_edit() -{ - global $context, $settings, $options, $scripturl, $board, $txt, $modSettings; - - echo ' -
    -

    ', $context['ban']['is_new'] ? $txt['ban_add_new'] : $txt['ban_edit'] . ' \'' . $context['ban']['name'] . '\'', '

    -

    - ', $txt['ban_name'], ': - -

    -

    - ', $txt['ban_expiration'], ':
    - ', $txt['never'], '
    - ', $txt['ban_will_expire_within'], ' ', $txt['ban_days'], '
    - ', $txt['ban_expired'], '
    -

    -

    - ', $txt['ban_reason'], ': - -

    -

    - ', $txt['ban_notes'], ':
    - -

    -

    - ', $txt['ban_restriction'], ':
    - ', $txt['ban_full_ban'], '
    - ', $txt['ban_cannot_post'], '
    - ', $txt['ban_cannot_register'], '
    - ', $txt['ban_cannot_login'], ' -

    '; - - if (!empty($context['ban_suggestions'])) - { - echo ' -

    ', $txt['ban_triggers'], '

    -

    - ', $txt['wireless_ban_ip'], ':
    -      -

    '; - - if (empty($modSettings['disableHostnameLookup'])) - echo ' -

    - ', $txt['wireless_ban_hostname'], ':
    -      -

    '; - - echo ' -

    - ', $txt['wireless_ban_email'], ':
    -      -

    -

    - ', $txt['ban_on_username'], ':
    '; - - if (empty($context['ban_suggestions']['member']['id'])) - echo ' -     '; - else - echo ' -     ', $context['ban_suggestions']['member']['name'], ' - '; - - echo ' -

    '; - } - - echo ' - -

    -

    ', $txt['wireless_additional_info'], '

    -

    ', $txt['wireless_error_home'], '.

    '; - - echo ' - - - -
    '; -} - -function template_wap2_below() -{ - global $context, $settings, $options, $txt; - - echo ' - ', $txt['wireless_go_to_full_version'], ' - -'; -} - -?> \ No newline at end of file diff --git a/config/themes/default/Xml.template.php b/config/themes/default/Xml.template.php deleted file mode 100755 index e7e46a4..0000000 --- a/config/themes/default/Xml.template.php +++ /dev/null @@ -1,389 +0,0 @@ - - - ', cleanXml($context['message']), ' -'; -} - -function template_quotefast() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - ', cleanXml($context['quote']['xml']), ' -'; -} - -function template_modifyfast() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - - -'; - -} - -function template_modifydone() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - '; - if (empty($context['message']['errors'])) - { - echo ' - ' . $txt['last_edit'] . ': ' . $context['message']['modified']['time'] . ' ' . $txt['by'] . ' ' . $context['message']['modified']['name'] . ' »'), ']]> - - '; - } - else - echo ' - ', $context['message']['errors']), ']]>'; - echo ' - -'; -} - -function template_modifytopicdone() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - '; - if (empty($context['message']['errors'])) - { - echo ' - ' . $txt['last_edit'] . ': ' . $context['message']['modified']['time'] . ' ' . $txt['by'] . ' ' . $context['message']['modified']['name'] . ' »'), ']]>'; - if (!empty($context['message']['subject'])) - echo ' - '; - } - else - echo ' - ', $context['message']['errors'])), ']]>'; - echo ' - -'; -} - -function template_post() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - - - - - '; - if (!empty($context['post_error']['messages'])) - foreach ($context['post_error']['messages'] as $message) - echo ' - '; - echo ' - - - - - ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? ' - ' : '', ' - - ', isset($context['topic_last_message']) ? $context['topic_last_message'] : '0', ''; - - if (!empty($context['previous_posts'])) - { - echo ' - '; - foreach ($context['previous_posts'] as $post) - echo ' - - - - - ', $post['is_ignored'] ? '1' : '0', ' - '; - echo ' - '; - } - - echo ' -'; -} - -function template_stats() -{ - global $context, $settings, $options, $txt, $modSettings; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> -'; - foreach ($context['yearly'] as $year) - foreach ($year['months'] as $month); - { - echo ' - '; - foreach ($month['days'] as $day) - echo ' - '; - echo ' - '; - } - echo ' -'; -} - -function template_split() -{ - global $context, $settings, $options; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - - '; - foreach ($context['changes'] as $change) - { - if ($change['type'] == 'remove') - echo ' - '; - else - echo ' - - - - - - '; - } - echo ' -'; -} - -// This is just to hold off some errors if people are stupid. -if (!function_exists('template_button_strip')) -{ - function template_button_strip($button_strip, $direction = 'top', $strip_options = array()) - { - } - function template_menu() - { - } - function theme_linktree() - { - } -} - -function template_results() -{ - global $context, $settings, $options, $txt; - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> -'; - - if (empty($context['topics'])) - echo ' - ', $txt['search_no_results'], ''; - else - { - echo ' - '; - - while ($topic = $context['get_topics']()) - { - echo ' - - ', $topic['id'], ' - ', $topic['relevance'], ' - - ', $topic['board']['id'], ' - ', cleanXml($topic['board']['name']), ' - ', $topic['board']['href'], ' - - - ', $topic['category']['id'], ' - ', cleanXml($topic['category']['name']), ' - ', $topic['category']['href'], ' - - '; - foreach ($topic['matches'] as $message) - { - echo ' - - ', $message['id'], ' - - - - ', $message['timestamp'], ' - ', $message['start'], ' - - - ', $message['member']['id'], ' - ', cleanXml($message['member']['name']), ' - ', $message['member']['href'], ' - - '; - } - echo ' - - '; - } - - echo ' - '; - } - - echo ' -'; -} - -function template_jump_to() -{ - global $context, $settings, $options; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> -'; - foreach ($context['jump_to'] as $category) - { - echo ' - '; - foreach ($category['boards'] as $board) - echo ' - '; - } - echo ' -'; -} - -function template_message_icons() -{ - global $context, $settings, $options; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> -'; - foreach ($context['icons'] as $icon) - echo ' - '; - echo ' -'; -} - -function template_check_username() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '> - - ', cleanXml($context['checked_username']), ' -'; -} - -// This prints XML in it's most generic form. -function template_generic_xml() -{ - global $context, $settings, $options, $txt; - - echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>'; - - // Show the data. - template_generic_xml_recursive($context['xml_data'], 'smf', '', -1); -} - -// Recursive function for displaying generic XML data. -function template_generic_xml_recursive($xml_data, $parent_ident, $child_ident, $level) -{ - // This is simply for neat indentation. - $level++; - - echo "\n" . str_repeat("\t", $level), '<', $parent_ident, '>'; - - foreach ($xml_data as $key => $data) - { - // A group? - if (is_array($data) && isset($data['identifier'])) - template_generic_xml_recursive($data['children'], $key, $data['identifier'], $level); - // An item... - elseif (is_array($data) && isset($data['value'])) - { - echo "\n", str_repeat("\t", $level), '<', $child_ident; - - if (!empty($data['attributes'])) - foreach ($data['attributes'] as $k => $v) - echo ' ' . $k . '="' . $v . '"'; - echo '>'; - } - - } - - echo "\n", str_repeat("\t", $level), ''; -} - -function template_webslice_header_above() -{ - global $settings; - - echo ' - '; -} - -function template_webslice_header_below() -{ -} - -// This shows a webslice of the recent posts. -function template_webslice_recent_posts() -{ - global $context, $scripturl, $txt; - - echo ' -
    -
    - ', cleanXml($txt['recent_posts']), ' -
    '; - - $alternate = 0; - foreach ($context['recent_posts_data'] as $item) - { - echo ' -
    - ', cleanXml($item['subject']), ' ', cleanXml($txt['by']), ' ', cleanXml(!empty($item['poster']['link']) ? '' . $item['poster']['name'] . '' : $item['poster']['name']), ' -
    '; - $alternate = !$alternate; - } - - echo ' -
    -
    -
    '; - - if ($context['user']['is_guest']) - echo ' - ', $txt['login'], ''; - else - echo ' - ', cleanXml($context['user']['name']), ', ', cleanXml($txt['msg_alert_you_have']), ' ', cleanXml($context['user']['messages']), ' ', cleanXml($context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase']), '', cleanXml($txt['newmessages4'] . ' ' . $context['user']['unread_messages']), ' ', cleanXml($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']); - - echo ' -
    -
    '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/css/admin.css b/config/themes/default/css/admin.css deleted file mode 100755 index f900d77..0000000 --- a/config/themes/default/css/admin.css +++ /dev/null @@ -1,627 +0,0 @@ -/* Styles for the admin quick search. -------------------------------------------------------- */ - -#quick_search form, h3.catbg #quick_search form -{ - padding: 7px; - line-height: 0.9em; - font-size: 0.8em !important; -} - -ol.search_results -{ - margin-top: 0; - padding-top: 0; -} -ol.search_results li -{ - padding-top: 1em; - border-bottom: 1px solid #ccc; -} - -/* Styles for the core features screen. -------------------------------------------------------- */ -.features -{ - padding: 0 1em !important; - overflow: auto; -} -.features_image -{ - float: left; - margin: 0 2em 0.5em 1em; -} -.features_switch -{ - margin: 0.2em 1em 1em 1em; - float: right; -} -.features h4 -{ - padding: 1em 0 0.5em 0.5em; - margin: 0; - font-size: 1.1em; -} -.features p -{ - padding: 0 1em; - margin: 0; -} - -/* Styles for the admin home screen bar. -------------------------------------------------------- */ -#admin_main_section -{ - overflow: hidden; - margin: 1em 0; -} -#admincenter .content -{ - padding: 1em; -} - -#live_news -{ - width: 64%; - font-size: 0.85em; -} -#live_news div.content -{ - padding: 0; -} -#live_news div.content dl -{ - padding: 0.5em 0 0 0.5em; -} - -#supportVersionsTable -{ - width: 34%; -} -#version_details -{ - overflow: auto; - height: 9.5em; -} -#smfAnnouncements -{ - height: 13.5em; - padding: 0 0.5em; - overflow: auto; -} -#smfAnnouncements dt -{ - border-bottom: 1px dashed #000; -} -#smfAnnouncements dd -{ - padding: 0; - margin: 0 0 1em 1.5em; -} -#update_section -{ - margin: 0.5em 0 0; -} - -#quick_tasks, #quick_tasks ul -{ - margin: 0; - padding: 0; -} -#quick_tasks li -{ - float: left; - list-style-type: none; - margin: 0; - padding: 0.5em 0; - width: 49.5%; - height: 4.5em; -} -.quick_task -{ - display: block; - width: 100%; - margin: 0 1em; - padding: 0; -} -.home_image -{ - float: left; - margin: 0 1em 1em 1em; -} - -/* Common admin center classes. -------------------------------------------------------- */ -hr.hrcolor -{ - margin: 10px 0; -} -h3.titlebg form -{ - font-size: 80%; -} -.windowbg.nopadding -{ - margin: 0.3em 0 0 0; - padding: 0; -} -.windowbg ol -{ - margin-top: 0; - margin-bottom: 0; -} - -.table_caption, tr.table_caption td -{ - color: #000; - font-size: 10px; - font-weight: bold; -} -.additional_row div.floatleft -{ - padding: 0 0.8em; -} -fieldset -{ - margin-bottom: 0.5em; - border: 1px solid #cacdd3; - padding: 0.5em; -} -fieldset dl -{ - margin: 0; -} -legend -{ - font-weight: bold; - color: #000; -} -.information a -{ - font-weight: bold; -} - -/* Styles for the package manager. -------------------------------------------------- */ -#package_list .tborder -{ - margin: .25em 0 .25em 26px; -} -#package_list ol, #package_list ol li -{ - list-style: decimal; - margin-left: 50px; - border: none; -} -#package_list ol ul, #package_list ol ul li -{ - margin-left: 0; - list-style: none; -} -#package_list -{ - list-style-type: none; -} -#package_list li -{ - border: 1px solid #cacdd3; - padding: 0.2em; - margin: 1px; -} -.description -{ - max-height: 15em; - overflow: auto; - padding-bottom: .5em; -} -.information -{ - max-height: 15em; - overflow: auto; - padding-bottom: .5em; -} -.package_section -{ - border: 1px solid #cacdd3; -} -ul.packages li -{ - border: none !important; - list-style-type: none; -} -code#find_code, code#replace_code -{ - display: block; - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; - font-size: x-small; - background: #eef; - line-height: 1.5em; - padding: 3px 1em; - overflow: auto; - white-space: pre; - /* Show a scrollbar after about 24 lines. */ - max-height: 24em; -} -span.package_server -{ - padding: 0 3em; -} -ul.package_servers -{ - margin: 0; - padding: 0; -} -ul.package_servers li -{ - list-style-type: none; -} -pre.file_content -{ - overflow: auto; - width: 100%; - padding-bottom: 1em; -} -.operation -{ - padding: 0 1em; -} - -/* Styles for the file permissions section. -------------------------------------------------- */ -.filepermissions -{ - font-size: 0.8em; - white-space: nowrap; -} -.fperm -{ - display: block; - width: 35%; - text-align: center; -} -.perm_read -{ - background-color: #d1f7bf; -} -.perm_write -{ - background-color: #ffbbbb; -} -.perm_execute -{ - background-color: #fdd7af; -} -.perm_custom -{ - background-color: #c2c6c0; -} -.perm_nochange -{ - background-color: #eee; -} - -/* Styles for the BBC permissions -------------------------------------------------- */ -.list_bbc -{ - width: 33%; -} - -/* Styles for the manage boards section. -------------------------------------------------- */ -#manage_boards ul -{ - padding: 0; - margin: 0 0 0.6em 0; - max-height: 30em; - overflow: auto; -} -#manage_boards li -{ - list-style-type: none; - border: 1px solid #cacdd3; - padding: 0.2em; - margin: 1px; - clear: right; -} -#manage_boards li img -{ - vertical-align: middle; - padding-bottom: 3px; -} -#manage_boards li#recycle_board -{ - background-color: #dee; -} -.move_links -{ - padding: 0 13px 0 0; -} -.modify_boards -{ - padding: 0 0.5em; -} -#manage_boards span.post_group, #manage_boards span.regular_members -{ - border-bottom: 1px dotted #000; - cursor: help; -} - -/* Styles for the manage members section. -------------------------------------------------- */ -.msearch_details -{ - display: block; - width: 49%; -} -dl.right dt -{ - padding-right: 10px; -} - -/* Styles for the manage maintenance section. -------------------------------------------------- */ -.maintenance_finished, #task_completed -{ - margin: 1ex; - padding: 1ex 2ex; - border: 1px dashed green; - color: green; - background: #efe; -} -/* Styles for the manage calendar section. -------------------------------------------------- */ -dl.settings dt.small_caption -{ - width: 20%; -} -dl.settings dd.small_caption -{ - width: 79%; -} -/* Styles for the manage permissions section. -------------------------------------------------- */ -dl.admin_permissions dt -{ - width: 35%; -} -dl.admin_permissions dd -{ - width: 64%; -} - -/* Styles for the manage search section. -------------------------------------------------- */ -dl.settings dt.large_caption -{ - width: 70%; -} -dl.settings dd.large_caption -{ - width: 29%; -} -span.search_weight -{ - width: 40px; - padding: 0 0.5em; - text-align: right; - display: inline-block; -} -.search_settings -{ - width: 47%; -} - -/* Styles for the manage bans section. -------------------------------------------------- */ -.ban_restriction -{ - margin: 0.2em 0 0.2em 2.2em; -} -.ban_settings -{ - width: 46%; -} -#manage_bans dl -{ - margin-bottom: 1em; -} -#manage_bans fieldset dl.settings -{ - margin-bottom: 0; -} - -/* Styles for the manage subscriptions section. -------------------------------------------------- */ -#fixed_area -{ - width: 97%; -} -ul.pending_payments -{ - margin: 0; - padding: 0; -} -ul.pending_payments li -{ - list-style-type: none; -} - -/* Styles for the manage permissions section. -------------------------------------------------- */ -.perm_name, .perm_profile, .perm_board -{ - display: block; - width: 40%; -} -.perm_boards -{ - padding: 0; - margin: 0 0 0.6em 0; -} -.perm_boards li -{ - list-style-type: none; - border: 1px solid #cacdd3; - padding: 0.2em; - margin: 1px; -} -.perm_groups -{ - background-color: #fff; -} -.perm_classic -{ - margin: 0.2em; -} -.permission_groups -{ - padding: 0; - margin: 0; -} -.permission_groups li -{ - list-style-type: none; - padding: 0.2em; - margin: 1px; -} -.perms -{ - width: 20px; - display: inline-block; - text-align: center; -} - -/* Styles for the themes section. -------------------------------------------------- */ -ul.theme_options -{ - padding: 0; - margin: 0; -} -ul.theme_options li -{ - list-style: none; - padding: 0.4em; -} -.is_directory -{ - padding-left: 18px; - background: url(../images/admin/boards.gif) no-repeat; -} -.edit_file -{ - width: 96%; - font-family: monospace; - margin-top: 1ex; - white-space: pre; -} - -dl.themes_list -{ - margin: 0; -} -dl.themes_list dt -{ - margin-bottom: 3px; -} -dl.themes_list dd -{ - font-style: italic; - white-space: nowrap; -} - -/* Styles for the registration center. -------------------------------------------------- */ -.agreement, .reserved_names -{ - padding: 0; -} -#agreement, #reserved -{ - width: 99%; -} - -/* Styles for the moderation center. -------------------------------------------------- */ -#modcenter -{ - display: block; - width: 100%; -} -.modblock_left -{ - width: 49%; - float: left; - clear: right; - margin: 0 0 1em 0; -} -.modblock_right -{ - width: 49%; - float: right; - margin: 0 0 1em 0; -} - -.modbox -{ - height: 150px; - overflow: auto; -} -/* Moderation Notes */ -ul.moderation_notes -{ - margin: 0; - padding: 0; - list-style: none; - overflow: auto; - height: 8.5em; -} -ul.moderation_notes li -{ - padding: 4px 0 4px 4px; - border-bottom: 1px solid #cccccc; -} -.notes -{ - margin: 0.5em 0; -} -.post_note -{ - width: 85%; -} - -/* Styles for the error log. -------------------------------------------------- */ - -h3.grid_header -{ - height: 25px; -} -#error_log -{ - width: 100%; -} -#error_log tr.windowbg td, #error_log tr.windowbg2 td -{ - padding: 8px; - line-height: 160%; -} -#error_log td.half_width -{ - width: 50%; -} -#error_log td.checkbox_column -{ - width: 15px; - vertical-align: top; - text-align: center; -} -#error_log td div.marginleft -{ - margin: 0 0 0 1ex; -} -#manage_boards span.botslice, #manage_maintenance span.botslice, #manage_mail span.botslice -{ - margin-bottom: 4px; -} diff --git a/config/themes/default/css/compat.css b/config/themes/default/css/compat.css deleted file mode 100755 index 7fe7e32..0000000 --- a/config/themes/default/css/compat.css +++ /dev/null @@ -1,2416 +0,0 @@ -/************************************************************************************************** - This file will *attempt* to make themes designed for older versions of SMF usable with SMF 2.0. - Unfortunately, the end result will be far from perfect, in most cases. Therefore, we encourage - theme designers to rebase their themes on either the default or core theme. -**************************************************************************************************/ - -/* Styles for the general looks of things ------------------------------------------- */ - -/* Help popups require a different styling of the body element. */ -body#help_popup -{ - width: auto; - padding: 1em; - min-width: 0; -} - -/* The main content area. -------------------------------------------------------- */ -.content, .roundframe -{ - padding: 0.5em 1.2em; - margin: 0; - border: 1px solid #adadad; - color: #000; - background-color: #ecedf3; -} -.content p, .roundframe p -{ - margin: 0 0 0.5em 0; -} -.content fieldset -{ - border: 2px groove #fff; - padding: 1em; - margin: 0 0 0.3em 0; -} - -/* Reset header margins. */ -h1, h2, h3, h4, h5, h6 -{ - font-size: 1em; - margin: 0; - padding: 0; -} - -/* Alternative for u tag */ -.underline -{ - text-decoration: underline; -} - -/* Common classes for easy styling. -------------------------------------------------------- */ - -.floatright -{ - float: right; -} -.floatleft -{ - float: left; -} - -.flow_auto -{ - overflow: auto; -} -.flow_hidden -{ - overflow: hidden; -} -.clear -{ - clear: both; -} -.clear_left -{ - clear: left; -} -.clear_right -{ - clear: right; -} - -/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */ -.smalltext, tr.smalltext th -{ - font-size: 0.85em; - font-family: verdana, sans-serif; -} -.middletext -{ - font-size: 0.9em; - font-family: verdana, sans-serif; -} -.normaltext -{ - font-size: 1em; - line-height: 1.2em; -} -.largetext -{ - font-size: 1.4em; -} -.centertext -{ - margin: 0 auto; - text-align: center; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: right; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: left; -} -/* some common padding styles */ -.padding -{ - padding: 0.7em; -} -.main_section, .lower_padding -{ - padding-bottom: 0.5em; -} -/* a quick reset list class. */ -ul.reset, ul.reset li -{ - padding: 0; - margin: 0; - list-style: none; -} - -/* the page navigation area */ -.pagesection -{ - font-size: 0.9em; - padding: 0.5em; - overflow: hidden; -} -.pagesection .pagelinks -{ - padding: 0.5em 0; -} - -/* GenericList */ -table.table_grid thead tr.catbg th.smalltext -{ - white-space: nowrap; -} - -.custom_fields_above_signature -{ - clear: right; - padding: 1em 0 3px 0; - width: 98%; - border-top: 1px solid #666; - line-height: 1.4em; - font-size: 0.85em; -} - -/* Semantic classes introduced per RC2, used as alternatives for .windowbg and .windowbg2 ------------------------------------------------------------------------------------------- */ -.description -{ - padding: 1em; - font-size: 0.9em; - line-height: 1.5em; - border: 1px solid #bbb; - background: #f5f5f0; - margin: 0 0 1em 0; -} -.information -{ - padding: 0.5em 1em; - font-size: 0.9em; - line-height: 1.5em; - border: 1px solid #bbb; - background: #f0f6f0; - margin: 0 0 1em 0; -} -.information p -{ - padding: 1em; - margin: 0; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: right; - overflow: auto; - margin: 0 0 10px 0; - padding: 0; -} -dl.settings dt -{ - width: 48%; - float: left; - margin: 0 0 10px 0; - padding: 0; - clear: both; -} -dl.settings dt.settings_title -{ - width: 100%; - float: none; - margin: 0 0 10px 0; - padding: 5px 0 0 0; - font-weight: bold; - clear: both; -} -dl.settings dt.windowbg -{ - width: 98%; - float: left; - margin: 0 0 3px 0; - padding: 0 0 5px 0; - clear: both; -} -dl.settings dd -{ - width: 48%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} -dl.settings img -{ - margin: 0 10px 0 0; -} - -/* Styles for a very basic dropdown menu implementation. -------------------------------------------------------- */ -div#admin_menu -{ - margin: 1em 0 0 0; -} - -ul.dropmenu, ul.dropmenu li ul -{ - margin: 0; - padding: 0; - list-style: none; -} -ul.dropmenu -{ - margin: 0 0 0 15px; -} -ul.dropmenu li -{ - position: relative; - float: left; - padding-right: 4px; - text-transform: uppercase; -} -ul.dropmenu li a.firstlevel -{ - margin: 0; - padding: 5px; - cursor: default; - font-size: x-small; - color: #000; - background: #f0f0f0; - border: 1px solid #818181; - text-decoration: none; -} -ul.dropmenu li a.active -{ - padding-left: 3px; -} -ul.dropmenu li a.active.firstlevel -{ - background: #819db5; - color: #fff; -} -ul.dropmenu li ul li -{ - background: none; - width: 14em; - float: none; - margin: 0; - padding: 0; -} -ul.dropmenu li ul -{ - margin: 5px 0 0 0; - z-index: 90; - display: none; - position: absolute; - top: 100%; - border: 1px solid #808080; - background: #f8f8fb; -} -ul.dropmenu li ul li ul, ul.dropmenu li ul li.over ul -{ - display: none; - position: absolute; - left: -999em; - top: 0; - border: 1px solid #a0a0a0; - background: #fff; -} -ul.dropmenu li ul li a -{ - display: block; - padding: 5px; - font-size: x-small; - text-decoration: none; - background: none; - text-transform: none; - color: #000; -} -ul.dropmenu li ul li a.active -{ - font-weight: bold; -} -ul.dropmenu li ul li a:hover, #dropmenu ul li ul li:hover -{ - background: #c8e2fb; -} -ul.dropmenu li:hover ul, ul.dropmenu li.over ul -{ - display: block; -} -ul.dropmenu li ul li:hover ul, ul.dropmenu li ul li.over ul -{ - display: block; - left: 13em; -} - -/* The dropdown menu toggle image */ -#menu_toggle -{ - float: right; - margin-right: 10px; - padding-top: 3px; -} -#menu_toggle span -{ - position: relative; - right: 5000px; -} - -.generic_tab_strip -{ - margin: 0 1em 2em; -} -.generic_tab_strip .buttonlist -{ - float: left !important; -} - - -/* The linktree. ------------------ */ -ul.linktree -{ - clear: both; - list-style: none; - margin: 1.5em 0.5em 0.5em 0.5em; - padding: 0; -} -ul.linktree li -{ - margin: 0; - padding: 0; - display: inline; - font-size: 0.8em; -} -ul.linktree li a -{ - color: #000; -} -ul.linktree li a:hover -{ - color: #cc3333; -} -ul.linktree li span -{ - font-weight: bold; -} - -/* Styles for a typical table. -------------------------------------------------------- */ -table.table_list -{ - width: 100%; -} -table.table_list p -{ - padding: 0; - margin: 0; -} -table.table_list td,table.table_list th -{ - padding: 5px; -} -table.table_list tbody.header td -{ - padding: 0; -} -table.table_list tbody.content td.stats -{ - font-size: 90%; - width: 15%; - text-align: center; -} -table.table_list tbody.content td.lastpost -{ - line-height: 1.2em; - font-size: 85%; - width: 24%; -} -table.table_list tbody.content td.icon -{ - text-align: center; - width: 6%; -} - -/* Styles for headers used in Curve templates. -------------------------------------------------------- */ -h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg, div.titlebg, .table_list tbody.header td -{ - overflow: hidden; - line-height: 2em; - font-weight: bold; -} -h3.titlebg, h4.titlebg, h3.catbg, h4.catbg -{ - border-left: 1px solid #adadad; - border-right: 1px solid #adadad; -} -h3.titlebg, h4.catbg -{ - padding: 0 0 0 0.5em; -} -h3.catbg img.icon, div.titlebg img.icon, h3.catbg img -{ - float: left; - margin: 5px 8px 0 0; -} -h4.catbg a.toggle img -{ - vertical-align: middle; - margin: -2px 5px 0 5px; -} - -/* Styles for the board index. -------------------------------------------------- */ - -p#stats -{ - text-align: right; -} -h3#newsfader -{ - font-size: 1em; -} -#smfNewsFader -{ - font-weight: bold; - line-height: 1.4em; - padding: 1em; - font-size: 1em; - text-align: center; -} -#upshrink_ic -{ - margin-right: 2ex; - text-align: right; -} -.categoryframe -{ - margin-top: 0.4em; -} -.categoryframe h3 -{ - margin: 0; -} -table.boardsframe -{ - width: 100%; -} -table.boardsframe td.icon -{ - text-align: center; - padding: 0.5em; - width: 6%; -} -table.boardsframe td.info -{ - width: 60%; - padding: 0; -} -table.boardsframe td.info h4 -{ - padding: 0.4em 0.4em 0 0.4em; - margin: 0; -} -table.boardsframe td.info p -{ - padding: 0 0.4em 0.5em 0.4em; - margin: 0; -} -table.boardsframe td.info p.moderators -{ - font-size: 0.8em; - font-family: verdana, sans-serif; -} -table.boardsframe td.stats -{ - width: 8%; - vertical-align: middle; - text-align: center; -} -table.boardsframe td.lastpost -{ - width: 20%; - vertical-align: top; - padding: 0.5em; -} -#posticons -{ - clear: both; - width: 100%; -} -#posticons .buttonlist -{ - margin-right: 1em; - float: right; -} - -/* the newsfader */ -#smfFadeScroller -{ - text-align: center; - overflow: auto; - color: #000000; /* shouldn't be shorthand style due to JS bug in IE! */ -} - -/* Styles for the info center on the board index. ----------------------------------------------------- */ - -#infocenterframe -{ - margin-top: 2em; - clear: both; -} -/* each section in infocenter has this class */ -.infocenter_section -{ - clear: both; -} -.infocenter_section p.section -{ - display: block; - margin: 0; - width: 30px; - text-align: center; - float: left; - padding: 0.5em 0 0 0; -} -.infocenter_section div.sectionbody -{ - margin-left: 30px; - padding: 0.3em; - border-left: 1px solid #a0a0a0; - min-height: 25px; - height: auto !important; -} -/* recent posts - or just one recent post */ -dl#infocenter_recentposts -{ - float: left; - width: 100%; - padding: 0; - margin: 0; -} -dl#infocenter_recentposts dt -{ - clear: left; - float: left; - padding: 0.1em; - width: 68%; - white-space: nowrap; - overflow: hidden; -} -dl#infocenter_recentposts dd -{ - clear: right; - float: right; - padding: 0.1em; - width: 25%; - text-align: right; - white-space: nowrap; - overflow: hidden; -} -/* login form */ -form#infocenter_login ul.horizlist label -{ - white-space: nowrap; - font-size: 90%; - font-weight: bold; -} - -/* Styles for the message (topic) index. ----------------------------------------------------- */ - -#childboards table -{ - width: 100%; -} -.modbuttons -{ - clear: both; - width: 100%; -} -.buttonlist, .buttonlist_bottom -{ - margin-right: 1em; - float: right; -} -#messageindex td.icon1, #messageindex td.icon2 -{ - text-align: center; - padding: 0.5em; - width: 5%; -} -#messageindex td.subject -{ - padding: 0.5em; -} -#messageindex td.starter -{ - text-align: center; - padding: 0.5em; - width: 14%; -} -#messageindex td.replies -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#messageindex td.views -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#messageindex td.lastpost -{ - padding: 0.5em; - width: 22%; -} -#messageindex td.moderation -{ - text-align: center; - padding: 0.5em; - width: 4%; -} -#topic_icons p -{ - display: block; - padding: 0.5em 0.5em 0.1em 0.5em; - margin: 0; - border-bottom: none; - font-weight: normal !important; -} -#topic_icons ul -{ - display: block; - padding: 0.5em 1em 0.1em 1em; - margin: 0; - border-bottom: none; - font-weight: normal !important; -} -#message_index_jump_to -{ - margin: 2em 4em 0 2em; -} -.lastpost img -{ - float: right; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ -.linked_events -{ - clear: both; - margin: 1em 0; -} -.linked_events .edit_event -{ - color: #f00; -} -#moderationbuttons -{ - margin-left: 0.5em; -} -#postbuttons .nav, #postbuttons_lower .nav -{ - margin: 0.5em 0.5em 0 0; - text-align: right; -} -#postbuttons_lower .nav -{ - margin: 0 0.5em 0.5em 0; -} -#postbuttons, #postbuttons_lower -{ - text-align: right; -} - -/* Poll question */ -h4#pollquestion -{ - padding: 1em 0 1em 2em; -} - -/* Poll vote options */ -#poll_options ul.options -{ - border-top: 1px solid #696969; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - clear: both; - padding: 0 0 1em 2em; -} - -#poll_options div.submitbutton.border -{ - border-bottom: 1px solid #696969; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - border: solid #696969; - border-width: 1px 0; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options dl.options dt.voted -{ - font-weight: bold; -} -#poll_options dl.options dd -{ - margin: 0.5em 0 1em 0; -} - -/* Poll notices */ -#poll_options p -{ - margin: 0 1.5em 0.2em 1.5em; - padding: 0 0.5em 0.5em 0.5em; -} - -div#pollmoderation -{ - margin: -1em 0 0 2em; - padding: 0; -} - -.approve_post -{ - margin: 2ex; - padding: 1ex; - border: 2px dashed #cc3344; - color: #000; - font-weight: bold; -} -#forumposts h3.catbg3 -{ - font-weight: normal; - padding: 0.4em; - overflow: hidden; -} -#forumposts h3.catbg3 img -{ - float: left; - vertical-align: middle; -} -#forumposts h3.catbg3 span -{ - float: left; - padding-left: 2%; -} -#forumposts h3.catbg3 span#top_subject -{ - padding-left: 9.5em; -} -.poster -{ - width: 15em; - float: left; -} -.post -{ - clear: right; -} -.postarea -{ - margin-left: 16em; -} -.messageicon -{ - float: left; - margin: 0 0.5em 0.5em 0; -} -.messageicon img -{ - padding: 6px 3px; -} -.keyinfo -{ - float: left; - clear: none; - width: 50%; - min-height: 3em; -} -ul.postingbuttons -{ - float: right; - padding: 0 0.5em 0 0; -} -ul.postingbuttons li -{ - float: left; - margin: 0 0.5em 0 0; -} -.modifybutton -{ - float: right; - margin: 0 0.5em 0.5em 0; -} -.attachments hr -{ - clear: both; - margin: 1em 0 1em 0; -} -.attachments -{ - padding-top: 1em; -} -.postfooter -{ - margin-left: 16em; -} -.topborder -{ - border-top: 1px solid #bbb; -} -.moderatorbar -{ - clear: right; - margin: 1em 0 0 16em; -} -#pollmoderation, #moderationbuttons_strip -{ - float: left; -} - -/* Styles for the quick reply area. ----------------------------------------------------- */ - -#quickReplyOptions #quickReplyWarning -{ - border: none; - text-align: left; - margin: 0; - width: 25%; - float: left; -} -#quickReplyOptions #quickReplyContent -{ - text-align: right; - float: left; - width: 67.5%; - padding: 1em; - border-left: 1px solid #aaa; -} - -#quickReplyOptions #quickReplyContent textarea, #quickReplyOptions #quickReplyContent input -{ - margin-bottom: .5em; -} - -#quickReplyWarning -{ - width: 20%; - float: left; - padding: 0.5em 1em; -} -#quickReplyContent -{ - width: 75%; - float: right; - padding: 0.5em 0; -} -#quickReplyOptions .roundframe -{ - overflow: hidden; -} - -/* The jump to box */ -#display_jump_to -{ - clear: both; - padding: 5px; -} - -/* Separator of posts. More useful in the print stylesheet. */ -#forumposts .post_separator -{ - display: none; -} - -/* Styles for edit post section ----------------------------------------------------- */ -form#postmodify .roundframe -{ - padding: 0 12%; -} -#post_header -{ - margin-bottom: 0.5em; - border-bottom: 1px solid #666; - padding: 0.5em; - overflow: hidden; -} -#post_header dt -{ - float: left; - margin: 0; - padding: 0; - width: 15%; - margin: .3em 0; - font-weight: bold; -} -#post_header dd -{ - float: left; - margin: 0; - padding: 0; - width: 83%; - margin: .3em 0; -} -#post_header img -{ - vertical-align: middle; -} -ul.post_options -{ - margin: 0 0 0 1em; - padding: 0; - list-style: none; - overflow: hidden; -} -ul.post_options li -{ - margin: 0.2em 0; - width: 49%; - float: left; -} -#postAdditionalOptionsHeader -{ - margin-top: 1em; -} -#postMoreOptions -{ - border-bottom: 1px solid #666; - padding: 0.5em; -} -#postAttachment, #postAttachment2 -{ - overflow: hidden; - margin: .5em 0; - padding: 0; - border-bottom: 1px solid #666; - padding: 0.5em; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 0 .3em 1em; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 1em; -} -#post_confirm_strip, #shortcuts -{ - padding: 1em 0 0 0; -} -.post_verification -{ - margin-top: .5em; -} -.post_verification #verification_control -{ - margin: .3em 0 .3em 1em; -} -/* The BBC buttons */ -#bbcBox_message -{ - margin: 1em 0 0.5em 0; -} -#bbcBox_message div -{ - margin: 0.2em 0; - vertical-align: top; -} -#bbcBox_message div img -{ - margin: 0 1px 0 0; - vertical-align: top; -} -#bbcBox_message select -{ - margin: 0 2px; -} -/* The smiley strip */ -#smileyBox_message -{ - margin: 0.75em 0 0.5em 0; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event .roundframe -{ - padding: 1% 12%; -} -#post_event fieldset -{ - margin-bottom: 0.5em; - border: none; - border-bottom: 1px solid #666; - padding: 0.5em; - clear: both; -} -#post_event legend -{ - font-weight: bold; - color: #000; -} -#post_event div.event_options -{ - width: 49%; - float: left; -} -#post_event ul.event_main, ul.event_options -{ - padding: 0; - overflow: hidden; -} -#post_event ul.event_main li -{ - list-style-type: none; - margin: 0.2em 0; - width: 49%; - float: left; -} -#post_event ul.event_options -{ - margin: 0; - padding: 0 0 .7em .7em; -} -#post_event ul.event_options li -{ - list-style-type: none; - margin: 0.3em 0 0 0; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll fieldset -{ - margin-bottom: 0.5em; - border: none; - border-bottom: 1px solid #666; - padding: 0.5em; - clear: both; -} -#edit_poll legend -{ - font-weight: bold; - color: #000; -} -#edit_poll ul.poll_main, dl.poll_options -{ - overflow: hidden; - padding: 0 0 0 .7em; - list-style: none; -} -#edit_poll ul.poll_main li -{ - margin: 0.2em 0; -} -#edit_poll dl.poll_options dt -{ - width: 35%; -} -#edit_poll dl.poll_options dd -{ - width: 63%; -} - -/* Styles for the recent messages section. ----------------------------------------------------- */ - -.readbuttons -{ - clear: both; - width: 100%; -} -.buttonlist, .buttonlist_bottom -{ - margin-right: 1em; - float: right; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ - -#move_topic dl -{ - margin-bottom: 0; -} -.move_topic -{ - width: 710px; - margin: auto; - text-align: left; -} -div.move_topic fieldset -{ - margin: 0.5em 0; - border: 1px solid #cacdd3; - padding: 0.5em; -} - -/* Styles for the send topic section. ----------------------------------------------------- */ - -fieldset.send_topic -{ - margin-bottom: 0.5em; - border: none; - padding: 0.5em; -} -dl.send_topic -{ - margin-bottom: 0; -} -dl.send_mail dt -{ - width: 35%; -} -dl.send_mail dd -{ - width: 64%; -} - -/* Styles for the split topic section. ----------------------------------------------------- */ - -div#selected, div#not_selected -{ - width: 49%; -} -ul.split_messages li.windowbg, ul.split_messages li.windowbg2 -{ - border: 1px solid #adadad; - padding: 1em; - margin: 1px; -} -ul.split_messages li a.split_icon -{ - padding: 0 0.5em; -} -ul.split_messages div.post -{ - padding: 1em 0 0 0; - border-top: 1px solid #fff; -} - -/* Styles for the merge topic section. ----------------------------------------------------- */ - -ul.merge_topics li -{ - list-style-type: none; -} -dl.merge_topic dt -{ - width: 25%; -} -dl.merge_topic dd -{ - width: 74%; -} -fieldset.merge_options -{ - margin-bottom: 0.5em; -} -fieldset.merge_options legend -{ - font-weight: bold; -} -.custom_subject -{ - margin: 0.5em 0; -} - -/* Styles for the login areas. -------------------------------------------------------- */ -.login -{ - width: 540px; - margin: 0 auto; -} -.login dl -{ - overflow: auto; - clear: right; -} -.login dt, .login dd -{ - margin: 0 0 0.4em 0; - width: 44%; - padding: 0.1em; -} -.login dt -{ - float: left; - clear: both; - text-align: right; - font-weight: bold; -} -.login dd -{ - width: 54%; - float: right; - text-align: left; -} -.login p -{ - text-align: center; -} -.login h3 img -{ - float: left; - margin: 4px 0.5em 0 0; -} - -/* Styles for the registration section. -------------------------------------------------------- */ -.register_error -{ - border: 1px dashed red; - padding: 5px; - margin: 0 1ex 1ex 1ex; -} -.register_error span -{ - text-decoration: underline; -} - -/* Additional profile fields */ -dl.register_form -{ - margin: 0; - clear: right; - overflow: auto; -} - -dl.register_form dt -{ - font-weight: normal; - float: left; - clear: both; - width: 50%; - margin: 0.5em 0 0 0; -} - -dl.register_form dt strong -{ - font-weight: bold; -} - -dl.register_form dt span -{ - display: block; -} - -dl.register_form dd -{ - float: left; - width: 49%; - margin: 0.5em 0 0 0; -} - -#confirm_buttons -{ - text-align: center; - padding: 1em 0; -} - -.coppa_contact -{ - padding: 4px; - width: 32ex; - background-color: #fff; - color: #000; - margin-left: 5ex; - border: 1px solid #000; -} - -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - width: 75%; - min-width: 520px; - text-align: left; -} -#maintenance_mode img.floatleft -{ - margin-right: 1em; -} - -/* common for all admin sections */ -h3.titlebg img -{ - vertical-align: middle; - margin-right: 0.5em; -} -tr.titlebg td -{ - padding-left: 0.7em; -} -#admin_menu -{ - min-height: 2em; - padding-left: 0; -} -#admin_content -{ - clear: left; -} -#admin_login .centertext -{ - padding: 1em; -} -#admin_login .centertext .error -{ - padding: 0 0 1em 0; -} - -/* Styles for sidebar menus. -------------------------------------------------------- */ -.left_admmenu, .left_admmenu ul, .left_admmenu li -{ - padding: 0; - margin: 0; - list-style: none; -} -#left_admsection -{ - background-color: #ecedf3; - padding: 1px; - border: 1px solid #ADADAD; - width: 160px; - float: left; - margin-right: 10px; -} -.adm_section h4.titlebg -{ - font-size: 95%; - margin-bottom: 5px; -} -.left_admmenu li -{ - padding: 0 0 0 0.5em; -} -.left_admmenu -{ - margin-bottom: 1.1em; -} -#main_admsection -{ - margin-left: 174px; -} - -tr.windowbg td, tr.windowbg2 td -{ - padding: 0.3em 0.7em; -} -#credits p -{ - padding: 0; - font-style: italic; - margin: 0; -} - -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table table -{ - width: 100%; -} -.topic_table .icon1, .topic_table .icon2, .topic_table .stats -{ - text-align: center; -} -#topic_icons -{ - margin-top: 1em; -} -#topic_icons .description -{ - margin: 0; -} -.topic_table table thead -{ - border-bottom: 1px solid #fff; -} -/* the subject column */ -.topic_table td -{ - font-size: 1em; -} -.topic_table td.subject -{ - padding: 4px; -} -.topic_table td.subject p, .topic_table td.stats, .topic_table td.lastpost -{ - font-size: 0.85em; - padding: 0; - margin: 0; -} -.topic_table td.lastpost, .topic_table td.lastpost -{ - font-size: 0.9em; - line-height: 100%; - padding: 4px; -} -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} - -/* Styles for (fatal) errors. -------------------------------------------------- */ - -#fatal_error -{ - border: 1px solid #aaa; -} - -.errorbox -{ - padding: 1em; - border: 1px solid #cc3344; - color: #000; - background-color: #ffe4e9; - margin: 1em 0; -} -.errorbox h3 -{ - padding: 0; - margin: 0; - font-size: 1.1em; - text-decoration: underline; -} -.errorbox p -{ - margin: 1em 0 0 0; -} -.errorbox p.alert -{ - padding: 0; - margin: 0; - float: left; - width: 1em; - font-size: 1.5em; -} - -/* Styles for the profile section. -------------------------------------------------- */ - -dl -{ - overflow: auto; - margin: 0; - padding: 0; -} - -/* Fixes for the core theme */ -#profileview -{ - padding: 1px; - border: 1px solid #696969; - background-color: #ecedf3; -} -#profileview .content -{ - border: none; -} -#basicinfo .content -{ - padding: 1em; -} -#detailedinfo .content -{ - padding: 0.7em 1.2em; - border-left: 1px solid #aaa; -} - -/* The basic user info on the left */ -#basicinfo -{ - width: 20%; - float: left; -} -#detailedinfo -{ - width: 78%; - float: right; -} -#basicinfo h4 -{ - font-size: 135%; - font-weight: 100; - line-height: 105%; - white-space: pre-wrap; /* css-2.1 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - overflow: hidden; -} -#basicinfo h4 span.position -{ - font-size: 80%; - font-weight: 100; - display: block; -} -#basicinfo img.avatar -{ - display: block; - margin: 10px 0 0 0; -} -#basicinfo ul -{ - list-style-type: none; - margin: 10px 0 0 0; -} -#basicinfo ul li -{ - display: block; - float: left; - margin-right: 5px; - height: 20px; -} -#basicinfo span#userstatus -{ - display: block; - clear: both; -} -#basicinfo span#userstatus img -{ - vertical-align: middle; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: right; - overflow: auto; - margin: 0 0 18px 0; - padding: 0 0 15px 0; - border-bottom: 1px solid #ccc; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - width: 30%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - width: 70%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} -#detailedinfo div.content dl.noborder -{ - border-bottom: 0; -} -#detailedinfo div.content dt.clear -{ - width: 100%; -} -.signature, .custom_fields_above_signature, .attachments -{ - width: 98%; - overflow: auto; - clear: right; - border-top: 1px solid #666; -} -.signature h5 -{ - font-size: 100%; - margin-bottom: 10px; -} -#personal_picture -{ - display: block; - margin-bottom: 0.3em; -} -#avatar_server_stored div -{ - float: left; -} - -#main_admsection #basicinfo, #main_admsection #detailedinfo -{ - width: 100%; -} -#main_admsection #detailedinfo .content -{ - border: none !important; -} -#main_admsection #basicinfo -{ - border-bottom: 1px solid #ccc; -} -#main_admsection #basicinfo h4 -{ - float: left; -} -#main_admsection #basicinfo img.avatar -{ - float: right; - vertical-align: top; -} -#main_admsection #basicinfo ul -{ - clear: left; - padding-top: 10px; -} -#main_admsection #basicinfo span#userstatus -{ - clear: left; -} -#main_admsection #basicinfo p#infolinks -{ - display: none; - clear: both; -} -#main_admsection #basicinfo .botslice -{ - clear: both; -} - -/* Simple feedback messages */ -div#profile_error, div#profile_success -{ - margin: 0 0 1em 0; - padding: 1em 2em; - border: 1px solid; -} -div#profile_error -{ - border-color: red; - color: red; - background: #fee; -} - -div#profile_error span -{ - text-decoration: underline; -} - -div#profile_success -{ - border-color: green; - color: green; - background: #efe; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#generalstats div.content dd -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -/* Activity by time */ -.activity_stats -{ - margin: 0; - padding: 0; - list-style: none; -} -.activity_stats li -{ - width: 4.16%; - float: left; -} -.activity_stats li span -{ - display: block; - border: solid #000; - border-width: 1px 1px 0 0; - text-align: center; -} -.activity_stats li.last span -{ - border-right: none; -} -.activity_stats li div.bar -{ - margin: 0 auto; - width: 15px; -} -.activity_stats li div.bar div -{ - background: #6294CE; -} -.activity_stats li div.bar span -{ - position: absolute; - top: -1000em; - left: -1000em; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - width: 50%; - float: left; -} -#popularactivity -{ - width: 50%; - float: right; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -.profile_pie -{ - background-image: url(../images/stats_pie.png); - float: left; - height: 20px; - width: 20px; - margin: 0 1em 0 0; - padding: 0; - text-indent: -1000em; -} - -/* View posts */ -.time -{ - float: right; -} -.counter -{ - margin: 0 0 0 0; - padding: 0.2em 0.5em 0.1em 0.2em; - font-size: 2.2em; - font-weight: bold; - color: #354c5f; - float: left; -} -.list_posts -{ - border-top: 1px solid #adadad; - padding-top: 1em; - margin-top: 0.5em; -} -div.core_posts -{ - border: 1px solid #adadad; - margin-bottom: 3px; -} -div.core_posts div.content -{ - background: none; - border: none; -} -.topic h4 -{ - margin: 3px 0; -} - -.mod_icons -{ - text-align: right; - margin-right: 1em; -} - -#permissions dt -{ - width: 48%; - float: left; - line-height: 1.2em; - margin: 0; - padding: 1%; - clear: both; - border-top: 1px solid #fff; -} - -#permissions dd -{ - width: 48%; - float: left; - margin: 0; - padding: 1%; - border-top: 1px solid #fff; -} - -#tracking div.content dl -{ - border-bottom: 0; - margin: 0; - padding: 0; -} - -#creator dl -{ - margin: 0; -} -#creator dt -{ - width: 40%; - float: left; - clear: both; - margin: 0 0 10px 0; -} -#creator dd -{ - float: left; - width: 60%; - margin: 0 0 10px 0; -} - -.ignoreboards -{ - margin: 0; - padding: 0; - width: 49%; - overflow: auto; -} -.ignoreboards a -{ - text-decoration: underline; -} -.ignoreboards ul -{ - overflow: auto; - margin: 0 0 0 1em; - padding: 0; -} -.ignoreboards li -{ - list-style: none; - float: left; - clear: both; -} - -#theme_settings -{ - overflow: auto; - margin: 0; - padding: 0; -} - -#theme_settings li -{ - list-style: none; - margin: 10px 0; - padding: 0; -} -/*Paid Subscriptions*/ -#paid_subscription -{ - width: 100%; -} -#paid_subscription dl.settings -{ - margin-bottom: 0; -} -#paid_subscription dl.settings dd, #paid_subscription dl.settings dt -{ - margin-bottom: 4px; -} -/*pick theme*/ -#pick_theme -{ - width: 100%; - float: left; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#statistics -{ - padding-bottom: 0.5em; -} -#statistics h4.titlebg -{ - text-align: center; - margin-bottom: 5px; -} -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: left; - width: 49.5%; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: right; - width: 49.5%; -} -dl.stats -{ - clear: both; - overflow: hidden; - margin: 0; - padding: 0; -} -dl.stats dt -{ - width: 49%; - float: left; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; - clear: both; - font-size: 1em; -} -dl.stats dd -{ - text-align: right; - width: 50%; - font-size: 1em; - float: right; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; -} -.stats_bar -{ - float: left; - background-image: url(../images/bar_stats.png); - height: 16px; - font-size: 0.9em; - display: block; - text-align: left; - color: #fff; - font-weight: bold; - background-position: top center; -} -.stats_bar span -{ - padding-left: 2px; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages -{ - padding: 1px; -} -#personal_messages #top_subject -{ - padding-left: 11.75em !important; -} -#personal_messages div.labels -{ - padding: 0 1em 0 0; -} -#personal_messages .capacity_bar -{ - background: #fff; - border: 1px solid #000; - height: 7px; - width: 75%; - margin: 0 auto; -} -#personal_messages .capacity_bar div -{ - border: none; - height: 7px; -} -#personal_messages .capacity_bar div.empty -{ - background: #468008; -} -#personal_messages .capacity_bar div.filled -{ - background: #EEA800; -} -#personal_messages .capacity_bar div.full -{ - background: #A53D05; -} -#personal_messages .reportlinks -{ - padding: 0.5em 1.3em; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -.calendar_table -{ - margin-bottom: 0.7em; -} - -/* Used to indicate the current day in the grid. */ -.calendar_today -{ - background-color: #fff; -} - -#month_grid -{ - width: 200px; - text-align: center; - float: left; -} - -#month_grid table -{ - width: 200px; - border-collapse: collapse; - border: 1px solid #adadad; -} - -#month_grid table td, #month_grid table th -{ - border: 1px solid #adadad; -} - -#main_grid table -{ - width: 100%; - padding-bottom: 4px; - border-collapse: collapse; - border: 1px solid #adadad; -} - -#main_grid table td, #main_grid table th -{ - border: 1px solid #adadad; -} - -#main_grid table h3.catbg -{ - text-align: center; - - border-top: 1px solid #adadad; - border-bottom: none; -} - -#main_grid table h4 -{ - border: none; -} - -#main_grid table.weeklist td.windowbg -{ - text-align: center; - height: 49px; - width: 25px; - font-size: large; - padding: 0 7px; - border-bottom: 1px solid #adadad; -} - -#main_grid table.weeklist td.weekdays -{ - height: 49px; - width: 100%; - padding: 4px; - text-align: left; - vertical-align: middle; - border-right: 1px solid #adadad; - border-bottom: 1px solid #adadad; -} - -#main_grid h3.weekly -{ - text-align: center; - padding-left: 0; - font-size: large; - height: 29px; -} - -#main_grid h3 span.floatleft, #main_grid h3 span.floatright -{ - display: block; - -} - -#main_grid table th.days -{ - width: 14%; -} - -#main_grid table td.weeks -{ - vertical-align: middle; - text-align: center; -} - -#main_grid table td.days -{ - vertical-align: top; - -} - -a.modify_event -{ - color: red; -} - -span.hidelink -{ - font-style: italic; -} - -#calendar_navigation -{ - text-align: center; -} - -#calendar .buttonlist_bottom -{ - border-bottom: 1px solid #adadad; - padding: 0 0 0 1ex; - margin: 0 0 1ex 0; -} - -/* Styles for the memberlist section. -------------------------------------------------- */ -#mlist_search -{ - margin: auto; - width: 500px; -} -span.memberstatsbar, span.memberstatsbar span -{ - height: 1.1em; - display: block; -} -span.memberstatsbar -{ - background: #fff; - border: 1px solid #888; -} -span.memberstatsbar span -{ - background: #fe9540; -} - -/* Styles for the basic search section. -------------------------------------------------- */ -#simple_search p -{ - padding: 0.5em; -} -#simple_search, #simple_search p, #advanced_search -{ - text-align: center !important; - margin: 0; -} -#search_error -{ - font-style: italic; - padding: 0.3em 1em; -} -#search_term_input -{ - font-size: 115%; - margin: 0 0 1em; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: left; - padding: 0; - margin: 0.5em 0; - border: none; -} -#advanced_search dl#search_options -{ - margin: 0 auto; - width: 600px; - padding-top: 1em; - overflow: hidden; -} -#advanced_search dt -{ - clear: both; - float: left; - padding: 0.2em; - text-align: right; - width: 20%; -} -#advanced_search dd -{ - width: 75%; - float: left; - padding: 0.2em; - margin: 0 0 0 0.5em; - text-align: left; -} -#searchform p.clear -{ - clear: both; -} - -/* Boards picker */ -#searchform fieldset div#searchBoardsExpand ul -{ - overflow: auto; - margin: 0 0 0 1em; - padding: 0; - width: 48%; -} -#searchform fieldset div#searchBoardsExpand ul ul -{ - width: auto; -} -#searchform fieldset div#searchBoardsExpand a -{ - text-decoration: underline; -} -#searchform fieldset div#searchBoardsExpand li -{ - list-style: none; - float: left; - clear: both; -} -#searchform fieldset p -{ - padding: 4px; - text-align: left; - margin-top: 5px; -} - -/* Styles for the search results page. -------------------------------------------------- */ -.pagelinks -{ - padding: 0.5em; -} -.topic_table td blockquote, .topic_table td .quoteheader -{ - margin: 0.5em; -} -.search_results_posts -{ - overflow: hidden; -} -.search_results_posts .inner -{ - padding: 0.5em 1em; - overflow: hidden; -} -.search_results_posts .windowbg2 -{ - margin-top: 4px; -} -.search_results_posts .buttons -{ - padding: 5px 1em 0 0; -} - -/* Styles for the help section. -------------------------------------------------- */ - -#helpmain -{ - padding: 1em; - border: 1px solid #696969; -} - -/* Samples should be easily distinguishable. */ -#helpmain .help_sample -{ - border: 1px solid #99a; - background: #fff; - padding: 1em; - overflow: auto; - margin-bottom: 1em; -} -#helpmain .help_sample .linktree -{ - font-weight: bold; -} - -/* We need some air between the lines */ -#helpmain p -{ - margin: 0 0 1.5em 0; - line-height: 1.5em; -} - -#helpmain ol -{ - font-weight: bold; - list-style-type: disc; - margin-bottom: 1em; - margin-top: 1em; - line-height: 1.5em; -} -#helpmain ol.la -{ - font-weight: normal; - list-style-type: circle; - margin: 0.5em 0 1em 0; - padding-left: 1.5em; -} - -ul.basic_helplist -{ - padding: 0.8em 1.5em; - line-height: 1.5em; -} -#helpmain .boardsframe p -{ - margin: 0; -} -#helpmain #messageindex -{ - clear: right; -} - -/* ...but leave the tab strips alone! */ -#helpmain .buttonlist_bottom ul, #helpmain .buttonlist ul -{ - margin: 0 !important; - padding: 0 0 0 1em !important; -} - -#helpmain .buttonlist_bottom ul li, #helpmain .buttonlist ul li -{ - margin: 0 0.2em 0 0 !important; - padding: 0 !important; -} \ No newline at end of file diff --git a/config/themes/default/css/editor.css b/config/themes/default/css/editor.css deleted file mode 100755 index a2db499..0000000 --- a/config/themes/default/css/editor.css +++ /dev/null @@ -1,32 +0,0 @@ -/* This is the editor's playground (textarea for non-wysiwyg, iframe for wysiwyg). */ -.editor -{ - width: 100%; - max-width: 100%; - min-width: 100%; -} - -.editor, .rich_editor_frame -{ - border: 1px solid #808080; - padding: 2px !important; - margin: 0; -} - -.rich_editor_frame -{ - background: #fff; -} - -/* The resize handle. */ -.richedit_resize -{ - height: 5px; - font-size: 0; - background: #eee url(../images/bbc/resize-handle.gif) no-repeat 50% 1px; - border: 1px solid #ddd; - border-top-width: 0; - cursor: s-resize; - width: 100%; - padding: 0 2px; -} \ No newline at end of file diff --git a/config/themes/default/css/editor_ie.css b/config/themes/default/css/editor_ie.css deleted file mode 100755 index 0c05537..0000000 --- a/config/themes/default/css/editor_ie.css +++ /dev/null @@ -1,45 +0,0 @@ -/* This is the editor's playground (textarea for non-wysiwyg, iframe for wysiwyg). */ -.editor -{ - width: 635px; - max-width: 100%; - min-width: 100%; -} - -/* This is the IFRAME that holds the editor. */ -.rich_editor_frame -{ - border: 1px solid #808080; -} - -/* This is the WYSIWYG editor */ -.rich_editor -{ - background-color: #fff; - color: #000; - font-family: verdana; - font-size: x-small; - border: none; -} - -.rich_editor p -{ - margin: 0; -} - -.rich_editor a img -{ - border: 0; -} - -/* The resize handle. */ -.richedit_resize -{ - height: 5px; - font-size: 0; - background: #eee url(../images/bbc/resize-handle.gif) no-repeat 50% 1px; - border: 1px solid #ddd; - border-top-width: 0; - cursor: s-resize; - width: 100%; -} \ No newline at end of file diff --git a/config/themes/default/css/ie6.css b/config/themes/default/css/ie6.css deleted file mode 100755 index 4445215..0000000 --- a/config/themes/default/css/ie6.css +++ /dev/null @@ -1,208 +0,0 @@ -.codeheader, code.bbc_code -{ - width: 96%; - margin: 0 auto; -} -code.bbc_code -{ - white-space: normal; -} -h3.catbg input.input_check -{ - margin: 0 4px; -} -h3.catbg img.icon, h4.titlebg img.icon -{ - margin: 1px 3px 0 0; -} -h3.catbg span.ie6_header, h4.catbg span.ie6_header, h3.titlebg span.ie6_header, h4.titlebg span.ie6_header -{ - padding: 6px 0; -} -#statistics h4.titlebg span.ie6_header -{ - padding: 0; -} -#statistics h4.titlebg span.ie6_header img.icon -{ - padding: 5px 0; -} -/* The dropdown menus -------------------------------------------------------- */ - -.dropmenu li -{ - width: 1px; -} -.dropmenu li a span -{ - white-space: nowrap; -} -.dropmenu li a:hover -{ - text-decoration: none; -} -.dropmenu li.iehover -{ - z-index: 120; -} - -/* the page section */ -.pagesection -{ - overflow: auto; -} -/* the user section needs some attention */ -#main_menu -{ - width: 98%; -} -#top_section -{ - height: 65px; -} - -/* the tabled definition lists */ -/* I commented the following out. Not sure why it was there. -/* Changing float: left; to float: right; sorts the settings dd class in index.css*/ -/* All the others seem fine too.*/ -/*dl.settings dd, #creator dd, dl.stats dd, dl.register_form dd, #poll_options dl.options dd, .login dd -{ - float: none !important; - width: auto; -}*/ -/* generic lists header */ -/* Side paddings must NOT be defined here.*/ -.table_grid thead th -{ - padding-top: 0 !important; - padding-bottom: 0 !important; -} - -/* overflow: hidden doesn't help in IE6. */ -h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a -{ - display: inline-block; -} - -#upper_section -{ - display: inline-block; -} - -/* Overrides for the message index template -------------------------------------------------------- */ -#messageindex table -{ - margin-top: 5px; -} -#messageindex table th -{ - border-bottom: 1px solid #fff; -} -#topic_icons .description -{ - padding: 2em 1em 1em 1em; - overflow: auto; -} - -/* Overrides for the display template -------------------------------------------------------- */ -#forumposts .postarea -{ - margin-left: 0; - margin-right: 0; - float: right; -} -.keyinfo -{ - padding-bottom: 6px; -} -.inner -{ - clear: both; -} -.post -{ - word-wrap: break-word; -} -.buttonlist ul li -{ - width: 1%; - white-space: nowrap; -} -#forumposts h3.catbg -{ - clear: both; -} -#quickReplyOptions form textarea -{ - width: 98%; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#statistics div.content -{ - height: 210px; - overflow: hidden; -} -#statistics div.top_row -{ - height: 150px; -} - -/* Overrides for the admin template -------------------------------------------------------- */ -#main_admsection -{ - height: 100%; -} -#main_admsection table -{ - width: 99%; -} - -/* Overrides for the profile template -------------------------------------------------------- */ -#basicinfo h4 -{ - word-wrap: break-word; -} -.ignoreboards -{ - margin: 0 1%; - padding: 0; - width: 45%; -} - -/* Overrides for the personal messages template -------------------------------------------------------- */ -#personal_messages .postarea -{ - margin-left: 0; - margin-right: 0; - float: right; -} - -/* Overrides for the admin section of the register template -------------------------------------------------------- */ -#registration_agreement -{ - width: 99.5%; - margin: 0 auto; -} - -#edit_poll ul.poll_main li -{ - padding-left: 0; - margin: 0 -2em; -} -#postmodify div.roundframe { margin-right: 0;} - -/* Overrides for the recent posts template -------------------------------------------------------- */ -.list_posts -{ - word-wrap: break-word; -} \ No newline at end of file diff --git a/config/themes/default/css/ie7.css b/config/themes/default/css/ie7.css deleted file mode 100755 index 409cf96..0000000 --- a/config/themes/default/css/ie7.css +++ /dev/null @@ -1,103 +0,0 @@ -code.bbc_code -{ - white-space: normal; -} -h3.catbg input.input_check -{ - margin: 0 4px; -} - -/* The dropdown menus -------------------------------------------------------- */ -/* the dropmenu - RTL tweak */ -.dropmenu li ul -{ - margin: 0 -50px 0 0; -} -/* the hover effects */ -.dropmenu li.iehover -{ - z-index: 120; -} -/* the tabled definition lists -/* I commented the following out. Not sure why it was there. -/* Changing float: left; to float: right; sorts the settings dd class in index.css*/ -/* All the others seem fine too.*/ -/*dl.settings dd, #creator dd, dl.stats dd, dl.register_form dd, #poll_options dl.options dd, .login dd -{ - float: none !important; - width: auto; -}*/ -/* generic lists header */ -/* Side paddings must NOT be defined here.*/ -.table_grid thead th -{ - padding-top: 0 !important; - padding-bottom: 0 !important; -} - -/* Overrides for the messageindex template -------------------------------------------------------- */ -#messageindex table -{ - margin-top: 5px; -} -#messageindex table th -{ - border-bottom: 1px solid #fff; -} -#topic_icons .description -{ - padding: 2em 1em 1em 1em; - overflow: auto; -} - -/* Overrides for the display template -------------------------------------------------------- */ -.post -{ - padding-top: 1em; - float: none; - word-wrap: break-word; -} -#content_section #forumposts div.cat_bar -{ - margin-top: 8px; - clear: both; -} -#content_section .pagesection -{ - height: 1%; -} -#quickReplyOptions form textarea -{ - width: 98%; -} - -/* Overrides for the profile template -------------------------------------------------------- */ -#basicinfo h4 -{ - word-wrap: break-word; -} - -/* Overrides for the calendar template -------------------------------------------------- */ -#main_grid table.weeklist h4.titlebg -{ - margin: 2px 0 -4px 0; -} - -/* Overrides for the personal messages template -------------------------------------------------------- */ -#postmodify dl #pm_to, #postmodify dl #bcc_div2, #postmodify dl #pm_subject -{ - clear:both !important; -} - -/* Overrides for the recent posts template -------------------------------------------------------- */ -.list_posts -{ - word-wrap: break-word; -} \ No newline at end of file diff --git a/config/themes/default/css/index.css b/config/themes/default/css/index.css deleted file mode 100755 index fc47ff4..0000000 --- a/config/themes/default/css/index.css +++ /dev/null @@ -1,3620 +0,0 @@ -/* Styles for the general looks for the Curve theme. -------------------------------------------------------- */ - -/* Normal, standard links. */ -a:link, a:visited -{ - color: #346; - text-decoration: none; -} -a:hover -{ - text-decoration: underline; - cursor: pointer; -} - -/* Links that open in a new window. */ -a.new_win:link, a.new_win:visited -{ - color: #346; - text-decoration: none; -} -a.new_win:hover -{ - text-decoration: underline; -} - -/* Tables should show empty cells. */ -table -{ - empty-cells: show; -} - -/* Set a fontsize that will look the same in all browsers. */ -body -{ - background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x; - font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif; - margin: 0 auto; - padding: 15px 0; -} - -/* Help popups require a different styling of the body element. */ -body#help_popup -{ - padding: 1em; -} - -/* use dark grey for the text, leaving #000 for headers etc */ -body, td, th, tr -{ - color: #444; -} - -/* This division wraps the entire forum when a forum width is set. */ -div#wrapper -{ - margin: 0 auto; - min-width: 764px; - max-width: 2300px; -} - -/* lets give all forms zero padding/margins */ -form -{ - padding: 0; - margin: 0; -} - -/* We can style the different types of input buttons to be uniform throughout different browsers and their color themes. - .button_submit - covers input[type=submit], input[type=button], button[type=submit] and button[type=button] in all browsers - .button_reset - covers input[type=reset] and button[type=reset] throughout all browsers - .input_check - covers input[type=checkbox] throughout all browsers - .input_radio - covers input[type=radio] throughout all browsers - .input_text - covers input[type=text] throughout all browsers - .input_file - covers input[type=file] throughout all browsers -*/ - -input, button, select, textarea -{ - font: 95%/115% verdana, Helvetica, sans-serif; - color: #000; - background: #fff; - border: 1px solid #7f9db9; - padding: 2px; -} - -/* Select elements look horrible with the extra padding, so leave them unpadded. */ -select -{ - padding: 0; -} - -/* Add some padding to the options instead. */ -select option -{ - padding: 1px; -} - -/* The font size of textareas should be just a little bit larger. */ -textarea -{ - font: 100%/130% verdana, Helvetica, sans-serif; -} - -/* Buttons should be styled a bit differently, in order to make them look more button'ish. */ -.button_submit, .button_reset -{ - background: #cde7ff url(../images/theme/submit_bg.png) no-repeat; - border: 1px solid #aaa; - cursor: pointer; - font-weight: normal; -} -input:hover, textarea:hover, button:hover, select:hover -{ - border: 1px solid #454545; -} -.button_submit:hover, .button_reset:hover -{ - border: 1px solid #aaa; - background: url(../images/theme/submit_bg.png) no-repeat 0 -140px #cde7ff; -} -input:focus, textarea:focus, button:focus, select:focus -{ - border: 1px solid #454545; -} - -/* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ -input.input_check, input.input_radio -{ - border: none; - background: none; -} -h3.catbg input.input_check -{ - margin: 9px 7px 0 7px; -} - -/* Give disabled text input elements a different background color. */ -input[disabled].input_text -{ - background-color: #eee; -} - -/* Standard horizontal rule.. ([hr], etc.) */ -hr, .hrcolor -{ - height: 1px; - border: 0; - color: #ccc; - background-color: #ccc; -} - -/* By default set the color on these tags as #000. */ -h1, h2, h3, h4, h5, h6 -{ - color: #000; - font-size: 1em; - margin: 0; - padding: 0; -} - -/* Fieldsets are used to group elements. */ -fieldset -{ - border: 1px solid #c4c4c4; - padding: 1em; - margin: 0 0 0.5em 0; -} -fieldset legend -{ - font-weight: bold; - color: #444; -} -/* No image should have a border when linked. */ -a img -{ - border: 0; -} - -/* Define strong as bold, and em as italics */ -strong -{ - font-weight: bold; -} - -em -{ - font-style: italic; -} -/* Alternative for u tag */ -.underline -{ - text-decoration: underline; -} - -/* Common classes to easy styling. -------------------------------------------------------- */ - -.floatright -{ - float: right; -} -.floatleft -{ - float: left; -} - -.flow_auto -{ - overflow: auto; -} -.flow_hidden -{ - overflow: hidden; -} -.flow_hidden .windowbg, .flow_hidden .windowbg2 -{ - margin-top: 2px; -} -.clear -{ - clear: both; -} -.clear_left -{ - clear: left; -} -.clear_right -{ - clear: right; -} - -/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */ -.smalltext, tr.smalltext th -{ - font-size: 0.85em; - font-family: verdana, sans-serif; -} -.middletext -{ - font-size: 0.9em; - line-height: 1em; - font-family: verdana, sans-serif; -} -.normaltext -{ - font-size: 1em; - line-height: 1.2em; -} -.largetext -{ - font-size: 1.4em; -} -.centertext -{ - margin: 0 auto; - text-align: center; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: right; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: left; -} -.double_height -{ - line-height: 2em; -} -/* some common padding styles */ -.padding -{ - padding: 0.7em; -} -.main_section, .lower_padding -{ - padding-bottom: 0.5em; -} -/* a quick reset list class. */ -ul.reset, ul.reset li -{ - padding: 0; - margin: 0; - list-style: none; -} - -/* Some BBC related styles. -------------------------------------------------------- */ - -/* A quote, perhaps from another post. */ -blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote -{ - font-size: x-small; - color: #000; - line-height: 1.4em; - background: url(../images/theme/quote.png) 0.1em 0.1em no-repeat; - border-top: 2px solid #99A; - border-bottom: 2px solid #99A; - padding: 1.1em 1.4em; - margin: 0.1em 0 0.3em 0; - overflow: auto; -} - -/* Alterate blockquote stylings */ -blockquote.bbc_standard_quote -{ - background-color: #d7daec; -} -blockquote.bbc_alternate_quote -{ - background-color: #e7eafc; -} - -/* A code block - maybe PHP ;). */ -code.bbc_code -{ - display: block; - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; - font-size: x-small; - background: #eef; - border-top: 2px solid #999; - border-bottom: 2px solid #999; - line-height: 1.5em; - padding: 3px 1em; - overflow: auto; - white-space: nowrap; - /* Show a scrollbar after about 24 lines. */ - max-height: 24em; -} - -/* The "Quote:" and "Code:" header parts... */ -.codeheader, .quoteheader -{ - color: #666; - font-size: x-small; - font-weight: bold; - padding: 0 0.3em; -} - -/* For links to change the code stuff... */ -.codeoperation -{ - font-weight: normal; -} - -/* Styling for BBC tags */ -.bbc_link:link, .bbc_link:visited -{ - border-bottom: 1px solid #A8B6CF; -} -.bbc_link:hover -{ - text-decoration: none; - border-bottom: 1px solid #346; -} -.bbc_size -{ - line-height: 1.4em; -} -.bbc_color a -{ - color: inherit; -} -.bbc_img -{ - border: 0; -} -.bbc_table -{ - font: inherit; - color: inherit; -} -.bbc_table td -{ - font: inherit; - color: inherit; - vertical-align: top; -} -.bbc_u -{ - text-decoration: underline; -} -.bbc_list -{ - text-align: left; -} -.bbc_tt -{ - font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace; -} - -/* Generally, those [?] icons. This makes your cursor a help icon. */ -.help -{ - cursor: help; -} - -/* /me uses this a lot. (emote, try typing /me in a post.) */ -.meaction -{ - color: red; -} - -/* Highlighted text - such as search results. */ -.highlight -{ - font-weight: bold; - color: #ff7200 !important; - font-size: 1.1em; -} - -/* A more discreet highlight color, for selected membergroups etc. */ -.highlight2 -{ - background-color: #D1E1EF; - color: #000 !important; -} - -/* Generic, mostly color-related, classes. -------------------------------------------------------- */ - -.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td -{ - color: #222; - font-family: arial, helvetica, sans-serif; - font-size: 1.1em; - font-weight: bold; - background: #e3e9ef url(../images/theme/main_block.png) no-repeat -10px -380px; -} -.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th -{ - color: #fff; - font-family: arial, helvetica, sans-serif; - font-size: 1.1em; - font-weight: bold; - background: #a7b9cd url(../images/theme/main_block.png) no-repeat -10px -280px; -} - -/* adjust the table versions of headers */ -tr.titlebg th, tr.titlebg2 th, td.titlebg, td.titlebg2, tr.catbg th, tr.catbg2 th, td.catbg, td.catbg2 -{ - padding: 0 6px; -} -tr.titlebg th a:link, tr.titlebg th a:visited, tr.titlebg2 td a:link, tr.titlebg2 td a:visited -{ - color: #222; -} -tr.catbg th a:link, tr.catbg th a:visited, tr.catbg2 td a:link, tr.catbg2 td a:visited -{ - color: #fff; -} -.catbg select -{ - height: 1.5em; - font-size: 0.85em; -} - -/* Alternating backgrounds for posts, and several other sections of the forum. */ -.windowbg, #preview_body -{ - color: #000; - background-color: #e7eaef; -} -.windowbg2 -{ - color: #000; - background-color: #f0f4f7; -} -.windowbg3 -{ - color: #000; - background-color: #cacdd3; -} - -/* the page navigation area */ -.pagesection -{ - font-size: 0.9em; - padding: 0.2em; - overflow: hidden; - margin-bottom: 1px; -} -div.pagesection div.floatright input -{ - margin-top: 3px; -} - -.pagelinks -{ - padding: 0.6em 0 0.4em 0; -} - -/* Colors for background of posts requiring approval */ -.approvebg -{ - color: #000; - background-color: #ffeaea; -} -.approvebg2 -{ - color: #000; - background-color: #fff2f2; -} - -/* Color for background of *topics* requiring approval */ -.approvetbg -{ - color: #000; - background-color: #e4a17c; -} -.approvetbg2 -{ - color: #000; - background-color: #f3bd9f; -} - -/* Sticky topics get a different background */ -.stickybg -{ - background: #e8d8cf; -} -.stickybg2 -{ - background: #f2e3d9; -} - -/* Locked posts get a different shade, too! */ -.lockedbg -{ - background: #d4dce2; - font-style: italic; -} -.lockedbg2 -{ - background: #d8e1e7; - font-style: italic; -} - -/* Posts and personal messages displayed throughout the forum. */ -.post, .personalmessage -{ - overflow: auto; - line-height: 1.4em; - padding: 0.1em 0; -} - -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature, .attachments -{ - width: 98%; - overflow: auto; - clear: right; - padding: 1em 0 3px 0; - border-top: 1px solid #aaa; - line-height: 1.4em; - font-size: 0.85em; -} -.custom_fields_above_signature -{ - width: 98%; - clear: right; - padding: 1em 0 3px 0; - border-top: 1px solid #aaa; - line-height: 1.4em; - font-size: 0.85em; -} - -/* Sometimes there will be an error when you post */ -.error -{ - color: red; -} - -/* Messages that somehow need to attract the attention. */ -.alert -{ - color: red; -} - -/* Calendar colors for birthdays, events and holidays */ -.birthday -{ - color: #920ac4; -} - -.event -{ - color: #078907; -} - -.holiday -{ - color: #000080; -} - -/* Colors for warnings */ -.warn_mute -{ - color: red; -} - -.warn_moderate -{ - color: #ffa500; -} - -.warn_watch, .success -{ - color: green; -} - -a.moderation_link, a.moderation_link:visited -{ - color: red; - font-weight: bold; -} - -.openid_login -{ - background: white url(../images/openid.gif) no-repeat; - padding-left: 18px; -} - -/* a descriptive style */ -.description, .description_board, .plainbox -{ - padding: 0.5em 1em; - font-size: 0.9em; - line-height: 1.4em; - border: 1px solid #bbb; - background: #f5f5f0; - margin: 0.2em 1px 1em 1px; -} -.description_board -{ - margin: 1em 1px 0 1px; -} - -/* an informative style */ -.information -{ - padding: 0.5em 1em; - font-size: 0.9em; - line-height: 1.3em; - border: 1px solid #bbb; - background: #f0f6f0; - margin: 0.2em 1px 1em 1px; -} -.information p -{ - padding: 1em; - margin: 0; -} -p.para2 -{ - padding: 1em 0 3.5em 0; - margin: 0; -} -/* AJAX notification bar -------------------------------------------------------- */ -#ajax_in_progress -{ - background: url(../images/theme/loadingbar.png) repeat-x; - color: #f96f00; - text-align: center; - font-size: 16pt; - padding: 8px; - width: 100%; - height: 66px; - line-height: 25px; - position: fixed; - top: 0; - left: 0; -} - -#ajax_in_progress a -{ - color: orange; - text-decoration: underline; - font-size: smaller; - float: right; - margin-right: 20px; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: right; - overflow: auto; - margin: 0 0 10px 0; - padding: 0; -} -dl.settings dt -{ - width: 40%; - float: left; - margin: 0 0 10px 0; - padding: 0; - clear: both; -} -dl.settings dt.settings_title -{ - width: 100%; - float: none; - margin: 0 0 10px 0; - padding: 5px 0 0 0; - font-weight: bold; - clear: both; -} -dl.settings dt.windowbg -{ - width: 98%; - float: left; - margin: 0 0 3px 0; - padding: 0 0 5px 0; - clear: both; -} -dl.settings dd -{ - width: 56%; - float: right; - overflow: auto; - margin: 0 0 3px 0; - padding: 0; -} -dl.settings img -{ - margin: 0 10px 0 0; -} -/* help icons */ -dl.settings dt a img -{ - position: relative; - top: 2px; -} - -/* Styles for rounded headers. -------------------------------------------------------- */ -h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg -{ - overflow: hidden; - height: 31px; - line-height: 31px; - font-size: 1.2em; - font-weight: bold; -} -h3.catbg a:link, h3.catbg a:visited, h4.catbg a:link, h4.catbg a:visited, h3.catbg, .table_list tbody.header td, .table_list tbody.header td a -{ - color: #fff; -} -h3.catbg2 a, h3.catbg2 -{ - color: #feb; -} -h3.catbg a:hover, h4.catbg a:hover, .table_list tbody.header td a:hover -{ - color: #fd9; - text-decoration: none; -} -h3.catbg2 a:hover -{ - color: #fff; - text-decoration: none; -} -h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a -{ - color: #222; -} -h3.titlebg a:hover, h4.titlebg a:hover -{ - color: #53616f; - text-decoration: none; -} -h3.catbg img.icon, h4.titlebg img.icon -{ - vertical-align: middle; - margin: -2px 5px 0 0; -} -h4.catbg a.toggle img -{ - vertical-align: middle; - margin: -2px 5px 0 5px; -} -h4.catbg, h4.catbg2 , h3.catbg , h3.catbg2 , .table_list tbody.header td.catbg -{ - background: url(../images/theme/main_block.png) no-repeat 100% -160px; - padding-right: 9px; -} -h4.titlebg, h3.titlebg -{ - background: url(../images/theme/main_block.png) no-repeat 100% -200px; - padding-right: 9px; -} -h4.titlebg img.icon -{ - float: left; - margin: 5px 8px 0 0; -} -div.cat_bar -{ - background: #99abbf url(../images/theme/main_block.png) no-repeat 0 -160px; - padding-left: 9px; - height: 31px; - overflow: hidden; - margin-bottom: 1px; -} -div.title_bar -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 0 -200px; - padding-left: 9px; - height: 31px; - overflow: hidden; - margin-bottom: 1px; -} - -/* rounded bars needs a different background here */ - -div.roundframe div.cat_bar -{ - background: #99abbf url(../images/theme/main_block.png) no-repeat 0 -240px; - margin-bottom: 0; -} -div.roundframe div.cat_bar h3.catbg -{ - background: url(../images/theme/main_block.png) no-repeat 100% -240px; -} -div.title_barIC -{ - background: #dadfe6 url(../images/theme/main_block.png) no-repeat 0 -120px; - padding-left: 9px; - height: 31px; - overflow: hidden; - margin-bottom: 1px; -} -div.title_barIC h4.titlebg -{ - background: url(../images/theme/main_block.png) no-repeat 100% -120px; -} -#upshrinkHeaderIC p.pminfo -{ - margin: 0; - padding: 0.5em; -} -img#upshrink_ic, img#newsupshrink -{ - float: right; - margin: 10px 5px 0 0; -} -table.table_list a.unreadlink, table.table_list a.collapse -{ - float: right; -} -table.table_list a.collapse -{ - margin: 10px 5px 0 1em; - height: 31px; - line-height: 31px; -} - -/* The half-round header bars for some tables. */ -.table_grid tr.catbg, .table_grid tr.titlebg -{ - font-size: 0.95em; - border-bottom: 1px solid #fff; -} -.table_grid tr.catbg th, .table_grid tr.titlebg th -{ - height: 28px; - line-height: 28px; -} -tr.catbg th.first_th -{ - background: #a7b9cd url(../images/theme/main_block.png) no-repeat 0 -280px; -} -tr.catbg th.last_th -{ - background: #a7b9cd url(../images/theme/main_block.png) no-repeat 100% -280px; -} -tr.titlebg th.first_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 0 -380px; -} -tr.titlebg th.last_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 100% -380px; -} -.table_grid th.last_th input -{ - margin: 0 2px; -} -.table_grid th.lefttext -{ - padding: 0 0.7em; -} - -/* a general table class */ -table.table_grid -{ - border-collapse: collapse; - margin-top: 0.1em; -} -table.table_grid td -{ - padding: 3px; - border-bottom: 1px solid #fff; - border-right: 1px solid #fff; -} - -/* GenericList */ -.additional_row -{ - padding: 0.5em 0 0.5em 0; -} -table.table_grid thead tr.catbg th -{ - white-space: nowrap; -} - -/* table_grid styles for Profile > Show Permissions. */ -#permissions table.table_grid td -{ - padding: 0.4em 0.8em; - cursor: default; -} - -/* Common styles used to add corners to divisions. -------------------------------------------------------- */ -.windowbg span.topslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -30px no-repeat; -} -.windowbg span.topslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -30px no-repeat; - height: 11px; -} -.windowbg span.botslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -40px no-repeat; - font-size: 5px; - line-height: 5px; - margin-bottom: 0.2em; -} -.windowbg span.botslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -40px no-repeat; - height: 11px; -} - -.windowbg2 span.topslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -60px no-repeat; -} -.windowbg2 span.topslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -60px no-repeat; - height: 11px; -} -.windowbg2 span.botslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -71px no-repeat; - font-size: 5px; - line-height: 5px; - margin-bottom: 0.2em; -} -.windowbg2 span.botslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -71px no-repeat; - height: 11px; -} -.approvebg span.topslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 0 no-repeat; -} -.approvebg span.topslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% 0 no-repeat; - height: 11px; -} -.approvebg span.botslice -{ - display: block; - padding-left: 20px; - background: url(../images/theme/main_block.png) 0 -11px no-repeat; - margin-bottom: 0.2em; -} -.approvebg span.botslice span -{ - display: block; - background: url(../images/theme/main_block.png) 100% -11px no-repeat; - height: 11px; -} -.postbg -{ - border-left: 1px solid #7f7f7f; - border-right: 1px solid #7f7f7f; -} - -/* Used for sections that need somewhat larger corners. ------------------------------------------------------------ */ -.roundframe -{ - padding: 0 10px; - background: #f5f5f5; - border-left: 1px solid #c5c5c5; - border-right: 1px solid #c5c5c5; -} -.roundframe dl, .roundframe dt, .roundframe p -{ - margin: 0; -} -.roundframe p -{ - padding: 0.5em; -} -span.upperframe -{ - padding: 0; - display: block; - background: url(../images/theme/main_block.png) 0 -90px no-repeat; - padding-left: 20px; -} -span.upperframe span -{ - padding: 0; - height: 12px; - display: block; - background: url(../images/theme/main_block.png) 100% -90px no-repeat; -} -span.lowerframe -{ - padding: 0; - display: block; - background: url(../images/theme/main_block.png) 0 -102px no-repeat; - padding-left: 20px; -} -span.lowerframe span -{ - padding: 0; - height: 12px; - display: block; - background: url(../images/theme/main_block.png) 100% -102px no-repeat; -} - -/* The main content area. -------------------------------------------------------- */ -.content -{ - padding: 0.5em 1.2em; - margin: 0; - border: none; -} -.content p -{ - margin: 0 0 0.5em 0; -} - -/* Styles used by the auto suggest control. -------------------------------------------------------- */ -.auto_suggest_div -{ - border: 1px solid #000; - position: absolute; - visibility: hidden; -} -.auto_suggest_item -{ - background-color: #ddd; -} -.auto_suggest_item_hover -{ - background-color: #888; - cursor: pointer; - color: #eee; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -#main_menu -{ - padding: 0 0.5em; - float: left; - margin: 0; - width: 98%; -} - -.dropmenu, .dropmenu ul -{ - list-style: none; - line-height: 1em; - padding: 0; - margin: 0; -} -.dropmenu -{ - padding: 0 0.5em; -} -.dropmenu a -{ - display: block; - color: #000; - text-decoration: none; -} -.dropmenu a span -{ - display: block; - padding: 0 0 0 5px; - font-size: 0.9em; -} -/* the background's first level only */ -.dropmenu li a.firstlevel -{ - margin-right: 8px; -} -.dropmenu li a.firstlevel span.firstlevel -{ - display: block; - position: relative; - left: -5px; - padding-left: 5px; - height: 22px; - line-height: 19px; - white-space: pre; -} -.dropmenu li -{ - float: left; - padding: 0; - margin: 0; - position: relative; -} -.dropmenu li ul -{ - z-index: 90; - display: none; - position: absolute; - width: 19.2em; - font-weight: normal; - border-bottom: 1px solid #999; - background: url(../images/theme/menu_gfx.png) 0 -130px no-repeat; - padding: 7px 0 0 0; -} -.dropmenu li li -{ - width: 19em; - margin: 0; - border-left: 1px solid #999; - border-right: 1px solid #999; -} -.dropmenu li li a span -{ - display: block; - padding: 8px; -} -.dropmenu li ul ul -{ - margin: -1.8em 0 0 13em; -} - -/* the active button */ -.dropmenu li a.active -{ - background: url(../images/theme/menu_gfx.png) no-repeat 100% 0; - color: #fff; - font-weight: bold; -} -.dropmenu li a.active span.firstlevel -{ - background: url(../images/theme/menu_gfx.png) no-repeat 0 0; -} -/* the hover effects */ -.dropmenu li a.firstlevel:hover, .dropmenu li:hover a.firstlevel -{ - background: url(../images/theme/menu_gfx.png) no-repeat 100% -30px; - color: #fff; - cursor: pointer; - text-decoration: none; -} -.dropmenu li a.firstlevel:hover span.firstlevel, .dropmenu li:hover a.firstlevel span.firstlevel -{ - background: url(../images/theme/menu_gfx.png) no-repeat 0 -30px; -} -/* the hover effects on level2 and 3 */ -.dropmenu li li a:hover, .dropmenu li li:hover>a -{ - background: #d4dbe4; - color: #000; - text-decoration: none; -} -.dropmenu li:hover ul ul, .dropmenu li:hover ul ul ul -{ - top: -999em; -} -.dropmenu li li:hover ul -{ - top: auto; -} -.dropmenu li:hover ul -{ - display: block; -} -.dropmenu li li.additional_items -{ - background-color: #fff; -} - -/* The dropdown menu toggle image */ -#menu_toggle -{ - float: right; - margin-right: 10px; - padding-top: 3px; -} -#menu_toggle span -{ - position: relative; - right: 5000px; -} - -/* Styles for the standard button lists. -------------------------------------------------------- */ - -.buttonlist ul -{ - z-index: 100; - padding: 5px; - margin: 0 0.2em 5px 0; -} -.buttonlist ul li -{ - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.buttonlist ul li a -{ - display: block; - font-size: 0.8em; - color: #000; - background: #e8e8e8 url(../images/theme/menu_gfx.png) no-repeat 0 -60px; - padding: 0 0 0 8px; - margin-left: 12px; - text-transform: uppercase; - cursor: pointer; -} -.buttonlist ul li a:hover -{ - background: url(../images/theme/menu_gfx.png) no-repeat 0 0; - color: #fff; - text-decoration: none; -} -.buttonlist ul li a span -{ - background: url(../images/theme/menu_gfx.png) no-repeat 100% -60px; - display: block; - height: 19px; - line-height: 19px; - padding: 0 8px 0 0; -} -.buttonlist ul li a:hover span -{ - background: #fff url(../images/theme/menu_gfx.png) no-repeat 100% 0; -} -/* the active one */ -.buttonlist ul li a.active -{ - background: #5a6c85 url(../images/theme/menu_gfx.png) no-repeat 0 -90px; - color: #fff; - font-weight: bold; -} -.buttonlist ul li a.active span -{ - background: url(../images/theme/menu_gfx.png) no-repeat 100% -90px; -} -.buttonlist ul li a.active -{ - font-weight: bold; -} -.buttonlist ul li a.active:hover -{ - color: #ddf; -} -.align_top ul li a, .align_bottom ul li a -{ - margin: 0 12px 0 0; -} - -/* the navigation list */ -ul#navigation -{ - margin: 0; - font-size: 0.9em; - padding: 1em 0.4em; -} -ul#navigation li -{ - float: none; - font-size: 0.95em; - display: inline; -} - -#adm_submenus -{ - padding-left: 2em; - overflow: hidden; -} - -/* Styles for the general looks for the Curve theme. -------------------------------------------------------- */ - -/* the framing graphics */ -#header -{ - background: url(../images/theme/main_block.png) #fefefe no-repeat 0 -480px; - padding-left: 20px; -} -#header div.frame -{ - background: url(../images/theme/main_block.png) no-repeat 100% -480px; - display: block; - padding: 5px 20px 1em 0; -} -/* the content section */ -#content_section -{ - background: #FFFFFF url(../images/theme/frame_repeat.png) repeat-y top left; - padding-left: 20px; -} -#content_section div.frame -{ - background: url(../images/theme/frame_repeat.png) repeat-y top right; - display: block; - padding: 0 20px 0 0; -} -#main_content_section -{ - width: 100%; - min-height: 200px; -} - -/* the main title, always stay at 45 pixels in height! */ -h1.forumtitle -{ - line-height: 45px; - font-size: 1.8em; - font-family: Geneva, verdana, sans-serif; - margin: 0; - padding: 0; - float: left; -} -/* float these items to the right */ -#siteslogan, img#smflogo -{ - margin: 0; - padding: 0; - float: right; - line-height: 3em; -} -h3, h4 -{ - padding-bottom: 3px; -} -/* the upshrink image needs some tweaking */ -img#upshrink -{ - float: right; - margin: 1em; -} -/* ..so does the SMF logo */ -img#smflogo -{ - margin-left: 1em; -} -/* the upper_section, float the two each way */ -#upper_section -{ - padding: 5px; - margin-bottom: 1.5em; -} -#upper_section ul li.greeting -{ - font-size: 1.3em; - font-weight: bold; - line-height: 1.5em; -} -#upper_section div.news -{ - width: 50%; - float: right; - text-align: right; -} -#guest_form -{ - overflow: hidden; -} -#guest_form .info -{ - padding: 4px 0 ; - line-height: 1.3em; -} -div#upper_section div.user -{ - width: 50%; - float: left; - overflow: auto; -} -div#upper_section div.user p -{ - float: left; - margin: 0 1em 1em 0; - padding: 0; -} -div#upper_section div.user ul -{ - margin: 0; - padding-left: 10px; -} -div#upper_section div.user ul li -{ - margin-bottom: 2px; -} -div#upper_section div.news p -{ - display: inline; -} -div#upper_section div.news form -{ - padding-bottom: 10px; -} -/* clearing the floats */ -#top_section -{ - min-height: 65px; - overflow: hidden; - margin-bottom: 3px; -} -#upper_section -{ - overflow: hidden; -} - -/* The navigation list (i.e. linktree) */ -.navigate_section -{ - padding: 0.5em; - margin: 0 0 0 0; -} -.navigate_section ul -{ - display: block; - margin: 0; - font-size: 0.9em; - padding: 1em 0 0.5em 0; - border-top: 1px solid #ccc; - overflow: hidden; - list-style: none; - clear: both; - width: 100%; -} -.navigate_section ul li -{ - float: left; - padding: 0 0.5em 0 0; - font-size: 0.95em; -} -.navigate_section ul li a -{ - white-space: pre; -} - -/* The footer wih copyright links etc. */ -#footer_section -{ - text-align: center; - background: url(../images/theme/main_block.png) no-repeat 0 -820px; - padding-left: 20px; -} -#footer_section span.smalltext -{ - font-size: 100%; -} -#footer_section div.frame -{ - background: url(../images/theme/main_block.png) no-repeat 100% -820px; - display: block; - padding: 60px 0 0 0; -} -#footer_section ul li, #footer_section p -{ - font-size: 0.8em; -} -#footer_section ul li -{ - display: inline; - padding-right: 5px; -} -#footer_section ul li.copyright -{ - display: block; -} -select.qaction, input.qaction -{ - font-size: 0.85em; - padding: 0; -} -#mlist table tbody td.windowbg2 -{ - text-align: center; -} - -/* Styles for a typical table. -------------------------------------------------------- */ -table.table_list -{ - width: 100%; -} -table.table_list p -{ - padding: 0; - margin: 0; -} -table.table_list td, table.table_list th -{ - padding: 5px; -} -table.table_list tbody.header td -{ - padding: 0; -} -table.table_list tbody.content td.stats -{ - font-size: 90%; - width: 15%; - text-align: center; -} -table.table_list tbody.content td.lastpost -{ - line-height: 1.3em; - font-size: 85%; - width: 24%; -} -table.table_list tbody.content td.icon -{ - text-align: center; - width: 6%; -} - -/* Styles for the board index. -------------------------------------------------- */ - -/* the board title! */ -.table_list tbody.content td.info a.subject -{ - font-weight: bold; - font-size: 110%; - color: #d97b33; -} -.table_list tbody.content td.children -{ - color: #555; - font-size: 85%; -} -p.moderators -{ - font-size: 0.8em; - font-family: verdana, sans-serif; -} -/* hide the table header/footer parts - but its here for those needing to style it */ -#boardindex_table .table_list thead, #boardindex_table .table_list tfoot -{ - display: none; -} - -/* the posting icons */ -#posting_icons -{ - padding: 0 1em 0.5em 1em; - margin: 0 0 1em 0; - line-height: 1em; -} -#posting_icons ul -{ - font-size: 0.8em; -} -#posting_icons img -{ - vertical-align: middle; - margin: 0 0 0 4ex; -} -#postbuttons_upper ul li a span -{ - line-height: 19px; - padding: 0 0 0 6px; -} -.nextlinks -{ - text-align: right; - margin-top: -1px; -} -.nextlinks_bottom -{ - clear: right; - text-align: right; -} -.mark_read -{ - padding: 0 0.5em; -} - -/* the newsfader */ -#newsfader -{ - margin: 0 2px; -} -#smfFadeScroller -{ - text-align: center; - padding: 0 2em; - overflow: auto; - margin: 1em 0; - color: #575757; /* shouldn't be shorthand style due to a JS bug in IE! */ -} - -/* Styles for the info center on the board index. ----------------------------------------------------- */ - -#upshrinkHeaderIC -{ - margin-top: 4px; -} -dl#ic_recentposts -{ - margin: 0 0 0.5em 0; - padding: 0.5em; - line-height: 1.3em; -} -dl#ic_recentposts dt -{ - float: left; -} -dl#ic_recentposts dd -{ - text-align: right; -} -#upshrinkHeaderIC p -{ - margin: 0 0 0.5em 0; - padding: 0.5em; -} -#upshrinkHeaderIC p.last -{ - margin: 0; - padding: 0.5em; - border-top: 2px dotted #bbb; -} -#upshrinkHeaderIC p.inline -{ - border: none; - margin: 0; - padding: 0.2em 0.5em 0.2em 0.5em; -} -#upshrinkHeaderIC p.stats -{ - font-size: 1.1em; - padding-top: 8px; -} -form#ic_login -{ - padding: 0.5em; - height: 2em; -} -form#ic_login ul li -{ - margin: 0; - padding: 0; - float: left; - width: 20%; - text-align: center; -} -form#ic_login ul li label -{ - display: block; -} - -/* the small stats */ -#index_common_stats -{ - display: block; - margin: 0 0 0.5em 0; - text-align: right; - font-size: 0.9em; - position: relative; - top: -20px; - line-height: 1px; -} - -img.new_posts -{ - padding: 0 0.1em; -} -/* Styles for the message (topic) index. ----------------------------------------------------- */ -div.table_frame .table_list -{ - border-collapse: collapse; - margin: 2px 0; -} -.table_frame .table_list td.icon, .table_frame .table_list td.info, .table_frame .table_list td.stats -{ - border-right: 2px solid white; -} -#messageindex -{ - clear: both; -} -/* the page navigation area */ -.childboards -{ - margin-bottom: 0.2em; -} -#childboards h3 -{ - padding-bottom: 0; -} -#childboards .table_list thead -{ - display: none; -} -#childboards .table_list -{ - margin-bottom: 1em; -} -.lastpost img -{ - float: right; - padding: 4px; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ - -#postbuttons div.buttons -{ - padding: 0.5em; - width: 40%; - float: right; -} -#postbuttons div.middletext -{ - width: 60%; -} -#postbuttons span -{ - display: block; - text-align: right; -} -#postbuttons span.lower -{ - clear: right; -} -#postbuttons .buttonlist -{ - float: right; -} -#postbuttons #pagelinks -{ - padding-top: 1em; -} -#moderationbuttons -{ - overflow: hidden; -} -/* Events */ -.linked_events -{ - padding: 1em 0; -} -.edit_event -{ - margin: 0 1em; - vertical-align: middle; -} -/* Poll question */ -#poll -{ - overflow: hidden; -} -#poll .content -{ - padding: 0 1em; -} -h4#pollquestion -{ - padding: 0 0 0.5em 2em; -} - -/* Poll vote options */ -#poll_options ul.options -{ - border-top: 1px solid #9999aa; - padding: 1em 2.5em 0 2em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - border-bottom: 1px solid #9999aa; - clear: both; - padding: 0 0 1em 2em; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - border: solid #9999aa; - border-width: 1px 0; - padding: 1em 2.5em 1em 2em; - margin: 0 1em 1em 0; - line-height: 1.1em !important; -} - -#poll_options dl.options dt -{ - padding: 0.3em 0; - width: 30%; - float: left; - margin: 0; - clear: left; -} - -#poll_options dl.options .voted -{ - font-weight: bold; -} - -#poll_options dl.options dd -{ - margin: 0 0 0 2em; - padding: 0.1em 0 0 0; - width: 60%; - max-width: 450px; - float: left; -} - -#poll_options dl.options .percentage -{ - display: block; - float: right; - padding: 0.2em 0 0.3em 0; -} - -/* Poll notices */ -#poll_options p -{ - margin: 0 1.5em 0.2em 1.5em; - padding: 0 0.5em 0.5em 0.5em; -} - -div#pollmoderation -{ - margin: 0; - padding: 0; - overflow: auto; -} - -/* onto the posts */ -#forumposts -{ - clear: both; -} -#forumposts .cat_bar -{ - margin: 0 0 2px 0; -} -/* author and topic information */ -#forumposts h3 span#author -{ - margin: 0 7.7em 0 0; -} -#forumposts h3 img -{ - float: left; - margin: 4px 0.5em 0 0; -} -#forumposts h3.catbg -{ - margin-bottom: 3px; -} -p#whoisviewing -{ - margin: 0; - padding: 0.5em; -} -/* poster and postarea + moderation area underneath */ -.post_wrapper -{ - float:left; - width:100%; -} -.poster -{ - float: left; - width: 15em; -} -.postarea, .moderatorbar -{ - margin: 0 0 0 16em; -} -.postarea div.flow_hidden -{ - width: 100%; -} - -.moderatorbar -{ - clear: right; -} -/* poster details and list of items */ -.poster h4, .poster ul -{ - padding: 0; - margin: 0 1em 0 1.5em; -} -.poster h4 -{ - margin: 0.2em 0 0.4em 1.1em; - font-size: 120%; -} -.poster h4, .poster h4 a -{ - color: #c06002; -} -.poster ul ul -{ - margin: 0.3em 1em 0 0; - padding: 0; -} -.poster ul ul li -{ - display: inline; -} -.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul -{ - margin-top: 0.5em; -} -.poster li.avatar -{ - overflow: hidden; -} -.poster li.warning -{ - line-height: 1.2em; - padding-top: 1em; -} -.poster li.warning a img -{ - vertical-align: bottom; - padding: 0 0.2em; -} -.messageicon -{ - float: left; - margin: 0 0.5em 0 0; -} -.messageicon img -{ - padding: 6px 3px; -} -.keyinfo -{ - float: left; - width: 50%; -} -.modifybutton -{ - clear: right; - float: right; - margin: 6px 20px 10px 0; - text-align: right; - font: bold 0.85em arial, sans-serif; - color: #334466; -} - -/* The quick buttons */ -div.quickbuttons_wrap -{ - padding: 0.2em 0; - width: 100%; - float: left; -} - -ul.quickbuttons -{ - margin: 0.9em 11px 0 0; - clear: right; - float: right; - text-align: right; - font: bold 0.85em arial, sans-serif; -} -ul.quickbuttons li -{ - float: left; - display: inline; - margin: 0 0 0 11px; -} -ul.quickbuttons li a -{ - padding: 0 0 0 20px; - display: block; - height: 20px; - line-height: 18px; - float: left; -} -ul.quickbuttons a:hover -{ - color: #a70; -} -ul.quickbuttons li.quote_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 0; -} -ul.quickbuttons li.remove_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; -} -ul.quickbuttons li.modify_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; -} -ul.quickbuttons li.approve_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; -} -ul.quickbuttons li.restore_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; -} -ul.quickbuttons li.split_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; -} -ul.quickbuttons li.reply_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; -} -ul.quickbuttons li.reply_all_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; -} -ul.quickbuttons li.notify_button -{ - background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 0 0 5px; -} - -.post -{ - margin-top: 0.5em; - clear: right; -} -.inner -{ - padding: 1em 1em 2px 0; - margin: 0 1em 0 0; - border-top: 1px solid #99a; -} -img.smiley -{ - vertical-align: bottom; -} -#forumposts .modified -{ - float: left; -} -#forumposts .reportlinks -{ - margin-right: 1.5em; - text-align: right; - clear: right; -} -#forumposts .signature, .post .signature -{ - margin: 1em 0 0 0; -} -#forumposts span.botslice -{ - clear: both; -} -.attachments hr -{ - clear: both; - margin: 1em 0 1em 0; -} -.attachments -{ - padding: 1em 0 2em 0; -} -.attachments div -{ - padding: 0 0.5em; -} - -/* Styles for the quick reply area. ----------------------------------------------------- */ - -#quickreplybox -{ - padding-bottom: 1px; -} -#quickReplyOptions .roundframe -{ - padding: 0 10%; -} -#quickReplyOptions form textarea -{ - height: 100px; - width: 635px; - max-width: 100%; - min-width: 100%; - margin: 0.25em 0 1em 0; -} -/* The jump to box */ -#display_jump_to -{ - clear: both; - padding: 5px; - margin-top: 6px; - text-align: right; -} - -/* Separator of posts. More useful in the print stylesheet. */ -#forumposts .post_separator -{ - display: none; -} - -/* Styles for edit post section ----------------------------------------------------- */ -form#postmodify .roundframe -{ - padding: 0 12%; -} -#post_header, .postbox -{ - padding: 0.5em; - overflow: hidden; -} -#post_header dt, .postbox dt -{ - float: left; - padding: 0; - width: 15%; - margin: .5em 0 0 0; - font-weight: bold; -} -#post_header dd, .postbox dd -{ - float: left; - padding: 0; - width: 83%; - margin: .3em 0; -} -#post_header img -{ - vertical-align: middle; -} -ul.post_options -{ - margin: 0 0 0 1em; - padding: 0; - list-style: none; - overflow: hidden; -} -ul.post_options li -{ - margin: 0.2em 0; - width: 49%; - float: left; -} -#postAdditionalOptionsHeader -{ - margin-top: 1em; -} -#postMoreOptions -{ - border-bottom: 1px solid #cacdd3; - padding: 0.5em; -} -#postAttachment, #postAttachment2 -{ - overflow: hidden; - margin: .5em 0; - padding: 0; - border-bottom: 1px solid #cacdd3; - padding: 0.5em; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 0 .3em 1em; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 1em; -} -#post_confirm_strip, #shortcuts -{ - padding: 1em 0 0 0; -} -.post_verification -{ - margin-top: .5em; -} -.post_verification #verification_control -{ - margin: .3em 0 .3em 1em; -} -/* The BBC buttons */ -#bbcBox_message -{ - margin: 0.75em 0.5em; -} -#bbcBox_message div -{ - margin: 0.2em 0; - vertical-align: top; -} -#bbcBox_message div img -{ - margin: 0 1px 0 0; - vertical-align: top; -} -#bbcBox_message select -{ - margin: 0 2px; -} -/* The smiley strip */ -#smileyBox_message -{ - margin: 0.5em; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event .roundframe -{ - padding: 0 12%; -} -#post_event fieldset -{ - padding: 0.5em; - clear: both; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: left; -} -#post_event #event_main div.smalltext -{ - width: 33em; - float: right; -} -#post_event div.event_options -{ - float: right; -} -#post_event ul.event_main, ul.event_options -{ - padding: 0; - overflow: hidden; -} -#post_event ul.event_main li -{ - list-style-type: none; - margin: 0.2em 0; - width: 49%; - float: left; -} -#post_event ul.event_options -{ - margin: 0; - padding: 0 0 .7em .7em; -} -#post_event ul.event_options li -{ - list-style-type: none; - margin: 0; - float: left; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 1em 0 0; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll -{ - overflow: hidden; -} -#edit_poll fieldset -{ - padding: 0.5em; - clear: both; - overflow: hidden; -} -#edit_poll fieldset input -{ - margin-left: 8.1em; -} -#edit_poll ul.poll_main li -{ - padding-left: 1em; -} -#edit_poll ul.poll_main input -{ - margin-left: 1em; -} -#edit_poll ul.poll_main, dl.poll_options -{ - overflow: hidden; - padding: 0 0 .7em .7em; - list-style: none; -} -#edit_poll ul.poll_main li -{ - margin: 0.2em 0; -} -#edit_poll dl.poll_options dt -{ - width: 33%; - padding: 0 0 0 1em; -} -#edit_poll dl.poll_options dd -{ - width: 65%; -} -#edit_poll dl.poll_options dd input -{ - margin-left: 0; -} - -/* Styles for the recent messages section. ----------------------------------------------------- */ - -#readbuttons_top .pagelinks, #readbuttons .pagelinks -{ - padding-bottom: 1em; - width: 60%; -} -#readbuttons .pagelinks -{ - padding-top: 1em; -} -#recent -{ - clear: both; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ - -#move_topic dl -{ - margin-bottom: 0; -} -#move_topic dl.settings dt -{ - width: 40%; -} -#move_topic dl.settings dd -{ - width: 59%; -} -.move_topic -{ - width: 710px; - margin: auto; - text-align: left; -} -div.move_topic fieldset -{ - padding: 0.5em; -} - -/* Styles for the send topic section. ----------------------------------------------------- */ - -fieldset.send_topic -{ - border: none; - padding: 0.5em; -} -dl.send_topic -{ - margin-bottom: 0; -} -dl.send_mail dt -{ - width: 35%; -} -dl.send_mail dd -{ - width: 64%; -} - -/* Styles for the report topic section. ----------------------------------------------------- */ - -#report_topic dl -{ - margin-bottom: 0; -} -#report_topic dl.settings dt -{ - width: 20%; -} -#report_topic dl.settings dd -{ - width: 79%; -} - -/* Styles for the split topic section. ----------------------------------------------------- */ - -div#selected, div#not_selected -{ - width: 49%; -} -ul.split_messages li.windowbg, ul.split_messages li.windowbg2 -{ - margin: 1px; -} -ul.split_messages li a.split_icon -{ - padding: 0 0.5em; -} -ul.split_messages div.post -{ - padding: 1em 0 0 0; - border-top: 1px solid #fff; -} - -/* Styles for the merge topic section. ----------------------------------------------------- */ -ul.merge_topics li -{ - list-style-type: none; -} -dl.merge_topic dt -{ - width: 25%; -} -dl.merge_topic dd -{ - width: 74%; -} -fieldset.merge_options -{ - clear: both; -} -.custom_subject -{ - margin: 0.5em 0; -} - -/* Styles for the login areas. -------------------------------------------------------- */ -.login -{ - width: 540px; - margin: 0 auto; -} -.login dl -{ - overflow: auto; - clear: right; -} -.login dt, .login dd -{ - margin: 0 0 0.4em 0; - width: 44%; - padding: 0.1em; -} -.login dt -{ - float: left; - clear: both; - text-align: right; - font-weight: bold; -} -.login dd -{ - width: 54%; - float: right; - text-align: left; -} -.login p -{ - text-align: center; -} - -/* Styles for the registration section. -------------------------------------------------------- */ -.register_error -{ - border: 1px dashed red; - padding: 5px; - margin: 0 1ex 1ex 1ex; -} -.register_error span -{ - text-decoration: underline; -} - -/* Additional profile fields */ -dl.register_form -{ - margin: 0; - clear: right; -} - -dl.register_form dt -{ - font-weight: normal; - float: left; - clear: both; - width: 50%; - margin: 0.5em 0 0 0; -} - -dl.register_form dt strong -{ - font-weight: bold; -} - -dl.register_form dt span -{ - display: block; -} - -dl.register_form dd -{ - float: left; - width: 49%; - margin: 0.5em 0 0 0; -} - -#confirm_buttons -{ - text-align: center; - padding: 1em 0; -} - -.coppa_contact -{ - padding: 4px; - width: 32ex; - background-color: #fff; - color: #000; - margin-left: 5ex; - border: 1px solid #000; -} - -.valid_input -{ - background-color: #f5fff0; -} -.invalid_input -{ - background-color: #fff0f0; -} - -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - width: 75%; - min-width: 520px; - text-align: left; -} -#maintenance_mode img.floatleft -{ - margin-right: 1em; -} - -/* common for all admin sections */ -h3.titlebg img -{ - vertical-align: middle; - margin-right: 0.5em; - margin-top: -1px; -} -tr.titlebg td -{ - padding-left: 0.7em; -} -#admin_menu -{ - min-height: 2em; - padding-left: 0; -} -#admin_content -{ - clear: left; - padding-top: 0.5em; -} -/* Custom profile fields like to play with us some times. */ -#admin_content .custom_field -{ - margin-bottom: 15px; -} -#admin_login .centertext -{ - padding: 1em; -} -#admin_login .centertext .error -{ - padding: 0 0 1em 0; -} - -/* Styles for sidebar menus. -------------------------------------------------------- */ -.left_admmenu, .left_admmenu ul, .left_admmenu li -{ - padding: 0; - margin: 0; - list-style: none; -} -#left_admsection -{ - width: 160px; - float: left; - padding-right: 10px; -} -.adm_section h4.titlebg -{ - font-size: 95%; - margin-bottom: 5px; -} -#main_container -{ - position: relative; -} -.left_admmenu li -{ - padding: 0 0 0 0.5em; -} -.left_admmenu -{ - margin-bottom: 0.5em; -} -#main_admsection -{ - position: relative; - left: 0; - right: 0; - overflow: hidden; -} - -tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td -{ - padding: 0.3em 0.7em; -} -#credits p -{ - padding: 0; - font-style: italic; - margin: 0; -} - -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table table -{ - width: 100%; -} -.topic_table .icon1, .topic_table .icon2, .topic_table .stats -{ - text-align: center; -} -#topic_icons -{ - margin: 1em 0 0 0; -} -#topic_icons .description -{ - margin: 0; -} -.topic_table table thead -{ - border-bottom: 1px solid #fff; -} -/* the subject column */ -.topic_table td -{ - font-size: 1em; -} -.topic_table td.subject p, .topic_table td.stats -{ - font-size: 0.85em; - padding: 0; - margin: 0; -} -.topic_table td.lastpost -{ - font-size: 0.85em; - line-height: 1.3em; - padding: 4px; -} -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.locked_sticky2 -{ - background-image: url(../images/icons/quick_sticky_lock.gif); - background-repeat: no-repeat; - background-position: 98% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} - -/* Styles for (fatal) errors. -------------------------------------------------- */ - -#fatal_error -{ - width: 80%; - margin: auto; -} - -.errorbox -{ - padding: 1em; - border: 1px solid #cc3344; - color: #000; - background-color: #ffe4e9; - margin-bottom: 1em; -} -.errorbox h3 -{ - padding: 0; - margin: 0; - font-size: 1.1em; - text-decoration: underline; -} -.errorbox p -{ - margin: 1em 0 0 0; -} -.errorbox p.alert -{ - padding: 0; - margin: 0; - float: left; - width: 1em; - font-size: 1.5em; -} - -/* Styles for the profile section. -------------------------------------------------- */ - -dl -{ - overflow: auto; - margin: 0; - padding: 0; -} - -/* The basic user info on the left */ -#basicinfo -{ - width: 20%; - float: left; -} -#basicinfo .windowbg .content -{ - padding-left: 20px; -} -#detailedinfo -{ - width: 79.5%; - float: right; -} -#basicinfo h4 -{ - font-size: 135%; - font-weight: 100; - line-height: 105%; - white-space: pre-wrap; - overflow: hidden; -} -#basicinfo h4 span.position -{ - font-size: 80%; - font-weight: 100; - display: block; -} -#basicinfo img.avatar -{ - display: block; - margin: 10px 0 0 0; -} -#basicinfo ul -{ - list-style-type: none; - margin: 10px 0 0 0; -} -#basicinfo ul li -{ - display: block; - float: left; - margin-right: 5px; - height: 20px; -} -#basicinfo span#userstatus -{ - display: block; - clear: both; -} -#basicinfo span#userstatus img -{ - vertical-align: middle; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: right; - overflow: auto; - margin: 0 0 18px 0; - padding: 0 0 15px 0; - border-bottom: 1px #ccc solid; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} -#detailedinfo div.content dl.noborder -{ - border-bottom: 0; -} -#detailedinfo div.content dt.clear -{ - width: 100%; -} -.signature, .custom_fields_above_signature -{ - border-top: 1px #ccc solid; -} -.signature h5 -{ - font-size: 0.85em; - margin-bottom: 10px; -} -#personal_picture -{ - display: block; - margin-bottom: 0.3em; -} -#avatar_server_stored div -{ - float: left; -} -#avatar_upload -{ - overflow: auto; -} -#main_admsection #basicinfo, #main_admsection #detailedinfo -{ - width: 100%; -} -#main_admsection #basicinfo h4 -{ - float: left; - width: 35%; -} -#main_admsection #basicinfo img.avatar -{ - float: right; - vertical-align: top; -} -#main_admsection #basicinfo ul -{ - clear: left; -} -#main_admsection #basicinfo span#userstatus -{ - clear: left; -} -#main_admsection #basicinfo p#infolinks -{ - display: none; - clear: both; -} -#main_admsection #basicinfo .botslice -{ - clear: both; -} - -/* Simple feedback messages */ -div#profile_error, div#profile_success -{ - margin: 0 0 1em 0; - padding: 1em 2em; - border: 1px solid; -} -div#profile_error -{ - border-color: red; - color: red; - background: #fee; -} - -div#profile_error span -{ - text-decoration: underline; -} - -div#profile_success -{ - border-color: green; - color: green; - background: #efe; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#generalstats div.content dd -{ - width: 50%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -/* Activity by time */ -#activitytime -{ - margin: 6px 0; -} -.activity_stats -{ - margin: 0; - padding: 0; - list-style: none; -} -.activity_stats li -{ - margin: 0; - padding: 0; - width: 4.16%; - float: left; -} -.activity_stats li span -{ - display: block; - border: solid #000; - border-width: 1px 1px 0 0; - text-align: center; -} -.activity_stats li.last span -{ - border-right: none; -} -.activity_stats li div.bar -{ - margin: 0 auto; - width: 15px; -} -.activity_stats li div.bar div -{ - background: #6294CE; -} -.activity_stats li div.bar span -{ - position: absolute; - top: -1000em; - left: -1000em; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - width: 49.5%; - float: left; -} -#popularactivity -{ - width: 49.5%; - float: right; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - width: 65%; - float: left; - margin: 0 0 3px 0; - padding: 0; - font-weight: bold; - clear: both; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - width: 35%; - float: left; - margin: 0 0 3px 0; - padding: 0; -} - -.profile_pie -{ - background-image: url(../images/stats_pie.png); - float: left; - height: 20px; - width: 20px; - margin: 0 1em 0 0; - padding: 0; - text-indent: -1000em; -} - -/* View posts */ -.topic .time -{ - float: right; -} - -.counter -{ - margin: 0 0 0 0; - padding: 0.2em 0.5em 0.1em 0.2em; - font-size: 2.2em; - font-weight: bold; - color: #3f3f3f; - float: left; -} -.list_posts -{ - border-top: 2px solid #b3b3bf; - padding-top: 12px; - margin-top: 6px; - overflow: auto; -} - -.core_posts -{ - margin-bottom: 3px; -} - -.topic h4 -{ - margin: 3px 0; -} - -.topic .post -{ - margin: 0 1em; - min-height: 80px; - height: auto !important; - height: 80px; -} - -.topic .mod_icons -{ - text-align: right; - margin-right: 1em; -} - -#tracking div.content dl -{ - border-bottom: 0; - margin: 0; - padding: 0; -} - -#creator dl -{ - margin: 0; -} -#creator dt -{ - width: 40%; - float: left; - clear: both; - margin: 0 0 10px 0; -} -#creator dd -{ - float: right; - width: 55%; - margin: 0 0 10px 2px; - overflow: auto; -} - -.ignoreboards -{ - margin: 0 2%; - padding: 0; - width: 45%; -} -.ignoreboards a -{ - font-weight: bold; - border-bottom: 1px solid #c4c4c4; - padding: 0.1em 0; -} -.ignoreboards a:hover -{ - text-decoration: none; - border-bottom: 1px solid #334466; -} -.ignoreboards ul -{ - margin: 0; - padding: 0; -} -.ignoreboards li -{ - list-style: none; - float: left; - clear: both; -} -.ignoreboards li.category -{ - margin: 0.7em 0 0 0; - width: 100%; -} -.ignoreboards li ul -{ - margin: 0.2em 0 0 0; -} -.ignoreboards li.category ul li.board -{ - width: 93%; -} - -#theme_settings -{ - overflow: auto; - margin: 0; - padding: 0; -} - -#theme_settings li -{ - list-style: none; - margin: 10px 0; - padding: 0; -} -/* Paid Subscriptions */ -#paid_subscription -{ - width: 100%; -} -#paid_subscription dl.settings -{ - margin-bottom: 0; -} -#paid_subscription dl.settings dd, #paid_subscription dl.settings dt -{ - margin-bottom: 4px; -} -/* Pick theme */ -#pick_theme -{ - width: 100%; - float: left; -} -/*Issue a warning*/ -#warn_body{ - width: 80%; - font-size: 0.9em; -} - -/* Styles for the statistics center. -------------------------------------------------- */ -#statistics -{ - padding: 0.5em 0; -} -#statistics div.title_bar -{ - margin: 4px 0 -2px 0; -} -#statistics h3.catbg -{ - text-align: center; -} -#statistics div.content -{ - min-height: 210px; -} -#statistics div.top_row -{ - min-height: 150px; -} -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: left; - width: 49.5%; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: right; - width: 49.5%; -} -dl.stats -{ - clear: both; - overflow: hidden; - margin: 0; - padding: 0; -} -dl.stats dt -{ - width: 49%; - float: left; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; - clear: both; - font-size: 1em; -} -dl.stats dd -{ - text-align: right; - width: 50%; - font-size: 1em; - float: right; - margin: 0 0 4px 0; - line-height: 16px; - padding: 0; -} -.statsbar div.bar -{ - float: left; - background: url(../images/bar_stats.png) no-repeat; - display: block; - margin: 0 4px; - height: 16px; -} -.statsbar div.bar div -{ - position: relative; - right: -4px; - padding: 0 4px 0 0; - background: url(../images/bar_stats.png) no-repeat 100%; - height: 16px; -} -tr.windowbg2 th.stats_month -{ - width: 25%; - padding: 0 2em; - text-align: left; -} -tr.windowbg2 td.stats_day -{ - padding: 0 3.5em; - text-align: left; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages h3 span#author, #personal_messages h3 span#topic_title -{ - float: left; -} -#personal_messages h3 span#author -{ - margin: 0 0 0 0.5em; -} -#personal_messages h3 span#topic_title -{ - margin: 0 0 0 9em; -} -#personal_messages div.labels -{ - padding: 0 1em 0 0; -} -#personal_messages .capacity_bar -{ - background: #f0f4f7; - display: block; - margin: 0.5em 0 0 1em; - height: 1em; - border: 1px solid #adadad; - width: 10em; -} -#personal_messages .capacity_bar span -{ - border-right: 1px solid #adadad; - display: block; - height: 1em; -} -#personal_messages .capacity_bar span.empty -{ - background: #a6d69d; -} -#personal_messages .capacity_bar span.filled -{ - background: #eea800; -} -#personal_messages .capacity_bar span.full -{ - background: #f10909; -} -#personal_messages .reportlinks -{ - padding: 0.5em 1.3em; -} -#searchLabelsExpand li -{ - padding: 0.3em 0.5em; -} -#manrules div.righttext -{ - padding: 0.3em 0.1em; -} -dl.addrules dt.floatleft -{ - width: 15em; - color: #333; - padding: 0 1.25em 0.5em 1.25em; -} -#addrule fieldset -{ - clear: both; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -.calendar_table -{ - margin-bottom: 0.7em; -} - -/* Used to indicate the current day in the grid. */ -.calendar_today -{ - background-color: #fff; -} - -#month_grid -{ - width: 200px; - text-align: center; - float: left; -} -#month_grid div.cat_bar -{ - height: 25px; -} -#month_grid h3.catbg -{ - height: 25px; - line-height: 27px; -} -#month_grid table -{ - width: 200px; -} -#main_grid table -{ - width: 100%; - padding-bottom: 4px; -} -#main_grid table h3.catbg -{ - text-align: center; - height: 29px; - border-top: 2px solid #fff; - border-bottom: none; -} -#main_grid table.weeklist td.windowbg -{ - text-align: center; - height: 49px; - width: 25px; - font-size: large; - padding: 0 7px; - border-bottom: 2px solid #fff; -} -#main_grid table.weeklist td.weekdays -{ - height: 49px; - width: 100%; - padding: 4px; - text-align: left; - vertical-align: middle; - border-bottom: 2px solid #fff; -} -#main_grid h3.weekly -{ - text-align: center; - padding-left: 0; - font-size: large; - height: 29px; -} -#main_grid h3 span.floatleft, #main_grid h3 span.floatright -{ - display: block; - font-weight: bold; -} -#main_grid table th.days -{ - width: 14%; - padding: 4px 0; -} -#main_grid table.weeklist h4.titlebg -{ - margin: 0 0 0 0; - height: 23px; - line-height: 27px; -} -#main_grid table td.weeks -{ - vertical-align: middle; - text-align: center; - font-weight: bold; - font-size: large; -} -#main_grid table td.days -{ - vertical-align: top; - text-align: center; -} - -a.modify_event -{ - color: red; -} - -span.hidelink -{ - font-style: italic; -} - -#calendar_navigation -{ - text-align: center; -} - -/* Styles for the memberlist section. -------------------------------------------------- */ -#mlist_search -{ - margin: auto; - width: 500px; -} - -/* Styles for the basic search section. -------------------------------------------------- */ -#searchform, #simple_search p -{ - padding: 0.5em; - margin: 0; -} -#simple_search, #simple_search p, #advanced_search -{ - text-align: center !important; - margin: 0; -} -#search_error -{ - font-style: italic; - padding: 0.3em 1em; -} -#search_term_input -{ - font-size: 115%; - margin: 0 0 1em; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: left; - padding: 0; - border: none; -} -#advanced_search dl#search_options -{ - margin: 0 auto; - width: 600px; - padding-top: 1em; - overflow: hidden; -} -#advanced_search dt -{ - clear: both; - float: left; - padding: 0.2em; - text-align: right; - width: 20%; -} -#advanced_search dd -{ - width: 75%; - float: left; - padding: 0.2em; - margin: 0 0 0 0.5em; - text-align: left; -} -#searchform p.clear -{ - clear: both; -} - -/* Styles for the search results page. -------------------------------------------------- */ -.topic_table td blockquote, .topic_table td .quoteheader -{ - margin: 0.5em; -} -.search_results_posts -{ - overflow: hidden; -} -.search_results_posts .buttons -{ - padding: 5px 1em 0 0; -} - -/* Styles for the help section. -------------------------------------------------- */ - -#help_container -{ - margin: 4px 0 0 0; - padding: 0 0 8px 0; -} -#helpmain -{ - padding: 0 1em; -} -#helpmain p -{ - margin: 0 0 1.5em 0; - line-height: 1.5em; -} -#helpmain ul -{ - line-height: 1.5em; -} - -/* Styles for print media. -------------------------------------------------------- */ -@media print -{ - #headerarea - { - display: none; - } - - .tborder - { - border: none; - } -} \ No newline at end of file diff --git a/config/themes/default/css/index.php b/config/themes/default/css/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/css/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/css/install.css b/config/themes/default/css/install.css deleted file mode 100755 index 41a279a..0000000 --- a/config/themes/default/css/install.css +++ /dev/null @@ -1,91 +0,0 @@ -body -{ - width: 90%; -} -#top_section -{ - height: 70px; - min-height: 65px; -} -#upper_section -{ - margin-bottom: 0; - padding: 0; -} -#upper_section .user -{ - height: 4em; -} -#upper_section .news -{ - height: 80px; -} -#main_screen -{ - padding: 0 40px; -} -#main_screen h2 -{ - font-size: 1.5em; - border-bottom: 1px solid #d05800; - line-height: 1.5em; - margin: 0 0 0.5em 0; - color: #d05800; -} -#main-steps -{ - float: right; - width: 50%; - margin-top: -60px; -} -#main-steps h2 -{ - font-size: 1.1em; - border-bottom: 1px solid #d05800; - line-height: 1.1em; - margin: 0 0 0.5em 0; - color: #d05800; - margin-right: 40px; -} -#main-steps ul -{ - list-style: none; - padding-left: 0; - margin: 0; -} -#main-steps ul li -{ - padding: 1px 0; - font-size: 0.9em; -} -#main-steps ul li.stepdone -{ - color: #aaa; -} -#main-steps ul li.stepcurrent -{ - color: #000; - font-weight: bold; -} -#main-steps ul li.stepwaiting -{ - color: #666; -} -.panel -{ - font-weight: normal; -} -a:link, a:hover, a:visited -{ - text-decoration: underline; -} -.progress -{ - position: relative; - margin: -16px 3px 0 3px; -} -.overall_progress -{ - position: relative; - margin: -25px 3px 0 3px; -} \ No newline at end of file diff --git a/config/themes/default/css/report.css b/config/themes/default/css/report.css deleted file mode 100755 index a62181b..0000000 --- a/config/themes/default/css/report.css +++ /dev/null @@ -1,59 +0,0 @@ -body -{ - color: #000; - background-color: #fff; - zoom: 1; -} -body, td, .normaltext -{ - font-family: Verdana, arial, helvetica, serif; - font-size: small; -} -*, a:link, a:visited, a:hover, a:active -{ - color: #000 !important; -} -.smalltext, .quoteheader, .codeheader -{ - font-size: x-small; -} -.largetext -{ - font-size: large; -} -hr -{ - height: 1px; - border: 0; - color: #000; - background-color: #000; -} -.catbg -{ - background-color: #d6d6d6; - font-weight: bold; -} -.titlebg, tr.titlebg td, .titlebg a:link, .titlebg a:visited -{ - font-style: normal; - background-color: #f0f4f7; -} -.bordercolor -{ - background-color: #333; -} -.windowbg -{ - color: #000; - background-color: #fff; -} -.windowbg2 -{ - color: #000; - background-color: #f1f1f1; -} -.copyright -{ - font-size: x-small; - text-align: center; -} \ No newline at end of file diff --git a/config/themes/default/css/rtl.css b/config/themes/default/css/rtl.css deleted file mode 100755 index ef70e8a..0000000 --- a/config/themes/default/css/rtl.css +++ /dev/null @@ -1,1082 +0,0 @@ -/* Common classes to ease styling. -------------------------------------------------------- */ - -.floatright -{ - float: left; -} -.floatleft -{ - float: right; -} -.clear_left -{ - clear: right; -} -.clear_right -{ - clear: left; -} -.righttext -{ - margin-left: auto; - margin-right: 0; - text-align: left; -} -.lefttext -{ - margin-left: 0; - margin-right: auto; - text-align: right; -} - -/* Styling for BBC tags */ -.bbc_list -{ - text-align: right; -} - -/* GenericList */ -.additional_row input -{ - margin-left: 0; - margin-right: 1em; -} -/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */ -.signature, .attachments -{ - clear: left; -} -.custom_fields_above_signature -{ - clear: left; -} -.openid_login -{ - padding-right: 18px; - padding-left: 0; -} - -/* Lists with settings use these a lot. -------------------------------------------------------- */ -dl.settings -{ - clear: left; -} -dl.settings dt -{ - float: right; - clear: both; -} -dl.settings dt.windowbg -{ - float: right; -} -dl.settings dd -{ - float: left; -} -dl.settings img -{ - margin: 0 0 0 10px; -} - -/* Styles for rounded headers. -------------------------------------------------------- */ - -h3.catbg img.icon, h4.titlebg img.icon -{ - vertical-align: middle; - margin: -2px 0 0 5px; -} -h4.titlebg, h3.titlebg -{ - padding-right: 9px; - padding-left: 0; -} -h4.titlebg img.icon -{ - float: right; - margin: 5px 0 0 8px; -} - -table.table_list a.unreadlink, table.table_list a.collapse -{ - float: left; -} -table.table_list a.collapse -{ - margin: 10px 1em 0 5px; -} -.table_grid th.first_th, tr.catbg th.first_th -{ - background: #a8bace url(../images/theme/main_block.png) no-repeat 100% -240px; -} -.table_grid th.last_th, tr.catbg th.last_th -{ - background: #a8bace url(../images/theme/main_block.png) no-repeat 0 -240px; -} -tr.titlebg th.first_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 100% -340px; -} -tr.titlebg th.last_th -{ - background: #e3e9ef url(../images/theme/main_block.png) no-repeat 0 -340px; -} - -/* Styles for the standard dropdown menus. -------------------------------------------------------- */ -#main_menu -{ - padding: 0 0.5em; - float: right; - text-align: right; -} -.dropmenu li -{ - float: right; - margin: 0 0 0 8px; -} -.dropmenu li ul ul -{ - right: 15em; -} -.dropmenu li ul -{ - background: url(../images/theme/menu_gfx.png) 100% -130px no-repeat; - right: 5px; -} - -/* The dropdown menu toggle image */ -#menu_toggle -{ - float: left; - margin-right: 0; - margin-left: 10px; - padding-top: 3px; -} -#menu_toggle span -{ - position: relative; - left: 0; -} - -/* Styles for the standard button lists. -------------------------------------------------------- */ -.buttonlist ul -{ - margin: 0 0 0 0.2em; -} -.buttonlist ul li a -{ - margin-left: 0; - margin-right: 12px; -} -.buttonlist ul li a span -{ - left: 8px; -} -.align_top ul li a, .align_bottom ul li a -{ - margin: 0 0 0 12px; -} -#adm_submenus -{ - padding-left: 0; - padding-right: 2em; -} -/* the main title, always stay at 45 pixels in height! */ -h1.forumtitle -{ - float: right; -} -/* float these items to the left */ -#siteslogan, img#smflogo -{ - float: left; -} -/* the upshrink image needs some tweaking */ -img#upshrink -{ - float: left; -} -/* ..so does the SMF logo */ -img#smflogo -{ - margin-right: 1em; -} -#upper_section div.news -{ - float: left; - text-align: left; -} -div#upper_section div.user -{ - float: right; -} -div#upper_section div.user p -{ - float: right; - margin: 0 0 1em 1em; -} -div#upper_section div.user ul -{ - padding-left: 0; - padding-right: 10px; -} - -/* The navigation list (i.e. linktree) */ -.navigate_section ul li -{ - float: right; - padding: 0 0 0 0.5em; -} - -/* Styles for the board index. -------------------------------------------------- */ - -/* the posting icons */ -#posting_icons -{ - padding: 0 1em 0.5em 1em; -} -#posting_icons img -{ - margin: 0 4ex 0 0; -} -#posting_icons .buttonlist -{ - float: left; -} -#postbuttons_upper ul li a span -{ - line-height: 19px; - padding: 0 6px 0 0; -} - -dl#ic_recentposts dt -{ - float: right; -} -dl#ic_recentposts dd -{ - text-align: left; -} -form#ic_login ul li -{ - float: right; - width: 20%; -} - -/* the small stats */ -#index_common_stats -{ - text-align: left; -} -img#upshrink_ic, img#newsupshrink -{ - float: right; - margin: 10px 0 0 5px; -} - -/* Styles for the message (topic) index. ----------------------------------------------------- */ -.table_frame .table_list td.icon, .table_frame .table_list td.info, .table_frame .table_list td.stats -{ - border-right: none; - border-left: 2px solid white; -} -.lastpost img -{ - float: left; -} - -/* Styles for the display template (topic view). ----------------------------------------------------- */ -#postbuttons div.buttons -{ - float: right; -} -#postbuttons span -{ - text-align: left; -} -#postbuttons span.lower -{ - clear: left; -} -#postbuttons .buttonlist -{ - float: left; -} - -h4#pollquestion -{ - padding: 0.5em 2em 0.5em 0; -} -/* Poll vote options */ -#poll_options ul.options -{ - padding: 1em 2em 0 2.5em; - margin: 0 0 1em 0; -} -#poll_options div.submitbutton -{ - clear: both; - padding: 0 2em 1em 0; - margin: 0 0 1em 0; -} - -/* Poll results */ -#poll_options dl.options -{ - padding: 1em 2em 1em 2.5em; - margin: 0 0 1em 1em; -} -#poll_options dl.options dt -{ - float: right; - clear: right; -} -#poll_options dl.options dd -{ - margin: 0 2em 0 0; - float: right; -} -span.percent -{ - float: left; -} - -/* author and topic information */ -#forumposts h3 span#author -{ - margin: 0 0 0 7.7em; -} -#forumposts h3 img -{ - float: right; - margin: 4px 0 0 0.5em; -} -/* poster and postarea + moderation area underneath */ -.poster -{ - float: right; - width: 15em; -} -.postarea, .moderatorbar -{ - margin: 0 16em 0 0; -} -.moderatorbar -{ - clear: left; -} -/* poster details and list of items */ -.poster h4, .poster ul -{ - padding: 0; - margin: 0 1.5em 0 1em; -} -.poster h4 -{ - margin: 0.2em 1.1em 0.4em 0; -} -.poster ul ul -{ - margin: 0.3em 0 0 1em; -} -.messageicon -{ - float: right; - margin: 0 0 0 0.5em; -} - -.keyinfo -{ - float: right; -} -.modifybutton -{ - clear: left; - float: left; - margin: 8px 0 10px 20px; - text-align: left; -} - -/* The quick buttons */ -ul.quickbuttons -{ - margin: 0.9em 0 0 11px; - clear: left; - float: left; - text-align: left; -} -ul.quickbuttons li -{ - float: left; - margin: 0 11px 0 0; -} -ul.quickbuttons li a -{ - padding: 0 20px 0 0; - float: left; -} -ul.quickbuttons li.quote_button -{ - background-position: 100% 0; -} -ul.quickbuttons li.remove_button -{ - background-position: 100% -30px; -} -ul.quickbuttons li.modify_button -{ - background-position: 100% -60px; -} -ul.quickbuttons li.approve_button -{ - background-position: 100% -90px; -} -ul.quickbuttons li.restore_button -{ - background-position: 100% -120px; -} -ul.quickbuttons li.split_button -{ - background-position: 100% -150px; -} -ul.quickbuttons li.reply_button -{ - background-position: 100% -180px; -} -ul.quickbuttons li.reply_all_button -{ - background-position: 100% -180px; -} -ul.quickbuttons li.notify_button -{ - background-position: 100% -210px; -} -ul.quickbuttons li.inline_mod_check -{ - margin: 0 5px 0 0; -} -.post -{ - clear: left; -} -.inner -{ - padding: 1em 0 0 1em; - margin: 0 0 0 1em; -} -#forumposts .modified -{ - float: right; -} -#forumposts .reportlinks -{ - margin-left: 1.5em; - text-align: left; - clear: left; -} - -#moderationbuttons_strip -{ - float: right; -} -#moderationbuttons_strip ul -{ - margin: 0 0.2em 0 0; - padding: 0 1em 0 0; -} -/* The jump to box */ -#display_jump_to -{ - text-align: left; -} - -/* Styles for edit post section ----------------------------------------------------- */ -#post_header dt -{ - float: right; -} -#post_header dd -{ - float: right; -} -ul.post_options -{ - margin: 0 1em 0 0; -} -ul.post_options li -{ - float: right; -} -#postAttachment dd, #postAttachment2 dd -{ - margin: .3em 1em .3em 0; -} -#postAttachment dt, #postAttachment2 dt -{ - font-weight: bold; -} -#postAttachment3 -{ - margin-left: 0; - margin-left: 1em; -} -.post_verification #verification_control -{ - margin: .3em 1em .3em 0; -} - -/* Styles for edit event section ----------------------------------------------------- */ -#post_event div.event_options -{ - float: left; -} -#post_event #event_main input -{ - margin: 0 0 1em 0; - float: right; -} -#post_event #event_main div.smalltext -{ - float: left; -} -#post_event ul.event_main li -{ - float: left; -} -#post_event ul.event_options -{ - padding: 0 .7em .7em 0; -} -#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check -{ - margin: 0 0 0 1em; -} - -/* Styles for edit poll section. ----------------------------------------------------- */ - -#edit_poll fieldset input -{ - margin-right: 7em; -} -#edit_poll ul.poll_main li -{ - padding-right: 1em; -} -#edit_poll ul.poll_main input -{ - margin-right: 1em; -} -#edit_poll div.poll_options -{ - float: right; -} -#edit_poll ul.poll_main, dl.poll_options -{ - padding: 0 .7em 0 0; -} -#edit_poll dl.poll_options dt -{ - padding: 0 1em 0 0; -} -#edit_poll dl.poll_options dd input -{ - margin-right: 0; -} - -/* Styles for the personal messages section. -------------------------------------------------- */ - -#personal_messages h3 span#author, #personal_messages h3 span#topic_title -{ - float: right; -} -#personal_messages h3 span#author -{ - margin: 0 0.5em 0 0; -} -#personal_messages h3 span#topic_title -{ - margin: 0 9em 0 0; -} -#personal_messages .labels -{ - padding: 0 0 0 1em; -} - -/* Styles for the move topic section. ----------------------------------------------------- */ -.move_topic -{ - text-align: right; -} -/* Styles for the login areas. -------------------------------------------------------- */ -.login dt -{ - float: right; -} -.login dd -{ - float: right; - text-align: right; -} -.login h3 img -{ - margin: 0 0 0.5em; -} - -/* Additional profile fields */ -dl.register_form -{ - clear: left; -} - -dl.register_form dt -{ - float: right; -} -/* Styles for maintenance mode. -------------------------------------------------------- */ -#maintenance_mode -{ - text-align: right; -} -#maintenance_mode img.floatleft -{ - margin-left: 1em; -} -/* common for all admin sections */ -h3.titlebg img -{ - margin-left: 0.5em; -} -tr.titlebg td -{ - padding-right: 0.7em; -} -#admin_menu -{ - padding-right: 0; -} -#admin_content -{ - clear: right; -} -/* Styles for sidebar menus. -------------------------------------------------------- */ -#left_admsection -{ - float: right; - padding-right: 0; - padding-left: 10px; -} -.left_admmenu li -{ - padding: 0 0.5em 0 0; -} -/* Styles for generic tables. -------------------------------------------------------- */ -.topic_table td.stickybg2 -{ - background-image: url(../images/icons/quick_sticky.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.lockedbg2 -{ - background-image: url(../images/icons/quick_lock.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.locked_sticky2 -{ - background-image: url(../images/icons/quick_sticky_lock.gif); - background-repeat: no-repeat; - background-position: 2% 4px; -} -.topic_table td.lastpost -{ - background-image: none; -} -/* Styles for (fatal) errors. -------------------------------------------------- */ -.errorbox p.alert -{ - float: right; -} -/* Styles for the profile section. -------------------------------------------------- */ -#basicinfo -{ - float: right; -} -#detailedinfo -{ - float: left; -} -#basicinfo ul li -{ - float: right; - margin-right: 0; - margin-left: 5px; -} -#detailedinfo div.content dl, #tracking div.content dl -{ - clear: left; -} -#detailedinfo div.content dt, #tracking div.content dt -{ - float: right; -} -#detailedinfo div.content dd, #tracking div.content dd -{ - float: right; -} -#avatar_server_stored div -{ - float: right; -} - -#main_admsection #basicinfo h4 -{ - float: right; -} -#main_admsection #basicinfo img.avatar -{ - float: left; -} -#main_admsection #basicinfo ul -{ - clear: right; -} -#main_admsection #basicinfo span#userstatus -{ - clear: right; -} - -/* Profile statistics */ -#generalstats div.content dt -{ - float: right; -} -#generalstats div.content dd -{ - float: right; -} - -/* Activity by time */ -#activitytime -{ - clear: right; -} -.activity_stats li -{ - float: right; -} -.activity_stats li span -{ - border-width: 1px 0 0 1px; -} -.activity_stats li.last span -{ - border-left: none; -} - -/* Most popular boards by posts and activity */ -#popularposts -{ - float: right; -} -#popularactivity -{ - float: left; -} - -#popularposts div.content dt, #popularactivity div.content dt -{ - float: right; -} -#popularposts div.content dd, #popularactivity div.content dd -{ - float: right; -} - -.profile_pie -{ - background-image: url(../images/stats_pie_rtl.png); - float: right; - margin-right: 0; - margin-left: 1em; -} - -/* View posts */ -.topic .time -{ - float: left; -} -.counter -{ - padding: 0.2em 0.2em 0.1em 0.5em; - float: right; -} -.topic .mod_icons -{ - text-align: left; - margin-right: 0; - margin-left: 1em; -} -#permissions div.permission_name -{ - margin: 0 0 0 1%; -} - -#ip_list li.header, #ip_list li.ip -{ - float: right; -} -#creator dt -{ - float: right; -} -#creator dd -{ - float: right; -} - -.ignoreboards ul -{ - margin: 0 1em 0 0; -} -.ignoreboards li -{ - float: right; -} - -#pick_theme -{ - float: right; -} -/* Styles for the statistics center. -------------------------------------------------- */ -#stats_left, #top_posters, #top_topics_replies, #top_topics_starter -{ - float: right; -} -#stats_right, #top_boards, #top_topics_views, #most_online -{ - float: left; -} -dl.stats dt -{ - float: right; -} -dl.stats dd -{ - text-align: left; -} -.statsbar div.bar -{ - float: right; -} -.statsbar div.bar div -{ - right: -6px; - padding: 0 0 0 6px; -} -tr.windowbg2 th.stats_month, tr.windowbg2 td.stats_day -{ - text-align: right; -} - -/* Styles for the calendar section. -------------------------------------------------- */ -#month_grid -{ - float: right; -} - -#main_grid table.weeklist td.windowbg -{ - - border-left: 2px solid #fff; - border-bottom: 2px solid #fff; -} - -#main_grid table.weeklist td.weekdays -{ - text-align: left; - vertical-align: middle; - border-right: 2px solid #fff; - border-bottom: 2px solid #fff; -} - -/* Styles for the advanced search section. -------------------------------------------------- */ -#searchform fieldset -{ - text-align: right; -} -#advanced_search dt -{ - float: right; - text-align: left; -} -#advanced_search dd -{ - float: right; - margin: 0 0.5em 0 0; - text-align: right; -} -/* Boards picker */ -#searchform fieldset div#searchBoardsExpand ul -{ - margin: 0 1em 0 0; -} -#searchform fieldset div#searchBoardsExpand li -{ - float: right; -} -#searchform fieldset p -{ - text-align: right; -} - -.search_results_posts .buttons -{ - padding: 5px 0 0 1em; -} - -/* Styles for the help section. -------------------------------------------------- */ -#helpmain h3.section -{ - padding: 0 0.5em 0.5em 0; -} -/* put back the bullets please */ -#helpmain ul -{ - margin: 0 2em 1em 0; - padding-left: 0; - padding-right: 1em; -} -#helpmain #messageindex -{ - clear: left; -} - -/* Styles for the admincenter (reverse admin.css). -------------------------------------------------- */ -#quick_search -{ - margin-left: 5px; -} -.features_image -{ - float: right; - margin: 0 1em 0.5em 2em; -} -.features_switch -{ - float: left; -} -.features h4 -{ - padding: 1em 0.5em 0.5em 0; -} -/* admin home */ -#live_news div.content dl -{ - padding: 0.5em 0.5em 0 0; -} -#smfAnnouncements dd -{ - padding: 0; - margin: 0 1.5em 1em 0; -} -#quick_tasks li -{ - float: right; - list-style-type: none; -} -.home_image -{ - float: right; -} -/* common admin classes */ -.additional_row input -{ - margin-left: 0; - margin-right: 2em; -} -#error_log td div.marginleft -{ - margin: 0 1ex 0 0 !important; -} - -/* Styles for the package manager. -------------------------------------------------- */ -#package_list .tborder -{ - margin: .25em 26px .25em 0; -} -#package_list ol, #package_list ol li -{ - margin-left: 0; - margin-right: 50px; -} -/* ManageBoards */ -#manage_boards ul -{ - overflow: hidden; -} -#manage_boards li -{ - overflow: hidden; -} -.move_links -{ - padding: 0 0 0 13px; -} - -span.search_weight -{ - text-align: left; -} -/* Manage Bans */ -.ban_restriction -{ - margin: 0.2em 2.2em 0.2em 0; -} -/* Themes */ -.is_directory -{ - padding-right: 18px; - background: url(../images/admin/boards.gif) no-repeat; - background-position: 100% 0; -} -/* Styles for the moderation center. -------------------------------------------------- */ -.modblock_left -{ - float: right; - clear: left; -} -.modblock_right -{ - float: left; -} -ul.moderation_notes li -{ - padding: 4px 4px 4px 0; -} \ No newline at end of file diff --git a/config/themes/default/css/webkit.css b/config/themes/default/css/webkit.css deleted file mode 100755 index bfd0c99..0000000 --- a/config/themes/default/css/webkit.css +++ /dev/null @@ -1,10 +0,0 @@ -/* - Special styles for Safari (and other Webkit-based browsers like Chrome) - Webkit needs this otherwise the post goes off to the right. - Causes issues in IE browsers, and breaks cached search engines pages. -*/ - -table.table_list tbody.header td div.cat_bar -{ - margin-bottom: -1px; -} diff --git a/config/themes/default/css/wireless.css b/config/themes/default/css/wireless.css deleted file mode 100755 index c12b041..0000000 --- a/config/themes/default/css/wireless.css +++ /dev/null @@ -1,35 +0,0 @@ -.catbg, tr.catbg td -{ - background-color: #6d92aa; - color: #fff; -} -.titlebg, .titlebg a, .titlebg a:link, .titlebg a:visited -{ - background-color: #b6dbff; - color: #000; - text-decoration: none; -} -.windowbg, tr.windowbg td -{ - background-color: #fff; - color: #000; -} -.windowbg2, tr.windowbg2 td -{ - background-color: #c0c0c0; - color: #000; -} -.new, a:link.new, a:visited.new -{ - background-color: #2f2fc0; - color: #fff; -} -.updated -{ - color: red; -} -/* Resize our post area as needed */ -#message -{ - width: 98%; -} \ No newline at end of file diff --git a/config/themes/default/fonts/Candice.gdf b/config/themes/default/fonts/Candice.gdf deleted file mode 100755 index ab8c3da..0000000 Binary files a/config/themes/default/fonts/Candice.gdf and /dev/null differ diff --git a/config/themes/default/fonts/Candice/a.gif b/config/themes/default/fonts/Candice/a.gif deleted file mode 100755 index dd63a6a..0000000 Binary files a/config/themes/default/fonts/Candice/a.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/b.gif b/config/themes/default/fonts/Candice/b.gif deleted file mode 100755 index 7561217..0000000 Binary files a/config/themes/default/fonts/Candice/b.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/c.gif b/config/themes/default/fonts/Candice/c.gif deleted file mode 100755 index d5f73b3..0000000 Binary files a/config/themes/default/fonts/Candice/c.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/d.gif b/config/themes/default/fonts/Candice/d.gif deleted file mode 100755 index 5e2153f..0000000 Binary files a/config/themes/default/fonts/Candice/d.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/e.gif b/config/themes/default/fonts/Candice/e.gif deleted file mode 100755 index d504eac..0000000 Binary files a/config/themes/default/fonts/Candice/e.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/f.gif b/config/themes/default/fonts/Candice/f.gif deleted file mode 100755 index c4fc42f..0000000 Binary files a/config/themes/default/fonts/Candice/f.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/g.gif b/config/themes/default/fonts/Candice/g.gif deleted file mode 100755 index 8fa8444..0000000 Binary files a/config/themes/default/fonts/Candice/g.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/h.gif b/config/themes/default/fonts/Candice/h.gif deleted file mode 100755 index 14f65e9..0000000 Binary files a/config/themes/default/fonts/Candice/h.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/i.gif b/config/themes/default/fonts/Candice/i.gif deleted file mode 100755 index 0d3cc45..0000000 Binary files a/config/themes/default/fonts/Candice/i.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/index.php b/config/themes/default/fonts/Candice/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/fonts/Candice/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/fonts/Candice/j.gif b/config/themes/default/fonts/Candice/j.gif deleted file mode 100755 index 0657cf9..0000000 Binary files a/config/themes/default/fonts/Candice/j.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/k.gif b/config/themes/default/fonts/Candice/k.gif deleted file mode 100755 index d74970f..0000000 Binary files a/config/themes/default/fonts/Candice/k.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/l.gif b/config/themes/default/fonts/Candice/l.gif deleted file mode 100755 index 6ce29d9..0000000 Binary files a/config/themes/default/fonts/Candice/l.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/m.gif b/config/themes/default/fonts/Candice/m.gif deleted file mode 100755 index f6e7d4d..0000000 Binary files a/config/themes/default/fonts/Candice/m.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/n.gif b/config/themes/default/fonts/Candice/n.gif deleted file mode 100755 index 571e2f0..0000000 Binary files a/config/themes/default/fonts/Candice/n.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/o.gif b/config/themes/default/fonts/Candice/o.gif deleted file mode 100755 index 4d99349..0000000 Binary files a/config/themes/default/fonts/Candice/o.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/p.gif b/config/themes/default/fonts/Candice/p.gif deleted file mode 100755 index d299641..0000000 Binary files a/config/themes/default/fonts/Candice/p.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/q.gif b/config/themes/default/fonts/Candice/q.gif deleted file mode 100755 index fc6f057..0000000 Binary files a/config/themes/default/fonts/Candice/q.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/r.gif b/config/themes/default/fonts/Candice/r.gif deleted file mode 100755 index 47ef493..0000000 Binary files a/config/themes/default/fonts/Candice/r.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/s.gif b/config/themes/default/fonts/Candice/s.gif deleted file mode 100755 index d881ed2..0000000 Binary files a/config/themes/default/fonts/Candice/s.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/t.gif b/config/themes/default/fonts/Candice/t.gif deleted file mode 100755 index 6649db6..0000000 Binary files a/config/themes/default/fonts/Candice/t.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/u.gif b/config/themes/default/fonts/Candice/u.gif deleted file mode 100755 index ecf1831..0000000 Binary files a/config/themes/default/fonts/Candice/u.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/v.gif b/config/themes/default/fonts/Candice/v.gif deleted file mode 100755 index b10f143..0000000 Binary files a/config/themes/default/fonts/Candice/v.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/w.gif b/config/themes/default/fonts/Candice/w.gif deleted file mode 100755 index 2a205ea..0000000 Binary files a/config/themes/default/fonts/Candice/w.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/x.gif b/config/themes/default/fonts/Candice/x.gif deleted file mode 100755 index ed53597..0000000 Binary files a/config/themes/default/fonts/Candice/x.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/y.gif b/config/themes/default/fonts/Candice/y.gif deleted file mode 100755 index 2419c31..0000000 Binary files a/config/themes/default/fonts/Candice/y.gif and /dev/null differ diff --git a/config/themes/default/fonts/Candice/z.gif b/config/themes/default/fonts/Candice/z.gif deleted file mode 100755 index 3854bb3..0000000 Binary files a/config/themes/default/fonts/Candice/z.gif and /dev/null differ diff --git a/config/themes/default/fonts/Forgottb.ttf b/config/themes/default/fonts/Forgottb.ttf deleted file mode 100755 index 3f4589d..0000000 Binary files a/config/themes/default/fonts/Forgottb.ttf and /dev/null differ diff --git a/config/themes/default/fonts/Hootie.gdf b/config/themes/default/fonts/Hootie.gdf deleted file mode 100755 index 2e1a383..0000000 Binary files a/config/themes/default/fonts/Hootie.gdf and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/a.gif b/config/themes/default/fonts/Hootie/a.gif deleted file mode 100755 index 5436f54..0000000 Binary files a/config/themes/default/fonts/Hootie/a.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/b.gif b/config/themes/default/fonts/Hootie/b.gif deleted file mode 100755 index 03d906f..0000000 Binary files a/config/themes/default/fonts/Hootie/b.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/c.gif b/config/themes/default/fonts/Hootie/c.gif deleted file mode 100755 index 52e9d45..0000000 Binary files a/config/themes/default/fonts/Hootie/c.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/d.gif b/config/themes/default/fonts/Hootie/d.gif deleted file mode 100755 index d272fcd..0000000 Binary files a/config/themes/default/fonts/Hootie/d.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/e.gif b/config/themes/default/fonts/Hootie/e.gif deleted file mode 100755 index 7f0201e..0000000 Binary files a/config/themes/default/fonts/Hootie/e.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/f.gif b/config/themes/default/fonts/Hootie/f.gif deleted file mode 100755 index 7256b9e..0000000 Binary files a/config/themes/default/fonts/Hootie/f.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/g.gif b/config/themes/default/fonts/Hootie/g.gif deleted file mode 100755 index 9a55c16..0000000 Binary files a/config/themes/default/fonts/Hootie/g.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/h.gif b/config/themes/default/fonts/Hootie/h.gif deleted file mode 100755 index 607dfbf..0000000 Binary files a/config/themes/default/fonts/Hootie/h.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/i.gif b/config/themes/default/fonts/Hootie/i.gif deleted file mode 100755 index dd7a13d..0000000 Binary files a/config/themes/default/fonts/Hootie/i.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/index.php b/config/themes/default/fonts/Hootie/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/fonts/Hootie/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/fonts/Hootie/j.gif b/config/themes/default/fonts/Hootie/j.gif deleted file mode 100755 index f854411..0000000 Binary files a/config/themes/default/fonts/Hootie/j.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/k.gif b/config/themes/default/fonts/Hootie/k.gif deleted file mode 100755 index 1044f71..0000000 Binary files a/config/themes/default/fonts/Hootie/k.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/l.gif b/config/themes/default/fonts/Hootie/l.gif deleted file mode 100755 index fb51d8a..0000000 Binary files a/config/themes/default/fonts/Hootie/l.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/m.gif b/config/themes/default/fonts/Hootie/m.gif deleted file mode 100755 index 773af11..0000000 Binary files a/config/themes/default/fonts/Hootie/m.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/n.gif b/config/themes/default/fonts/Hootie/n.gif deleted file mode 100755 index bb60edf..0000000 Binary files a/config/themes/default/fonts/Hootie/n.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/o.gif b/config/themes/default/fonts/Hootie/o.gif deleted file mode 100755 index dbe409e..0000000 Binary files a/config/themes/default/fonts/Hootie/o.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/p.gif b/config/themes/default/fonts/Hootie/p.gif deleted file mode 100755 index 9d6329d..0000000 Binary files a/config/themes/default/fonts/Hootie/p.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/q.gif b/config/themes/default/fonts/Hootie/q.gif deleted file mode 100755 index 655ca1b..0000000 Binary files a/config/themes/default/fonts/Hootie/q.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/r.gif b/config/themes/default/fonts/Hootie/r.gif deleted file mode 100755 index c964e12..0000000 Binary files a/config/themes/default/fonts/Hootie/r.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/s.gif b/config/themes/default/fonts/Hootie/s.gif deleted file mode 100755 index 481b65a..0000000 Binary files a/config/themes/default/fonts/Hootie/s.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/t.gif b/config/themes/default/fonts/Hootie/t.gif deleted file mode 100755 index d000db5..0000000 Binary files a/config/themes/default/fonts/Hootie/t.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/u.gif b/config/themes/default/fonts/Hootie/u.gif deleted file mode 100755 index 3f26f8f..0000000 Binary files a/config/themes/default/fonts/Hootie/u.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/v.gif b/config/themes/default/fonts/Hootie/v.gif deleted file mode 100755 index 32eeea4..0000000 Binary files a/config/themes/default/fonts/Hootie/v.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/w.gif b/config/themes/default/fonts/Hootie/w.gif deleted file mode 100755 index c25215b..0000000 Binary files a/config/themes/default/fonts/Hootie/w.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/x.gif b/config/themes/default/fonts/Hootie/x.gif deleted file mode 100755 index 5a63d85..0000000 Binary files a/config/themes/default/fonts/Hootie/x.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/y.gif b/config/themes/default/fonts/Hootie/y.gif deleted file mode 100755 index 8957c1d..0000000 Binary files a/config/themes/default/fonts/Hootie/y.gif and /dev/null differ diff --git a/config/themes/default/fonts/Hootie/z.gif b/config/themes/default/fonts/Hootie/z.gif deleted file mode 100755 index a2aae99..0000000 Binary files a/config/themes/default/fonts/Hootie/z.gif and /dev/null differ diff --git a/config/themes/default/fonts/Kimbalt.ttf b/config/themes/default/fonts/Kimbalt.ttf deleted file mode 100755 index 526b797..0000000 Binary files a/config/themes/default/fonts/Kimbalt.ttf and /dev/null differ diff --git a/config/themes/default/fonts/President.gdf b/config/themes/default/fonts/President.gdf deleted file mode 100755 index d6cab3b..0000000 Binary files a/config/themes/default/fonts/President.gdf and /dev/null differ diff --git a/config/themes/default/fonts/President/a.gif b/config/themes/default/fonts/President/a.gif deleted file mode 100755 index bf231a8..0000000 Binary files a/config/themes/default/fonts/President/a.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/b.gif b/config/themes/default/fonts/President/b.gif deleted file mode 100755 index 4204365..0000000 Binary files a/config/themes/default/fonts/President/b.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/c.gif b/config/themes/default/fonts/President/c.gif deleted file mode 100755 index 68babb7..0000000 Binary files a/config/themes/default/fonts/President/c.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/d.gif b/config/themes/default/fonts/President/d.gif deleted file mode 100755 index c245259..0000000 Binary files a/config/themes/default/fonts/President/d.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/e.gif b/config/themes/default/fonts/President/e.gif deleted file mode 100755 index 5c2d1a6..0000000 Binary files a/config/themes/default/fonts/President/e.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/f.gif b/config/themes/default/fonts/President/f.gif deleted file mode 100755 index 3e8a33b..0000000 Binary files a/config/themes/default/fonts/President/f.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/g.gif b/config/themes/default/fonts/President/g.gif deleted file mode 100755 index 6c398f3..0000000 Binary files a/config/themes/default/fonts/President/g.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/h.gif b/config/themes/default/fonts/President/h.gif deleted file mode 100755 index fcf4355..0000000 Binary files a/config/themes/default/fonts/President/h.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/i.gif b/config/themes/default/fonts/President/i.gif deleted file mode 100755 index e915b80..0000000 Binary files a/config/themes/default/fonts/President/i.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/index.php b/config/themes/default/fonts/President/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/fonts/President/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/fonts/President/j.gif b/config/themes/default/fonts/President/j.gif deleted file mode 100755 index 7b98c49..0000000 Binary files a/config/themes/default/fonts/President/j.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/k.gif b/config/themes/default/fonts/President/k.gif deleted file mode 100755 index 1379132..0000000 Binary files a/config/themes/default/fonts/President/k.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/l.gif b/config/themes/default/fonts/President/l.gif deleted file mode 100755 index 859241b..0000000 Binary files a/config/themes/default/fonts/President/l.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/m.gif b/config/themes/default/fonts/President/m.gif deleted file mode 100755 index b0fac23..0000000 Binary files a/config/themes/default/fonts/President/m.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/n.gif b/config/themes/default/fonts/President/n.gif deleted file mode 100755 index 04e801b..0000000 Binary files a/config/themes/default/fonts/President/n.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/o.gif b/config/themes/default/fonts/President/o.gif deleted file mode 100755 index 8b7a0d8..0000000 Binary files a/config/themes/default/fonts/President/o.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/p.gif b/config/themes/default/fonts/President/p.gif deleted file mode 100755 index 24aeea2..0000000 Binary files a/config/themes/default/fonts/President/p.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/q.gif b/config/themes/default/fonts/President/q.gif deleted file mode 100755 index a6e685a..0000000 Binary files a/config/themes/default/fonts/President/q.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/r.gif b/config/themes/default/fonts/President/r.gif deleted file mode 100755 index 250a5ec..0000000 Binary files a/config/themes/default/fonts/President/r.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/s.gif b/config/themes/default/fonts/President/s.gif deleted file mode 100755 index 7e361bf..0000000 Binary files a/config/themes/default/fonts/President/s.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/t.gif b/config/themes/default/fonts/President/t.gif deleted file mode 100755 index e7399f7..0000000 Binary files a/config/themes/default/fonts/President/t.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/u.gif b/config/themes/default/fonts/President/u.gif deleted file mode 100755 index 43a3f0d..0000000 Binary files a/config/themes/default/fonts/President/u.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/v.gif b/config/themes/default/fonts/President/v.gif deleted file mode 100755 index cc7fd22..0000000 Binary files a/config/themes/default/fonts/President/v.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/w.gif b/config/themes/default/fonts/President/w.gif deleted file mode 100755 index a8979c6..0000000 Binary files a/config/themes/default/fonts/President/w.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/x.gif b/config/themes/default/fonts/President/x.gif deleted file mode 100755 index 142cd1a..0000000 Binary files a/config/themes/default/fonts/President/x.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/y.gif b/config/themes/default/fonts/President/y.gif deleted file mode 100755 index bd35e24..0000000 Binary files a/config/themes/default/fonts/President/y.gif and /dev/null differ diff --git a/config/themes/default/fonts/President/z.gif b/config/themes/default/fonts/President/z.gif deleted file mode 100755 index ff06d3b..0000000 Binary files a/config/themes/default/fonts/President/z.gif and /dev/null differ diff --git a/config/themes/default/fonts/Screenge.ttf b/config/themes/default/fonts/Screenge.ttf deleted file mode 100755 index ccbeafb..0000000 Binary files a/config/themes/default/fonts/Screenge.ttf and /dev/null differ diff --git a/config/themes/default/fonts/Venusris.ttf b/config/themes/default/fonts/Venusris.ttf deleted file mode 100755 index 1d6e6a4..0000000 Binary files a/config/themes/default/fonts/Venusris.ttf and /dev/null differ diff --git a/config/themes/default/fonts/Walshes.ttf b/config/themes/default/fonts/Walshes.ttf deleted file mode 100755 index c7cacd6..0000000 Binary files a/config/themes/default/fonts/Walshes.ttf and /dev/null differ diff --git a/config/themes/default/fonts/index.php b/config/themes/default/fonts/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/fonts/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/fonts/sound/a.english.wav b/config/themes/default/fonts/sound/a.english.wav deleted file mode 100755 index 24aadb9..0000000 Binary files a/config/themes/default/fonts/sound/a.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/b.english.wav b/config/themes/default/fonts/sound/b.english.wav deleted file mode 100755 index 98944b1..0000000 Binary files a/config/themes/default/fonts/sound/b.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/c.english.wav b/config/themes/default/fonts/sound/c.english.wav deleted file mode 100755 index 9a0e694..0000000 Binary files a/config/themes/default/fonts/sound/c.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/d.english.wav b/config/themes/default/fonts/sound/d.english.wav deleted file mode 100755 index 4ae05e6..0000000 Binary files a/config/themes/default/fonts/sound/d.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/e.english.wav b/config/themes/default/fonts/sound/e.english.wav deleted file mode 100755 index 4b38bd0..0000000 Binary files a/config/themes/default/fonts/sound/e.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/f.english.wav b/config/themes/default/fonts/sound/f.english.wav deleted file mode 100755 index 32bc06d..0000000 Binary files a/config/themes/default/fonts/sound/f.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/g.english.wav b/config/themes/default/fonts/sound/g.english.wav deleted file mode 100755 index a320bdd..0000000 Binary files a/config/themes/default/fonts/sound/g.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/h.english.wav b/config/themes/default/fonts/sound/h.english.wav deleted file mode 100755 index 4a18ffb..0000000 Binary files a/config/themes/default/fonts/sound/h.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/i.english.wav b/config/themes/default/fonts/sound/i.english.wav deleted file mode 100755 index 5653de5..0000000 Binary files a/config/themes/default/fonts/sound/i.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/index.php b/config/themes/default/fonts/sound/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/fonts/sound/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/fonts/sound/j.english.wav b/config/themes/default/fonts/sound/j.english.wav deleted file mode 100755 index 0a90133..0000000 Binary files a/config/themes/default/fonts/sound/j.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/k.english.wav b/config/themes/default/fonts/sound/k.english.wav deleted file mode 100755 index 1dc5b7c..0000000 Binary files a/config/themes/default/fonts/sound/k.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/l.english.wav b/config/themes/default/fonts/sound/l.english.wav deleted file mode 100755 index c3ff6bf..0000000 Binary files a/config/themes/default/fonts/sound/l.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/m.english.wav b/config/themes/default/fonts/sound/m.english.wav deleted file mode 100755 index c190e75..0000000 Binary files a/config/themes/default/fonts/sound/m.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/n.english.wav b/config/themes/default/fonts/sound/n.english.wav deleted file mode 100755 index 7654671..0000000 Binary files a/config/themes/default/fonts/sound/n.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/o.english.wav b/config/themes/default/fonts/sound/o.english.wav deleted file mode 100755 index e97e870..0000000 Binary files a/config/themes/default/fonts/sound/o.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/p.english.wav b/config/themes/default/fonts/sound/p.english.wav deleted file mode 100755 index 226e485..0000000 Binary files a/config/themes/default/fonts/sound/p.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/q.english.wav b/config/themes/default/fonts/sound/q.english.wav deleted file mode 100755 index f97e012..0000000 Binary files a/config/themes/default/fonts/sound/q.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/r.english.wav b/config/themes/default/fonts/sound/r.english.wav deleted file mode 100755 index d76f476..0000000 Binary files a/config/themes/default/fonts/sound/r.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/s.english.wav b/config/themes/default/fonts/sound/s.english.wav deleted file mode 100755 index c29c030..0000000 Binary files a/config/themes/default/fonts/sound/s.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/t.english.wav b/config/themes/default/fonts/sound/t.english.wav deleted file mode 100755 index ee2fa96..0000000 Binary files a/config/themes/default/fonts/sound/t.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/u.english.wav b/config/themes/default/fonts/sound/u.english.wav deleted file mode 100755 index 34af33c..0000000 Binary files a/config/themes/default/fonts/sound/u.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/v.english.wav b/config/themes/default/fonts/sound/v.english.wav deleted file mode 100755 index a40c0f3..0000000 Binary files a/config/themes/default/fonts/sound/v.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/w.english.wav b/config/themes/default/fonts/sound/w.english.wav deleted file mode 100755 index 0ab70c9..0000000 Binary files a/config/themes/default/fonts/sound/w.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/x.english.wav b/config/themes/default/fonts/sound/x.english.wav deleted file mode 100755 index 56c601d..0000000 Binary files a/config/themes/default/fonts/sound/x.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/y.english.wav b/config/themes/default/fonts/sound/y.english.wav deleted file mode 100755 index 76cb401..0000000 Binary files a/config/themes/default/fonts/sound/y.english.wav and /dev/null differ diff --git a/config/themes/default/fonts/sound/z.english.wav b/config/themes/default/fonts/sound/z.english.wav deleted file mode 100755 index c2b4fe4..0000000 Binary files a/config/themes/default/fonts/sound/z.english.wav and /dev/null differ diff --git a/config/themes/default/images/Female.gif b/config/themes/default/images/Female.gif deleted file mode 100755 index 12446d1..0000000 Binary files a/config/themes/default/images/Female.gif and /dev/null differ diff --git a/config/themes/default/images/Male.gif b/config/themes/default/images/Male.gif deleted file mode 100755 index 3cd01eb..0000000 Binary files a/config/themes/default/images/Male.gif and /dev/null differ diff --git a/config/themes/default/images/admin/administration.gif b/config/themes/default/images/admin/administration.gif deleted file mode 100755 index c634703..0000000 Binary files a/config/themes/default/images/admin/administration.gif and /dev/null differ diff --git a/config/themes/default/images/admin/attachment.gif b/config/themes/default/images/admin/attachment.gif deleted file mode 100755 index 506491f..0000000 Binary files a/config/themes/default/images/admin/attachment.gif and /dev/null differ diff --git a/config/themes/default/images/admin/ban.gif b/config/themes/default/images/admin/ban.gif deleted file mode 100755 index 3f5a497..0000000 Binary files a/config/themes/default/images/admin/ban.gif and /dev/null differ diff --git a/config/themes/default/images/admin/boards.gif b/config/themes/default/images/admin/boards.gif deleted file mode 100755 index 2f3b303..0000000 Binary files a/config/themes/default/images/admin/boards.gif and /dev/null differ diff --git a/config/themes/default/images/admin/calendar.gif b/config/themes/default/images/admin/calendar.gif deleted file mode 100755 index 66accbf..0000000 Binary files a/config/themes/default/images/admin/calendar.gif and /dev/null differ diff --git a/config/themes/default/images/admin/change_menu.png b/config/themes/default/images/admin/change_menu.png deleted file mode 100755 index c326e87..0000000 Binary files a/config/themes/default/images/admin/change_menu.png and /dev/null differ diff --git a/config/themes/default/images/admin/change_menu2.png b/config/themes/default/images/admin/change_menu2.png deleted file mode 100755 index 7a66564..0000000 Binary files a/config/themes/default/images/admin/change_menu2.png and /dev/null differ diff --git a/config/themes/default/images/admin/corefeatures.gif b/config/themes/default/images/admin/corefeatures.gif deleted file mode 100755 index 902a437..0000000 Binary files a/config/themes/default/images/admin/corefeatures.gif and /dev/null differ diff --git a/config/themes/default/images/admin/current_theme.gif b/config/themes/default/images/admin/current_theme.gif deleted file mode 100755 index b661fd3..0000000 Binary files a/config/themes/default/images/admin/current_theme.gif and /dev/null differ diff --git a/config/themes/default/images/admin/engines.gif b/config/themes/default/images/admin/engines.gif deleted file mode 100755 index 1517f0e..0000000 Binary files a/config/themes/default/images/admin/engines.gif and /dev/null differ diff --git a/config/themes/default/images/admin/feature_cd.png b/config/themes/default/images/admin/feature_cd.png deleted file mode 100755 index 5bf830f..0000000 Binary files a/config/themes/default/images/admin/feature_cd.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_cp.png b/config/themes/default/images/admin/feature_cp.png deleted file mode 100755 index 9b93c6b..0000000 Binary files a/config/themes/default/images/admin/feature_cp.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_k.png b/config/themes/default/images/admin/feature_k.png deleted file mode 100755 index 7709462..0000000 Binary files a/config/themes/default/images/admin/feature_k.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_ml.png b/config/themes/default/images/admin/feature_ml.png deleted file mode 100755 index d124448..0000000 Binary files a/config/themes/default/images/admin/feature_ml.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_pm.png b/config/themes/default/images/admin/feature_pm.png deleted file mode 100755 index 89725ad..0000000 Binary files a/config/themes/default/images/admin/feature_pm.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_ps.png b/config/themes/default/images/admin/feature_ps.png deleted file mode 100755 index 038cc85..0000000 Binary files a/config/themes/default/images/admin/feature_ps.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_rg.png b/config/themes/default/images/admin/feature_rg.png deleted file mode 100755 index 4acb947..0000000 Binary files a/config/themes/default/images/admin/feature_rg.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_sp.png b/config/themes/default/images/admin/feature_sp.png deleted file mode 100755 index 0d25f73..0000000 Binary files a/config/themes/default/images/admin/feature_sp.png and /dev/null differ diff --git a/config/themes/default/images/admin/feature_w.png b/config/themes/default/images/admin/feature_w.png deleted file mode 100755 index bec0b0a..0000000 Binary files a/config/themes/default/images/admin/feature_w.png and /dev/null differ diff --git a/config/themes/default/images/admin/features.gif b/config/themes/default/images/admin/features.gif deleted file mode 100755 index a098a2d..0000000 Binary files a/config/themes/default/images/admin/features.gif and /dev/null differ diff --git a/config/themes/default/images/admin/features_and_options.png b/config/themes/default/images/admin/features_and_options.png deleted file mode 100755 index af362c3..0000000 Binary files a/config/themes/default/images/admin/features_and_options.png and /dev/null differ diff --git a/config/themes/default/images/admin/forum_maintenance.png b/config/themes/default/images/admin/forum_maintenance.png deleted file mode 100755 index 15d591c..0000000 Binary files a/config/themes/default/images/admin/forum_maintenance.png and /dev/null differ diff --git a/config/themes/default/images/admin/ignore.gif b/config/themes/default/images/admin/ignore.gif deleted file mode 100755 index df68cca..0000000 Binary files a/config/themes/default/images/admin/ignore.gif and /dev/null differ diff --git a/config/themes/default/images/admin/index.php b/config/themes/default/images/admin/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/admin/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/admin/languages.gif b/config/themes/default/images/admin/languages.gif deleted file mode 100755 index 0020f45..0000000 Binary files a/config/themes/default/images/admin/languages.gif and /dev/null differ diff --git a/config/themes/default/images/admin/logs.gif b/config/themes/default/images/admin/logs.gif deleted file mode 100755 index 597a35b..0000000 Binary files a/config/themes/default/images/admin/logs.gif and /dev/null differ diff --git a/config/themes/default/images/admin/mail.gif b/config/themes/default/images/admin/mail.gif deleted file mode 100755 index ba4f6cc..0000000 Binary files a/config/themes/default/images/admin/mail.gif and /dev/null differ diff --git a/config/themes/default/images/admin/maintain.gif b/config/themes/default/images/admin/maintain.gif deleted file mode 100755 index 68cb4f7..0000000 Binary files a/config/themes/default/images/admin/maintain.gif and /dev/null differ diff --git a/config/themes/default/images/admin/membergroups.gif b/config/themes/default/images/admin/membergroups.gif deleted file mode 100755 index ba8eb89..0000000 Binary files a/config/themes/default/images/admin/membergroups.gif and /dev/null differ diff --git a/config/themes/default/images/admin/members.gif b/config/themes/default/images/admin/members.gif deleted file mode 100755 index cac6d1e..0000000 Binary files a/config/themes/default/images/admin/members.gif and /dev/null differ diff --git a/config/themes/default/images/admin/members.png b/config/themes/default/images/admin/members.png deleted file mode 100755 index e974928..0000000 Binary files a/config/themes/default/images/admin/members.png and /dev/null differ diff --git a/config/themes/default/images/admin/modifications.gif b/config/themes/default/images/admin/modifications.gif deleted file mode 100755 index 1512046..0000000 Binary files a/config/themes/default/images/admin/modifications.gif and /dev/null differ diff --git a/config/themes/default/images/admin/news.gif b/config/themes/default/images/admin/news.gif deleted file mode 100755 index e8f6ac5..0000000 Binary files a/config/themes/default/images/admin/news.gif and /dev/null differ diff --git a/config/themes/default/images/admin/package_ops.gif b/config/themes/default/images/admin/package_ops.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/default/images/admin/package_ops.gif and /dev/null differ diff --git a/config/themes/default/images/admin/packages.gif b/config/themes/default/images/admin/packages.gif deleted file mode 100755 index 2ffec4f..0000000 Binary files a/config/themes/default/images/admin/packages.gif and /dev/null differ diff --git a/config/themes/default/images/admin/packages.png b/config/themes/default/images/admin/packages.png deleted file mode 100755 index 6c56b53..0000000 Binary files a/config/themes/default/images/admin/packages.png and /dev/null differ diff --git a/config/themes/default/images/admin/paid.gif b/config/themes/default/images/admin/paid.gif deleted file mode 100755 index 645ba22..0000000 Binary files a/config/themes/default/images/admin/paid.gif and /dev/null differ diff --git a/config/themes/default/images/admin/permissions.gif b/config/themes/default/images/admin/permissions.gif deleted file mode 100755 index 6e32f3e..0000000 Binary files a/config/themes/default/images/admin/permissions.gif and /dev/null differ diff --git a/config/themes/default/images/admin/permissions.png b/config/themes/default/images/admin/permissions.png deleted file mode 100755 index 03316ea..0000000 Binary files a/config/themes/default/images/admin/permissions.png and /dev/null differ diff --git a/config/themes/default/images/admin/post_moderation_allow.gif b/config/themes/default/images/admin/post_moderation_allow.gif deleted file mode 100755 index 0d855ed..0000000 Binary files a/config/themes/default/images/admin/post_moderation_allow.gif and /dev/null differ diff --git a/config/themes/default/images/admin/post_moderation_deny.gif b/config/themes/default/images/admin/post_moderation_deny.gif deleted file mode 100755 index 0c9f775..0000000 Binary files a/config/themes/default/images/admin/post_moderation_deny.gif and /dev/null differ diff --git a/config/themes/default/images/admin/post_moderation_moderate.gif b/config/themes/default/images/admin/post_moderation_moderate.gif deleted file mode 100755 index c13ec64..0000000 Binary files a/config/themes/default/images/admin/post_moderation_moderate.gif and /dev/null differ diff --git a/config/themes/default/images/admin/posts.gif b/config/themes/default/images/admin/posts.gif deleted file mode 100755 index 9418230..0000000 Binary files a/config/themes/default/images/admin/posts.gif and /dev/null differ diff --git a/config/themes/default/images/admin/regcenter.gif b/config/themes/default/images/admin/regcenter.gif deleted file mode 100755 index 5f0b840..0000000 Binary files a/config/themes/default/images/admin/regcenter.gif and /dev/null differ diff --git a/config/themes/default/images/admin/reports.gif b/config/themes/default/images/admin/reports.gif deleted file mode 100755 index 72b9c64..0000000 Binary files a/config/themes/default/images/admin/reports.gif and /dev/null differ diff --git a/config/themes/default/images/admin/scheduled.gif b/config/themes/default/images/admin/scheduled.gif deleted file mode 100755 index f502811..0000000 Binary files a/config/themes/default/images/admin/scheduled.gif and /dev/null differ diff --git a/config/themes/default/images/admin/search.gif b/config/themes/default/images/admin/search.gif deleted file mode 100755 index 934077c..0000000 Binary files a/config/themes/default/images/admin/search.gif and /dev/null differ diff --git a/config/themes/default/images/admin/security.gif b/config/themes/default/images/admin/security.gif deleted file mode 100755 index ffb2842..0000000 Binary files a/config/themes/default/images/admin/security.gif and /dev/null differ diff --git a/config/themes/default/images/admin/server.gif b/config/themes/default/images/admin/server.gif deleted file mode 100755 index fb988e5..0000000 Binary files a/config/themes/default/images/admin/server.gif and /dev/null differ diff --git a/config/themes/default/images/admin/smiley.gif b/config/themes/default/images/admin/smiley.gif deleted file mode 100755 index d739b74..0000000 Binary files a/config/themes/default/images/admin/smiley.gif and /dev/null differ diff --git a/config/themes/default/images/admin/smilies_and_messageicons.png b/config/themes/default/images/admin/smilies_and_messageicons.png deleted file mode 100755 index b898a82..0000000 Binary files a/config/themes/default/images/admin/smilies_and_messageicons.png and /dev/null differ diff --git a/config/themes/default/images/admin/subsection.gif b/config/themes/default/images/admin/subsection.gif deleted file mode 100755 index 7f82fe5..0000000 Binary files a/config/themes/default/images/admin/subsection.gif and /dev/null differ diff --git a/config/themes/default/images/admin/support.gif b/config/themes/default/images/admin/support.gif deleted file mode 100755 index a2a53f0..0000000 Binary files a/config/themes/default/images/admin/support.gif and /dev/null differ diff --git a/config/themes/default/images/admin/support_and_credits.png b/config/themes/default/images/admin/support_and_credits.png deleted file mode 100755 index 1bf62bf..0000000 Binary files a/config/themes/default/images/admin/support_and_credits.png and /dev/null differ diff --git a/config/themes/default/images/admin/switch_off.png b/config/themes/default/images/admin/switch_off.png deleted file mode 100755 index f2937d0..0000000 Binary files a/config/themes/default/images/admin/switch_off.png and /dev/null differ diff --git a/config/themes/default/images/admin/switch_on.png b/config/themes/default/images/admin/switch_on.png deleted file mode 100755 index b3ba675..0000000 Binary files a/config/themes/default/images/admin/switch_on.png and /dev/null differ diff --git a/config/themes/default/images/admin/themes.gif b/config/themes/default/images/admin/themes.gif deleted file mode 100755 index a5e1450..0000000 Binary files a/config/themes/default/images/admin/themes.gif and /dev/null differ diff --git a/config/themes/default/images/admin/themes_and_layout.png b/config/themes/default/images/admin/themes_and_layout.png deleted file mode 100755 index d511809..0000000 Binary files a/config/themes/default/images/admin/themes_and_layout.png and /dev/null differ diff --git a/config/themes/default/images/aim.gif b/config/themes/default/images/aim.gif deleted file mode 100755 index 4eb8df0..0000000 Binary files a/config/themes/default/images/aim.gif and /dev/null differ diff --git a/config/themes/default/images/bar_stats.png b/config/themes/default/images/bar_stats.png deleted file mode 100755 index 18ca46b..0000000 Binary files a/config/themes/default/images/bar_stats.png and /dev/null differ diff --git a/config/themes/default/images/bbc/bbc_bg.gif b/config/themes/default/images/bbc/bbc_bg.gif deleted file mode 100755 index c238e89..0000000 Binary files a/config/themes/default/images/bbc/bbc_bg.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/bbc_hoverbg.gif b/config/themes/default/images/bbc/bbc_hoverbg.gif deleted file mode 100755 index 49c4e91..0000000 Binary files a/config/themes/default/images/bbc/bbc_hoverbg.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/bold.gif b/config/themes/default/images/bbc/bold.gif deleted file mode 100755 index 075d0f5..0000000 Binary files a/config/themes/default/images/bbc/bold.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/center.gif b/config/themes/default/images/bbc/center.gif deleted file mode 100755 index 736bc87..0000000 Binary files a/config/themes/default/images/bbc/center.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/code.gif b/config/themes/default/images/bbc/code.gif deleted file mode 100755 index 3e89df1..0000000 Binary files a/config/themes/default/images/bbc/code.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/divider.gif b/config/themes/default/images/bbc/divider.gif deleted file mode 100755 index d4f35e1..0000000 Binary files a/config/themes/default/images/bbc/divider.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/email.gif b/config/themes/default/images/bbc/email.gif deleted file mode 100755 index 52d01ad..0000000 Binary files a/config/themes/default/images/bbc/email.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/flash.gif b/config/themes/default/images/bbc/flash.gif deleted file mode 100755 index 9ca282c..0000000 Binary files a/config/themes/default/images/bbc/flash.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/ftp.gif b/config/themes/default/images/bbc/ftp.gif deleted file mode 100755 index 7d2384b..0000000 Binary files a/config/themes/default/images/bbc/ftp.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/glow.gif b/config/themes/default/images/bbc/glow.gif deleted file mode 100755 index 0f0dce7..0000000 Binary files a/config/themes/default/images/bbc/glow.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/hr.gif b/config/themes/default/images/bbc/hr.gif deleted file mode 100755 index 433f8a7..0000000 Binary files a/config/themes/default/images/bbc/hr.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/img.gif b/config/themes/default/images/bbc/img.gif deleted file mode 100755 index 1bb838d..0000000 Binary files a/config/themes/default/images/bbc/img.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/index.php b/config/themes/default/images/bbc/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/bbc/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/bbc/italicize.gif b/config/themes/default/images/bbc/italicize.gif deleted file mode 100755 index cf84788..0000000 Binary files a/config/themes/default/images/bbc/italicize.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/left.gif b/config/themes/default/images/bbc/left.gif deleted file mode 100755 index 87bd529..0000000 Binary files a/config/themes/default/images/bbc/left.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/list.gif b/config/themes/default/images/bbc/list.gif deleted file mode 100755 index 95494c0..0000000 Binary files a/config/themes/default/images/bbc/list.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/move.gif b/config/themes/default/images/bbc/move.gif deleted file mode 100755 index a0d65ec..0000000 Binary files a/config/themes/default/images/bbc/move.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/orderlist.gif b/config/themes/default/images/bbc/orderlist.gif deleted file mode 100755 index 85f4a9c..0000000 Binary files a/config/themes/default/images/bbc/orderlist.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/pre.gif b/config/themes/default/images/bbc/pre.gif deleted file mode 100755 index e42bfd6..0000000 Binary files a/config/themes/default/images/bbc/pre.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/quote.gif b/config/themes/default/images/bbc/quote.gif deleted file mode 100755 index 8e97d78..0000000 Binary files a/config/themes/default/images/bbc/quote.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/resize-handle.gif b/config/themes/default/images/bbc/resize-handle.gif deleted file mode 100755 index 3fa6e0f..0000000 Binary files a/config/themes/default/images/bbc/resize-handle.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/right.gif b/config/themes/default/images/bbc/right.gif deleted file mode 100755 index 54d74aa..0000000 Binary files a/config/themes/default/images/bbc/right.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/shadow.gif b/config/themes/default/images/bbc/shadow.gif deleted file mode 100755 index 4b31037..0000000 Binary files a/config/themes/default/images/bbc/shadow.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/strike.gif b/config/themes/default/images/bbc/strike.gif deleted file mode 100755 index b6570bc..0000000 Binary files a/config/themes/default/images/bbc/strike.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/sub.gif b/config/themes/default/images/bbc/sub.gif deleted file mode 100755 index 03fb567..0000000 Binary files a/config/themes/default/images/bbc/sub.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/sup.gif b/config/themes/default/images/bbc/sup.gif deleted file mode 100755 index fa936d0..0000000 Binary files a/config/themes/default/images/bbc/sup.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/table.gif b/config/themes/default/images/bbc/table.gif deleted file mode 100755 index dcef680..0000000 Binary files a/config/themes/default/images/bbc/table.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/tele.gif b/config/themes/default/images/bbc/tele.gif deleted file mode 100755 index bc9c078..0000000 Binary files a/config/themes/default/images/bbc/tele.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/toggle.gif b/config/themes/default/images/bbc/toggle.gif deleted file mode 100755 index 3b71a8b..0000000 Binary files a/config/themes/default/images/bbc/toggle.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/underline.gif b/config/themes/default/images/bbc/underline.gif deleted file mode 100755 index 398e662..0000000 Binary files a/config/themes/default/images/bbc/underline.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/unformat.gif b/config/themes/default/images/bbc/unformat.gif deleted file mode 100755 index c7ba2f4..0000000 Binary files a/config/themes/default/images/bbc/unformat.gif and /dev/null differ diff --git a/config/themes/default/images/bbc/url.gif b/config/themes/default/images/bbc/url.gif deleted file mode 100755 index e911abb..0000000 Binary files a/config/themes/default/images/bbc/url.gif and /dev/null differ diff --git a/config/themes/default/images/blank.gif b/config/themes/default/images/blank.gif deleted file mode 100755 index 5bfd67a..0000000 Binary files a/config/themes/default/images/blank.gif and /dev/null differ diff --git a/config/themes/default/images/board.gif b/config/themes/default/images/board.gif deleted file mode 100755 index b3bc440..0000000 Binary files a/config/themes/default/images/board.gif and /dev/null differ diff --git a/config/themes/default/images/board_select_spot.gif b/config/themes/default/images/board_select_spot.gif deleted file mode 100755 index 86b9d06..0000000 Binary files a/config/themes/default/images/board_select_spot.gif and /dev/null differ diff --git a/config/themes/default/images/board_select_spot_child.gif b/config/themes/default/images/board_select_spot_child.gif deleted file mode 100755 index b4e9e20..0000000 Binary files a/config/themes/default/images/board_select_spot_child.gif and /dev/null differ diff --git a/config/themes/default/images/buddy_useroff.gif b/config/themes/default/images/buddy_useroff.gif deleted file mode 100755 index 7d4a14f..0000000 Binary files a/config/themes/default/images/buddy_useroff.gif and /dev/null differ diff --git a/config/themes/default/images/buddy_useron.gif b/config/themes/default/images/buddy_useron.gif deleted file mode 100755 index dae11b9..0000000 Binary files a/config/themes/default/images/buddy_useron.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/approve.gif b/config/themes/default/images/buttons/approve.gif deleted file mode 100755 index bb309ab..0000000 Binary files a/config/themes/default/images/buttons/approve.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/calendarpe.gif b/config/themes/default/images/buttons/calendarpe.gif deleted file mode 100755 index 02e6b54..0000000 Binary files a/config/themes/default/images/buttons/calendarpe.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/close.gif b/config/themes/default/images/buttons/close.gif deleted file mode 100755 index f0c02a2..0000000 Binary files a/config/themes/default/images/buttons/close.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/delete.gif b/config/themes/default/images/buttons/delete.gif deleted file mode 100755 index 93ee060..0000000 Binary files a/config/themes/default/images/buttons/delete.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/details.gif b/config/themes/default/images/buttons/details.gif deleted file mode 100755 index 305c311..0000000 Binary files a/config/themes/default/images/buttons/details.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/ignore.gif b/config/themes/default/images/buttons/ignore.gif deleted file mode 100755 index b2fa1fc..0000000 Binary files a/config/themes/default/images/buttons/ignore.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/im_reply.gif b/config/themes/default/images/buttons/im_reply.gif deleted file mode 100755 index 88c5767..0000000 Binary files a/config/themes/default/images/buttons/im_reply.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/im_reply_all.gif b/config/themes/default/images/buttons/im_reply_all.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/default/images/buttons/im_reply_all.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/index.php b/config/themes/default/images/buttons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/buttons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/buttons/merge.gif b/config/themes/default/images/buttons/merge.gif deleted file mode 100755 index 5e5d95c..0000000 Binary files a/config/themes/default/images/buttons/merge.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/modify.gif b/config/themes/default/images/buttons/modify.gif deleted file mode 100755 index 61698f0..0000000 Binary files a/config/themes/default/images/buttons/modify.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/notify_sm.gif b/config/themes/default/images/buttons/notify_sm.gif deleted file mode 100755 index 5020ab3..0000000 Binary files a/config/themes/default/images/buttons/notify_sm.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/quote.gif b/config/themes/default/images/buttons/quote.gif deleted file mode 100755 index 305c311..0000000 Binary files a/config/themes/default/images/buttons/quote.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/reply.gif b/config/themes/default/images/buttons/reply.gif deleted file mode 100755 index 8c612d8..0000000 Binary files a/config/themes/default/images/buttons/reply.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/reply_sm.gif b/config/themes/default/images/buttons/reply_sm.gif deleted file mode 100755 index 3e4e382..0000000 Binary files a/config/themes/default/images/buttons/reply_sm.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/restore_topic.gif b/config/themes/default/images/buttons/restore_topic.gif deleted file mode 100755 index 91e5c67..0000000 Binary files a/config/themes/default/images/buttons/restore_topic.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/search.gif b/config/themes/default/images/buttons/search.gif deleted file mode 100755 index 2fa0346..0000000 Binary files a/config/themes/default/images/buttons/search.gif and /dev/null differ diff --git a/config/themes/default/images/buttons/split.gif b/config/themes/default/images/buttons/split.gif deleted file mode 100755 index 0bbce35..0000000 Binary files a/config/themes/default/images/buttons/split.gif and /dev/null differ diff --git a/config/themes/default/images/cake.png b/config/themes/default/images/cake.png deleted file mode 100755 index b596899..0000000 Binary files a/config/themes/default/images/cake.png and /dev/null differ diff --git a/config/themes/default/images/collapse.gif b/config/themes/default/images/collapse.gif deleted file mode 100755 index a3d5384..0000000 Binary files a/config/themes/default/images/collapse.gif and /dev/null differ diff --git a/config/themes/default/images/construction.png b/config/themes/default/images/construction.png deleted file mode 100755 index ca4424d..0000000 Binary files a/config/themes/default/images/construction.png and /dev/null differ diff --git a/config/themes/default/images/email_sm.gif b/config/themes/default/images/email_sm.gif deleted file mode 100755 index 466bb22..0000000 Binary files a/config/themes/default/images/email_sm.gif and /dev/null differ diff --git a/config/themes/default/images/english/index.php b/config/themes/default/images/english/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/english/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/english/new.gif b/config/themes/default/images/english/new.gif deleted file mode 100755 index 9ed9f1c..0000000 Binary files a/config/themes/default/images/english/new.gif and /dev/null differ diff --git a/config/themes/default/images/expand.gif b/config/themes/default/images/expand.gif deleted file mode 100755 index bacea16..0000000 Binary files a/config/themes/default/images/expand.gif and /dev/null differ diff --git a/config/themes/default/images/filter.gif b/config/themes/default/images/filter.gif deleted file mode 100755 index f16261f..0000000 Binary files a/config/themes/default/images/filter.gif and /dev/null differ diff --git a/config/themes/default/images/helptopics.gif b/config/themes/default/images/helptopics.gif deleted file mode 100755 index 33b1787..0000000 Binary files a/config/themes/default/images/helptopics.gif and /dev/null differ diff --git a/config/themes/default/images/icons/assist.gif b/config/themes/default/images/icons/assist.gif deleted file mode 100755 index d0f8624..0000000 Binary files a/config/themes/default/images/icons/assist.gif and /dev/null differ diff --git a/config/themes/default/images/icons/calendar.gif b/config/themes/default/images/icons/calendar.gif deleted file mode 100755 index 296a129..0000000 Binary files a/config/themes/default/images/icons/calendar.gif and /dev/null differ diff --git a/config/themes/default/images/icons/clip.gif b/config/themes/default/images/icons/clip.gif deleted file mode 100755 index 0803d0e..0000000 Binary files a/config/themes/default/images/icons/clip.gif and /dev/null differ diff --git a/config/themes/default/images/icons/config_sm.gif b/config/themes/default/images/icons/config_sm.gif deleted file mode 100755 index 304639e..0000000 Binary files a/config/themes/default/images/icons/config_sm.gif and /dev/null differ diff --git a/config/themes/default/images/icons/delete.gif b/config/themes/default/images/icons/delete.gif deleted file mode 100755 index b3e13cb..0000000 Binary files a/config/themes/default/images/icons/delete.gif and /dev/null differ diff --git a/config/themes/default/images/icons/field_check.gif b/config/themes/default/images/icons/field_check.gif deleted file mode 100755 index 9905d2a..0000000 Binary files a/config/themes/default/images/icons/field_check.gif and /dev/null differ diff --git a/config/themes/default/images/icons/field_invalid.gif b/config/themes/default/images/icons/field_invalid.gif deleted file mode 100755 index 64d0a1f..0000000 Binary files a/config/themes/default/images/icons/field_invalid.gif and /dev/null differ diff --git a/config/themes/default/images/icons/field_valid.gif b/config/themes/default/images/icons/field_valid.gif deleted file mode 100755 index 897aeaa..0000000 Binary files a/config/themes/default/images/icons/field_valid.gif and /dev/null differ diff --git a/config/themes/default/images/icons/im_newmsg.gif b/config/themes/default/images/icons/im_newmsg.gif deleted file mode 100755 index 18b6687..0000000 Binary files a/config/themes/default/images/icons/im_newmsg.gif and /dev/null differ diff --git a/config/themes/default/images/icons/index.php b/config/themes/default/images/icons/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/icons/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/icons/info.gif b/config/themes/default/images/icons/info.gif deleted file mode 100755 index 191e40a..0000000 Binary files a/config/themes/default/images/icons/info.gif and /dev/null differ diff --git a/config/themes/default/images/icons/last_post.gif b/config/themes/default/images/icons/last_post.gif deleted file mode 100755 index 17c2316..0000000 Binary files a/config/themes/default/images/icons/last_post.gif and /dev/null differ diff --git a/config/themes/default/images/icons/login.gif b/config/themes/default/images/icons/login.gif deleted file mode 100755 index 1fb4082..0000000 Binary files a/config/themes/default/images/icons/login.gif and /dev/null differ diff --git a/config/themes/default/images/icons/login_sm.gif b/config/themes/default/images/icons/login_sm.gif deleted file mode 100755 index 5da1e73..0000000 Binary files a/config/themes/default/images/icons/login_sm.gif and /dev/null differ diff --git a/config/themes/default/images/icons/members.gif b/config/themes/default/images/icons/members.gif deleted file mode 100755 index dd5b1a5..0000000 Binary files a/config/themes/default/images/icons/members.gif and /dev/null differ diff --git a/config/themes/default/images/icons/modify_inline.gif b/config/themes/default/images/icons/modify_inline.gif deleted file mode 100755 index 61698f0..0000000 Binary files a/config/themes/default/images/icons/modify_inline.gif and /dev/null differ diff --git a/config/themes/default/images/icons/modify_small.gif b/config/themes/default/images/icons/modify_small.gif deleted file mode 100755 index d26e893..0000000 Binary files a/config/themes/default/images/icons/modify_small.gif and /dev/null differ diff --git a/config/themes/default/images/icons/notify_sm.gif b/config/themes/default/images/icons/notify_sm.gif deleted file mode 100755 index 6d254c9..0000000 Binary files a/config/themes/default/images/icons/notify_sm.gif and /dev/null differ diff --git a/config/themes/default/images/icons/online.gif b/config/themes/default/images/icons/online.gif deleted file mode 100755 index 7a8e22e..0000000 Binary files a/config/themes/default/images/icons/online.gif and /dev/null differ diff --git a/config/themes/default/images/icons/package_installed.gif b/config/themes/default/images/icons/package_installed.gif deleted file mode 100755 index e96b5e3..0000000 Binary files a/config/themes/default/images/icons/package_installed.gif and /dev/null differ diff --git a/config/themes/default/images/icons/package_old.gif b/config/themes/default/images/icons/package_old.gif deleted file mode 100755 index b7f4f56..0000000 Binary files a/config/themes/default/images/icons/package_old.gif and /dev/null differ diff --git a/config/themes/default/images/icons/pm_read.gif b/config/themes/default/images/icons/pm_read.gif deleted file mode 100755 index 0dac32b..0000000 Binary files a/config/themes/default/images/icons/pm_read.gif and /dev/null differ diff --git a/config/themes/default/images/icons/pm_replied.gif b/config/themes/default/images/icons/pm_replied.gif deleted file mode 100755 index 6548d99..0000000 Binary files a/config/themes/default/images/icons/pm_replied.gif and /dev/null differ diff --git a/config/themes/default/images/icons/profile_sm.gif b/config/themes/default/images/icons/profile_sm.gif deleted file mode 100755 index f442830..0000000 Binary files a/config/themes/default/images/icons/profile_sm.gif and /dev/null differ diff --git a/config/themes/default/images/icons/quick_lock.gif b/config/themes/default/images/icons/quick_lock.gif deleted file mode 100755 index 2711ac7..0000000 Binary files a/config/themes/default/images/icons/quick_lock.gif and /dev/null differ diff --git a/config/themes/default/images/icons/quick_move.gif b/config/themes/default/images/icons/quick_move.gif deleted file mode 100755 index 1ec1b10..0000000 Binary files a/config/themes/default/images/icons/quick_move.gif and /dev/null differ diff --git a/config/themes/default/images/icons/quick_remove.gif b/config/themes/default/images/icons/quick_remove.gif deleted file mode 100755 index 5c2a15f..0000000 Binary files a/config/themes/default/images/icons/quick_remove.gif and /dev/null differ diff --git a/config/themes/default/images/icons/quick_sticky.gif b/config/themes/default/images/icons/quick_sticky.gif deleted file mode 100755 index 25181e2..0000000 Binary files a/config/themes/default/images/icons/quick_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/icons/quick_sticky_lock.gif b/config/themes/default/images/icons/quick_sticky_lock.gif deleted file mode 100755 index dae3924..0000000 Binary files a/config/themes/default/images/icons/quick_sticky_lock.gif and /dev/null differ diff --git a/config/themes/default/images/icons/show_sticky.gif b/config/themes/default/images/icons/show_sticky.gif deleted file mode 100755 index b7d6ef3..0000000 Binary files a/config/themes/default/images/icons/show_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/im_off.gif b/config/themes/default/images/im_off.gif deleted file mode 100755 index 771136a..0000000 Binary files a/config/themes/default/images/im_off.gif and /dev/null differ diff --git a/config/themes/default/images/im_on.gif b/config/themes/default/images/im_on.gif deleted file mode 100755 index 7f1f8ac..0000000 Binary files a/config/themes/default/images/im_on.gif and /dev/null differ diff --git a/config/themes/default/images/im_sm_newmsg.gif b/config/themes/default/images/im_sm_newmsg.gif deleted file mode 100755 index e3de228..0000000 Binary files a/config/themes/default/images/im_sm_newmsg.gif and /dev/null differ diff --git a/config/themes/default/images/im_sm_prefs.gif b/config/themes/default/images/im_sm_prefs.gif deleted file mode 100755 index f68e75e..0000000 Binary files a/config/themes/default/images/im_sm_prefs.gif and /dev/null differ diff --git a/config/themes/default/images/im_switch.gif b/config/themes/default/images/im_switch.gif deleted file mode 100755 index 0d4c78d..0000000 Binary files a/config/themes/default/images/im_switch.gif and /dev/null differ diff --git a/config/themes/default/images/index.php b/config/themes/default/images/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/ip.gif b/config/themes/default/images/ip.gif deleted file mode 100755 index e3ac911..0000000 Binary files a/config/themes/default/images/ip.gif and /dev/null differ diff --git a/config/themes/default/images/loading.gif b/config/themes/default/images/loading.gif deleted file mode 100755 index 53edda2..0000000 Binary files a/config/themes/default/images/loading.gif and /dev/null differ diff --git a/config/themes/default/images/message_sm.gif b/config/themes/default/images/message_sm.gif deleted file mode 100755 index 0e5f36a..0000000 Binary files a/config/themes/default/images/message_sm.gif and /dev/null differ diff --git a/config/themes/default/images/msntalk.gif b/config/themes/default/images/msntalk.gif deleted file mode 100755 index 207f55a..0000000 Binary files a/config/themes/default/images/msntalk.gif and /dev/null differ diff --git a/config/themes/default/images/new_none.png b/config/themes/default/images/new_none.png deleted file mode 100755 index e9c19b6..0000000 Binary files a/config/themes/default/images/new_none.png and /dev/null differ diff --git a/config/themes/default/images/new_redirect.png b/config/themes/default/images/new_redirect.png deleted file mode 100755 index 982e771..0000000 Binary files a/config/themes/default/images/new_redirect.png and /dev/null differ diff --git a/config/themes/default/images/new_some.png b/config/themes/default/images/new_some.png deleted file mode 100755 index 0883999..0000000 Binary files a/config/themes/default/images/new_some.png and /dev/null differ diff --git a/config/themes/default/images/off.png b/config/themes/default/images/off.png deleted file mode 100755 index 4b76791..0000000 Binary files a/config/themes/default/images/off.png and /dev/null differ diff --git a/config/themes/default/images/on.png b/config/themes/default/images/on.png deleted file mode 100755 index 2161447..0000000 Binary files a/config/themes/default/images/on.png and /dev/null differ diff --git a/config/themes/default/images/on2.png b/config/themes/default/images/on2.png deleted file mode 100755 index 18ef3fc..0000000 Binary files a/config/themes/default/images/on2.png and /dev/null differ diff --git a/config/themes/default/images/openid.gif b/config/themes/default/images/openid.gif deleted file mode 100755 index 23a3613..0000000 Binary files a/config/themes/default/images/openid.gif and /dev/null differ diff --git a/config/themes/default/images/pm_recipient_delete.gif b/config/themes/default/images/pm_recipient_delete.gif deleted file mode 100755 index 02d4fbf..0000000 Binary files a/config/themes/default/images/pm_recipient_delete.gif and /dev/null differ diff --git a/config/themes/default/images/post/angry.gif b/config/themes/default/images/post/angry.gif deleted file mode 100755 index 0981315..0000000 Binary files a/config/themes/default/images/post/angry.gif and /dev/null differ diff --git a/config/themes/default/images/post/cheesy.gif b/config/themes/default/images/post/cheesy.gif deleted file mode 100755 index ea7a12f..0000000 Binary files a/config/themes/default/images/post/cheesy.gif and /dev/null differ diff --git a/config/themes/default/images/post/clip.gif b/config/themes/default/images/post/clip.gif deleted file mode 100755 index e594837..0000000 Binary files a/config/themes/default/images/post/clip.gif and /dev/null differ diff --git a/config/themes/default/images/post/exclamation.gif b/config/themes/default/images/post/exclamation.gif deleted file mode 100755 index fe10fa5..0000000 Binary files a/config/themes/default/images/post/exclamation.gif and /dev/null differ diff --git a/config/themes/default/images/post/grin.gif b/config/themes/default/images/post/grin.gif deleted file mode 100755 index c6b75e5..0000000 Binary files a/config/themes/default/images/post/grin.gif and /dev/null differ diff --git a/config/themes/default/images/post/index.php b/config/themes/default/images/post/index.php deleted file mode 100755 index be9895a..0000000 --- a/config/themes/default/images/post/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/post/lamp.gif b/config/themes/default/images/post/lamp.gif deleted file mode 100755 index d894edd..0000000 Binary files a/config/themes/default/images/post/lamp.gif and /dev/null differ diff --git a/config/themes/default/images/post/moved.gif b/config/themes/default/images/post/moved.gif deleted file mode 100755 index aad605b..0000000 Binary files a/config/themes/default/images/post/moved.gif and /dev/null differ diff --git a/config/themes/default/images/post/question.gif b/config/themes/default/images/post/question.gif deleted file mode 100755 index 79b326a..0000000 Binary files a/config/themes/default/images/post/question.gif and /dev/null differ diff --git a/config/themes/default/images/post/recycled.gif b/config/themes/default/images/post/recycled.gif deleted file mode 100755 index 91e5c67..0000000 Binary files a/config/themes/default/images/post/recycled.gif and /dev/null differ diff --git a/config/themes/default/images/post/sad.gif b/config/themes/default/images/post/sad.gif deleted file mode 100755 index b757809..0000000 Binary files a/config/themes/default/images/post/sad.gif and /dev/null differ diff --git a/config/themes/default/images/post/smiley.gif b/config/themes/default/images/post/smiley.gif deleted file mode 100755 index 9165734..0000000 Binary files a/config/themes/default/images/post/smiley.gif and /dev/null differ diff --git a/config/themes/default/images/post/thumbdown.gif b/config/themes/default/images/post/thumbdown.gif deleted file mode 100755 index ab7e040..0000000 Binary files a/config/themes/default/images/post/thumbdown.gif and /dev/null differ diff --git a/config/themes/default/images/post/thumbup.gif b/config/themes/default/images/post/thumbup.gif deleted file mode 100755 index 62e0d02..0000000 Binary files a/config/themes/default/images/post/thumbup.gif and /dev/null differ diff --git a/config/themes/default/images/post/wink.gif b/config/themes/default/images/post/wink.gif deleted file mode 100755 index 251b079..0000000 Binary files a/config/themes/default/images/post/wink.gif and /dev/null differ diff --git a/config/themes/default/images/post/wireless.gif b/config/themes/default/images/post/wireless.gif deleted file mode 100755 index 9b66c37..0000000 Binary files a/config/themes/default/images/post/wireless.gif and /dev/null differ diff --git a/config/themes/default/images/post/xx.gif b/config/themes/default/images/post/xx.gif deleted file mode 100755 index ca68750..0000000 Binary files a/config/themes/default/images/post/xx.gif and /dev/null differ diff --git a/config/themes/default/images/redirect.png b/config/themes/default/images/redirect.png deleted file mode 100755 index e197578..0000000 Binary files a/config/themes/default/images/redirect.png and /dev/null differ diff --git a/config/themes/default/images/selected.gif b/config/themes/default/images/selected.gif deleted file mode 100755 index 4d2d54e..0000000 Binary files a/config/themes/default/images/selected.gif and /dev/null differ diff --git a/config/themes/default/images/smflogo.png b/config/themes/default/images/smflogo.png deleted file mode 100755 index 01d6fe7..0000000 Binary files a/config/themes/default/images/smflogo.png and /dev/null differ diff --git a/config/themes/default/images/smiley_select_spot.gif b/config/themes/default/images/smiley_select_spot.gif deleted file mode 100755 index 96d6168..0000000 Binary files a/config/themes/default/images/smiley_select_spot.gif and /dev/null differ diff --git a/config/themes/default/images/sort_down.gif b/config/themes/default/images/sort_down.gif deleted file mode 100755 index 6c755db..0000000 Binary files a/config/themes/default/images/sort_down.gif and /dev/null differ diff --git a/config/themes/default/images/sort_up.gif b/config/themes/default/images/sort_up.gif deleted file mode 100755 index 7e5731a..0000000 Binary files a/config/themes/default/images/sort_up.gif and /dev/null differ diff --git a/config/themes/default/images/split_deselect.gif b/config/themes/default/images/split_deselect.gif deleted file mode 100755 index 852316b..0000000 Binary files a/config/themes/default/images/split_deselect.gif and /dev/null differ diff --git a/config/themes/default/images/split_select.gif b/config/themes/default/images/split_select.gif deleted file mode 100755 index 80eddbc..0000000 Binary files a/config/themes/default/images/split_select.gif and /dev/null differ diff --git a/config/themes/default/images/star.gif b/config/themes/default/images/star.gif deleted file mode 100755 index d0be4ad..0000000 Binary files a/config/themes/default/images/star.gif and /dev/null differ diff --git a/config/themes/default/images/staradmin.gif b/config/themes/default/images/staradmin.gif deleted file mode 100755 index ac32d90..0000000 Binary files a/config/themes/default/images/staradmin.gif and /dev/null differ diff --git a/config/themes/default/images/stargmod.gif b/config/themes/default/images/stargmod.gif deleted file mode 100755 index 7c5de8b..0000000 Binary files a/config/themes/default/images/stargmod.gif and /dev/null differ diff --git a/config/themes/default/images/starmod.gif b/config/themes/default/images/starmod.gif deleted file mode 100755 index e979fb0..0000000 Binary files a/config/themes/default/images/starmod.gif and /dev/null differ diff --git a/config/themes/default/images/stats_board.gif b/config/themes/default/images/stats_board.gif deleted file mode 100755 index 1fb4082..0000000 Binary files a/config/themes/default/images/stats_board.gif and /dev/null differ diff --git a/config/themes/default/images/stats_boards.gif b/config/themes/default/images/stats_boards.gif deleted file mode 100755 index 1fb4082..0000000 Binary files a/config/themes/default/images/stats_boards.gif and /dev/null differ diff --git a/config/themes/default/images/stats_history.gif b/config/themes/default/images/stats_history.gif deleted file mode 100755 index 019d2e4..0000000 Binary files a/config/themes/default/images/stats_history.gif and /dev/null differ diff --git a/config/themes/default/images/stats_info.gif b/config/themes/default/images/stats_info.gif deleted file mode 100755 index 1fb4082..0000000 Binary files a/config/themes/default/images/stats_info.gif and /dev/null differ diff --git a/config/themes/default/images/stats_pie.png b/config/themes/default/images/stats_pie.png deleted file mode 100755 index 1f692c9..0000000 Binary files a/config/themes/default/images/stats_pie.png and /dev/null differ diff --git a/config/themes/default/images/stats_pie_rtl.png b/config/themes/default/images/stats_pie_rtl.png deleted file mode 100755 index 91a6218..0000000 Binary files a/config/themes/default/images/stats_pie_rtl.png and /dev/null differ diff --git a/config/themes/default/images/stats_posters.gif b/config/themes/default/images/stats_posters.gif deleted file mode 100755 index 27a28a5..0000000 Binary files a/config/themes/default/images/stats_posters.gif and /dev/null differ diff --git a/config/themes/default/images/stats_replies.gif b/config/themes/default/images/stats_replies.gif deleted file mode 100755 index e579e15..0000000 Binary files a/config/themes/default/images/stats_replies.gif and /dev/null differ diff --git a/config/themes/default/images/stats_views.gif b/config/themes/default/images/stats_views.gif deleted file mode 100755 index 1fb4082..0000000 Binary files a/config/themes/default/images/stats_views.gif and /dev/null differ diff --git a/config/themes/default/images/theme/backdrop.png b/config/themes/default/images/theme/backdrop.png deleted file mode 100755 index 4609bb3..0000000 Binary files a/config/themes/default/images/theme/backdrop.png and /dev/null differ diff --git a/config/themes/default/images/theme/frame_repeat.png b/config/themes/default/images/theme/frame_repeat.png deleted file mode 100755 index 143eb6e..0000000 Binary files a/config/themes/default/images/theme/frame_repeat.png and /dev/null differ diff --git a/config/themes/default/images/theme/loadingbar.png b/config/themes/default/images/theme/loadingbar.png deleted file mode 100755 index 999339d..0000000 Binary files a/config/themes/default/images/theme/loadingbar.png and /dev/null differ diff --git a/config/themes/default/images/theme/main_block.png b/config/themes/default/images/theme/main_block.png deleted file mode 100755 index f422b81..0000000 Binary files a/config/themes/default/images/theme/main_block.png and /dev/null differ diff --git a/config/themes/default/images/theme/menu_gfx.png b/config/themes/default/images/theme/menu_gfx.png deleted file mode 100755 index ce96116..0000000 Binary files a/config/themes/default/images/theme/menu_gfx.png and /dev/null differ diff --git a/config/themes/default/images/theme/quickbuttons.png b/config/themes/default/images/theme/quickbuttons.png deleted file mode 100755 index d49de87..0000000 Binary files a/config/themes/default/images/theme/quickbuttons.png and /dev/null differ diff --git a/config/themes/default/images/theme/quote.png b/config/themes/default/images/theme/quote.png deleted file mode 100755 index 59e9c75..0000000 Binary files a/config/themes/default/images/theme/quote.png and /dev/null differ diff --git a/config/themes/default/images/theme/submit_bg.png b/config/themes/default/images/theme/submit_bg.png deleted file mode 100755 index 67cc37c..0000000 Binary files a/config/themes/default/images/theme/submit_bg.png and /dev/null differ diff --git a/config/themes/default/images/thumbnail.gif b/config/themes/default/images/thumbnail.gif deleted file mode 100755 index eb3dcd7..0000000 Binary files a/config/themes/default/images/thumbnail.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_poll.gif b/config/themes/default/images/topic/hot_poll.gif deleted file mode 100755 index fae050d..0000000 Binary files a/config/themes/default/images/topic/hot_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_poll_locked.gif b/config/themes/default/images/topic/hot_poll_locked.gif deleted file mode 100755 index 9e3cb0c..0000000 Binary files a/config/themes/default/images/topic/hot_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_poll_locked_sticky.gif b/config/themes/default/images/topic/hot_poll_locked_sticky.gif deleted file mode 100755 index 7195d53..0000000 Binary files a/config/themes/default/images/topic/hot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_poll_sticky.gif b/config/themes/default/images/topic/hot_poll_sticky.gif deleted file mode 100755 index a8eb168..0000000 Binary files a/config/themes/default/images/topic/hot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_post.gif b/config/themes/default/images/topic/hot_post.gif deleted file mode 100755 index a1c66ad..0000000 Binary files a/config/themes/default/images/topic/hot_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_post_locked.gif b/config/themes/default/images/topic/hot_post_locked.gif deleted file mode 100755 index 26a2a1a..0000000 Binary files a/config/themes/default/images/topic/hot_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_post_locked_sticky.gif b/config/themes/default/images/topic/hot_post_locked_sticky.gif deleted file mode 100755 index c548918..0000000 Binary files a/config/themes/default/images/topic/hot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/hot_post_sticky.gif b/config/themes/default/images/topic/hot_post_sticky.gif deleted file mode 100755 index 13a0750..0000000 Binary files a/config/themes/default/images/topic/hot_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/index.php b/config/themes/default/images/topic/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/images/topic/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/images/topic/my_hot_poll.gif b/config/themes/default/images/topic/my_hot_poll.gif deleted file mode 100755 index 3a131ae..0000000 Binary files a/config/themes/default/images/topic/my_hot_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_poll_locked.gif b/config/themes/default/images/topic/my_hot_poll_locked.gif deleted file mode 100755 index 51dbb55..0000000 Binary files a/config/themes/default/images/topic/my_hot_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_poll_locked_sticky.gif b/config/themes/default/images/topic/my_hot_poll_locked_sticky.gif deleted file mode 100755 index c74ab42..0000000 Binary files a/config/themes/default/images/topic/my_hot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_poll_sticky.gif b/config/themes/default/images/topic/my_hot_poll_sticky.gif deleted file mode 100755 index 98685e5..0000000 Binary files a/config/themes/default/images/topic/my_hot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_post.gif b/config/themes/default/images/topic/my_hot_post.gif deleted file mode 100755 index 9c7d295..0000000 Binary files a/config/themes/default/images/topic/my_hot_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_post_locked.gif b/config/themes/default/images/topic/my_hot_post_locked.gif deleted file mode 100755 index 1c458eb..0000000 Binary files a/config/themes/default/images/topic/my_hot_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_post_locked_sticky.gif b/config/themes/default/images/topic/my_hot_post_locked_sticky.gif deleted file mode 100755 index 9d271d2..0000000 Binary files a/config/themes/default/images/topic/my_hot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_hot_post_sticky.gif b/config/themes/default/images/topic/my_hot_post_sticky.gif deleted file mode 100755 index 0cc107c..0000000 Binary files a/config/themes/default/images/topic/my_hot_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_poll.gif b/config/themes/default/images/topic/my_normal_poll.gif deleted file mode 100755 index 5959126..0000000 Binary files a/config/themes/default/images/topic/my_normal_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_poll_locked.gif b/config/themes/default/images/topic/my_normal_poll_locked.gif deleted file mode 100755 index 0848a56..0000000 Binary files a/config/themes/default/images/topic/my_normal_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_poll_locked_sticky.gif b/config/themes/default/images/topic/my_normal_poll_locked_sticky.gif deleted file mode 100755 index c877dcb..0000000 Binary files a/config/themes/default/images/topic/my_normal_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_poll_sticky.gif b/config/themes/default/images/topic/my_normal_poll_sticky.gif deleted file mode 100755 index aef574d..0000000 Binary files a/config/themes/default/images/topic/my_normal_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_post.gif b/config/themes/default/images/topic/my_normal_post.gif deleted file mode 100755 index 0dcefa3..0000000 Binary files a/config/themes/default/images/topic/my_normal_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_post_locked.gif b/config/themes/default/images/topic/my_normal_post_locked.gif deleted file mode 100755 index 3a5e182..0000000 Binary files a/config/themes/default/images/topic/my_normal_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_post_locked_sticky.gif b/config/themes/default/images/topic/my_normal_post_locked_sticky.gif deleted file mode 100755 index ff1743f..0000000 Binary files a/config/themes/default/images/topic/my_normal_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_normal_post_sticky.gif b/config/themes/default/images/topic/my_normal_post_sticky.gif deleted file mode 100755 index b7830a6..0000000 Binary files a/config/themes/default/images/topic/my_normal_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_poll.gif b/config/themes/default/images/topic/my_veryhot_poll.gif deleted file mode 100755 index dbcbb3f..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_poll_locked.gif b/config/themes/default/images/topic/my_veryhot_poll_locked.gif deleted file mode 100755 index e66e940..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_poll_locked_sticky.gif b/config/themes/default/images/topic/my_veryhot_poll_locked_sticky.gif deleted file mode 100755 index f039468..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_poll_sticky.gif b/config/themes/default/images/topic/my_veryhot_poll_sticky.gif deleted file mode 100755 index 79fae52..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_post.gif b/config/themes/default/images/topic/my_veryhot_post.gif deleted file mode 100755 index 995e903..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_post_locked.gif b/config/themes/default/images/topic/my_veryhot_post_locked.gif deleted file mode 100755 index 3504f45..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_post_locked_sticky.gif b/config/themes/default/images/topic/my_veryhot_post_locked_sticky.gif deleted file mode 100755 index 52b8aaf..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/my_veryhot_post_sticky.gif b/config/themes/default/images/topic/my_veryhot_post_sticky.gif deleted file mode 100755 index 3f73a80..0000000 Binary files a/config/themes/default/images/topic/my_veryhot_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_poll.gif b/config/themes/default/images/topic/normal_poll.gif deleted file mode 100755 index ff8e364..0000000 Binary files a/config/themes/default/images/topic/normal_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_poll_locked.gif b/config/themes/default/images/topic/normal_poll_locked.gif deleted file mode 100755 index 812e1c3..0000000 Binary files a/config/themes/default/images/topic/normal_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_poll_locked_sticky.gif b/config/themes/default/images/topic/normal_poll_locked_sticky.gif deleted file mode 100755 index 284f3a7..0000000 Binary files a/config/themes/default/images/topic/normal_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_poll_sticky.gif b/config/themes/default/images/topic/normal_poll_sticky.gif deleted file mode 100755 index 69c13b3..0000000 Binary files a/config/themes/default/images/topic/normal_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_post.gif b/config/themes/default/images/topic/normal_post.gif deleted file mode 100755 index bcb144e..0000000 Binary files a/config/themes/default/images/topic/normal_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_post_locked.gif b/config/themes/default/images/topic/normal_post_locked.gif deleted file mode 100755 index 46938d6..0000000 Binary files a/config/themes/default/images/topic/normal_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_post_locked_sticky.gif b/config/themes/default/images/topic/normal_post_locked_sticky.gif deleted file mode 100755 index e3e5089..0000000 Binary files a/config/themes/default/images/topic/normal_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/normal_post_sticky.gif b/config/themes/default/images/topic/normal_post_sticky.gif deleted file mode 100755 index 089644f..0000000 Binary files a/config/themes/default/images/topic/normal_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_poll.gif b/config/themes/default/images/topic/veryhot_poll.gif deleted file mode 100755 index 8425653..0000000 Binary files a/config/themes/default/images/topic/veryhot_poll.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_poll_locked.gif b/config/themes/default/images/topic/veryhot_poll_locked.gif deleted file mode 100755 index ed845b9..0000000 Binary files a/config/themes/default/images/topic/veryhot_poll_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_poll_locked_sticky.gif b/config/themes/default/images/topic/veryhot_poll_locked_sticky.gif deleted file mode 100755 index 79a348b..0000000 Binary files a/config/themes/default/images/topic/veryhot_poll_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_poll_sticky.gif b/config/themes/default/images/topic/veryhot_poll_sticky.gif deleted file mode 100755 index 59e8daa..0000000 Binary files a/config/themes/default/images/topic/veryhot_poll_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_post.gif b/config/themes/default/images/topic/veryhot_post.gif deleted file mode 100755 index 3af2b5d..0000000 Binary files a/config/themes/default/images/topic/veryhot_post.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_post_locked.gif b/config/themes/default/images/topic/veryhot_post_locked.gif deleted file mode 100755 index d5b265a..0000000 Binary files a/config/themes/default/images/topic/veryhot_post_locked.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_post_locked_sticky.gif b/config/themes/default/images/topic/veryhot_post_locked_sticky.gif deleted file mode 100755 index a2b6458..0000000 Binary files a/config/themes/default/images/topic/veryhot_post_locked_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/topic/veryhot_post_sticky.gif b/config/themes/default/images/topic/veryhot_post_sticky.gif deleted file mode 100755 index dfdabe9..0000000 Binary files a/config/themes/default/images/topic/veryhot_post_sticky.gif and /dev/null differ diff --git a/config/themes/default/images/upshrink.png b/config/themes/default/images/upshrink.png deleted file mode 100755 index d42eae6..0000000 Binary files a/config/themes/default/images/upshrink.png and /dev/null differ diff --git a/config/themes/default/images/upshrink2.png b/config/themes/default/images/upshrink2.png deleted file mode 100755 index f57aa5e..0000000 Binary files a/config/themes/default/images/upshrink2.png and /dev/null differ diff --git a/config/themes/default/images/useroff.gif b/config/themes/default/images/useroff.gif deleted file mode 100755 index 6fc680d..0000000 Binary files a/config/themes/default/images/useroff.gif and /dev/null differ diff --git a/config/themes/default/images/useron.gif b/config/themes/default/images/useron.gif deleted file mode 100755 index 8391baf..0000000 Binary files a/config/themes/default/images/useron.gif and /dev/null differ diff --git a/config/themes/default/images/warn.gif b/config/themes/default/images/warn.gif deleted file mode 100755 index 90cdb7a..0000000 Binary files a/config/themes/default/images/warn.gif and /dev/null differ diff --git a/config/themes/default/images/warning_moderate.gif b/config/themes/default/images/warning_moderate.gif deleted file mode 100755 index 90cdb7a..0000000 Binary files a/config/themes/default/images/warning_moderate.gif and /dev/null differ diff --git a/config/themes/default/images/warning_mute.gif b/config/themes/default/images/warning_mute.gif deleted file mode 100755 index 60838b4..0000000 Binary files a/config/themes/default/images/warning_mute.gif and /dev/null differ diff --git a/config/themes/default/images/warning_watch.gif b/config/themes/default/images/warning_watch.gif deleted file mode 100755 index cf34eea..0000000 Binary files a/config/themes/default/images/warning_watch.gif and /dev/null differ diff --git a/config/themes/default/images/www.gif b/config/themes/default/images/www.gif deleted file mode 100755 index a7cfe20..0000000 Binary files a/config/themes/default/images/www.gif and /dev/null differ diff --git a/config/themes/default/images/www_sm.gif b/config/themes/default/images/www_sm.gif deleted file mode 100755 index a7cfe20..0000000 Binary files a/config/themes/default/images/www_sm.gif and /dev/null differ diff --git a/config/themes/default/index.php b/config/themes/default/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/index.template.php b/config/themes/default/index.template.php deleted file mode 100755 index 821d814..0000000 --- a/config/themes/default/index.template.php +++ /dev/null @@ -1,505 +0,0 @@ - - -'; - - // The ?fin20 part of this link is just here to make sure browsers don't cache it wrongly. - echo ' - '; - - // Some browsers need an extra stylesheet due to bugs/compatibility issues. - foreach (array('ie7', 'ie6', 'webkit') as $cssfix) - if ($context['browser']['is_' . $cssfix]) - echo ' - '; - - // RTL languages require an additional stylesheet. - if ($context['right_to_left']) - echo ' - '; - - // Here comes the JavaScript bits! - echo ' - - - '; - - echo ' - - ', !empty($context['meta_keywords']) ? ' - ' : '', ' - ', $context['page_title_html_safe'], ''; - - // Please don't index these Mr Robot. - if (!empty($context['robot_no_index'])) - echo ' - '; - - // Present a canonical url for search engines to prevent duplicate content in their indices. - if (!empty($context['canonical_url'])) - echo ' - '; - - // Show all the relative links, such as help, search, contents, and the like. - echo ' - - - '; - - // If RSS feeds are enabled, advertise the presence of one. - if (!empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged'])) - echo ' - '; - - // If we're viewing a topic, these should be the previous and next topics, respectively. - if (!empty($context['current_topic'])) - echo ' - - '; - - // If we're in a board, or a topic for that matter, the index will be the board's index. - if (!empty($context['current_board'])) - echo ' - '; - - // Output any remaining HTML headers. (from mods, maybe?) - echo $context['html_headers']; - - echo ' - -'; -} - -function template_body_above() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo !empty($settings['forum_width']) ? ' -
    ' : '', ' - '; - - // The main content should go here. - echo ' -
    -
    '; - - // Custom banners and shoutboxes should be placed here, before the linktree. - - // Show the navigation tree. - theme_linktree(); -} - -function template_body_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -
    -
    '; - - // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! - echo ' - ', !empty($settings['forum_width']) ? ' -
    ' : ''; -} - -function template_html_below() -{ - global $context, $settings, $options, $scripturl, $txt, $modSettings; - - echo ' -'; -} - -// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. -function theme_linktree($force_show = false) -{ - global $context, $settings, $options, $shown_linktree; - - // If linktree is empty, just return - also allow an override. - if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show)) - return; - - echo ' - '; - - $shown_linktree = true; -} - -// Show the menu up top. Something like [home] [help] [profile] [logout]... -function template_menu() -{ - global $context, $settings, $options, $scripturl, $txt; - - echo ' - '; -} - -// Generate a strip of buttons. -function template_button_strip($button_strip, $direction = 'top', $strip_options = array()) -{ - global $settings, $context, $txt, $scripturl; - - if (!is_array($strip_options)) - $strip_options = array(); - - // List the buttons in reverse order for RTL languages. - if ($context['right_to_left']) - $button_strip = array_reverse($button_strip, true); - - // Create the buttons... - $buttons = array(); - foreach ($button_strip as $key => $value) - { - if (!isset($value['test']) || !empty($context[$value['test']])) - $buttons[] = ' -
  • ' . $txt[$value['text']] . '
  • '; - } - - // No buttons? No button strip either. - if (empty($buttons)) - return; - - // Make the last one, as easy as possible. - $buttons[count($buttons) - 1] = str_replace('', '', $buttons[count($buttons) - 1]); - - echo ' - '; -} - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Admin.english.php b/config/themes/default/languages/Admin.english.php deleted file mode 100755 index 1b1cb14..0000000 --- a/config/themes/default/languages/Admin.english.php +++ /dev/null @@ -1,619 +0,0 @@ -Blank a box to remove that word.'; -$txt['admin_reserved_names'] = 'Reserved Names'; -$txt['admin_template_edit'] = 'Edit Your Forum Template'; -$txt['admin_modifications'] = 'Modification Settings'; -$txt['admin_security_moderation'] = 'Security and Moderation'; -$txt['admin_server_settings'] = 'Server Settings'; -$txt['admin_reserved_set'] = 'Set Reserved Names'; -$txt['admin_reserved_line'] = 'One reserved word per line.'; -$txt['admin_basic_settings'] = 'This page allows you to change the basic settings for your forum. Be very careful with these settings, as they may render the forum dysfunctional.'; -$txt['admin_maintain'] = 'Enable Maintenance Mode'; -$txt['admin_title'] = 'Forum Title'; -$txt['admin_url'] = 'Forum URL'; -$txt['cookie_name'] = 'Cookie Name'; -$txt['admin_webmaster_email'] = 'Webmaster Email Address'; -$txt['boarddir'] = 'SMF Directory'; -$txt['sourcesdir'] = 'Sources Directory'; -$txt['cachedir'] = 'Cache Directory'; -$txt['admin_news'] = 'Enable News'; -$txt['admin_guest_post'] = 'Enable Guest Posting'; -$txt['admin_manage_members'] = 'Members'; -$txt['admin_main'] = 'Main'; -$txt['admin_config'] = 'Configuration'; -$txt['admin_version_check'] = 'Detailed Version Check'; -$txt['admin_smffile'] = 'SMF File'; -$txt['admin_smfpackage'] = 'SMF Package'; -$txt['admin_maintenance'] = 'Maintenance'; -$txt['admin_image_text'] = 'Show buttons as images instead of text'; -$txt['admin_credits'] = 'Credits'; -$txt['admin_agreement'] = 'Show and require agreement letter when registering'; -$txt['admin_agreement_default'] = 'Default'; -$txt['admin_agreement_select_language'] = 'Language to edit'; -$txt['admin_agreement_select_language_change'] = 'Change'; -$txt['admin_delete_members'] = 'Delete Selected Members'; -$txt['admin_repair'] = 'Repair All Boards and Topics'; -$txt['admin_main_welcome'] = 'This is your "%1$s". From here, you can edit settings, maintain your forum, view logs, install packages, manage themes, and many other things.
    If you have any trouble, please look at the "Support & Credits" page. If the information there doesn\'t help you, feel free to look to us for help with the problem.
    You may also find answers to your questions or problems by clicking the %2$s symbols for more information on the related functions.'; -$txt['admin_news_desc'] = 'Please place one news item per box. BBC tags, such as [b], [i] and [u] are allowed in your news, as well as smileys. Clear a news item\'s text box to remove it.'; -$txt['administrators'] = 'Forum Administrators'; -$txt['admin_reserved_desc'] = 'Reserved names will keep members from registering certain usernames or using these words in their displayed names. Choose the options you wish to use from the bottom before submitting.'; -$txt['admin_activation_email'] = 'Send activation email to new members upon registration'; -$txt['admin_match_whole'] = 'Match whole name only. If unchecked, search within names.'; -$txt['admin_match_case'] = 'Match case. If unchecked, search will be case insensitive.'; -$txt['admin_check_user'] = 'Check username.'; -$txt['admin_check_display'] = 'Check display name.'; -$txt['admin_newsletter_send'] = 'You can email anyone from this page. The email addresses of the selected membergroups should appear below, but you may remove or add any email addresses you wish. Be sure that each address is separated in this fashion: \'address1; address2\'.'; -$txt['admin_fader_delay'] = 'Fading delay between items for the news fader'; -$txt['admin_bbc'] = 'Show BBC Buttons on Posting and PM Send Pages'; - -$txt['admin_backup_fail'] = 'Failed to make backup of Settings.php - make sure Settings_bak.php exists and is writable.'; -$txt['modSettings_info'] = 'Change or set options that control how this forum operates.'; -$txt['database_server'] = 'Database Server'; -$txt['database_user'] = 'Database Username'; -$txt['database_password'] = 'Database Password'; -$txt['database_name'] = 'Database Name'; -$txt['registration_agreement'] = 'Registration Agreement'; -$txt['registration_agreement_desc'] = 'This agreement is shown when a user registers an account on this forum and has to be accepted before users can continue registration.'; -$txt['database_prefix'] = 'Database Tables Prefix'; -$txt['errors_list'] = 'Listing of forum errors'; -$txt['errors_found'] = 'The following errors are fouling up your forum'; -$txt['errors_fix'] = 'Would you like to attempt to fix these errors?'; -$txt['errors_do_recount'] = 'All errors fixed - a salvage area has been created! Please click the button below to recount some key statistics.'; -$txt['errors_recount_now'] = 'Recount Statistics'; -$txt['errors_fixing'] = 'Fixing forum errors'; -$txt['errors_fixed'] = 'All errors fixed! Please check on any categories, boards, or topics created to decide what to do with them.'; -$txt['attachments_avatars'] = 'Attachments and Avatars'; -$txt['attachments_desc'] = 'From here you can administer the attached files on your system. You can delete attachments by size and by date from your system. Statistics on attachments are also displayed below.'; -$txt['attachment_stats'] = 'File Attachment Statistics'; -$txt['attachment_integrity_check'] = 'Attachment Integrity Check'; -$txt['attachment_integrity_check_desc'] = 'This function will check the integrity and sizes of attachments and filenames listed in the database and, if necessary, fix errors it encounters.'; -$txt['attachment_check_now'] = 'Run check now'; -$txt['attachment_pruning'] = 'Attachment Pruning'; -$txt['attachment_pruning_message'] = 'Message to add to post'; -$txt['attachment_pruning_warning'] = 'Are you sure you want to delete these attachments?\\nThis cannot be undone!'; -$txt['attachment_total'] = 'Total Attachments'; -$txt['attachmentdir_size'] = 'Total Size of Attachment Directory'; -$txt['attachmentdir_size_current'] = 'Total Size of Current Attachment Directory'; -$txt['attachment_space'] = 'Total Space Available in Attachment Directory'; -$txt['attachment_space_current'] = 'Total Space Available in Current Attachment Directory'; -$txt['attachment_options'] = 'File Attachment Options'; -$txt['attachment_log'] = 'Attachment Log'; -$txt['attachment_remove_old'] = 'Remove attachments older than'; -$txt['attachment_remove_size'] = 'Remove attachments larger than'; -$txt['attachment_name'] = 'Attachment Name'; -$txt['attachment_file_size'] = 'File Size'; -$txt['attachmentdir_size_not_set'] = 'No maximum directory size is currently set'; -$txt['attachment_delete_admin'] = '[attachment deleted by admin]'; -$txt['live'] = 'Live from Simple Machines...'; -$txt['remove_all'] = 'Remove All'; -$txt['approve_new_members'] = 'Admin must approve all new members'; -$txt['agreement_not_writable'] = 'Warning - agreement.txt is not writable, any changes you make will NOT be saved.'; - -$txt['version_check_desc'] = 'This shows you the versions of your installation\'s files versus those of the latest version. If any of these files are out of date, you should download and upgrade to the latest version at www.simplemachines.org.'; -$txt['version_check_more'] = '(more detailed)'; - -$txt['lfyi'] = 'You are unable to connect to simplemachines.org\'s latest news file.'; - -$txt['manage_calendar'] = 'Calendar'; -$txt['manage_search'] = 'Search'; - -$txt['smileys_manage'] = 'Smileys and Message Icons'; -$txt['smileys_manage_info'] = 'Install new smiley sets, add smileys to existing ones, or manage your message icons.'; -$txt['package_info'] = 'Install new features or modify existing ones with this interface.'; -$txt['theme_admin'] = 'Themes and Layout'; -$txt['theme_admin_info'] = 'Setup and manage your themes and set or reset theme options.'; -$txt['registration_center'] = 'Registration'; -$txt['member_center_info'] = 'View the member list, search for members and manage not-yet-approved members and members who haven\'t activated their account yet.'; - -$txt['viewmembers_name'] = 'Username (display name)'; -$txt['viewmembers_online'] = 'Last Online'; -$txt['viewmembers_today'] = 'Today'; -$txt['viewmembers_day_ago'] = 'day ago'; -$txt['viewmembers_days_ago'] = 'days ago'; - -$txt['display_name'] = 'Display name'; -$txt['email_address'] = 'Email Address'; -$txt['ip_address'] = 'IP address'; -$txt['member_id'] = 'ID'; - -$txt['unknown'] = 'unknown'; -$txt['security_wrong'] = 'Administration login attempt!' . "\n" . 'Referer: %1$s' . "\n" . 'User agent: %2$s' . "\n" . 'IP: %3$s'; - -$txt['email_as_html'] = 'Send in HTML format. (with this you can put normal HTML in the email.)'; -$txt['email_parsed_html'] = 'Add <br />s and &nbsp;s to this message.'; -$txt['email_variables'] = 'In this message you can use a few "variables". Click here for more information.'; -$txt['email_force'] = 'Send this to members even if they have chosen not to receive announcements.'; -$txt['email_as_pms'] = 'Send this to these groups using personal messages.'; -$txt['email_continue'] = 'Continue'; -$txt['email_done'] = 'done.'; - -$txt['ban_title'] = 'Ban List'; -$txt['ban_ip'] = 'IP banning: (e.g. 192.168.12.213 or 128.0.*.*) - one entry per line'; -$txt['ban_email'] = 'Email banning: (e.g. badguy@somewhere.com) - one entry per line'; -$txt['ban_username'] = 'User name banning: (e.g. l33tuser) - one entry per line'; - -$txt['ban_description'] = 'Here you can ban troublesome people either by IP, hostname, username, or email.'; -$txt['ban_add_new'] = 'Add New Ban'; -$txt['ban_banned_entity'] = 'Banned entity'; -$txt['ban_on_ip'] = 'Ban on IP (e.g. 192.168.10-20.*)'; -$txt['ban_on_hostname'] = 'Ban on Hostname (e.g. *.mil)'; -$txt['ban_on_email'] = 'Ban on Email Address (e.g. *@badsite.com)'; -$txt['ban_on_username'] = 'Ban on Username'; -$txt['ban_notes'] = 'Notes'; -$txt['ban_restriction'] = 'Restriction'; -$txt['ban_full_ban'] = 'Full ban'; -$txt['ban_partial_ban'] = 'Partial ban'; -$txt['ban_cannot_post'] = 'Cannot post'; -$txt['ban_cannot_register'] = 'Cannot register'; -$txt['ban_cannot_login'] = 'Cannot login'; -$txt['ban_add'] = 'Add'; -$txt['ban_edit_list'] = 'Ban List'; -$txt['ban_type'] = 'Ban Type'; -$txt['ban_days'] = 'day(s)'; -$txt['ban_will_expire_within'] = 'Ban will expire after'; -$txt['ban_added'] = 'Added'; -$txt['ban_expires'] = 'Expires'; -$txt['ban_hits'] = 'Hits'; -$txt['ban_actions'] = 'Actions'; -$txt['ban_expiration'] = 'Expiration'; -$txt['ban_reason_desc'] = 'Reason for ban, to be displayed to banned member.'; -$txt['ban_notes_desc'] = 'Notes that may assist other staff members.'; -$txt['ban_remove_selected'] = 'Remove selected'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['ban_remove_selected_confirm'] = 'Are you sure you want to remove the selected bans?'; -$txt['ban_modify'] = 'Modify'; -$txt['ban_name'] = 'Ban name'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['ban_edit'] = 'Edit ban'; -$txt['ban_add_notes'] = 'Note: after creating the above ban, you can add additional entries that trigger the ban, like IP addresses, hostnames and email addresses.'; -$txt['ban_expired'] = 'Expired / disabled'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['ban_restriction_empty'] = 'No restriction selected.'; - -$txt['ban_triggers'] = 'Triggers'; -$txt['ban_add_trigger'] = 'Add ban trigger'; -$txt['ban_add_trigger_submit'] = 'Add'; -$txt['ban_edit_trigger'] = 'Modify'; -$txt['ban_edit_trigger_title'] = 'Edit ban trigger'; -$txt['ban_edit_trigger_submit'] = 'Modify'; -$txt['ban_remove_selected_triggers'] = 'Remove selected ban triggers'; -$txt['ban_no_entries'] = 'There are currently no bans in effect.'; - -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['ban_remove_selected_triggers_confirm'] = 'Are you sure you want to remove the selected ban triggers?'; -$txt['ban_trigger_browse'] = 'Browse Ban Triggers'; -$txt['ban_trigger_browse_description'] = 'This screen shows all banned entities grouped by IP address, hostname, email address and username.'; - -$txt['ban_log'] = 'Ban Log'; -$txt['ban_log_description'] = 'The ban log shows all attempts to enter the forum by banned users (\'full ban\' and \'cannot register\' ban only).'; -$txt['ban_log_no_entries'] = 'There are currently no ban log entries.'; -$txt['ban_log_ip'] = 'IP'; -$txt['ban_log_email'] = 'Email address'; -$txt['ban_log_member'] = 'Member'; -$txt['ban_log_date'] = 'Date'; -$txt['ban_log_remove_all'] = 'Remove all'; -$txt['ban_log_remove_all_confirm'] = 'Are you sure you want to delete all ban log entries?'; -$txt['ban_log_remove_selected'] = 'Remove selected'; -$txt['ban_log_remove_selected_confirm'] = 'Are you sure you want to delete all selected ban log entries?'; -$txt['ban_no_triggers'] = 'There are currently no ban triggers.'; - -$txt['settings_not_writable'] = 'These settings cannot be changed because Settings.php is read only.'; - -$txt['maintain_title'] = 'Forum Maintenance'; -$txt['maintain_info'] = 'Optimize tables, make backups, check for errors, and prune boards with these tools.'; -$txt['maintain_sub_database'] = 'Database'; -$txt['maintain_sub_routine'] = 'Routine'; -$txt['maintain_sub_members'] = 'Members'; -$txt['maintain_sub_topics'] = 'Topics'; -$txt['maintain_done'] = 'The maintenance task \'%1$s\' was executed successfully.'; -$txt['maintain_no_errors'] = 'Congratulations, no errors found! Thanks for checking.'; - -$txt['maintain_tasks'] = 'Scheduled Tasks'; -$txt['maintain_tasks_desc'] = 'Manage all the tasks scheduled by SMF.'; - -$txt['scheduled_log'] = 'Task Log'; -$txt['scheduled_log_desc'] = 'Lists logs of the tasks that have be ran.'; -$txt['admin_log'] = 'Administration Log'; -$txt['admin_log_desc'] = 'Lists administrative tasks that have been performed by admins of your forum.'; -$txt['moderation_log'] = 'Moderation Log'; -$txt['moderation_log_desc'] = 'Lists moderation activities that have been performed by moderators on your forum.'; -$txt['spider_log_desc'] = 'Review the entries related to search engine spider activity on your forum.'; -$txt['pruning_log_desc'] = 'Use these tools to prune older entries in the various logs.'; - -$txt['mailqueue_title'] = 'Mail'; - -$txt['db_error_send'] = 'Send emails on database connection error'; -$txt['db_persist'] = 'Use a persistent connection'; -$txt['ssi_db_user'] = 'Database username to use in SSI mode'; -$txt['ssi_db_passwd'] = 'Database password to use in SSI mode'; - -$txt['default_language'] = 'Default Forum Language'; - -$txt['maintenance_subject'] = 'Subject for display'; -$txt['maintenance_message'] = 'Message for display'; - -$txt['errlog_desc'] = 'The error log tracks every error encountered by your forum. To delete any errors from the database, mark the checkbox, and click the %1$s button at the bottom of the page.'; -$txt['errlog_no_entries'] = 'There are currently no error log entries.'; - -$txt['theme_settings'] = 'Theme Settings'; -$txt['theme_current_settings'] = 'Current Theme'; - -$txt['dvc_your'] = 'Your Version'; -$txt['dvc_current'] = 'Current Version'; -$txt['dvc_sources'] = 'Sources'; -$txt['dvc_default'] = 'Default Templates'; -$txt['dvc_templates'] = 'Current Templates'; -$txt['dvc_languages'] = 'Language Files'; - -$txt['smileys_default_set_for_theme'] = 'Select default smiley set for this theme'; -$txt['smileys_no_default'] = '(use global default smiley set)'; - -$txt['censor_test'] = 'Test Censored Words'; -$txt['censor_test_save'] = 'Test'; -$txt['censor_case'] = 'Ignore case when censoring'; -$txt['censor_whole_words'] = 'Check only whole words'; - -$txt['admin_confirm_password'] = '(confirm)'; -$txt['admin_incorrect_password'] = 'Incorrect Password'; - -$txt['date_format'] = '(YYYY-MM-DD)'; -$txt['undefined_gender'] = 'Undefined'; -$txt['age'] = 'User age'; -$txt['activation_status'] = 'Activation Status'; -$txt['activated'] = 'Activated'; -$txt['not_activated'] = 'Not activated'; -$txt['primary'] = 'Primary'; -$txt['additional'] = 'Additional'; -$txt['messenger_address'] = 'Messenger Address'; -$txt['wild_cards_allowed'] = 'wildcard characters * and ? are allowed'; -$txt['search_for'] = 'Search for'; -$txt['member_part_of_these_membergroups'] = 'Member is part of these membergroups'; -$txt['membergroups'] = 'Membergroups'; -$txt['confirm_delete_members'] = 'Are you sure you want to delete the selected members?'; - -$txt['support_credits_title'] = 'Support and Credits'; -$txt['support_credits_info'] = 'Get support on common issues and version information to give if you have problems.'; -$txt['support_title'] = 'Support Information'; -$txt['support_versions_current'] = 'Current SMF version'; -$txt['support_versions_forum'] = 'Forum version'; -$txt['support_versions_php'] = 'PHP version'; -$txt['support_versions_db'] = '%1$s version'; -$txt['support_versions_server'] = 'Server version'; -$txt['support_versions_gd'] = 'GD version'; -$txt['support_versions'] = 'Version Information'; -$txt['support_resources'] = 'Support Resources'; -$txt['support_resources_p1'] = 'Our Online Manual provides the main documentation for SMF. The SMF Online Manual has many documents to help answer support questions and explain Features, Settings, Themes, Packages, etc. The Online Manual documents each area of SMF thoroughly and should answer most questions quickly.'; -$txt['support_resources_p2'] = 'If you can\'t find the answers to your questions in the Online Manual, you may want to search our Support Community or ask for assistance in either our English or one of our many international support boards. The SMF Support Community can be used for support, customization, and many other things such as discussing SMF, finding a host, and discussing administrative issues with other forum administrators.'; - -$txt['support_latest'] = 'Common Support & Issues'; -$txt['support_latest_fetch'] = 'Retrieving support information...'; - -$txt['edit_permissions_info'] = 'Change restrictions and available features globally or to specific boards.'; -$txt['membergroups_members'] = 'Regular Members'; -$txt['membergroups_guests'] = 'Guests'; -$txt['membergroups_guests_na'] = 'n/a'; -$txt['membergroups_add_group'] = 'Add group'; -$txt['membergroups_permissions'] = 'Permissions'; - -$txt['permitgroups_restrict'] = 'Restrictive'; -$txt['permitgroups_standard'] = 'Standard'; -$txt['permitgroups_moderator'] = 'Moderator'; -$txt['permitgroups_maintenance'] = 'Maintenance'; -$txt['permitgroups_inherit'] = 'Inherit'; - -$txt['confirm_delete_attachments_all'] = 'Are you sure you want to delete all attachments?'; -$txt['confirm_delete_attachments'] = 'Are you sure you want to delete the selected attachments?'; -$txt['attachment_manager_browse_files'] = 'Browse Files'; -$txt['attachment_manager_repair'] = 'Maintain'; -$txt['attachment_manager_avatars'] = 'Avatars'; -$txt['attachment_manager_attachments'] = 'Attachments'; -$txt['attachment_manager_thumbs'] = 'Thumbnails'; -$txt['attachment_manager_last_active'] = 'Last Active'; -$txt['attachment_manager_member'] = 'Member'; -$txt['attachment_manager_avatars_older'] = 'Remove avatars from members not active for more than'; -$txt['attachment_manager_total_avatars'] = 'Total Avatars'; - -$txt['attachment_manager_avatars_no_entries'] = 'There are currently no avatars.'; -$txt['attachment_manager_attachments_no_entries'] = 'There are currently no attachments.'; -$txt['attachment_manager_thumbs_no_entries'] = 'There are currently no thumbnails.'; - -$txt['attachment_manager_settings'] = 'Attachment Settings'; -$txt['attachment_manager_avatar_settings'] = 'Avatar Settings'; -$txt['attachment_manager_browse'] = 'Browse Files'; -$txt['attachment_manager_maintenance'] = 'File Maintenance'; -$txt['attachment_manager_save'] = 'Save'; - -$txt['attachmentEnable'] = 'Attachments mode'; -$txt['attachmentEnable_deactivate'] = 'Disable attachments'; -$txt['attachmentEnable_enable_all'] = 'Enable all attachments'; -$txt['attachmentEnable_disable_new'] = 'Disable new attachments'; -$txt['attachmentCheckExtensions'] = 'Check attachment\'s extension'; -$txt['attachmentExtensions'] = 'Allowed attachment extensions'; -$txt['attachmentRecodeLineEndings'] = 'Recode line endings in textual attachments'; -$txt['attachmentShowImages'] = 'Display image attachments as pictures under post'; -$txt['attachmentEncryptFilenames'] = 'Encrypt stored filenames'; -$txt['attachmentUploadDir'] = 'Attachments directory'; -$txt['attachmentUploadDir_multiple'] = 'Attachments directory'; -$txt['attachmentUploadDir_multiple_configure'] = '[Configure multiple attachment directories]'; -$txt['attachmentDirSizeLimit'] = 'Max attachment folder space
    (0 for no limit)
    '; -$txt['attachmentPostLimit'] = 'Max attachment size per post
    (0 for no limit)
    '; -$txt['attachmentSizeLimit'] = 'Max size per attachment
    (0 for no limit)
    '; -$txt['attachmentNumPerPostLimit'] = 'Max number of attachments per post
    (0 for no limit)
    '; -$txt['attachment_gd_warning'] = 'The GD module is currently not installed. Image re-encoding is not possible.'; -$txt['attachment_image_reencode'] = 'Re-encode potentially dangerous image attachments'; -$txt['attachment_image_reencode_note'] = '(requires GD module)'; -$txt['attachment_image_paranoid_warning'] = 'The extensive security checks can result in a large number of rejected attachments.'; -$txt['attachment_image_paranoid'] = 'Perform extensive security checks on uploaded image attachments'; -$txt['attachmentThumbnails'] = 'Resize images when showing under posts'; -$txt['attachment_thumb_png'] = 'Save thumbnails as PNG'; -$txt['attachmentThumbWidth'] = 'Maximum width of thumbnails'; -$txt['attachmentThumbHeight'] = 'Maximum height of thumbnails'; - -$txt['attach_dir_does_not_exist'] = 'Does Not Exist'; -$txt['attach_dir_not_writable'] = 'Not Writable'; -$txt['attach_dir_files_missing'] = 'Files Missing (Repair)'; -$txt['attach_dir_unused'] = 'Unused'; -$txt['attach_dir_ok'] = 'OK'; - -$txt['attach_path_manage'] = 'Manage Attachment Paths'; -$txt['attach_paths'] = 'Attachment Paths'; -$txt['attach_current_dir'] = 'Current Directory'; -$txt['attach_path'] = 'Path'; -$txt['attach_current_size'] = 'Current Size (KB)'; -$txt['attach_num_files'] = 'Files'; -$txt['attach_dir_status'] = 'Status'; -$txt['attach_add_path'] = 'Add Path'; -$txt['attach_path_current_bad'] = 'Invalid current attachment path.'; - -$txt['mods_cat_avatars'] = 'Avatars'; -$txt['avatar_directory'] = 'Avatars directory'; -$txt['avatar_url'] = 'Avatars URL'; -$txt['avatar_dimension_note'] = '(0 = no limit)'; -$txt['avatar_max_width_external'] = 'Maximum width of external avatar
    (0 for no limit)
    '; -$txt['avatar_max_height_external'] = 'Maximum height of external avatar
    (0 for no limit)
    '; -$txt['avatar_action_too_large'] = 'If the avatar is too large...'; -$txt['option_refuse'] = 'Refuse it'; -$txt['option_html_resize'] = 'Let the HTML resize it'; -$txt['option_js_resize'] = 'Resize it with JavaScript'; -$txt['option_download_and_resize'] = 'Download and resize it (requires GD module)'; -$txt['avatar_max_width_upload'] = 'Maximum width of uploaded avatar
    (0 for no limit)
    '; -$txt['avatar_max_height_upload'] = 'Maximum height of uploaded avatar
    (0 for no limit)
    '; -$txt['avatar_resize_upload'] = 'Resize oversized large avatars'; -$txt['avatar_resize_upload_note'] = '(requires GD module)'; -$txt['avatar_download_png'] = 'Use PNG for resized avatars'; -$txt['avatar_gd_warning'] = 'The GD module is currently not installed. Some avatar features are disabled.'; -$txt['avatar_external'] = 'External avatars'; -$txt['avatar_upload'] = 'Uploadable avatars'; -$txt['avatar_server_stored'] = 'Server-stored avatars'; -$txt['avatar_server_stored_groups'] = 'Membergroups allowed to select a server stored avatar'; -$txt['avatar_upload_groups'] = 'Membergroups allowed to upload an avatar to the server'; -$txt['avatar_external_url_groups'] = 'Membergroups allowed to select an external URL'; -$txt['avatar_select_permission'] = 'Select permissions for each group'; -$txt['avatar_download_external'] = 'Download avatar at given URL'; -$txt['custom_avatar_enabled'] = 'Upload avatars to...'; -$txt['option_attachment_dir'] = 'Attachment directory'; -$txt['option_specified_dir'] = 'Specific directory...'; -$txt['custom_avatar_dir'] = 'Upload directory'; -$txt['custom_avatar_dir_desc'] = 'This should not be the same as the server-stored directory.'; -$txt['custom_avatar_url'] = 'Upload URL'; -$txt['custom_avatar_check_empty'] = 'The custom avatar directory you have specified may be empty or invalid. Please ensure these settings are correct.'; -$txt['avatar_reencode'] = 'Re-encode potentially dangerous avatars'; -$txt['avatar_reencode_note'] = '(requires GD module)'; -$txt['avatar_paranoid_warning'] = 'The extensive security checks can result in a large number of rejected avatars.'; -$txt['avatar_paranoid'] = 'Perform extensive security checks on uploaded avatars'; - -$txt['repair_attachments'] = 'Maintain Attachments'; -$txt['repair_attachments_complete'] = 'Maintenance Complete'; -$txt['repair_attachments_complete_desc'] = 'All selected errors have now been corrected'; -$txt['repair_attachments_no_errors'] = 'No errors were found!'; -$txt['repair_attachments_error_desc'] = 'The follow errors were found during maintenance. Check the box next to the errors you wish to fix and hit continue.'; -$txt['repair_attachments_continue'] = 'Continue'; -$txt['repair_attachments_cancel'] = 'Cancel'; -$txt['attach_repair_missing_thumbnail_parent'] = '%1$d thumbnails are missing a parent attachment'; -$txt['attach_repair_parent_missing_thumbnail'] = '%1$d parents are flagged as having thumbnails but don\'t'; -$txt['attach_repair_file_missing_on_disk'] = '%1$d attachments/avatars have an entry but no longer exist on disk'; -$txt['attach_repair_file_wrong_size'] = '%1$d attachments/avatars are being reported as the wrong filesize'; -$txt['attach_repair_file_size_of_zero'] = '%1$d attachments/avatars have a size of zero on disk. (These will be deleted)'; -$txt['attach_repair_attachment_no_msg'] = '%1$d attachments no longer have a message associated with them'; -$txt['attach_repair_avatar_no_member'] = '%1$d avatars no longer have a member associated with them'; -$txt['attach_repair_wrong_folder'] = '%1$d attachments are in the wrong folder'; - -$txt['news_title'] = 'News and Newsletters'; -$txt['news_settings_desc'] = 'Here you can change the settings and permissions related to news and newsletters.'; -$txt['news_settings_submit'] = 'Save'; -$txt['news_mailing_desc'] = 'From this menu you can send messages to all members who\'ve registered and entered their email addresses. You may edit the distribution list, or send messages to all. Useful for important update/news information.'; -$txt['groups_edit_news'] = 'Groups allowed to edit news items'; -$txt['groups_send_mail'] = 'Groups allowed to send out forum newsletters'; -$txt['xmlnews_enable'] = 'Enable XML/RSS news'; -$txt['xmlnews_maxlen'] = 'Maximum message length:
    (0 to disable, bad idea.)
    '; -$txt['editnews_clickadd'] = 'Click here to add another item.'; -$txt['editnews_remove_selected'] = 'Remove selected'; -$txt['editnews_remove_confirm'] = 'Are you sure you want to delete the selected news items?'; -$txt['censor_clickadd'] = 'Click here to add another word.'; - -$txt['layout_controls'] = 'Forum'; -$txt['logs'] = 'Logs'; -$txt['generate_reports'] = 'Reports'; - -$txt['update_available'] = 'Update Available!'; -$txt['update_message'] = 'You\'re using an outdated version of SMF, which contains some bugs which have since been fixed. - It is recommended that you update your forum to the latest version as soon as possible. It only takes a minute!'; - -$txt['manageposts'] = 'Posts and Topics'; -$txt['manageposts_title'] = 'Manage Posts and Topics'; -$txt['manageposts_description'] = 'Here you can manage all settings related to topics and posts.'; - -$txt['manageposts_seconds'] = 'seconds'; -$txt['manageposts_minutes'] = 'minutes'; -$txt['manageposts_characters'] = 'characters'; -$txt['manageposts_days'] = 'days'; -$txt['manageposts_posts'] = 'posts'; -$txt['manageposts_topics'] = 'topics'; - -$txt['manageposts_settings'] = 'Post Settings'; -$txt['manageposts_settings_description'] = 'Here you can set everything related to posts and posting.'; -$txt['manageposts_settings_submit'] = 'Save'; - -$txt['manageposts_bbc_settings'] = 'Bulletin Board Code'; -$txt['manageposts_bbc_settings_description'] = 'Bulletin board code can be used to add markup to forum messages. For example, to highlight the word \'house\' you can type [b]house[/b]. All Bulletin board code tags are surrounded by square brackets (\'[\' and \']\').'; -$txt['manageposts_bbc_settings_title'] = 'Bulletin Board Code Settings'; -$txt['manageposts_bbc_settings_submit'] = 'Save'; - -$txt['manageposts_topic_settings'] = 'Topic Settings'; -$txt['manageposts_topic_settings_description'] = 'Here you can set all settings involving topics.'; -$txt['manageposts_topic_settings_submit'] = 'Save'; - -$txt['removeNestedQuotes'] = 'Remove nested quotes when quoting'; -$txt['enableEmbeddedFlash'] = 'Embed flash into posts'; -$txt['enableEmbeddedFlash_warning'] = 'may be a security risk!'; -$txt['enableSpellChecking'] = 'Enable spell checking'; -$txt['enableSpellChecking_warning'] = 'this does not work on all servers!'; -$txt['disable_wysiwyg'] = 'Disable WYSIWYG editor'; -$txt['max_messageLength'] = 'Maximum allowed post size'; -$txt['max_messageLength_zero'] = '0 for no max.'; -$txt['fixLongWords'] = 'Break up words with more letters than'; -$txt['fixLongWords_zero'] = '0 to disable.'; -$txt['fixLongWords_warning'] = 'this does not work on all servers!'; -$txt['topicSummaryPosts'] = 'Posts to show on topic summary'; -$txt['spamWaitTime'] = 'Time required between posts from the same IP'; -$txt['edit_wait_time'] = 'Courtesy edit wait time'; -$txt['edit_disable_time'] = 'Maximum time after posting to allow edit'; -$txt['edit_disable_time_zero'] = '0 to disable'; - -$txt['enableBBC'] = 'Enable bulletin board code (BBC)'; -$txt['enablePostHTML'] = 'Enable basic HTML in posts'; -$txt['autoLinkUrls'] = 'Automatically link posted URLs'; -$txt['disabledBBC'] = 'Enabled BBC tags'; -$txt['bbcTagsToUse'] = 'Enabled BBC tags'; -$txt['bbcTagsToUse_select'] = 'Select the tags allowed to be used'; -$txt['bbcTagsToUse_select_all'] = 'Select all tags'; - -$txt['enableStickyTopics'] = 'Enable sticky topics'; -$txt['enableParticipation'] = 'Enable participation icons'; -$txt['oldTopicDays'] = 'Time before topic is warned as old on reply'; -$txt['oldTopicDays_zero'] = '0 to disable'; -$txt['defaultMaxTopics'] = 'Number of topics per page in the message index'; -$txt['defaultMaxMessages'] = 'Number of posts per page in a topic page'; -$txt['hotTopicPosts'] = 'Number of posts for a hot topic'; -$txt['hotTopicVeryPosts'] = 'Number of posts for a very hot topic'; -$txt['enableAllMessages'] = 'Max topic size to show "All" posts'; -$txt['enableAllMessages_zero'] = '0 to never show "All"'; -$txt['disableCustomPerPage'] = 'Disable user defined topic/message count per page'; -$txt['enablePreviousNext'] = 'Enable previous/next topic links'; - -$txt['not_done_title'] = 'Not done yet!'; -$txt['not_done_reason'] = 'To avoid overloading your server, the process has been temporarily paused. It should automatically continue in a few seconds. If it doesn\'t, please click continue below.'; -$txt['not_done_continue'] = 'Continue'; - -$txt['general_settings'] = 'General'; -$txt['database_paths_settings'] = 'Database and Paths'; -$txt['cookies_sessions_settings'] = 'Cookies and Sessions'; -$txt['caching_settings'] = 'Caching'; -$txt['load_balancing_settings'] = 'Load Balancing'; - -$txt['language_configuration'] = 'Languages'; -$txt['language_description'] = 'This section allows you to edit languages installed on your forum, download new ones from the Simple Machines website. You may also edit language-related settings here.'; -$txt['language_edit'] = 'Edit Languages'; -$txt['language_add'] = 'Add Language'; -$txt['language_settings'] = 'Settings'; - -$txt['advanced'] = 'Advanced'; -$txt['simple'] = 'Simple'; - -$txt['admin_news_select_recipients'] = 'Please select who should receive a copy of the newsletter'; -$txt['admin_news_select_group'] = 'Membergroups'; -$txt['admin_news_select_group_desc'] = 'Select the groups to receive this newsletter.'; -$txt['admin_news_select_members'] = 'Members'; -$txt['admin_news_select_members_desc'] = 'Additional members to receive newsletter.'; -$txt['admin_news_select_excluded_members'] = 'Excluded Members'; -$txt['admin_news_select_excluded_members_desc'] = 'Members who should not receive newsletter.'; -$txt['admin_news_select_excluded_groups'] = 'Excluded Groups'; -$txt['admin_news_select_excluded_groups_desc'] = 'Select groups who should definitely not receive the newsletter.'; -$txt['admin_news_select_email'] = 'Email Addresses'; -$txt['admin_news_select_email_desc'] = 'A semi-colon separated list of email addresses which should be sent newsletter. (i.e. address1; address2)'; -$txt['admin_news_select_override_notify'] = 'Override Notification Settings'; -// Use entities in below. -$txt['admin_news_cannot_pm_emails_js'] = 'You cannot send a personal message to an email address. If you continue all entered email addresses will be ignored.\\n\\nAre you sure you wish to do this?'; - -$txt['mailqueue_browse'] = 'Browse Queue'; -$txt['mailqueue_settings'] = 'Settings'; - -$txt['admin_search'] = 'Quick Search'; -$txt['admin_search_type_internal'] = 'Task/Setting'; -$txt['admin_search_type_member'] = 'Member'; -$txt['admin_search_type_online'] = 'Online Manual'; -$txt['admin_search_go'] = 'Go'; -$txt['admin_search_results'] = 'Search Results'; -$txt['admin_search_results_desc'] = 'Results for search: "%1$s"'; -$txt['admin_search_results_again'] = 'Search again'; -$txt['admin_search_results_none'] = 'No results found!'; - -$txt['admin_search_section_sections'] = 'Section'; -$txt['admin_search_section_settings'] = 'Setting'; - -$txt['core_settings_title'] = 'Core Features'; -$txt['mods_cat_features'] = 'General'; -$txt['mods_cat_security_general'] = 'General'; -$txt['antispam_title'] = 'Anti-Spam'; -$txt['mods_cat_modifications_misc'] = 'Miscellaneous'; -$txt['mods_cat_layout'] = 'Layout'; -$txt['karma'] = 'Karma'; -$txt['moderation_settings_short'] = 'Moderation'; -$txt['signature_settings_short'] = 'Signatures'; -$txt['custom_profile_shorttitle'] = 'Profile Fields'; -$txt['pruning_title'] = 'Log Pruning'; - -$txt['boardsEdit'] = 'Modify Boards'; -$txt['mboards_new_cat'] = 'Create New Category'; -$txt['manage_holidays'] = 'Manage Holidays'; -$txt['calendar_settings'] = 'Calendar Settings'; -$txt['search_weights'] = 'Weights'; -$txt['search_method'] = 'Search Method'; - -$txt['smiley_sets'] = 'Smiley Sets'; -$txt['smileys_add'] = 'Add Smiley'; -$txt['smileys_edit'] = 'Edit Smileys'; -$txt['smileys_set_order'] = 'Set Smiley Order'; -$txt['icons_edit_message_icons'] = 'Edit Message Icons'; - -$txt['membergroups_new_group'] = 'Add Membergroup'; -$txt['membergroups_edit_groups'] = 'Edit Membergroups'; -$txt['permissions_groups'] = 'General Permissions'; -$txt['permissions_boards'] = 'Board Permissions'; -$txt['permissions_profiles'] = 'Edit Profiles'; -$txt['permissions_post_moderation'] = 'Post Moderation'; - -$txt['browse_packages'] = 'Browse Packages'; -$txt['download_packages'] = 'Download Packages'; -$txt['installed_packages'] = 'Installed Packages'; -$txt['package_file_perms'] = 'File Permissions'; -$txt['package_settings'] = 'Options'; -$txt['themeadmin_admin_title'] = 'Manage and Install'; -$txt['themeadmin_list_title'] = 'Theme Settings'; -$txt['themeadmin_reset_title'] = 'Member Options'; -$txt['themeadmin_edit_title'] = 'Modify Themes'; -$txt['admin_browse_register_new'] = 'Register New Member'; - -$txt['search_engines'] = 'Search Engines'; -$txt['spiders'] = 'Spiders'; -$txt['spider_logs'] = 'Spider Log'; -$txt['spider_stats'] = 'Stats'; - -$txt['paid_subscriptions'] = 'Paid Subscriptions'; -$txt['paid_subs_view'] = 'View Subscriptions'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/EmailTemplates.english.php b/config/themes/default/languages/EmailTemplates.english.php deleted file mode 100755 index bade6a4..0000000 --- a/config/themes/default/languages/EmailTemplates.english.php +++ /dev/null @@ -1,1062 +0,0 @@ - array( - /* - @additional_params: resend_activate_message - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - ACTIVATIONLINK: The url link to activate the member's account. - ACTIVATIONCODE: The code needed to activate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - FORGOTPASSWORDLINK: The url to the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. If you forget your password, you can reset it by visiting {FORGOTPASSWORDLINK}. - -Before you can login, you must first activate your account by selecting the following link: - -{ACTIVATIONLINK} - -Should you have any problems with the activation, please visit {ACTIVATIONLINKWITHOUTCODE} and enter the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - - 'resend_pending_message' => array( - /* - @additional_params: resend_pending_message - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Your registration request at {FORUMNAME} has been received, {REALNAME}. - -The username you registered with was {USERNAME}. - -Before you can login and start using the forum, your request will be reviewed and approved. When this happens, you will receive another email from this address. - -{REGARDS}', - ), - 'mc_group_approve' => array( - /* - @additional_params: mc_group_approve - USERNAME: The user name for the member receiving the email. - GROUPNAME: The name of the membergroup that the user was accepted into. - @description: The request to join a particular membergroup has been accepted. - */ - 'subject' => 'Group Membership Approval', - 'body' => '{USERNAME}, - -We\'re pleased to notify you that your application to join the "{GROUPNAME}" group at {FORUMNAME} has been accepted, and your account has been updated to include this new membergroup. - -{REGARDS}', - ), - 'mc_group_reject' => array( - /* - @additional_params: mc_group_reject - USERNAME: The user name for the member receiving the email. - GROUPNAME: The name of the membergroup that the user was rejected from. - @description: The request to join a particular membergroup has been rejected. - */ - 'subject' => 'Group Membership Rejection', - 'body' => '{USERNAME}, - -We\'re sorry to notify you that your application to join the "{GROUPNAME}" group at {FORUMNAME} has been rejected. - -{REGARDS}', - ), - 'mc_group_reject_reason' => array( - /* - @additional_params: mc_group_reject_reason - USERNAME: The user name for the member receiving the email. - GROUPNAME: The name of the membergroup that the user was rejected from. - REASON: Reason for the rejection. - @description: The request to join a particular membergroup has been rejected with a reason given. - */ - 'subject' => 'Group Membership Rejection', - 'body' => '{USERNAME}, - -We\'re sorry to notify you that your application to join the "{GROUPNAME}" group at {FORUMNAME} has been rejected. - -This is due to the following reason: {REASON} - -{REGARDS}', - ), - 'admin_approve_accept' => array( - /* - @additional_params: admin_approve_accept - NAME: The display name of the member. - USERNAME: The user name for the member receiving the email. - PROFILELINK: The URL of the profile page. - FORGOTPASSWORDLINK: The URL of the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Welcome, {NAME}! - -Your account has been activated manually by the admin and you can now login and post. Your username is: {USERNAME}. If you forget your password, you can change it at {FORGOTPASSWORDLINK}. - -{REGARDS}', - ), - 'admin_approve_activation' => array( - /* - @additional_params: admin_approve_activation - USERNAME: The user name for the member receiving the email. - ACTIVATIONLINK: The url link to activate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - ACTIVATIONCODE: The activation code. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Welcome, {USERNAME}! - -Your account on {FORUMNAME} has been approved by the forum administrator. Before you can login, you must first activate your account by selecting the following link: - -{ACTIVATIONLINK} - -Should you have any problems with the activation, please visit {ACTIVATIONLINKWITHOUTCODE} and enter the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'admin_approve_reject' => array( - /* - @additional_params: admin_approve_reject - USERNAME: The user name for the member receiving the email. - @description: - */ - 'subject' => 'Registration Rejected', - 'body' => '{USERNAME}, - -Regrettably, your application to join {FORUMNAME} has been rejected. - -{REGARDS}', - ), - 'admin_approve_delete' => array( - /* - @additional_params: admin_approve_delete - USERNAME: The user name for the member receiving the email. - @description: - */ - 'subject' => 'Account Deleted', - 'body' => '{USERNAME}, - -Your account on {FORUMNAME} has been deleted. This may be because you never activated your account, in which case you should be able to register again. - -{REGARDS}', - ), - 'admin_approve_remind' => array( - /* - @additional_params: admin_approve_remind - USERNAME: The user name for the member receiving the email. - ACTIVATIONLINK: The url link to activate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - ACTIVATIONCODE: The activation code. - @description: - */ - 'subject' => 'Registration Reminder', - 'body' => '{USERNAME}, -You still have not activated your account at {FORUMNAME}. - -Please use the link below to activate your account: -{ACTIVATIONLINK} - -Should you have any problems with the activation, please visit {ACTIVATIONLINKWITHOUTCODE} and enter the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'admin_register_activate' => array( - /* - @additional_params: - USERNAME: The user name for the member receiving the email. - ACTIVATIONLINK: The url link to activate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - ACTIVATIONCODE: The activation code. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME} and your password is {PASSWORD}. - -Before you can login, you must first activate your account by selecting the following link: - -{ACTIVATIONLINK} - -Should you have any problems with the activation, please visit {ACTIVATIONLINKWITHOUTCODE} and enter the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'admin_register_immediate' => array( - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME} and your password is {PASSWORD}. - -{REGARDS}', - ), - 'new_announcement' => array( - /* - @additional_params: new_announcement - TOPICSUBJECT: The subject of the topic being announced. - MESSAGE: The message body of the first post of the announced topic. - TOPICLINK: A link to the topic being announced. - @description: - - */ - 'subject' => 'New announcement: {TOPICSUBJECT}', - 'body' => '{MESSAGE} - -To unsubscribe from these announcements, login to the forum and uncheck "Receive forum announcements and important notifications by email." in your profile. - -You can view the full announcement by following this link: -{TOPICLINK} - -{REGARDS}', - ), - 'notify_boards_once_body' => array( - /* - @additional_params: notify_boards_once_body - TOPICSUBJECT: The subject of the topic causing the notification - TOPICLINK: A link to the topic. - MESSAGE: This is the body of the message. - UNSUBSCRIBELINK: Link to unsubscribe from notifications. - @description: - */ - 'subject' => 'New Topic: {TOPICSUBJECT}', - 'body' => 'A new topic, \'{TOPICSUBJECT}\', has been made on a board you are watching. - -You can see it at -{TOPICLINK} - -More topics may be posted, but you won\'t receive more email notifications until you return to the board and read some of them. - -The text of the topic is shown below: -{MESSAGE} - -Unsubscribe to new topics from this board by using this link: -{UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notify_boards_once' => array( - /* - @additional_params: notify_boards_once - TOPICSUBJECT: The subject of the topic causing the notification - TOPICLINK: A link to the topic. - UNSUBSCRIBELINK: Link to unsubscribe from notifications. - @description: - */ - 'subject' => 'New Topic: {TOPICSUBJECT}', - 'body' => 'A new topic, \'{TOPICSUBJECT}\', has been made on a board you are watching. - -You can see it at -{TOPICLINK} - -More topics may be posted, but you won\'t receive more email notifications until you return to the board and read some of them. - -Unsubscribe to new topics from this board by using this link: -{UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notify_boards_body' => array( - /* - @additional_params: notify_boards_body - TOPICSUBJECT: The subject of the topic causing the notification - TOPICLINK: A link to the topic. - MESSAGE: This is the body of the message. - UNSUBSCRIBELINK: Link to unsubscribe from notifications. - @description: - */ - 'subject' => 'New Topic: {TOPICSUBJECT}', - 'body' => 'A new topic, \'{TOPICSUBJECT}\', has been made on a board you are watching. - -You can see it at -{TOPICLINK} - -The text of the topic is shown below: -{MESSAGE} - -Unsubscribe to new topics from this board by using this link: -{UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notify_boards' => array( - /* - @additional_params: notify_boards - TOPICSUBJECT: The subject of the topic causing the notification - TOPICLINK: A link to the topic. - UNSUBSCRIBELINK: Link to unsubscribe from notifications. - @description: - */ - 'subject' => 'New Topic: {TOPICSUBJECT}', - 'body' => 'A new topic, \'{TOPICSUBJECT}\', has been made on a board you are watching. - -You can see it at -{TOPICLINK} - -Unsubscribe to new topics from this board by using this link: -{UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'request_membership' => array( - /* - @additional_params: request_membership - RECPNAME: The name of the person recieving the email - APPYNAME: The name of the person applying for group membership - GROUPNAME: The name of the group being applied to. - REASON: The reason given by the applicant for wanting to join the group. - MODLINK: Link to the group moderation page. - @description: - */ - 'subject' => 'New Group Application', - 'body' => '{RECPNAME}, - -{APPYNAME} has requested membership to the "{GROUPNAME}" group. The user has given the following reason: - -{REASON} - -You can approve or reject this application by clicking the link below: - -{MODLINK} - -{REGARDS}', - ), - 'paid_subscription_reminder' => array( - /* - @additional_params: scheduled_approval - REALNAME: The real (display) name of the person receiving the email. - PROFILE_LINK: Link to profile of member receiving email where can renew. - SUBSCRIPTION: Name of the subscription. - END_DATE: Date it expires. - @description: - */ - 'subject' => 'Subscription about to expire at {FORUMNAME}', - 'body' => '{REALNAME}, - -A subscription you are subscribed to at {FORUMNAME} is about to expire. If when you took out the subscription you selected to auto-renew you need take no action - otherwise you may wish to consider subscribing once more. Details are below: - -Subscription Name: {SUBSCRIPTION} -Expires: {END_DATE} - -To edit your subscriptions visit the following URL: -{PROFILE_LINK} - -{REGARDS}', - ), - 'activate_reactivate' => array( - /* - @additional_params: activate_reactivate - ACTIVATIONLINK: The url link to reactivate the member's account. - ACTIVATIONCODE: The code needed to reactivate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - @description: - */ - 'subject' => 'Welcome back to {FORUMNAME}', - 'body' => 'In order to re-validate your email address, your account has been deactivated. Click the following link to activate it again: -{ACTIVATIONLINK} - -Should you have any problems with activation, please visit {ACTIVATIONLINKWITHOUTCODE} and use the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'forgot_password' => array( - /* - @additional_params: forgot_password - REALNAME: The real (display) name of the person receiving the reminder. - REMINDLINK: The link to reset the password. - IP: The IP address of the requester. - MEMBERNAME: - @description: - */ - 'subject' => 'New password for {FORUMNAME}', - 'body' => 'Dear {REALNAME}, -This mail was sent because the \'forgot password\' function has been applied to your account. To set a new password, click the following link: -{REMINDLINK} - -IP: {IP} -Username: {MEMBERNAME} - -{REGARDS}', - ), - 'forgot_openid' => array( - /* - @additional_params: forgot_password - REALNAME: The real (display) name of the person receiving the reminder. - IP: The IP address of the requester. - OPENID: The members OpenID identity. - @description: - */ - 'subject' => 'OpenID reminder for {FORUMNAME}', - 'body' => 'Dear {REALNAME}, -This mail was sent because the \'forgot OpenID\' function has been applied to your account. Below is the OpenID that your account is associated with: -{OPENID} - -IP: {IP} -Username: {MEMBERNAME} - -{REGARDS}', - ), - 'scheduled_approval' => array( - /* - @additional_params: scheduled_approval - REALNAME: The real (display) name of the person receiving the email. - BODY: The generated body of the mail. - @description: - */ - 'subject' => 'Summary of posts awaiting approval at {FORUMNAME}', - 'body' => '{REALNAME}, - -This email contains a summary of all items awaiting approval at {FORUMNAME}. - -{BODY} - -Please log in to the forum to review these items. -{SCRIPTURL} - -{REGARDS}', - ), - 'send_topic' => array( - /* - @additional_params: send_topic - TOPICSUBJECT: The subject of the topic being sent. - SENDERNAME: The name of the member sending the topic. - RECPNAME: The name of the person receiving the email. - TOPICLINK: A link to the topic being sent. - @description: - */ - 'subject' => 'Topic: {TOPICSUBJECT} (From: {SENDERNAME})', - 'body' => 'Dear {RECPNAME}, -I want you to check out "{TOPICSUBJECT}" on {FORUMNAME}. To view it, please click this link: - -{TOPICLINK} - -Thanks, - -{SENDERNAME}', - ), - 'send_topic_comment' => array( - /* - @additional_params: send_topic_comment - TOPICSUBJECT: The subject of the topic being sent. - SENDERNAME: The name of the member sending the topic. - RECPNAME: The name of the person receiving the email. - TOPICLINK: A link to the topic being sent. - COMMENT: A comment left by the sender. - @description: - */ - 'subject' => 'Topic: {TOPICSUBJECT} (From: {SENDERNAME})', - 'body' => 'Dear {RECPNAME}, -I want you to check out "{TOPICSUBJECT}" on {FORUMNAME}. To view it, please click this link: - -{TOPICLINK} - -A comment has also been added regarding this topic: -{COMMENT} - -Thanks, - -{SENDERNAME}', - ), - 'send_email' => array( - /* - @additional_params: send_email - EMAILSUBJECT: The subject the user wants to email. - EMAILBODY: The body the user wants to email. - SENDERNAME: The name of the member sending the email. - RECPNAME: The name of the person receiving the email. - @description: - */ - 'subject' => '{EMAILSUBJECT}', - 'body' => '{EMAILBODY}', - ), - 'report_to_moderator' => array( - /* - @additional_params: report_to_moderator - TOPICSUBJECT: The subject of the reported post. - POSTERNAME: The report post's author's name. - REPORTERNAME: The name of the person reporting the post. - TOPICLINK: The url of the post that is being reported. - REPORTLINK: The url of the moderation center report. - COMMENT: The comment left by the reporter, hopefully to explain why they are reporting the post. - @description: When a user reports a post this email is sent out to moderators and admins of that board. - */ - 'subject' => 'Reported post: {TOPICSUBJECT} by {POSTERNAME}', - 'body' => 'The following post, "{TOPICSUBJECT}" by {POSTERNAME} has been reported by {REPORTERNAME} on a board you moderate: - -The topic: {TOPICLINK} -Moderation center: {REPORTLINK} - -The reporter has made the following comment: -{COMMENT} - -{REGARDS}', - ), - 'change_password' => array( - /* - @additional_params: change_password - USERNAME: The user name for the member receiving the email. - PASSWORD: The password for the member. - @description: - */ - 'subject' => 'New Password Details', - 'body' => 'Hey, {USERNAME}! - -Your login details at {FORUMNAME} have been changed and your password reset. Below are your new login details. - -Your username is "{USERNAME}" and your password is "{PASSWORD}". - -You may change it after you login by going to the profile page, or by visiting this page after you login: -{SCRIPTURL}?action=profile - -{REGARDS}', - ), - 'register_activate' => array( - /* - @additional_params: register_activate - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - PASSWORD: The password for the member. - ACTIVATIONLINK: The url link to reactivate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - ACTIVATIONCODE: The code needed to reactivate the member's account. - FORGOTPASSWORDLINK: The url to the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. If you forget your password, you can reset it by visiting {FORGOTPASSWORDLINK}. - -Before you can login, you first need to activate your account. To do so, please follow this link: - -{ACTIVATIONLINK} - -Should you have any problems with activation, please visit {ACTIVATIONLINKWITHOUTCODE} use the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'register_openid_activate' => array( - /* - @additional_params: register_activate - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - OPENID: The openID identity for the member. - ACTIVATIONLINK: The url link to reactivate the member's account. - ACTIVATIONLINKWITHOUTCODE: The url to the page where the activation code can be entered. - ACTIVATIONCODE: The code needed to reactivate the member's account. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. You have chosen to authenticate using the following OpenID identity: -{OPENID} - -Before you can login, you first need to activate your account. To do so, please follow this link: - -{ACTIVATIONLINK} - -Should you have any problems with activation, please visit {ACTIVATIONLINKWITHOUTCODE} and use the code "{ACTIVATIONCODE}". - -{REGARDS}', - ), - 'register_coppa' => array( - /* - @additional_params: register_coppa - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - PASSWORD: The password for the member. - COPPALINK: The url link to the coppa form. - FORGOTPASSWORDLINK: The url to the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. If you forget your password, you can change it at {FORGOTPASSWORDLINK} - -Before you can login, the admin requires consent from your parent/guardian for you to join the community. You can obtain more information at the link below: - -{COPPALINK} - -{REGARDS}', - ), - 'register_openid_coppa' => array( - /* - @additional_params: register_coppa - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - OPENID: The openID identity for the member. - COPPALINK: The url link to the coppa form. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. - -You have chosen to authenticate using the following OpenID identity: -{OPENID} - -Before you can login, the admin requires consent from your parent/guardian for you to join the community. You can obtain more information at the link below: - -{COPPALINK} - -{REGARDS}', - ), - 'register_immediate' => array( - /* - @additional_params: register_immediate - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - PASSWORD: The password for the member. - FORGOTPASSWORDLINK: The url to the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. If you forget your password, you may change it at {FORGOTPASSWORDLINK}. - -{REGARDS}', - ), - 'register_openid_immediate' => array( - /* - @additional_params: register_immediate - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - OPENID: The openID identity for the member. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Thank you for registering at {FORUMNAME}. Your username is {USERNAME}. - -You have chosen to authenticate using the following OpenID identity: -{OPENID} - -You may update your profile by visiting this page after you login: - -{SCRIPTURL}?action=profile - -{REGARDS}', - ), - 'register_pending' => array( - /* - @additional_params: register_pending - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - PASSWORD: The password for the member. - FORGOTPASSWORDLINK: The url to the "forgot password" page. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Your registration request at {FORUMNAME} has been received, {REALNAME}. - -The username you registered with was {USERNAME}. If you forget your password, you can change it at {FORGOTPASSWORDLINK}. - -Before you can login and start using the forum, your request will be reviewed and approved. When this happens, you will receive another email from this address. - -{REGARDS}', - ), - 'register_openid_pending' => array( - /* - @additional_params: register_pending - REALNAME: The display name for the member receiving the email. - USERNAME: The user name for the member receiving the email. - OPENID: The openID identity for the member. - @description: - */ - 'subject' => 'Welcome to {FORUMNAME}', - 'body' => 'Your registration request at {FORUMNAME} has been received, {REALNAME}. - -The username you registered with was {USERNAME}. - -You have chosen to authenticate using the following OpenID identity: -{OPENID} - -Before you can login and start using the forum, your request will be reviewed and approved. When this happens, you will receive another email from this address. - -{REGARDS}', - ), - 'notification_reply' => array( - /* - @additional_params: notification_reply - TOPICSUBJECT: - POSTERNAME: - TOPICLINK: - UNSUBSCRIBELINK: - @description: - */ - 'subject' => 'Topic reply: {TOPICSUBJECT}', - 'body' => 'A reply has been posted to a topic you are watching by {POSTERNAME}. - -View the reply at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_reply_body' => array( - /* - @additional_params: notification_reply_body - TOPICSUBJECT: - POSTERNAME: - TOPICLINK: - UNSUBSCRIBELINK: - MESSAGE: - @description: - */ - 'subject' => 'Topic reply: {TOPICSUBJECT}', - 'body' => 'A reply has been posted to a topic you are watching by {POSTERNAME}. - -View the reply at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -The text of the reply is shown below: -{MESSAGE} - -{REGARDS}', - ), - 'notification_reply_once' => array( - /* - @additional_params: notification_reply_once - TOPICSUBJECT: - POSTERNAME: - TOPICLINK: - UNSUBSCRIBELINK: - @description: - */ - 'subject' => 'Topic reply: {TOPICSUBJECT}', - 'body' => 'A reply has been posted to a topic you are watching by {POSTERNAME}. - -View the reply at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -More replies may be posted, but you won\'t receive any more notifications until you read the topic. - -{REGARDS}', - ), - 'notification_reply_body_once' => array( - /* - @additional_params: notification_reply_body_once - TOPICSUBJECT: - POSTERNAME: - TOPICLINK: - UNSUBSCRIBELINK: - MESSAGE: - @description: - */ - 'subject' => 'Topic reply: {TOPICSUBJECT}', - 'body' => 'A reply has been posted to a topic you are watching by {POSTERNAME}. - -View the reply at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -The text of the reply is shown below: -{MESSAGE} - -More replies may be posted, but you won\'t receive any more notifications until you read the topic. - -{REGARDS}', - ), - 'notification_sticky' => array( - /* - @additional_params: notification_sticky - @description: - */ - 'subject' => 'Topic stickied: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been marked as a sticky topic by {POSTERNAME}. - -View the topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_lock' => array( - /* - @additional_params: notification_lock - @description: - */ - 'subject' => 'Topic locked: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been locked by {POSTERNAME}. - -View the topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_unlock' => array( - /* - @additional_params: notification_unlock - @description: - */ - 'subject' => 'Topic unlocked: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been unlocked by {POSTERNAME}. - -View the topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_remove' => array( - /* - @additional_params: notification_remove - @description: - */ - 'subject' => 'Topic removed: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been removed by {POSTERNAME}. - -{REGARDS}', - ), - 'notification_move' => array( - /* - @additional_params: notification_move - @description: - */ - 'subject' => 'Topic moved: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been moved to another board by {POSTERNAME}. - -View the topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_merge' => array( - /* - @additional_params: notification_merged - @description: - */ - 'subject' => 'Topic merged: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been merged with another topic by {POSTERNAME}. - -View the new merged topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'notification_split' => array( - /* - @additional_params: notification_split - @description: - */ - 'subject' => 'Topic split: {TOPICSUBJECT}', - 'body' => 'A topic you are watching has been split into two or more topics by {POSTERNAME}. - -View what remains of this topic at: {TOPICLINK} - -Unsubscribe to this topic by using this link: {UNSUBSCRIBELINK} - -{REGARDS}', - ), - 'admin_notify' => array( - /* - @additional_params: admin_notify - USERNAME: - PROFILELINK: - @description: - */ - 'subject' => 'A new member has joined', - 'body' => '{USERNAME} has just signed up as a new member of your forum. Click the link below to view their profile. -{PROFILELINK} - -{REGARDS}', - ), - 'admin_notify_approval' => array( - /* - @additional_params: admin_notify_approval - USERNAME: - PROFILELINK: - APPROVALLINK: - @description: - */ - 'subject' => 'A new member has joined', - 'body' => '{USERNAME} has just signed up as a new member of your forum. Click the link below to view their profile. -{PROFILELINK} - -Before this member can begin posting they must first have their account approved. Click the link below to go to the approval screen. -{APPROVALLINK} - -{REGARDS}', - ), - 'admin_attachments_full' => array( - /* - @additional_params: admin_attachments_full - REALNAME: - @description: - */ - 'subject' => 'Urgent! Attachments folder almost full', - 'body' => '{REALNAME}, - -The attachments folder at {FORUMNAME} is almost full. Please visit the forum to resolve this problem. - -Once the attachments folder reaches it\'s maximum permitted size users will not be able to continue to post attachments or upload custom avatars (If enabled). - -{REGARDS}', - ), - 'paid_subscription_refund' => array( - /* - @additional_params: paid_subscription_refund - NAME: Subscription title. - REALNAME: Recipients name - REFUNDUSER: Username who took out the subscription. - REFUNDNAME: User's display name who took out the subscription. - DATE: Today's date. - PROFILELINK: Link to members profile. - @description: - */ - 'subject' => 'Refunded Paid Subscription', - 'body' => '{REALNAME}, - -A member has received a refund on a paid subscription. Below are the details of this subscription: - - Subscription: {NAME} - User Name: {REFUNDNAME} ({REFUNDUSER}) - Date: {DATE} - -You can view this members profile by clicking the link below: -{PROFILELINK} - -{REGARDS}', - ), - 'paid_subscription_new' => array( - /* - @additional_params: paid_subscription_new - NAME: Subscription title. - REALNAME: Recipients name - SUBEMAIL: Email address of the user who took out the subscription - SUBUSER: Username who took out the subscription. - SUBNAME: User's display name who took out the subscription. - DATE: Today's date. - PROFILELINK: Link to members profile. - @description: - */ - 'subject' => 'New Paid Subscription', - 'body' => '{REALNAME}, - -A member has taken out a new paid subscription. Below are the details of this subscription: - - Subscription: {NAME} - User Name: {SUBNAME} ({SUBUSER}) - User Email: {SUBEMAIL} - Price: {PRICE} - Date: {DATE} - -You can view this members profile by clicking the link below: -{PROFILELINK} - -{REGARDS}', - ), - 'paid_subscription_error' => array( - /* - @additional_params: paid_subscription_error - ERROR: Error message. - REALNAME: Recipients name - @description: - */ - 'subject' => 'Paid Subscription Error Occurred', - 'body' => '{REALNAME}, - -The following error occurred when processing a paid subscription ---------------------------------------------------------------- -{ERROR} - -{REGARDS}', - ), -); - -/* - @additional_params: happy_birthday - REALNAME: The real (display) name of the person receiving the birthday message. - @description: A message sent to members on their birthday. -*/ -$birthdayEmails = array( - 'happy_birthday' => array( - 'subject' => 'Happy birthday from {FORUMNAME}.', - 'body' => 'Dear {REALNAME}, - -We here at {FORUMNAME} would like to wish you a happy birthday. May this day and the year to follow be full of joy. - -{REGARDS}', - 'author' => 'Thantos', - ), - 'karlbenson1' => array( - 'subject' => 'On your Birthday...', - 'body' => 'We could have sent you a birthday card. We could have sent you some flowers or a cake. - -But we didn\'t. - -We could have even sent you one of those automatically generated messages to wish you happy birthday where we don\'t even have to replace INSERT NAME. - -But we didn\'t - -We wrote this birthday greeting just for you. - -We would like to wish you a very special birthday. - -{REGARDS} - -//:: This message was automatically generated :://', - 'author' => 'karlbenson', - ), - 'nite0859' => array( - 'subject' => 'Happy Birthday!', - 'body' => 'Your friends at {FORUMNAME} would like to take a moment of your time to wish you a happy birthday, {REALNAME}. If you have not done so recently, please visit our community in order for others to have the opportunity to pass along their warm regards. - -Even though today is your birthday, {REALNAME}, we would like to remind you that your membership in our community has been the best gift to us thus far. - -Best Wishes, -The Staff of {FORUMNAME}', - 'author' => 'nite0859', - ), - 'zwaldowski' => array( - 'subject' => 'Birthday Wishes to {REALNAME}', - 'body' => 'Dear {REALNAME}, - -Another year in your life has passed. We at {FORUMNAME} hope it has been filled with happiness, and wish you luck in the coming one. - -{REGARDS}', - 'author' => 'zwaldowski', - ), - 'geezmo' => array( - 'subject' => 'Happy birthday, {REALNAME}!', - 'body' => 'Do you know who\'s having a birthday today, {REALNAME}? - -We know... YOU! - -Happy birthday! - -You\'re now a year older but we hope you\'re a lot happier than last year. - -Enjoy your day today, {REALNAME}! - -- From your {FORUMNAME} family', - 'author' => 'geezmo', - ), - 'karlbenson2' => array( - 'subject' => 'Your Birthday Greeting', - 'body' => 'We hope your birthday is the best ever cloudy, sunny or whatever the weather. -Have lots of birthday cake and fun, and tell us what you have done. - -We hope this message brought you cheer, and make it last, until same time same place, next year. - -{REGARDS}', - 'author' => 'karlbenson', - ), -); -?> \ No newline at end of file diff --git a/config/themes/default/languages/Errors.english.php b/config/themes/default/languages/Errors.english.php deleted file mode 100755 index ef2cad6..0000000 --- a/config/themes/default/languages/Errors.english.php +++ /dev/null @@ -1,407 +0,0 @@ -register.'; -$txt['passwords_dont_match'] = 'Passwords aren\'t the same.'; -$txt['register_to_use'] = 'Sorry, you must register before using this feature.'; -$txt['password_invalid_character'] = 'Invalid character used in password.'; -$txt['name_invalid_character'] = 'Invalid character used in name.'; -$txt['email_invalid_character'] = 'Invalid character used in email.'; -$txt['username_reserved'] = 'The username you tried to use contains the reserved name \'%1$s\'. Please try another username.'; -$txt['numbers_one_to_nine'] = 'This field only accepts numbers from 0-9'; -$txt['not_a_user'] = 'The user whose profile you are trying to view does not exist.'; -$txt['not_a_topic'] = 'This topic doesn\'t exist on this board.'; -$txt['not_approved_topic'] = 'This topic has not been approved yet.'; -$txt['email_in_use'] = 'That email address (%1$s) is being used by a registered member already. If you feel this is a mistake, go to the login page and use the password reminder with that address.'; - -$txt['didnt_select_vote'] = 'You didn\'t select a vote option.'; -$txt['poll_error'] = 'Either that poll doesn\'t exist, the poll has been locked, or you tried to vote twice.'; -$txt['members_only'] = 'This option is only available to registered members.'; -$txt['locked_by_admin'] = 'This was locked by an administrator. You cannot unlock it.'; -$txt['not_enough_posts_karma'] = 'Sorry, you don\'t have enough posts to modify karma - you need at least %1$d.'; -$txt['cant_change_own_karma'] = 'Sorry, you are not permitted to modify your own karma.'; -$txt['karma_wait_time'] = 'Sorry, you can\'t repeat a karma action without waiting %1$s %2$s.'; -$txt['feature_disabled'] = 'Sorry, this feature is disabled.'; -$txt['cant_access_upload_path'] = 'Cannot access attachments upload path!'; -$txt['file_too_big'] = 'Your file is too large. The maximum attachment size allowed is %1$d KB.'; -$txt['attach_timeout'] = 'Your attachment couldn\'t be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

    Please consult your server administrator for more information.'; -$txt['filename_exists'] = 'Sorry! There is already an attachment with the same filename as the one you tried to upload. Please rename the file and try again.'; -$txt['bad_attachment'] = 'Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.'; -$txt['ran_out_of_space'] = 'The upload folder is full. Please try a smaller file and/or contact an administrator.'; -$txt['couldnt_connect'] = 'Could not connect to server or could not find file'; -$txt['no_board'] = 'The board you specified doesn\'t exist'; -$txt['cant_split'] = 'You are not allowed to split topics'; -$txt['cant_merge'] = 'You are not allowed to merge topics'; -$txt['no_topic_id'] = 'You specified an invalid topic ID.'; -$txt['split_first_post'] = 'You cannot split a topic at the first post.'; -$txt['topic_one_post'] = 'This topic only contains one message and cannot be split.'; -$txt['no_posts_selected'] = 'No messages selected'; -$txt['selected_all_posts'] = 'Unable to split. You have selected every message.'; -$txt['cant_find_messages'] = 'Unable to find messages'; -$txt['cant_find_user_email'] = 'Unable to find user\'s email address.'; -$txt['cant_insert_topic'] = 'Unable to insert topic'; -$txt['already_a_mod'] = 'You have chosen a username of an already existing moderator. Please choose another username'; -$txt['session_timeout'] = 'Your session timed out while posting. Please go back and try again.'; -$txt['session_verify_fail'] = 'Session verification failed. Please try logging out and back in again, and then try again.'; -$txt['verify_url_fail'] = 'Unable to verify referring url. Please go back and try again.'; -$txt['guest_vote_disabled'] = 'Guests cannot vote in this poll.'; - -$txt['cannot_access_mod_center'] = 'You do not have permission to access the moderation center.'; -$txt['cannot_admin_forum'] = 'You are not allowed to administrate this forum.'; -$txt['cannot_announce_topic'] = 'You are not allowed to announce topics on this board.'; -$txt['cannot_approve_posts'] = 'You do not have permission to approve items.'; -$txt['cannot_post_unapproved_attachments'] = 'You do not have permission to post unapproved attachments.'; -$txt['cannot_post_unapproved_topics'] = 'You do not have permission to post unapproved topics.'; -$txt['cannot_post_unapproved_replies_own'] = 'You do not have permission to post unapproved replies to your topics.'; -$txt['cannot_post_unapproved_replies_any'] = 'You do not have permission to post unapproved replies to other users\' topics.'; -$txt['cannot_calendar_edit_any'] = 'You cannot edit calendar events.'; -$txt['cannot_calendar_edit_own'] = 'You don\'t have the privileges necessary to edit your own events.'; -$txt['cannot_calendar_post'] = 'Event posting isn\'t allowed - sorry.'; -$txt['cannot_calendar_view'] = 'Sorry, but you are not allowed to view the calendar.'; -$txt['cannot_remove_any'] = 'Sorry, but you don\'t have the privilege to remove just any topic. Check to make sure this topic wasn\'t just moved to another board.'; -$txt['cannot_remove_own'] = 'You cannot delete your own topics in this board. Check to make sure this topic wasn\'t just moved to another board.'; -$txt['cannot_edit_news'] = 'You are not allowed to edit news items on this forum.'; -$txt['cannot_pm_read'] = 'Sorry, you can\'t read your personal messages.'; -$txt['cannot_pm_send'] = 'You are not allowed to send personal messages.'; -$txt['cannot_karma_edit'] = 'You aren\'t permitted to modify other people\'s karma.'; -$txt['cannot_lock_any'] = 'You are not allowed to lock just any topic here.'; -$txt['cannot_lock_own'] = 'Apologies, but you cannot lock your own topics here.'; -$txt['cannot_make_sticky'] = 'You don\'t have permission to sticky this topic.'; -$txt['cannot_manage_attachments'] = 'You\'re not allowed to manage attachments or avatars.'; -$txt['cannot_manage_bans'] = 'You\'re not allowed to change the list of bans.'; -$txt['cannot_manage_boards'] = 'You are not allowed to manage boards and categories.'; -$txt['cannot_manage_membergroups'] = 'You don\'t have permission to modify or assign membergroups.'; -$txt['cannot_manage_permissions'] = 'You don\'t have permission to manage permissions.'; -$txt['cannot_manage_smileys'] = 'You\'re not allowed to manage smileys and message icons.'; -$txt['cannot_mark_any_notify'] = 'You don\'t have the permissions necessary to get notifications from this topic.'; -$txt['cannot_mark_notify'] = 'Sorry, but you are not permitted to request notifications from this board.'; -$txt['cannot_merge_any'] = 'You aren\'t allowed to merge topics on one of the selected board(s).'; -$txt['cannot_moderate_forum'] = 'You are not allowed to moderate this forum.'; -$txt['cannot_moderate_board'] = 'You are not allowed to moderate this board.'; -$txt['cannot_modify_any'] = 'You aren\'t allowed to modify just any post.'; -$txt['cannot_modify_own'] = 'Sorry, but you aren\'t allowed to edit your own posts.'; -$txt['cannot_modify_replies'] = 'Even though this post is a reply to your topic, you cannot edit it.'; -$txt['cannot_move_own'] = 'You are not allowed to move your own topics in this board.'; -$txt['cannot_move_any'] = 'You are not allowed to move topics in this board.'; -$txt['cannot_poll_add_own'] = 'Sorry, you aren\'t allowed to add polls to your own topics in this board.'; -$txt['cannot_poll_add_any'] = 'You don\'t have the access to add polls to this topic.'; -$txt['cannot_poll_edit_own'] = 'You cannot edit this poll, even though it is your own.'; -$txt['cannot_poll_edit_any'] = 'You have been denied access to editing polls in this board.'; -$txt['cannot_poll_lock_own'] = 'You are not allowed to lock your own polls in this board.'; -$txt['cannot_poll_lock_any'] = 'Sorry, but you aren\'t allowed to lock just any poll.'; -$txt['cannot_poll_post'] = 'You aren\'t allowed to post polls in the current board.'; -$txt['cannot_poll_remove_own'] = 'You are not permitted to remove this poll from your topic.'; -$txt['cannot_poll_remove_any'] = 'You cannot remove just any poll on this board.'; -$txt['cannot_poll_view'] = 'You are not allowed to view polls in this board.'; -$txt['cannot_poll_vote'] = 'Sorry, but you cannot vote in polls in this board.'; -$txt['cannot_post_attachment'] = 'You don\'t have permission to post attachments here.'; -$txt['cannot_post_new'] = 'Sorry, you cannot post new topics in this board.'; -$txt['cannot_post_reply_any'] = 'You are not permitted to post replies to topics on this board.'; -$txt['cannot_post_reply_own'] = 'You are not allowed to post replies even to your own topics in this board.'; -$txt['cannot_profile_remove_own'] = 'Sorry, but you aren\'t allowed to delete your own account.'; -$txt['cannot_profile_remove_any'] = 'You don\'t have the permissions to go about removing people\'s accounts!'; -$txt['cannot_profile_extra_any'] = 'You are not permitted to modify profile settings.'; -$txt['cannot_profile_identity_any'] = 'You aren\'t allowed to edit account settings.'; -$txt['cannot_profile_title_any'] = 'You cannot edit people\'s custom titles.'; -$txt['cannot_profile_extra_own'] = 'Sorry, but you don\'t have the necessary permissions to edit your profile data.'; -$txt['cannot_profile_identity_own'] = 'You can\'t change your identity at the current moment.'; -$txt['cannot_profile_title_own'] = 'You are not allowed to change your custom title.'; -$txt['cannot_profile_server_avatar'] = 'You are not permitted to use a server stored avatar.'; -$txt['cannot_profile_upload_avatar'] = 'You do not have permission to upload an avatar.'; -$txt['cannot_profile_remote_avatar'] = 'You don\'t have the privilege of using a remote avatar.'; -$txt['cannot_profile_view_own'] = 'Many apologies, but you can\'t view your own profile.'; -$txt['cannot_profile_view_any'] = 'Many apologies, but you can\'t view just any profile.'; -$txt['cannot_delete_own'] = 'You are not, on this board, allowed to delete your own posts.'; -$txt['cannot_delete_replies'] = 'Sorry, but you cannot remove these posts, even though they are replies to your topic.'; -$txt['cannot_delete_any'] = 'Deleting just any posts in this board is not allowed.'; -$txt['cannot_report_any'] = 'You are not allowed to report posts in this board.'; -$txt['cannot_search_posts'] = 'You are not allowed to search for posts in this forum.'; -$txt['cannot_send_mail'] = 'You don\'t have the privilege of sending out emails to everyone.'; -$txt['cannot_issue_warning'] = 'Sorry, you do not have permission to issue warnings to members.'; -$txt['cannot_send_topic'] = 'Sorry, but the administrator has disallowed sending topics on this board.'; -$txt['cannot_split_any'] = 'Splitting just any topic is not allowed in this board.'; -$txt['cannot_view_attachments'] = 'It seems that you are not allowed to download or view attachments on this board.'; -$txt['cannot_view_mlist'] = 'You can\'t view the memberlist because you don\'t have permission to.'; -$txt['cannot_view_stats'] = 'You aren\'t allowed to view the forum statistics.'; -$txt['cannot_who_view'] = 'Sorry - you don\'t have the proper permissions to view the Who\'s Online list.'; - -$txt['no_theme'] = 'That theme does not exist.'; -$txt['theme_dir_wrong'] = 'The default theme\'s directory is wrong, please correct it by clicking this text.'; -$txt['registration_disabled'] = 'Sorry, registration is currently disabled.'; -$txt['registration_no_secret_question'] = 'Sorry, there is no secret question set for this member.'; -$txt['poll_range_error'] = 'Sorry, the poll must run for more than 0 days.'; -$txt['delFirstPost'] = 'You are not allowed to delete the first post in a topic.

    If you want to delete this topic, click on the Remove Topic link, or ask a moderator/administrator to do it for you.

    '; -$txt['parent_error'] = 'Unable to create board!'; -$txt['login_cookie_error'] = 'You were unable to login. Please check your cookie settings.'; -$txt['incorrect_answer'] = 'Sorry, but you did not answer your question correctly. Please click back to try again, or click back twice to use the default method of obtaining your password.'; -$txt['no_mods'] = 'No moderators found!'; -$txt['parent_not_found'] = 'Board structure corrupt: unable to find parent board'; -$txt['modify_post_time_passed'] = 'You may not modify this post as the time limit for edits has passed.'; - -$txt['calendar_off'] = 'You cannot access the calendar right now because it is disabled.'; -$txt['invalid_month'] = 'Invalid month value.'; -$txt['invalid_year'] = 'Invalid year value.'; -$txt['invalid_day'] = 'Invalid day value.'; -$txt['event_month_missing'] = 'Event month is missing.'; -$txt['event_year_missing'] = 'Event year is missing.'; -$txt['event_day_missing'] = 'Event day is missing.'; -$txt['event_title_missing'] = 'Event title is missing.'; -$txt['invalid_date'] = 'Invalid date.'; -$txt['no_event_title'] = 'No event title was entered.'; -$txt['missing_event_id'] = 'Missing event ID.'; -$txt['cant_edit_event'] = 'You do not have permission to edit this event.'; -$txt['missing_board_id'] = 'Board ID is missing.'; -$txt['missing_topic_id'] = 'Topic ID is missing.'; -$txt['topic_doesnt_exist'] = 'Topic doesn\'t exist.'; -$txt['not_your_topic'] = 'You are not the owner of this topic.'; -$txt['board_doesnt_exist'] = 'The board does not exist.'; -$txt['no_span'] = 'The span feature is currently disabled.'; -$txt['invalid_days_numb'] = 'Invalid number of days to span.'; - -$txt['moveto_noboards'] = 'There are no boards to move this topic to!'; - -$txt['already_activated'] = 'Your account has already been activated.'; -$txt['still_awaiting_approval'] = 'Your account is still awaiting admin approval.'; - -$txt['invalid_email'] = 'Invalid email address / email address range.
    Example of a valid email address: evil.user@badsite.com.
    Example of a valid email address range: *@*.badsite.com'; -$txt['invalid_expiration_date'] = 'Expiration date is not valid'; -$txt['invalid_hostname'] = 'Invalid host name / host name range.
    Example of a valid host name: proxy4.badhost.com
    Example of a valid host name range: *.badhost.com'; -$txt['invalid_ip'] = 'Invalid IP / IP range.
    Example of a valid IP address: 127.0.0.1
    Example of a valid IP range: 127.0.0-20.*'; -$txt['invalid_tracking_ip'] = 'Invalid IP / IP range.
    Example of a valid IP address: 127.0.0.1
    Example of a valid IP range: 127.0.0.*'; -$txt['invalid_username'] = 'Member name not found'; -$txt['no_ban_admin'] = 'You may not ban an admin - You must demote them first!'; -$txt['no_bantype_selected'] = 'No ban type was selected'; -$txt['ban_not_found'] = 'Ban not found'; -$txt['ban_unknown_restriction_type'] = 'Restriction type unknown'; -$txt['ban_name_empty'] = 'The name of the ban was left empty'; -$txt['ban_name_exists'] = 'The name of this ban (%1$s) already exists. Please choose a different name.'; -$txt['ban_trigger_already_exists'] = 'This ban trigger (%1$s) already exists in %2$s.'; - -$txt['recycle_no_valid_board'] = 'No valid board selected for recycled topics'; - -$txt['login_threshold_fail'] = 'Sorry, you are out of login chances. Please come back and try again later.'; -$txt['login_threshold_brute_fail'] = 'Sorry, but you\'ve reached your login attempts threshold. Please wait 30 seconds and try again later.'; - -$txt['who_off'] = 'You cannot access Who\'s Online right now because it is disabled.'; - -$txt['merge_create_topic_failed'] = 'Error creating a new topic.'; -$txt['merge_need_more_topics'] = 'Merge topics require at least two topics to merge.'; - -$txt['postWaitTime_broken'] = 'The last posting from your IP was less than %1$d seconds ago. Please try again later.'; -$txt['registerWaitTime_broken'] = 'You already registered just %1$d seconds ago!'; -$txt['loginWaitTime_broken'] = 'You will have to wait about %1$d seconds to login again, sorry.'; -$txt['pmWaitTime_broken'] = 'The last personal message from your IP was less than %1$d seconds ago. Please try again later.'; -$txt['reporttmWaitTime_broken'] = 'The last topic report from your IP was less than %1$d seconds ago. Please try again later.'; -$txt['sendtopcWaitTime_broken'] = 'The last topic sent from your IP was less than %1$d seconds ago. Please try again later.'; -$txt['sendmailWaitTime_broken'] = 'The last email sent from your IP was less than %1$d seconds ago. Please try again later.'; -$txt['searchWaitTime_broken'] = 'Your last search was less than %1$d seconds ago. Please try again later.'; - -$txt['email_missing_data'] = 'You must enter something in both the subject and message boxes.'; - -$txt['topic_gone'] = 'The topic or board you are looking for appears to be either missing or off limits to you.'; -$txt['theme_edit_missing'] = 'The file you are trying to edit... can\'t even be found!'; - -$txt['attachments_no_write'] = 'The attachments upload directory is not writable. Your attachment or avatar cannot be saved.'; -$txt['attachments_limit_per_post'] = 'You may not upload more than %1$d attachments per post'; - -$txt['no_dump_database'] = 'Only administrators can make database backups!'; -$txt['pm_not_yours'] = 'The personal message you\'re trying to quote is not your own or does not exist, please go back and try again.'; -$txt['mangled_post'] = 'Mangled form data - please go back and try again.'; -$txt['quoted_post_deleted'] = 'The post you are trying to quote either does not exist, was deleted, or is no longer viewable by you.'; -$txt['pm_too_many_per_hour'] = 'You have exceeded the limit of %1$d personal messages per hour.'; -$txt['labels_too_many'] = 'Sorry, %1$s messages already had the maximum amount of labels allowed!'; - -$txt['register_only_once'] = 'Sorry, but you\'re not allowed to register multiple accounts at the same time from the same computer.'; -$txt['admin_setting_coppa_require_contact'] = 'You must enter either a postal or fax contact if parent/guardian approval is required.'; - -$txt['error_long_name'] = 'The name you tried to use was too long.'; -$txt['error_no_name'] = 'No name was provided.'; -$txt['error_bad_name'] = 'The name you submitted cannot be used, because it is or contains a reserved name.'; -$txt['error_no_email'] = 'No email address was provided.'; -$txt['error_bad_email'] = 'An invalid email address was given.'; -$txt['error_no_event'] = 'No event name has been given.'; -$txt['error_no_subject'] = 'No subject was filled in.'; -$txt['error_no_question'] = 'No question was filled in for this poll.'; -$txt['error_no_message'] = 'The message body was left empty.'; -$txt['error_long_message'] = 'The message exceeds the maximum allowed length (%1$d characters).'; -$txt['error_no_comment'] = 'The comment field was left empty.'; -$txt['error_session_timeout'] = 'Your session timed out while posting. Please try to re-submit your message.'; -$txt['error_no_to'] = 'No recipients specified.'; -$txt['error_bad_to'] = 'One or more \'to\'-recipients could not be found.'; -$txt['error_bad_bcc'] = 'One or more \'bcc\'-recipients could not be found.'; -$txt['error_form_already_submitted'] = 'You already submitted this post! You might have accidentally double clicked or tried to refresh the page.'; -$txt['error_poll_few'] = 'You must have at least two choices!'; -$txt['error_need_qr_verification'] = 'Please complete the verification section below to complete your post.'; -$txt['error_wrong_verification_code'] = 'The letters you typed don\'t match the letters that were shown in the picture.'; -$txt['error_wrong_verification_answer'] = 'You did not answer the verification questions correctly.'; -$txt['error_need_verification_code'] = 'Please enter the verification code below to continue to the results.'; -$txt['error_bad_file'] = 'Sorry but the file specified could not be opened: %1$s'; -$txt['error_bad_line'] = 'The line you specified is invalid.'; - -$txt['smiley_not_found'] = 'Smiley not found.'; -$txt['smiley_has_no_code'] = 'No code for this smiley was given.'; -$txt['smiley_has_no_filename'] = 'No filename for this smiley was given.'; -$txt['smiley_not_unique'] = 'A smiley with that code already exists.'; -$txt['smiley_set_already_exists'] = 'A smiley set with that URL already exists'; -$txt['smiley_set_not_found'] = 'Smiley set not found'; -$txt['smiley_set_path_already_used'] = 'The URL of the smiley set is already being used by another smiley set.'; -$txt['smiley_set_unable_to_import'] = 'Unable to import smiley set. Either the directory is invalid or cannot be accessed.'; - -$txt['smileys_upload_error'] = 'Failed to upload file.'; -$txt['smileys_upload_error_blank'] = 'All smiley sets must have an image!'; -$txt['smileys_upload_error_name'] = 'All smileys must have the same filename!'; -$txt['smileys_upload_error_illegal'] = 'Illegal Type.'; - -$txt['search_invalid_weights'] = 'Search weights are not properly configured. At least one weight should be configure to be non-zero. Please report this error to an administrator.'; -$txt['unable_to_create_temporary'] = 'The search function was unable to create temporary tables. Please try again.'; - -$txt['package_no_file'] = 'Unable to find package file!'; -$txt['packageget_unable'] = 'Unable to connect to the server. Please try using this URL instead.'; -$txt['not_on_simplemachines'] = 'Sorry, packages can only be downloaded like this from the simplemachines.org server.'; -$txt['package_cant_uninstall'] = 'This package was either never installed or was already uninstalled - you can\'t uninstall it now.'; -$txt['package_cant_download'] = 'You cannot download or install new packages because the Packages directory or one of the files in it are not writable!'; -$txt['package_upload_error_nofile'] = 'You did not select a package to upload.'; -$txt['package_upload_error_failed'] = 'Could not upload package, please check directory permissions!'; -$txt['package_upload_error_exists'] = 'The file you are uploading already exists on the server. Please delete it first then try again.'; -$txt['package_upload_error_supports'] = 'The package manager currently allows only these file types: %1$s.'; -$txt['package_upload_error_broken'] = 'Package upload failed due to the following error:
    "%1$s"'; - -$txt['package_get_error_not_found'] = 'The package you are trying to install cannot be located. You may want to manually upload the package to your Packages directory.'; -$txt['package_get_error_missing_xml'] = 'The package you are attempting to install is missing the package-info.xml that must be in the root package directory.'; -$txt['package_get_error_is_zero'] = 'Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
    1) Download the package to your local PC and extract it into files.
    2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
    3) Upload all the files from the extracted package to this directory.
    4) Go back to the package manager browse page and the package will be automatically found by SMF.'; -$txt['package_get_error_packageinfo_corrupt'] = 'SMF was unable to find any valid information within the package-info.xml file included within the Package. There may be an error with the modification, or the package may be corrupt.'; - -$txt['no_membergroup_selected'] = 'No membergroup selected'; -$txt['membergroup_does_not_exist'] = 'The membergroup doesn\'t exist or is invalid.'; - -$txt['at_least_one_admin'] = 'There must be at least one administrator on a forum!'; - -$txt['error_functionality_not_windows'] = 'Sorry, this functionality is currently not available for servers running Windows.'; - -// Don't use entities in the below string. -$txt['attachment_not_found'] = 'Attachment Not Found'; - -$txt['error_no_boards_selected'] = 'No valid boards were selected!'; -$txt['error_invalid_search_string'] = 'Did you forget to put something to search for?'; -$txt['error_invalid_search_string_blacklist'] = 'Your search query contained too trivial words. Please try again with a different query.'; -$txt['error_search_string_small_words'] = 'Each word must be at least two characters long.'; -$txt['error_query_not_specific_enough'] = 'Your search query didn\'t return any matches.'; -$txt['error_no_messages_in_time_frame'] = 'No messages found in selected time frame.'; -$txt['error_no_labels_selected'] = 'No labels were selected!'; -$txt['error_no_search_daemon'] = 'Unable to access the search daemon'; - -$txt['profile_errors_occurred'] = 'The following errors occurred when trying to save your profile'; -$txt['profile_error_bad_offset'] = 'The time offset is out of range'; -$txt['profile_error_no_name'] = 'The name field was left blank'; -$txt['profile_error_name_taken'] = 'The selected username/display name has already been taken'; -$txt['profile_error_name_too_long'] = 'The selected name is too long. It should be no greater than 60 characters long'; -$txt['profile_error_no_email'] = 'The email field was left blank'; -$txt['profile_error_bad_email'] = 'You have not entered a valid email address'; -$txt['profile_error_email_taken'] = 'Another user is already registered with that email address'; -$txt['profile_error_no_password'] = 'You did not enter your password'; -$txt['profile_error_bad_new_password'] = 'The new passwords you entered do not match'; -$txt['profile_error_bad_password'] = 'The password you entered was not correct'; -$txt['profile_error_bad_avatar'] = 'The avatar you have selected is either too large or not an avatar'; -$txt['profile_error_password_short'] = 'Your password must be at least ' . (empty($modSettings['password_strength']) ? 4 : 8) . ' characters long.'; -$txt['profile_error_password_restricted_words'] = 'Your password must not contain your username, email address or other commonly used words.'; -$txt['profile_error_password_chars'] = 'Your password must contain a mix of upper and lower case letters, as well as digits.'; -$txt['profile_error_already_requested_group'] = 'You already have an outstanding request for this group!'; -$txt['profile_error_openid_in_use'] = 'Another user is already using that OpenID authentication URL'; - -$txt['mysql_error_space'] = ' - check database storage space or contact the server administrator.'; - -$txt['icon_not_found'] = 'The icon image could not be found in the default theme - please ensure the image has been uploaded and try again.'; -$txt['icon_after_itself'] = 'The icon cannot be positioned after itself!'; -$txt['icon_name_too_long'] = 'Icon filenames cannot be more than 16 characters long'; - -$txt['name_censored'] = 'Sorry, the name you tried to use, %1$s, contains words which have been censored. Please try another name.'; - -$txt['poll_already_exists'] = 'A topic can only have one poll associated with it!'; -$txt['poll_not_found'] = 'There is no poll associated with this topic!'; - -$txt['error_while_adding_poll'] = 'The following error or errors occurred while adding this poll'; -$txt['error_while_editing_poll'] = 'The following error or errors occurred while editing this poll'; - -$txt['loadavg_search_disabled'] = 'Due to high stress on the server, the search function has been automatically and temporarily disabled. Please try again in a short while.'; -$txt['loadavg_generic_disabled'] = 'Sorry, because of high stress on the server, this feature is currently unavailable.'; -$txt['loadavg_allunread_disabled'] = 'The server\'s resources are temporarily under too high a demand to find all the topics you have not read.'; -$txt['loadavg_unreadreplies_disabled'] = 'The server is currently under high stress. Please try again shortly.'; -$txt['loadavg_show_posts_disabled'] = 'Please try again later. This member\'s posts are not currently available due to high load on the server.'; -$txt['loadavg_unread_disabled'] = 'The server\'s resources are temporarily under too high a demand to list out the topics you have not read.'; - -$txt['cannot_edit_permissions_inherited'] = 'You cannot edit inherited permissions directly, you must either edit the parent group or edit the membergroup inheritance.'; - -$txt['mc_no_modreport_specified'] = 'You need to specify which report you wish to view.'; -$txt['mc_no_modreport_found'] = 'The specified report either doesn\'t exist or is off limits to you'; - -$txt['st_cannot_retrieve_file'] = 'Could not retrieve the file %1$s.'; -$txt['admin_file_not_found'] = 'Could not load the requested file: %1$s.'; - -$txt['themes_none_selectable'] = 'At least one theme must be selectable.'; -$txt['themes_default_selectable'] = 'The overall forum default theme must be a selectable theme.'; -$txt['ignoreboards_disallowed'] = 'The option to ignore boards has not been enabled.'; - -$txt['mboards_delete_error'] = 'No category selected!'; -$txt['mboards_delete_board_error'] = 'No board selected!'; - -$txt['mboards_parent_own_child_error'] = 'Unable to make a parent its own child!'; -$txt['mboards_board_own_child_error'] = 'Unable to make a board its own child!'; - -$txt['smileys_upload_error_notwritable'] = 'The following smiley directories are not writable: %1$s'; -$txt['smileys_upload_error_types'] = 'Smiley images can only have the following extensions: %1$s.'; - -$txt['change_email_success'] = 'Your email address has been changed, and a new activation email has been sent to it.'; -$txt['resend_email_success'] = 'A new activation email has successfully been sent.'; - -$txt['custom_option_need_name'] = 'The profile option must have a name!'; -$txt['custom_option_not_unique'] = 'Field name is not unique!'; - -$txt['warning_no_reason'] = 'You must enter a reason for altering the warning state of a member'; -$txt['warning_notify_blank'] = 'You selected to notify the user but did not fill in the subject/message fields'; - -$txt['cannot_connect_doc_site'] = 'Could not connect to the Simple Machines Online Manual. Please check that your server configuration allows external internet connections and try again later.'; - -$txt['movetopic_no_reason'] = 'You must enter a reason for moving the topic, or uncheck the option to \'post a redirection topic\'.'; - -// OpenID error strings -$txt['openid_server_bad_response'] = 'The requested identifier did not return the proper information.'; -$txt['openid_return_no_mode'] = 'The identity provider did not respond with the OpenID mode.'; -$txt['openid_not_resolved'] = 'The identity provider did not approve your request.'; -$txt['openid_no_assoc'] = 'Could not find the requested association with the identity provider.'; -$txt['openid_sig_invalid'] = 'The signature from the identity provider is invalid.'; -$txt['openid_load_data'] = 'Could not load the data from your login request. Please try again.'; -$txt['openid_not_verified'] = 'The OpenID address given has not been verified yet. Please log in to verify.'; - -$txt['error_custom_field_too_long'] = 'The "%1$s" field cannot be greater than %2$d characters in length.'; -$txt['error_custom_field_invalid_email'] = 'The "%1$s" field must be a valid email address.'; -$txt['error_custom_field_not_number'] = 'The "%1$s" field must be numeric.'; -$txt['error_custom_field_inproper_format'] = 'The "%1$s" field is an invalid format.'; -$txt['error_custom_field_empty'] = 'The "%1$s" field cannot be left blank.'; - -$txt['email_no_template'] = 'The email template "%1$s" could not be found.'; - -$txt['search_api_missing'] = 'The search API could not be found! Please contact the admin to check they have uploaded the correct files.'; -$txt['search_api_not_compatible'] = 'The selected search API the forum is using is out of date - falling back to standard search. Please check file %1$s.'; - -// Restore topic/posts -$txt['cannot_restore_first_post'] = 'You cannot restore the first post in a topic.'; -$txt['parent_topic_missing'] = 'The parent topic of the post you are trying to restore has been deleted.'; -$txt['restored_disabled'] = 'The restoration of topics has been disabled.'; -$txt['restore_not_found'] = 'The following messages could not be restored; the original topic may have been removed:
      %1$s
    You will need to move these manually.'; - -$txt['error_invalid_dir'] = 'The directory you entered is invalid.'; - -$txt['error_sqlite_optimizing'] = 'Sqlite is optimizing the database, the forum can not be accessed until it has finished. Please try refreshing this page momentarily.'; -?> \ No newline at end of file diff --git a/config/themes/default/languages/Help.english.php b/config/themes/default/languages/Help.english.php deleted file mode 100755 index 1fc5579..0000000 --- a/config/themes/default/languages/Help.english.php +++ /dev/null @@ -1,604 +0,0 @@ -Edit Boards
    - In this menu you can create/reorder/remove boards, and the categories - above them. For example, if you had a wide-ranging - site that offered information on "Sports" and "Cars" and "Music", these - would be the top-level Categories you\'d create. Under each of these - categories you\'d likely want to create hierarchical "sub-categories", - or "Boards" for topics within each. It\'s a simple hierarchy, with this structure:
    -
      -
    • - Sports -  - A "category" -
    • -
        -
      • - Baseball -  - A board under the category of "Sports" -
      • -
          -
        • - Stats -  - A child board under the board of "Baseball" -
        • -
        -
      • Football -  - A board under the category of "Sports"
      • -
      -
    - Categories allow you to break down the board into broad topics ("Cars, - Sports"), and the "Boards" under them are the actual topics under which - members can post. A user interested in Pintos - would post a message under "Cars->Pinto". Categories allow people to - quickly find what their interests are: Instead of a "Store" you have - "Hardware" and "Clothing" stores you can go to. This simplifies your - search for "pipe joint compound" because you can go to the Hardware - Store "category" instead of the Clothing Store (where you\'re unlikely - to find pipe joint compound).
    - As noted above, a Board is a key topic underneath a broad category. - If you want to discuss "Pintos" you\'d go to the "Auto" category and - jump into the "Pinto" board to post your thoughts in that board.
    - Administrative functions for this menu item are to create new boards - under each category, to reorder them (put "Pinto" behind "Chevy"), or - to delete the board entirely.'; - -$helptxt['edit_news'] = ' -
      -
    • - News
      - This section allows you to set the text for news items displayed on the Board Index page. - Add any item you want (e.g., "Don\'t miss the conference this Tuesday"). Each news item is displayed randomly and should be placed in a separate box. -
    • -
    • - Newsletters
      - This section allows you to send out newsletters to the members of the forum via personal message or email. First select the groups that you want to receive the newsletter, and those you don\'t want to receive the newsletter. If you wish, you can add additional members and email addresses that will receive the newsletter. Finally, input the message you want to send and select whether you want it to be sent to members as a personal message or as an email. -
    • -
    • - Settings
      - This section contains a few settings that relate to news and newsletters, including selecting what groups can edit forum news or send newsletters. There is also an setting to configure whether you want news feeds enabled on the forum, as well as a setting to configure the length (how many characters are displayed) for each news post from a news feed. -
    • -
    '; - -$helptxt['view_members'] = ' -
      -
    • - View all Members
      - View all members in the board. You are presented with a hyperlinked list of member names. You may click - on any of the names to find details of the members (homepage, age, etc.), and as Administrator - you are able to modify these parameters. You have complete control over members, including the - ability to delete them from the forum.

      -
    • -
    • - Awaiting Approval
      - This section is only shown if you have enabled admin approval of all new registrations. Anyone who registers to join your - forum will only become a full member once they have been approved by an admin. The section lists all those members who - are still awaiting approval, along with their email and IP address. You can choose to either accept or reject (delete) - any member on the list by checking the box next to the member and choosing the action from the drop-down box at the bottom - of the screen. When rejecting a member you can choose to delete the member either with or without notifying them of your decision.

      -
    • -
    • - Awaiting Activation
      - This section will only be visible if you have activation of member accounts enabled on the forum. This section will list all - members who have still not activated their new accounts. From this screen you can choose to either accept, reject or remind - members with outstanding registrations. As above you can also choose to email the member to inform them of the - action you have taken.

      -
    • -
    '; - -$helptxt['ban_members'] = 'Ban Members
    - SMF provides the ability to "ban" users, to prevent people who have violated the trust of the board - by spamming, trolling, etc. This allows you to those users who are detrimental to your forum. As an admin, - when you view messages, you can see each user\'s IP address used to post at that time. In the ban list, - you simply type that IP address in, save, and they can no longer post from that location.
    You can also - ban people through their email address.'; - -$helptxt['featuresettings'] = 'Features and Options
    - There are several features in this section that can be changed to your preference.'; - -$helptxt['securitysettings'] = 'Security and Moderation
    - This section contains settings relating to the security and moderation of your forum.'; - -$helptxt['modsettings'] = 'Modification Settings
    - This section should contain any settings added by modifications installed on your forum.'; - -$helptxt['number_format'] = 'Number Format
    - You can use this setting to format the way in which numbers on your forum will be displayed to the user. The format of this setting is:
    -
    1,234.00

    - Where \',\' is the character used to split up groups of thousands, \'.\' is the character used as the decimal point and the number of zeros dictate the accuracy of rounding.'; - -$helptxt['time_format'] = 'Time Format
    - You have the power to adjust how the time and date look for yourself. There are a lot of little letters, but it\'s quite simple. - The conventions follow PHP\'s strftime function and are described as below (more details can be found at php.net).
    -
    - The following characters are recognized in the format string:
    - -   %a - abbreviated weekday name
    -   %A - full weekday name
    -   %b - abbreviated month name
    -   %B - full month name
    -   %d - day of the month (01 to 31)
    -   %D* - same as %m/%d/%y
    -   %e* - day of the month (1 to 31)
    -   %H - hour using a 24-hour clock (range 00 to 23)
    -   %I - hour using a 12-hour clock (range 01 to 12)
    -   %m - month as a number (01 to 12)
    -   %M - minute as a number
    -   %p - either "am" or "pm" according to the given time
    -   %R* - time in 24 hour notation
    -   %S - second as a decimal number
    -   %T* - current time, equal to %H:%M:%S
    -   %y - 2 digit year (00 to 99)
    -   %Y - 4 digit year
    -   %% - a literal \'%\' character
    -
    - * Does not work on Windows-based servers.
    '; - -$helptxt['live_news'] = 'Live announcements
    - This box shows recently updated announcements from www.simplemachines.org. - You should check here every now and then for updates, new releases, and important information from Simple Machines.'; - -$helptxt['registrations'] = 'Registration Management
    - This section contains all the functions that could be necessary to manage new registrations on the forum. It contains up to four - sections which are visible depending on your forum settings. These are:

    -
      -
    • - Register new member
      - From this screen you can choose to register accounts for new members on their behalf. This can be useful in forums where registration is closed - to new members, or in cases where the admin wishes to create a test account. If the option to require activation of the account - is selected the member will be emailed a activation link which must be clicked before they can use the account. Similarly you can - select to email the users new password to the stated email address.

      -
    • -
    • - Edit Registration Agreement
      - This allows you to set the text for the registration agreement displayed when members sign up for your forum. - You can add or remove anything from the default registration agreement, which is included in SMF.

      -
    • -
    • - Set Reserved Names
      - Using this interface you can specify words or names which may not be used by your users.

      -
    • -
    • - Settings
      - This section will only be visible if you have permission to administrate the forum. From this screen you can decide on the registration method - is use on your forum, as well as other registration related settings. -
    • -
    '; - -$helptxt['modlog'] = 'Moderation Log
    - This section allows members of the moderation team to track all the moderation actions that the forum moderators have performed. To ensure that - moderators cannot remove references to the actions they have performed, entries may not be deleted until 24 hours after the action was taken.'; -$helptxt['adminlog'] = 'Administration Log
    - This section allows members of the admin team to track some of the administrative actions that have occurred on the forum. To ensure that - admins cannot remove references to the actions they have performed, entries may not be deleted until 24 hours after the action was taken.'; -$helptxt['warning_enable'] = 'User Warning System
    - This feature enables members of the admin and moderation team to issue warnings to members - and to use a members warning level to determine the - actions available to them on the forum. Upon enabling this feature a permission will be available within the permissions section to define - which groups may assign warnings to members. Warning levels can be adjusted from a members profile. The following additional options are available: -
      -
    • - Warning Level for Member Watch
      - This setting defines the percentage warning level a member must reach to automatically assign a "watch" to the member. - Any member who is being "watched" will appear in the relevant area of the moderation center. -
    • -
    • - Warning Level for Post Moderation
      - Any member passing the value of this setting will find all their posts require moderator approval before they appear to the forum - community. This will override any local board permissions which may exist related to post moderation. -
    • -
    • - Warning Level for Member Muting
      - If this warning level is passed by a member they will find themselves under a post ban. The member will lose all posting rights. -
    • -
    • - Maximum Member Warning Point per Day
      - This setting limits the amount of points a moderator may add/remove to any particular member in a twenty four hour period. This will - can be used to limit what a moderator can do in a small period of time. This setting can be disabled by setting to a value of zero. Note that - any member with administrator permissions are not affected by this value. -
    • -
    '; -$helptxt['error_log'] = 'Error Log
    - The error log tracks logs every serious error encountered by users using your forum. It lists all of these errors by date which can be sorted - by clicking the black arrow next to each date. Additionally you can filter the errors by clicking the picture next to each error statistic. This - allows you to filter, for example, by member. When a filter is active the only results that will be displayed will be those that match that filter.'; -$helptxt['theme_settings'] = 'Theme Settings
    - The settings screen allows you to change settings specific to a theme. These settings include options such as the themes directory and URL information but - also options that affect the layout of a theme on your forum. Most themes will have a variety of user configurable options, allowing you to adapt a theme - to suit your individual forum needs.'; -$helptxt['smileys'] = 'Smiley Center
    - Here you can add and remove smileys, and smiley sets. Note importantly that if a smiley is in one set, it\'s in all sets - otherwise, it might - get confusing for your users using different sets.

    - - You are also able to edit message icons from here, if you have them enabled on the settings page.'; -$helptxt['calendar'] = 'Manage Calendar
    - Here you can modify the current calendar settings as well as add and remove holidays that appear on the calendar.'; - -$helptxt['serversettings'] = 'Server Settings
    - Here you can perform the core configuration for your forum. This section includes the database and url settings, as well as other - important configuration items such as mail settings and caching. Think carefully whenever editing these settings as an error may - render the forum inaccessible'; -$helptxt['manage_files'] = ' -
      -
    • - Browse Files
      - Browse through all the attachments, avatars and thumbnails stored by SMF.

      -
    • - Attachment Settings
      - Configure where attachments are stored and set restrictions on the types of attachments.

      -
    • - Avatar Settings
      - Configure where avatars are stored and manage resizing of avatars.

      -
    • - File Maintenance
      - Check and repair any error in the attachment directory and delete selected attachments.

      -
    • -
    '; - -$helptxt['topicSummaryPosts'] = 'This allows you to set the number of previous posts shown in the topic summary at the reply screen.'; -$helptxt['enableAllMessages'] = 'Set this to the maximum number of posts a topic can have to show the all link. Setting this lower than "Maximum messages to display in a topic page" will simply mean it never gets shown, and setting it too high could slow down your forum.'; -$helptxt['enableStickyTopics'] = 'Stickies are topics that remain on top of the topic list. They are mostly used for important - messages. Although you can change this with permissions, by default only moderators and administrators can make topics sticky.'; -$helptxt['allow_guestAccess'] = 'Unchecking this box will stop guests from doing anything but very basic actions - login, register, password reminder, etc. - on your forum. This is not the same as disallowing guest access to boards.'; -$helptxt['userLanguage'] = 'Turning this option on will allow users to select which language file they use. It will not affect the - default selection.'; -$helptxt['trackStats'] = 'Stats:
    This will allow users to see the latest posts and the most popular topics on your forum. - It will also show several statistics, like the most members online, new members and new topics.
    - Page views:
    Adds another column to the stats page with the number of pageviews on your forum.'; -$helptxt['titlesEnable'] = 'Switching Custom Titles on will allow members with the relevant permission to create a special title for themselves. - This will be shown underneath the name.
    For example:
    Jeff
    Cool Guy'; -$helptxt['topbottomEnable'] = 'This will add go up and go down buttons, so that member can go to the top and bottom of a page - without scrolling.'; -$helptxt['onlineEnable'] = 'This will show an image to indicate whether the member is online or offline'; -$helptxt['todayMod'] = 'This will show "Today" or "Yesterday" instead of the date.

    - Examples:

    -
    -
    Disabled
    -
    October 3, 2009 at 12:59:18 am
    -
    Only Today
    -
    Today at 12:59:18 am
    -
    Today & Yesterday
    -
    Yesterday at 09:36:55 pm
    - '; -$helptxt['disableCustomPerPage'] = 'Check this option to stop users from customizing the amount of messages and topics to display per page on the Message Index and Topic Display page respectively.'; -$helptxt['enablePreviousNext'] = 'This will show a link to the next and previous topic.'; -$helptxt['pollMode'] = 'This selects whether polls are enabled or not. If polls are disabled, any existing polls will be hidden - from the topic listing. You can choose to continue to show the regular topic without their polls by selecting - "Show Existing Polls as Topics".

    To choose who can post polls, view polls, and similar, you - can allow and disallow those permissions. Remember this if polls are not working.'; -$helptxt['enableVBStyleLogin'] = 'This will show a more compact login on every page of the forum for guests.'; -$helptxt['enableCompressedOutput'] = 'This option will compress output to lower bandwidth consumption, but it requires - zlib to be installed.'; -$helptxt['disableTemplateEval'] = 'By default, templates are evaluated instead of just included. This helps with showing more useful debug information in case a template contains an error.

    - On large forums however, this customised inclusion process may be significantly slower. Therefore, advanced users may wish to disable it.'; -$helptxt['databaseSession_enable'] = 'This option makes use of the database for session storage - it is best for load balanced servers, but helps with all timeout issues and can make the forum faster.'; -$helptxt['databaseSession_loose'] = 'Turning this on will decrease the bandwidth your forum uses, and make it so clicking back will not reload the page - the downside is that the (new) icons won\'t update, among other things. (unless you click to that page instead of going back to it.)'; -$helptxt['databaseSession_lifetime'] = 'This is the number of seconds for sessions to last after they haven\'t been accessed. If a session is not accessed for too long, it is said to have "timed out". Anything higher than 2400 is recommended.'; -$helptxt['enableErrorLogging'] = 'This will log any errors, like a failed login, so you can see what went wrong.'; -$helptxt['enableErrorQueryLogging'] = 'This will include the full query sent to the database in the error log. Requires error logging to be turned on.

    Note: This will affect the ability to filter the error log by the error message.'; -$helptxt['allow_disableAnnounce'] = 'This will allow users to opt out of notification of topics you announce by checking the "announce topic" checkbox when posting.'; -$helptxt['disallow_sendBody'] = 'This option removes the option to receive the text of replies and posts in notification emails.

    Often, members will reply to the notification email, which in most cases means the webmaster receives the reply.'; -$helptxt['compactTopicPagesEnable'] = 'This will just show a selection of the number of pages.
    Example: - "3" to display: 1 ... 4 [5] 6 ... 9
    - "5" to display: 1 ... 3 4 [5] 6 7 ... 9'; -$helptxt['timeLoadPageEnable'] = 'This will show the time in seconds SMF took to create that page at the bottom of the board.'; -$helptxt['removeNestedQuotes'] = 'This will strip nested quotes from a post when citing the post in question via a quote link.'; -$helptxt['simpleSearch'] = 'This will show a simple search form and a link to a more advanced form.'; -$helptxt['max_image_width'] = 'This allows you to set a maximum size for posted pictures. Pictures smaller than the maximum will not be affected.'; -$helptxt['mail_type'] = 'This setting allows you to choose either PHP\'s default settings, or to override those settings with SMTP. PHP doesn\'t support using authentication with SMTP (which many hosts require, now) so if you want that you should select SMTP. Please note that SMTP can be slower, and some servers will not take usernames and passwords.

    You don\'t need to fill in the SMTP settings if this is set to PHP\'s default.'; -$helptxt['attachment_manager_settings'] = 'Attachments are files that members can upload, and attach to a post.

    - Check attachment extension:
    Do you want to check the extension of the files?
    - Allowed attachment extensions:
    You can set the allowed extensions of attached files.
    - Attachments directory:
    The path to your attachment folder
    (example: /home/sites/yoursite/www/forum/attachments)
    - Max attachment folder space (in KB):
    Select how large the attachment folder can be, including all files within it.
    - Max attachment size per post (in KB):
    Select the maximum filesize of all attachments made per post. If this is lower than the per-attachment limit, this will be the limit.
    - Max size per attachment (in KB):
    Select the maximum filesize of each separate attachment.
    - Max number of attachments per post:
    Select the number of attachments a person can make, per post.
    - Display attachment as picture in posts:
    If the uploaded file is a picture, this will show it underneath the post.
    - Resize images when showing under posts:
    If the above option is selected, this will save a separate (smaller) attachment for the thumbnail to decrease bandwidth.
    - Maximum width and height of thumbnails:
    Only used with the "Resize images when showing under posts" option, the maximum width and height to resize attachments down from. They will be resized proportionally.'; -$helptxt['attachment_image_paranoid'] = 'Selecting this option will enable very strict security checks on image attachments. Warning! These extensive checks can fail on valid images too. It is strongly recommended to only use this option together with image re-encoding, in order to have SMF try to resample the images which fail the security checks: if successful, they will be sanitized and uploaded. Otherwise, if image re-encoding is not enabled, all attachments failing checks will be rejected.'; -$helptxt['attachment_image_reencode'] = 'Selecting this option will enable trying to re-encode the uploaded image attachments. Image re-encoding offers better security. Note however that image re-encoding also renders all animated images static.
    This feature is only possible if the GD module is installed on your server.'; -$helptxt['avatar_paranoid'] = 'Selecting this option will enable very strict security checks on avatars. Warning! These extensive checks can fail on valid images too. It is strongly recommended to only use this option together with avatars re-encoding, in order to have SMF try to resample the images which fail the security checks: if successful, they will be sanitized and uploaded. Otherwise, if re-encoding of avatars is not enabled, all avatars failing checks will be rejected.'; -$helptxt['avatar_reencode'] = 'Selecting this option will enable trying to re-encode the uploaded avatars. Image re-encoding offers better security. Note however that image re-encoding also renders all animated images static.
    This feature is only possible if the GD module is installed on your server.'; -$helptxt['karmaMode'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can - \'applaud\' or \'smite\' other members, which is how their popularity is calculated. You can change the - number of posts needed to have a "karma", the time between smites or applauds, and if administrators - have to wait this time as well.

    Whether or not groups of members can smite others is controlled by - a permission. If you have trouble getting this feature to work for everyone, double check your permissions.'; -$helptxt['cal_enabled'] = 'The calendar can be used for showing birthdays, or for showing important moments happening in your community.

    - Show days as link to \'Post Event\':
    This will allow members to post events for that day, when they click on that date
    - Max days in advance on board index:
    If this is set to 7, the next week\'s worth of events will be shown.
    - Show holidays on board index:
    Show today\'s holidays in a calendar bar on the board index.
    - Show birthdays on board index:
    Show today\'s birthdays in a calendar bar on the board index.
    - Show events on board index:
    Show today\'s events in a calendar bar on the board index.
    - Default Board to Post In:
    What\'s the default board to post events in?
    - Allow events not linked to posts:
    Allow members to post events without requiring it to be linked with a post in a board.
    - Minimum year:
    Select the "first" year on the calendar list.
    - Maximum year:
    Select the "last" year on the calendar list
    - Allow events to span multiple days:
    Check to allow events to span multiple days.
    - Max number of days an event can span:
    Select the maximum days that an event can span.

    - Remember that usage of the calendar (posting events, viewing events, etc.) is controlled by permissions set on the permissions screen.'; -$helptxt['localCookies'] = 'SMF uses cookies to store login information on the client computer. - Cookies can be stored globally (myserver.com) or locally (myserver.com/path/to/forum).
    - Check this option if you\'re experiencing problems with users getting logged out automatically.
    - Globally stored cookies are less secure when used on a shared webserver (like Tripod).
    - Local cookies don\'t work outside the forum folder so, if your forum is stored at www.myserver.com/forum, pages like www.myserver.com/index.php cannot access the account information. - Especially when using SSI.php, global cookies are recommended.'; -$helptxt['enableBBC'] = 'Selecting this option will allow your members to use Bulletin Board Code (BBC) throughout the forum, allowing users to format their posts with images, type formatting and more.'; -$helptxt['time_offset'] = 'Not all forum administrators want their forum to use the same time zone as the server upon which it is hosted. Use this option to specify a time difference (in hours) from which the forum should operate from the server time. Negative and decimal values are permitted.'; -$helptxt['default_timezone'] = 'The server timezone tells PHP where your server is located. You should ensure this is set correctly, preferably to the country/city in which the city is located. You can find out more information on the PHP Site.'; -$helptxt['spamWaitTime'] = 'Here you can select the amount of time that must pass between postings. This can be used to stop people from "spamming" your forum by limiting how often they can post.'; - -$helptxt['enablePostHTML'] = 'This will allow the posting of some basic HTML tags: -
      -
    • <b>, <u>, <i>, <s>, <em>, <ins>, <del>
    • -
    • <a href="">
    • -
    • <img src="" alt="" />
    • -
    • <br />, <hr />
    • -
    • <pre>, <blockquote>
    • -
    '; - -$helptxt['themes'] = 'Here you can select whether the default theme can be chosen, what theme guests will use, - as well as other options. Click on a theme to the right to change the settings for it.'; -$helptxt['theme_install'] = 'This allows you to install new themes. You can do this from an already created directory, by uploading an archive for the theme, or by copying the default theme.

    Note that the archive or directory must have a theme_info.xml definition file.'; -$helptxt['enableEmbeddedFlash'] = 'This option will allow your users to use Flash directly inside their posts, - just like images. This could pose a security risk, although few have successfully exploited it. - USE AT YOUR OWN RISK!'; -// !!! Add more information about how to use them here. -$helptxt['xmlnews_enable'] = 'Allows people to link to Recent news - and similar data. It is also recommended that you limit the size of recent posts/news because, when rss data - is displayed in some clients, like Trillian, it is expected to be truncated.'; -$helptxt['hotTopicPosts'] = 'Change the number of posts for a topic to reach the state of a "hot" or - "very hot" topic.'; -$helptxt['globalCookies'] = 'Makes log in cookies available across subdomains. For example, if...
    - Your site is at http://www.simplemachines.org/,
    - And your forum is at http://forum.simplemachines.org/,
    - Using this option will allow you to access the forum\'s cookie on your site. Do not enable this if there are other subdomains (like hacker.simplemachines.org) not controlled by you.'; -$helptxt['secureCookies'] = 'Enabling this option will force the cookies created for users on your forum to be marked as secure. Only enable this option if you are using HTTPS throughout your site as it will break cookie handling otherwise!'; -$helptxt['securityDisable'] = 'This disables the additional password check for the administration section. This is not recommended!'; -$helptxt['securityDisable_why'] = 'This is your current password. (the same one you use to login.)

    Having to type this helps ensure that you want to do whatever administration you are doing, and that it is you doing it.'; -$helptxt['emailmembers'] = 'In this message you can use a few "variables". These are:
    - {$board_url} - The URL to your forum.
    - {$current_time} - The current time.
    - {$member.email} - The current member\'s email.
    - {$member.link} - The current member\'s link.
    - {$member.id} - The current member\'s id.
    - {$member.name} - The current member\'s name. (for personalization.)
    - {$latest_member.link} - The most recently registered member\'s link.
    - {$latest_member.id} - The most recently registered member\'s id.
    - {$latest_member.name} - The most recently registered member\'s name.'; -$helptxt['attachmentEncryptFilenames'] = 'Encrypting attachment filenames allows you to have more than one attachment of the - same name, to safely use .php files for attachments, and heightens security. It, however, could make it more - difficult to rebuild your database if something drastic happened.'; - -$helptxt['failed_login_threshold'] = 'Set the number of failed login attempts before directing the user to the password reminder screen.'; -$helptxt['oldTopicDays'] = 'If this option is enabled a warning will be displayed to the user when attempting to reply to a topic which has not had any new replies for the amount of time, in days, specified by this setting. Set this setting to 0 to disable the feature.'; -$helptxt['edit_wait_time'] = 'Number of seconds allowed for a post to be edited before logging the last edit date.'; -$helptxt['edit_disable_time'] = 'Number of minutes allowed to pass before a user can no longer edit a post they have made. Set to 0 disable.

    Note: This will not affect any user who has permission to edit other people\'s posts.'; -$helptxt['posts_require_captcha'] = 'This setting will force users to pass anti-spam bot verification each time they make a post to a board. Only users with a post count below the number set will need to enter the code - this should help combat automated spamming scripts.'; -$helptxt['enableSpellChecking'] = 'Enable spell checking. You MUST have the pspell library installed on your server and your PHP configuration set up to use the pspell library. Your server ' . (function_exists('pspell_new') ? 'DOES' : 'DOES NOT') . ' appear to have this set up.'; -$helptxt['disable_wysiwyg'] = 'This setting disallows all users from using the WYSIWYG ("What You See Is What You Get") editor on the post page.'; -$helptxt['lastActive'] = 'Set the number of minutes to show people are active in X number of minutes on the board index. Default is 15 minutes.'; - -$helptxt['customoptions'] = 'This section defines the options that a user may choose from a drop down list. There are a few key points to note in this section: -
      -
    • Default Option: Whichever option box has the "radio button" next to it selected will be the default selection for the user when they enter their profile.
    • -
    • Removing Options: To remove an option simply empty the text box for that option - all users with that selected will have their option cleared.
    • -
    • Reordering Options: You can reorder the options by moving text around between the boxes. However - an important note - you must make sure you do not change the text when reordering options as otherwise user data will be lost.
    • -
    '; - -$helptxt['autoOptDatabase'] = 'This option optimizes the database every so many days. Set it to 1 to make a daily optimization. You can also specify a maximum number of online users, so that you won\'t overload your server or inconvenience too many users.'; -$helptxt['autoFixDatabase'] = 'This will automatically fix broken tables and resume like nothing happened. This can be useful, because the only way to fix it is to REPAIR the table, and this way your forum won\'t be down until you notice. It does email you when this happens.'; - -$helptxt['enableParticipation'] = 'This shows a little icon on the topics the user has posted in.'; - -$helptxt['db_persist'] = 'Keeps the connection active to increase performance. If you aren\'t on a dedicated server, this may cause you problems with your host.'; -$helptxt['ssi_db_user'] = 'Optional setting to use a different database user and password when you are using SSI.php.'; - -$helptxt['queryless_urls'] = 'This changes the format of URLs a little so search engines will like them better. They will look like index.php/topic,1.0.html.

    This feature will ' . (isset($_SERVER['SERVER_SOFTWARE']) && (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') !== false) ? '' : 'not') . ' work on your server.'; -$helptxt['countChildPosts'] = 'Checking this option will mean that posts and topics in a board\'s child board will count toward its totals on the index page.

    This will make things notably slower, but means that a parent with no posts in it won\'t show \'0\'.'; -$helptxt['fixLongWords'] = 'This option breaks words longer than a certain length into pieces so they don\'t disturb the forum\'s layout. (as much...) This option should not be set to a value under 40. This option will not work with forums using UTF-8 and PHP less than 4.4.0. This ' . (empty($GLOBALS['context']['utf8']) || version_compare(PHP_VERSION, '4.4.0') != -1 ? 'WILL' : 'WILL NOT') . ' work on your server'; -$helptxt['allow_ignore_boards'] = 'Checking this option will allow users to select boards they wish to ignore.'; - -$helptxt['who_enabled'] = 'This option allows you to turn on or off the ability for users to see who is browsing the forum and what they are doing.'; - -$helptxt['recycle_enable'] = '"Recycles" deleted topics and posts to the specified board.'; - -$helptxt['enableReportPM'] = 'This option allows your users to report personal messages they receive to the administration team. This may be useful in helping to track down any abuse of the personal messaging system.'; -$helptxt['max_pm_recipients'] = 'This option allows you to set the maximum amount of recipients allowed in a single personal message sent by a forum member. This may be used to help stop spam abuse of the PM system. Note that users with permission to send newsletters are exempt from this restriction. Set to zero for no limit.'; -$helptxt['pm_posts_verification'] = 'This setting will force users to enter a code shown on a verification image each time they are sending a personal message. Only users with a post count below the number set will need to enter the code - this should help combat automated spamming scripts.'; -$helptxt['pm_posts_per_hour'] = 'This will limit the number of personal messages which may be sent by a user in a one hour period. This does not affect admins or moderators.'; - -$helptxt['default_personal_text'] = 'Sets the default text a new user will have as their "personal text."'; - -$helptxt['modlog_enabled'] = 'Logs all moderation actions.'; - -$helptxt['guest_hideContacts'] = 'If selected this option will hide the email addresses and messenger contact details - of all members from any guests on your forum'; - -$helptxt['registration_method'] = 'This option determines what method of registration is used for people wishing to join your forum. You can select from:

    -
      -
    • - Registration Disabled
      - Disables the registration process, which means that no new members can register to join your forum.
      -
    • - Immediate Registration
      - New members can login and post immediately after registering on your forum.
      -
    • - Email Activation
      - When this option is enabled any members registering with the forum will have an activation link emailed to them which they must click before they can become full members.
      -
    • - Admin Approval
      - This option will make it so all new members registering to your forum will need to be approved by the admin before they become members. -
    • -
    '; -$helptxt['register_openid'] = 'Authenticate with OpenID
    - OpenID is a means of using one username across different websites, to simplify the online experience. To use OpenID you first need to create an OpenID account - a list of providers can be found on the OpenID Official Site

    - Once you have an OpenID account simply enter your unique identification URL into the OpenID input box and submit. You will then be taken to your providers site to verify your identity before being passed back to this site.

    - On your first visit to this site you will be asked to confirm a couple of details before you will be recognized, after which you can login to this site and change your profile settings using just your OpenID.

    - For more information please visit the OpenID Official Site'; - -$helptxt['send_validation_onChange'] = 'When this option is checked all members who change their email address in their profile will have to reactivate their account from an email sent to that address'; -$helptxt['send_welcomeEmail'] = 'When this option is enabled all new members will be sent an email welcoming them to your community'; -$helptxt['password_strength'] = 'This setting determines the strength required for passwords selected by your forum users. The stronger the password, the harder it should be to compromise member\'s accounts. - Its possible options are: -
      -
    • Low: The password must be at least four characters long.
    • -
    • Medium: The password must be at least eight characters long, and can not be part of a users name or email address.
    • -
    • High: As for medium, except the password must also contain a mixture of upper and lower case letters, and at least one number.
    • -
    '; - -$helptxt['coppaAge'] = 'The value specified in this box will determine the minimum age that new members must be to be granted immediate access to the forums. - On registration they will be prompted to confirm whether they are over this age, and if not will either have their application rejected or suspended awaiting parental approval - dependant on the type of restriction chosen. - If a value of 0 is chosen for this setting then all other age restriction settings shall be ignored.'; -$helptxt['coppaType'] = 'If age restrictions are enabled, then this setting will define that happens when a user below the minimum age attempts to register with your forum. There are two possible choices: -
      -
    • - Reject Their Registration:
      - Any new member below the minimum age will have their registration rejected immediately.
      -
    • - Require Parent/Guardian Approval
      - Any new member who attempts to register and is below the minimum permitted age will have their account marked as awaiting approval, and will be presented with a form upon which their parents must give permission to become a member of the forums. - They will also be presented with the forum contact details entered on the settings page, so they can send the form to the administrator by mail or fax. -
    • -
    '; -$helptxt['coppaPost'] = 'The contact boxes are required so that forms granting permission for underage registration can be sent to the forum administrator. These details will be shown to all new minors, and are required for parent/guardian approval. At the very least a postal address or fax number must be provided.'; - -$helptxt['allow_hideOnline'] = 'With this option enabled all members will be able to hide their online status from other users (except administrators). If disabled only users who can moderate the forum can hide their presence. Note that disabling this option will not change any existing member\'s status - it just stops them from hiding themselves in the future.'; -$helptxt['make_email_viewable'] = 'If this option is enabled instead of users email addresses being hidden to normal members and guests they will be publicly viewable on the forum. Enabling this will put your users at greater risk of being victims of spam as a result of email harvesters visiting your forum. Note this setting does not override the user setting for hiding their email address from users. Enabling this setting is not recommended.'; -$helptxt['meta_keywords'] = 'These keywords are sent in the output of every page to indicate to search engines (etc) the key content of your site. They should be a comma separated list of words, and should not use HTML.'; - -$helptxt['latest_support'] = 'This panel shows you some of the most common problems and questions on your server configuration. Don\'t worry, this information isn\'t logged or anything.

    If this stays as "Retrieving support information...", your computer probably cannot connect to www.simplemachines.org.'; -$helptxt['latest_packages'] = 'Here you can see some of the most popular and some random packages or mods, with quick and easy installations.

    If this section doesn\'t show up, your computer probably cannot connect to www.simplemachines.org.'; -$helptxt['latest_themes'] = 'This area shows a few of the latest and most popular themes from www.simplemachines.org. It may not show up properly if your computer can\'t find www.simplemachines.org, though.'; - -$helptxt['secret_why_blank'] = 'For your security, your password and the answer to your secret question are encrypted so that the SMF software will never tell you, or anyone else, what they are.'; -$helptxt['moderator_why_missing'] = 'Since moderation is done on a board-by-board basis, you have to make members moderators from the board management interface.'; - -$helptxt['permissions'] = 'Permissions are how you either allow groups to, or deny groups from, doing specific things.

    You can modify multiple boards at once with the checkboxes, or look at the permissions for a specific group by clicking \'Modify.\''; -$helptxt['permissions_board'] = 'If a board is set to \'Global,\' it means that the board will not have any special permissions. \'Local\' means it will have its own permissions - separate from the global ones. This allows you to have a board that has more or less permissions than another, without requiring you to set them for each and every board.'; -$helptxt['permissions_quickgroups'] = 'These allow you to use the "default" permission setups - standard means \'nothing special\', restrictive means \'like a guest\', moderator means \'what a moderator has\', and lastly \'maintenance\' means permissions very close to those of an administrator.'; -$helptxt['permissions_deny'] = 'Denying permissions can be useful when you want take away permission from certain members. You can add a membergroup with a \'deny\'-permission to the members you wish to deny a permission.

    Use with care, a denied permission will stay denied no matter what other membergroups the member is in.'; -$helptxt['permissions_postgroups'] = 'Enabling permissions for post count based groups will allow you to attribute permissions to members that have posted a certain amount of messages. The permissions of the post count based groups are added to the permissions of the regular membergroups.'; -$helptxt['membergroup_guests'] = 'The Guests membergroup are all users that are not logged in.'; -$helptxt['membergroup_regular_members'] = 'The Regular Members are all members that are logged in, but that have no primary membergroup assigned.'; -$helptxt['membergroup_administrator'] = 'The administrator can, per definition, do anything and see any board. There are no permission settings for the administrator.'; -$helptxt['membergroup_moderator'] = 'The Moderator membergroup is a special membergroup. Permissions and settings assigned to this group apply to moderators but only on the boards they moderate. Outside these boards they\'re just like any other member.'; -$helptxt['membergroups'] = 'In SMF there are two types of groups that your members can be part of. These are: -
      -
    • Regular Groups: A regular group is a group to which members are not automatically put into. To assign a member to be in a group simply go to their profile and click "Account Settings". From here you can assign them any number of regular groups to which they will be part.
    • -
    • Post Groups: Unlike regular groups post based groups cannot be assigned. Instead, members are automatically assigned to a post based group when they reach the minimum number of posts required to be in that group.
    • -
    '; - -$helptxt['calendar_how_edit'] = 'You can edit these events by clicking on the red asterisk (*) next to their names.'; - -$helptxt['maintenance_backup'] = 'This area allows you to save a copy of all the posts, settings, members, and other information in your forum to a very large file.

    It is recommended that you do this often, perhaps weekly, for safety and security.'; -$helptxt['maintenance_rot'] = 'This allows you to completely and irrevocably remove old topics. It is recommended that you try to make a backup first, just in case you remove something you didn\'t mean to.

    Use this option with care.'; -$helptxt['maintenance_members'] = 'This allows you to completely and irrevocably remove member accounts from your forum. It is highly recommended that you try to make a backup first, just in case you remove something you didn\'t mean to.

    Use this option with care.'; - -$helptxt['avatar_server_stored'] = 'This allows your members to pick from avatars stored on your server itself. They are, generally, in the same place as SMF under the avatars folder.
    As a tip, if you create directories in that folder, you can make "categories" of avatars.'; -$helptxt['avatar_external'] = 'With this enabled, your members can type in a URL to their own avatar. The downside of this is that, in some cases, they may use avatars that are overly large or portray images you don\'t want on your forum.'; -$helptxt['avatar_download_external'] = 'With this option enabled, the URL given by the user is accessed to download the avatar at that location. On success, the avatar will be treated as uploadable avatar.'; -$helptxt['avatar_upload'] = 'This option is much like "Allow members to select an external avatar", except that you have better control over the avatars, a better time resizing them, and your members do not have to have somewhere to put avatars.

    However, the downside is that it can take a lot of space on your server.'; -$helptxt['avatar_download_png'] = 'PNGs are larger, but offer better quality compression. If this is unchecked, JPEG will be used instead - which is often smaller, but also of lesser or blurry quality.'; - -$helptxt['disableHostnameLookup'] = 'This disables host name lookups, which on some servers are very slow. Note that this will make banning less effective.'; - -$helptxt['search_weight_frequency'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor counts the amount of matching messages and divides them by the total number of messages within a topic.'; -$helptxt['search_weight_age'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor rates the age of the last matching message within a topic. The more recent this message is, the higher the score.'; -$helptxt['search_weight_length'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor is based on the topic size. The more messages are within the topic, the higher the score.'; -$helptxt['search_weight_subject'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor looks whether a search term can be found within the subject of a topic.'; -$helptxt['search_weight_first_message'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor looks whether a match can be found in the first message of a topic.'; -$helptxt['search_weight_sticky'] = 'Weight factors are used to determine the relevancy of a search result. Change these weight factors to match the things that are specifically important for your forum. For instance, a forum of a news site, might want a relatively high value for \'age of last matching message\'. All values are relative in relation to each other and should be positive integers.

    This factor looks whether a topic is sticky and increases the relevancy score if it is.'; -$helptxt['search'] = 'Adjust all settings for the search function here.'; -$helptxt['search_why_use_index'] = 'A search index can greatly improve the performance of searches on your forum. Especially when the number of messages on a forum grows bigger, searching without an index can take a long time and increase the pressure on your database. If your forum is bigger than 50.000 messages, you might want to consider creating a search index to assure peak performance of your forum.

    Note that a search index can take up quite some space. A fulltext index is a built-in index of MySQL. It\'s relatively compact (approximately the same size as the message table), but a lot of words aren\'t indexed and it can, in some search queries, turn out to be very slow. The custom index is often bigger (depending on your configuration it can be up to 3 times the size of the messages table) but it\'s performance is better than fulltext and relatively stable.'; - -$helptxt['see_admin_ip'] = 'IP addresses are shown to administrators and moderators to facilitate moderation and to make it easier to track people up to no good. Remember that IP addresses may not always be identifying, and most people\'s IP addresses change periodically.

    Members are also allowed to see their own IPs.'; -$helptxt['see_member_ip'] = 'Your IP address is shown only to you and moderators. Remember that this information is not identifying, and that most IPs change periodically.

    You cannot see other members\' IP addresses, and they cannot see yours.'; -$helptxt['whytwoip'] = 'SMF uses various methods to detect user IP addresses. Usually these two methods result in the same address but in some cases more than one address may be detected. In this case SMF logs both addresses, and uses them both for ban checks (etc). You can click on either address to track that IP and ban if necessary.'; - -$helptxt['ban_cannot_post'] = 'The \'cannot post\' restriction turns the forum into read-only mode for the banned user. The user cannot create new topics, or reply to existing ones, send personal messages or vote in polls. The banned user can however still read personal messages and topics.

    A warning message is shown to the users that are banned this way.'; - -$helptxt['posts_and_topics'] = ' -
      -
    • - Post Settings
      - Modify the settings related to the posting of messages and the way messages are shown. You can also enable the spell check here. -
    • - Bulletin Board Code
      - Enable the code that shows forum messages in the right layout. Also adjust which codes are allowed and which aren\'t. -
    • - Censored Words - In order to keep the language on your forum under control, you can censor certain words. This function allows you to convert forbidden words into innocent versions. -
    • - Topic Settings - Modify the settings related to topics. The number of topics per page, whether sticky topics are enabled or not, the number of messages needed for a topic to be hot, etc. -
    • -
    '; -$helptxt['spider_group'] = 'By selecting a restrictive group, when a guest is detected as a search crawler it will automatically be assigned any "deny" deny permissions of this group in addition to the normal permissions of a guest. You can use this to provide lesser access to a search engine than you would a normal guest. You might for example wish to create a new group called "Spiders" and select that here. You could then deny permission for that group to view profiles to stop spiders indexing your members profiles.
    Note: Spider detection is not perfect and can be simulated by users so this feature is not guaranteed to restrict content only to those search engines you have added.'; -$helptxt['show_spider_online'] = 'This setting allows you to select whether spiders should be listed in the who\'s online list on the board index and "Who\'s Online" page. Options are: -
      -
    • - Not at All
      - Spiders will simply appear as guests to all users. -
    • - Show Spider Quantity
      - The Board Index will display the number of spiders currently visiting the forum. -
    • - Show Spider Names
      - Each spider name will be revealed, so users can see how many of each spider is currently visiting the forum - this takes effect in both the Board Index and Who\'s Online page. -
    • - Show Spider Names - Admin Only
      - As above except only Administrators can see spider status - to all other users spiders appear as guests. -
    • -
    '; - -$helptxt['birthday_email'] = 'Choose the index of the birthday email message to use. A preview will be shown in the Email Subject and Email Body fields.
    Note: Setting this option does not automatically enable birthday emails. To enable birthday emails use the Scheduled Tasks page and enable the birthday email task.'; -$helptxt['pm_bcc'] = 'When sending a personal message you can choose to add a recipient as BCC or "Blind Carbon Copy". BCC recipients do not have their identities revealed to other recipients of the message.'; - -$helptxt['move_topics_maintenance'] = 'This will allow you to move all the posts from one board to another board.'; -$helptxt['maintain_reattribute_posts'] = 'You can use this function to attribute guest posts on your board to a registered member. This is useful if, for example, a user deleted their account and changed their mind and wished to have their old posts associated with their account.'; -$helptxt['chmod_flags'] = 'You can manually set the permissions you wish to set the selected files to. To do this enter the chmod value as a numeric (octet) value. Note - these flags will have no effect on Microsoft Windows operating systems.'; - -$helptxt['postmod'] = 'This section allows members of the moderation team (with sufficient permissions) to approve any posts and topics before they are shown.'; - -$helptxt['field_show_enclosed'] = 'Encloses the user input between some text or html. This will allow you to add more instant message providers, images or an embed etc. For example:

    - <a href="http://website.com/{INPUT}"><img src="{DEFAULT_IMAGES_URL}/icon.gif" alt="{INPUT}" /></a>

    - Note that you can use the following variables:
    -
      -
    • {INPUT} - The input specified by the user.
    • -
    • {SCRIPTURL} - Web address of forum.
    • -
    • {IMAGES_URL} - Url to images folder in the users current theme.
    • -
    • {DEFAULT_IMAGES_URL} - Url to the images folder in the default theme.
    • -
    '; - -$helptxt['custom_mask'] = 'The input mask is important for your forum\'s security. Validating the input from a user can help ensure that data is not used in a way you do not expect. We have provided some simple regular expressions as hints.

    -
    - "[A-Za-z]+" - Match all upper and lower case alphabet characters.
    - "[0-9]+" - Match all numeric characters.
    - "[A-Za-z0-9]{7}" - Match all upper and lower case alphabet and numeric characters seven times.
    - "[^0-9]?" - Forbid any number from being matched.
    - "^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$" - Only allow 3 or 6 character hexcodes.
    -


    - Additionally, special metacharacters ?+*^$ and {xx} can be defined. -
    - ? - None or one match of previous expression.
    - + - One or more of previous expression.
    - * - None or more of previous expression.
    - {xx} - An exact number from previous expression.
    - {xx,} - An exact number or more from previous expression.
    - {,xx} - An exact number or less from previous expression.
    - {xx,yy} - An exact match between the two numbers from previous expression.
    - ^ - Start of string.
    - $ - End of string.
    - \ - Escapes the next character.
    -


    - More information and advanced techniques may be found on the internet.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Install.english.php b/config/themes/default/languages/Install.english.php deleted file mode 100755 index ced98ca..0000000 --- a/config/themes/default/languages/Install.english.php +++ /dev/null @@ -1,235 +0,0 @@ -help is available if you need it.'; -$txt['still_writable'] = 'Your installation directory is still writable. It\'s a good idea to chmod it so that it is not writable for security reasons.'; -$txt['delete_installer'] = 'Click here to delete this install.php file now.'; -$txt['delete_installer_maybe'] = '(doesn\'t work on all servers.)'; -$txt['go_to_your_forum'] = 'Now you can see your newly installed forum and begin to use it. You should first make sure you are logged in, after which you will be able to access the administration center.'; -$txt['good_luck'] = 'Good luck!
    Simple Machines'; - -$txt['install_welcome'] = 'Welcome'; -$txt['install_welcome_desc'] = 'Welcome to SMF. This script will guide you through the process for installing %1$s. We\'ll gather a few details about your forum over the next few steps, and after a couple of minutes your forum will be ready for use.'; -$txt['install_all_lovely'] = 'We\'ve completed some initial tests on your server and everything appears to be in order. Simply click the "Continue" button below to get started.'; - -$txt['user_refresh_install'] = 'Forum Refreshed'; -$txt['user_refresh_install_desc'] = 'While installing, the installer found that (with the details you provided) one or more of the tables this installer might create already existed.
    Any missing tables in your installation have been recreated with the default data, but no data was deleted from existing tables.'; - -$txt['default_topic_subject'] = 'Welcome to SMF!'; -$txt['default_topic_message'] = 'Welcome to Simple Machines Forum!

    We hope you enjoy using your forum.  If you have any problems, please feel free to [url=http://www.simplemachines.org/community/index.php]ask us for assistance[/url].

    Thanks!
    Simple Machines'; -$txt['default_board_name'] = 'General Discussion'; -$txt['default_board_description'] = 'Feel free to talk about anything and everything in this board.'; -$txt['default_category_name'] = 'General Category'; -$txt['default_time_format'] = '%B %d, %Y, %I:%M:%S %p'; -$txt['default_news'] = 'SMF - Just Installed!'; -$txt['default_karmaLabel'] = 'Karma:'; -$txt['default_karmaSmiteLabel'] = '[smite]'; -$txt['default_karmaApplaudLabel'] = '[applaud]'; -$txt['default_reserved_names'] = 'Admin\nWebmaster\nGuest\nroot'; -$txt['default_smileyset_name'] = 'Alienine\'s Set'; -$txt['default_aaron_smileyset_name'] = 'Aaron\'s Set'; -$txt['default_akyhne_smileyset_name'] = 'Akyhne\'s Set'; -$txt['default_theme_name'] = 'SMF Default Theme - Curve'; -$txt['default_core_theme_name'] = 'Core Theme'; -$txt['default_classic_theme_name'] = 'Classic YaBB SE Theme'; -$txt['default_babylon_theme_name'] = 'Babylon Theme'; - -$txt['default_administrator_group'] = 'Administrator'; -$txt['default_global_moderator_group'] = 'Global Moderator'; -$txt['default_moderator_group'] = 'Moderator'; -$txt['default_newbie_group'] = 'Newbie'; -$txt['default_junior_group'] = 'Jr. Member'; -$txt['default_full_group'] = 'Full Member'; -$txt['default_senior_group'] = 'Sr. Member'; -$txt['default_hero_group'] = 'Hero Member'; - -$txt['default_smiley_smiley'] = 'Smiley'; -$txt['default_wink_smiley'] = 'Wink'; -$txt['default_cheesy_smiley'] = 'Cheesy'; -$txt['default_grin_smiley'] = 'Grin'; -$txt['default_angry_smiley'] = 'Angry'; -$txt['default_sad_smiley'] = 'Sad'; -$txt['default_shocked_smiley'] = 'Shocked'; -$txt['default_cool_smiley'] = 'Cool'; -$txt['default_huh_smiley'] = 'Huh?'; -$txt['default_roll_eyes_smiley'] = 'Roll Eyes'; -$txt['default_tongue_smiley'] = 'Tongue'; -$txt['default_embarrassed_smiley'] = 'Embarrassed'; -$txt['default_lips_sealed_smiley'] = 'Lips Sealed'; -$txt['default_undecided_smiley'] = 'Undecided'; -$txt['default_kiss_smiley'] = 'Kiss'; -$txt['default_cry_smiley'] = 'Cry'; -$txt['default_evil_smiley'] = 'Evil'; -$txt['default_azn_smiley'] = 'Azn'; -$txt['default_afro_smiley'] = 'Afro'; -$txt['default_laugh_smiley'] = 'Laugh'; -$txt['default_police_smiley'] = 'Police'; -$txt['default_angel_smiley'] = 'Angel'; - -$txt['error_message_click'] = 'Click here'; -$txt['error_message_try_again'] = 'to try this step again.'; -$txt['error_message_bad_try_again'] = 'to try installing anyway, but note that this is strongly discouraged.'; - -$txt['install_settings'] = 'Forum Settings'; -$txt['install_settings_info'] = 'This page requires you to define a few key settings for your forum. SMF has automatically detected key settings for you.'; -$txt['install_settings_name'] = 'Forum name'; -$txt['install_settings_name_info'] = 'This is the name of your forum, ie. "The Testing Forum".'; -$txt['install_settings_name_default'] = 'My Community'; -$txt['install_settings_url'] = 'Forum URL'; -$txt['install_settings_url_info'] = 'This is the URL to your forum without the trailing \'/\'!.
    In most cases, you can leave the default value in this box alone - it is usually right.'; -$txt['install_settings_compress'] = 'Gzip Output'; -$txt['install_settings_compress_title'] = 'Compress output to save bandwidth.'; -// In this string, you can translate the word "PASS" to change what it says when the test passes. -$txt['install_settings_compress_info'] = 'This function does not work properly on all servers, but can save you a lot of bandwidth.
    Click here to test it. (it should just say "PASS".)'; -$txt['install_settings_dbsession'] = 'Database Sessions'; -$txt['install_settings_dbsession_title'] = 'Use the database for sessions instead of using files.'; -$txt['install_settings_dbsession_info1'] = 'This feature is almost always for the best, as it makes sessions more dependable.'; -$txt['install_settings_dbsession_info2'] = 'This feature is generally a good idea, but may not work properly on this server.'; -$txt['install_settings_utf8'] = 'UTF-8 Character Set'; -$txt['install_settings_utf8_title'] = 'Use UTF-8 as default character set'; -$txt['install_settings_utf8_info'] = 'This feature lets both the database and the forum use an international character set, UTF-8. This can be useful when working with multiple languages that use different character sets.'; -$txt['install_settings_stats'] = 'Allow Stat Collection'; -$txt['install_settings_stats_title'] = 'Allow Simple Machines to Collect Basic Stats Monthly'; -$txt['install_settings_stats_info'] = 'If enabled, this will allow Simple Machines to visit your site once a month to collect basic statistics. This will help us make decisions as to which configurations to optimize the software for. For more information please visit our info page.'; -$txt['install_settings_proceed'] = 'Proceed'; - -$txt['db_settings'] = 'Database Server Settings'; -$txt['db_settings_info'] = 'These are the settings to use for your database server. If you don\'t know the values, you should ask your host what they are.'; -$txt['db_settings_type'] = 'Database type'; -$txt['db_settings_type_info'] = 'Multiple supported database types were detected - which do you wish to use. Please note that running pre-SMF 2.0 RC3 along with newer SMF versions in the same PostgreSQL database is not supported. You need to upgrade your older installations in that case.'; -$txt['db_settings_server'] = 'Server name'; -$txt['db_settings_server_info'] = 'This is nearly always localhost - so if you don\'t know, try localhost.'; -$txt['db_settings_username'] = 'Username'; -$txt['db_settings_username_info'] = 'Fill in the username you need to connect to your database here.
    If you don\'t know what it is, try the username of your ftp account, most of the time they are the same.'; -$txt['db_settings_password'] = 'Password'; -$txt['db_settings_password_info'] = 'Here, put the password you need to connect to your database.
    If you don\'t know this, you should try the password to your ftp account.'; -$txt['db_settings_database'] = 'Database name'; -$txt['db_settings_database_info'] = 'Fill in the name of the database you want to use for SMF to store its data in.'; -$txt['db_settings_database_info_note'] = 'If this database does not exist, this installer will try to create it.'; -$txt['db_settings_database_file'] = 'Database filename'; -$txt['db_settings_database_file_info'] = 'This is the name of the file in which to store the SMF data. We recommend you use the randomly generated name for this and set the path of this file to be outside of the public area of your webserver.'; -$txt['db_settings_prefix'] = 'Table prefix'; -$txt['db_settings_prefix_info'] = 'The prefix for every table in the database. Do not install two forums with the same prefix!
    This value allows for multiple installations in one database.'; -$txt['db_sqlite_warning'] = 'Only recommended for small, low volume and/or intranet-type forums'; -$txt['db_populate'] = 'Populated Database'; -$txt['db_populate_info'] = 'Your settings have now been saved and the database has been populated with all the data required to get your forum up and running. Summary of population:'; -$txt['db_populate_info2'] = 'Click "Continue" to progress to the admin account creation page.'; -$txt['db_populate_inserts'] = 'Inserted %1$d rows.'; -$txt['db_populate_tables'] = 'Created %1$d tables.'; -$txt['db_populate_insert_dups'] = 'Ignored %1$d duplicated inserts.'; -$txt['db_populate_table_dups'] = 'Ignored %1$d duplicated tables.'; - -$txt['user_settings'] = 'Create Your Account'; -$txt['user_settings_info'] = 'The installer will now create a new administrator account for you.'; -$txt['user_settings_username'] = 'Your username'; -$txt['user_settings_username_info'] = 'Choose the name you want to login with.
    This can\'t be changed later, but your display name can be.'; -$txt['user_settings_password'] = 'Password'; -$txt['user_settings_password_info'] = 'Fill in your preferred password here, and remember it well!'; -$txt['user_settings_again'] = 'Password'; -$txt['user_settings_again_info'] = '(just for verification.)'; -$txt['user_settings_email'] = 'Email Address'; -$txt['user_settings_email_info'] = 'Provide your email address as well. This must be a valid email address.'; -$txt['user_settings_database'] = 'Database Password'; -$txt['user_settings_database_info'] = 'The installer requires that you supply the database password to create an administrator account, for security reasons.'; -$txt['user_settings_skip'] = 'Skip'; -$txt['user_settings_skip_sure'] = 'Are you sure you wish to skip admin account creation?'; -$txt['user_settings_proceed'] = 'Finish'; - -$txt['ftp_checking_writable'] = 'Checking Files are Writable'; -$txt['ftp_setup'] = 'FTP Connection Information'; -$txt['ftp_setup_info'] = 'This installer can connect via FTP to fix the files that need to be writable and are not. If this doesn\'t work for you, you will have to go in manually and make the files writable. Please note that this doesn\'t support SSL right now.'; -$txt['ftp_server'] = 'Server'; -$txt['ftp_server_info'] = 'This should be the server and port for your FTP server.'; -$txt['ftp_port'] = 'Port'; -$txt['ftp_username'] = 'Username'; -$txt['ftp_username_info'] = 'The username to login with. This will not be saved anywhere.'; -$txt['ftp_password'] = 'Password'; -$txt['ftp_password_info'] = 'The password to login with. This will not be saved anywhere.'; -$txt['ftp_path'] = 'Install Path'; -$txt['ftp_path_info'] = 'This is the relative path you use in your FTP server.'; -$txt['ftp_path_found_info'] = 'The path in the box above was automatically detected.'; -$txt['ftp_connect'] = 'Connect'; -$txt['ftp_setup_why'] = 'What is this step for?'; -$txt['ftp_setup_why_info'] = 'Some files need to be writable for SMF to work properly. This step allows you to let the installer make them writable for you. However, in some cases it won\'t work - in that case, please make the following files 777 (writable, 755 on some hosts):'; -$txt['ftp_setup_again'] = 'to test if these files are writable again.'; - -$txt['error_php_too_low'] = 'Warning! You do not appear to have a version of PHP installed on your webserver that meets SMF\'s minimum installations requirements.
    If you are not the host, you will need to ask your host to upgrade, or use a different host - otherwise, please upgrade PHP to a recent version.

    If you know for a fact that your PHP version is high enough you may continue, although this is strongly discouraged.'; -$txt['error_missing_files'] = 'Unable to find crucial installation files in the directory of this script!

    Please make sure you uploaded the entire installation package, including the sql file, and then try again.'; -$txt['error_session_save_path'] = 'Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.
    '; -$txt['error_windows_chmod'] = 'You\'re on a windows server, and some crucial files are not writable. Please ask your host to give write permissions to the user PHP is running under for the files in your SMF installation. The following files or directories need to be writable:'; -$txt['error_ftp_no_connect'] = 'Unable to connect to FTP server with this combination of details.'; -$txt['error_db_file'] = 'Cannot find database source script! Please check file %1$s is within your forum source directory.'; -$txt['error_db_connect'] = 'Cannot connect to the database server with the supplied data.

    If you are not sure about what to type in, please contact your host.'; -$txt['error_db_too_low'] = 'The version of your database server is very old, and does not meet SMF\'s minimum requirements.

    Please ask your host to either upgrade it or supply a new one, and if they won\'t, please try a different host.'; -$txt['error_db_database'] = 'The installer was unable to access the "%1$s" database. With some hosts, you have to create the database in your administration panel before SMF can use it. Some also add prefixes - like your username - to your database names.'; -$txt['error_db_queries'] = 'Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.

    Technical information about the queries:'; -$txt['error_db_queries_line'] = 'Line #'; -$txt['error_db_missing'] = 'The installer was unable to detect any database support in PHP. Please ask your host to ensure that PHP was compiled with the desired database, or that the proper extension is being loaded.'; -$txt['error_db_script_missing'] = 'The installer could not find any install script files for the detected databases. Please check you have uploaded the necessary install script files to your forum directory, for example "%1$s"'; -$txt['error_session_missing'] = 'The installer was unable to detect sessions support in your server\'s installation of PHP. Please ask your host to ensure that PHP was compiled with session support (in fact, it has to be explicitly compiled without it.)'; -$txt['error_user_settings_again_match'] = 'You typed in two completely different passwords!'; -$txt['error_user_settings_no_password'] = 'Your password must be at least four characters long.'; -$txt['error_user_settings_taken'] = 'Sorry, a member is already registered with that username and/or email address.

    A new account has not been created.'; -$txt['error_user_settings_query'] = 'A database error occurred while trying to create an administrator. This error was:'; -$txt['error_subs_missing'] = 'Unable to find the Sources/Subs.php file. Please make sure it was uploaded properly, and then try again.'; -$txt['error_db_alter_priv'] = 'The database account you specified does not have permission to ALTER, CREATE, and/or DROP tables in the database; this is necessary for SMF to function properly.'; -$txt['error_versions_do_not_match'] = 'The installer has detected another version of SMF already installed with the specified information. If you are trying to upgrade, you should use the upgrader, not the installer.

    Otherwise, you may wish to use different information, or create a backup and then delete the data currently in the database.'; -$txt['error_mod_security'] = 'The installer has detected the mod_security module is installed on your web server. Mod_security will block submitted forms even before SMF gets a say in anything. SMF has a built-in security scanner that will work more effectively than mod_security and that won\'t block submitted forms.

    More information about disabling mod_security'; -$txt['error_mod_security_no_write'] = 'The installer has detected the mod_security module is installed on your web server. Mod_security will block submitted forms even before SMF gets a say in anything. SMF has a built-in security scanner that will work more effectively than mod_security and that won\'t block submitted forms.

    More information about disabling mod_security

    Alternatively, you may wish to use your ftp client to chmod .htaccess in the forum directory to be writable (777), and then refresh this page.'; -$txt['error_utf8_version'] = 'The current version of your database doesn\'t support the use of the UTF-8 character set. You can still install SMF without any problems, but only with UTF-8 support unchecked. If you would like to switch over to UTF-8 in the future (e.g. after the database server of your forum has been upgraded to version >= %1$s), you can convert your forum to UTF-8 through the admin panel.'; -$txt['error_valid_email_needed'] = 'You have not entered a valid email address.'; -$txt['error_already_installed'] = 'The installer has detected that you already have SMF installed. It is strongly advised that you do not try to overwrite an existing installation - continuing with installation may result in the loss or corruption of existing data.

    If you wish to upgrade please visit the Simple Machines Website and download the latest upgrade package.

    If you wish to overwrite your existing installation, including all data, it\'s recommended that you delete the existing database tables and replace Settings.php and try again.'; -$txt['error_warning_notice'] = 'Warning!'; -$txt['error_script_outdated'] = 'This install script is out of date! The current version of SMF is %1$s but this install script is for %2$s.

    - It is recommended that you visit the Simple Machines website to ensure you are installing the latest version.'; -$txt['error_db_filename'] = 'You must enter a name for the database file name for SQLite.'; -$txt['error_db_prefix_numeric'] = 'The selected database type does not support the use of numeric prefixes.'; -$txt['error_invalid_characters_username'] = 'Invalid character used in Username.'; -$txt['error_username_too_long'] = 'Username must be less than 25 characters long.'; -$txt['error_username_left_empty'] = 'Username field was left empty.'; -$txt['error_db_filename_exists'] = 'The database that you are trying to create exists. Please delete the current database file or enter another name.'; -$txt['error_db_prefix_reserved'] = 'The prefix that you entered is a reserved prefix. Please enter another prefix.'; - -$txt['upgrade_upgrade_utility'] = 'SMF Upgrade Utility'; -$txt['upgrade_warning'] = 'Warning!'; -$txt['upgrade_critical_error'] = 'Critical Error!'; -$txt['upgrade_continue'] = 'Continue'; -$txt['upgrade_skip'] = 'Skip'; -$txt['upgrade_note'] = 'Note!'; -$txt['upgrade_step'] = 'Step'; -$txt['upgrade_steps'] = 'Steps'; -$txt['upgrade_progress'] = 'Progress'; -$txt['upgrade_overall_progress'] = 'Overall Progress'; -$txt['upgrade_step_progress'] = 'Step Progress'; -$txt['upgrade_time_elapsed'] = 'Time Elapsed'; -$txt['upgrade_time_mins'] = 'mins'; -$txt['upgrade_time_secs'] = 'seconds'; - -$txt['upgrade_incomplete'] = 'Incomplete'; -$txt['upgrade_not_quite_done'] = 'Not quite done yet!'; -$txt['upgrade_paused_overload'] = 'This upgrade has been paused to avoid overloading your server. Don\'t worry, nothing\'s wrong - simply click the below to keep going.'; - -$txt['upgrade_ready_proceed'] = 'Thank you for choosing to upgrade to SMF %1$s. All files appear to be in place, and we\'re ready to proceed.'; - -$txt['upgrade_error_script_js'] = 'The upgrade script cannot find script.js or it is out of date. Make sure your theme paths are correct. You can download a setting checker tool from the Simple Machines Website'; - -$txt['upgrade_warning_lots_data'] = 'This upgrade script has detected that your forum contains a lot of data which needs upgrading. This process may take quite some time depending on your server and forum size, and for very large forums (~300,000 messages) may take several hours to complete.'; -$txt['upgrade_warning_out_of_date'] = 'This upgrade script is out of date! The current version of SMF is ?? but this upgrade script is for %1$s.

    It is recommended that you visit the Simple Machines website to ensure you are upgrading to the latest version.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Login.english.php b/config/themes/default/languages/Login.english.php deleted file mode 100755 index d21d092..0000000 --- a/config/themes/default/languages/Login.english.php +++ /dev/null @@ -1,151 +0,0 @@ -If you wish to restore your account, please check the "Reactivate my account" box, and login again.'; -$txt['undelete_account'] = 'Reactivate my account'; - -// Use numeric entities in the below three strings. -$txt['change_password'] = 'New Password Details'; -$txt['change_password_login'] = 'Your login details at'; -$txt['change_password_new'] = 'have been changed and your password reset. Below are your new login details.'; - -$txt['in_maintain_mode'] = 'This board is in Maintenance Mode.'; - -// These two are used as a javascript alert; please use international characters directly, not as entities. -$txt['register_agree'] = 'Please read and accept the agreement before registering.'; -$txt['register_passwords_differ_js'] = 'The two passwords you entered are not the same!'; - -$txt['approval_after_registration'] = 'Thank you for registering. The admin must approve your registration before you may begin to use your account, you will receive an email shortly advising you of the admins decision.'; - -$txt['admin_settings_desc'] = 'Here you can change a variety of settings related to registration of new members.'; - -$txt['setting_enableOpenID'] = 'Allow users to register using OpenID'; - -$txt['setting_registration_method'] = 'Method of registration employed for new members'; -$txt['setting_registration_disabled'] = 'Registration Disabled'; -$txt['setting_registration_standard'] = 'Immediate Registration'; -$txt['setting_registration_activate'] = 'Email Activation'; -$txt['setting_registration_approval'] = 'Admin Approval'; -$txt['setting_notify_new_registration'] = 'Notify administrators when a new member joins'; -$txt['setting_send_welcomeEmail'] = 'Send welcome email to new members'; - -$txt['setting_coppaAge'] = 'Age below which to apply registration restrictions'; -$txt['setting_coppaAge_desc'] = '(Set to 0 to disable)'; -$txt['setting_coppaType'] = 'Action to take when a user below minimum age registers'; -$txt['setting_coppaType_reject'] = 'Reject their registration'; -$txt['setting_coppaType_approval'] = 'Require parent/guardian approval'; -$txt['setting_coppaPost'] = 'Postal address to which approval forms should be sent'; -$txt['setting_coppaPost_desc'] = 'Only applies if age restriction is in place'; -$txt['setting_coppaFax'] = 'Fax number to which approval forms should be faxed'; -$txt['setting_coppaPhone'] = 'Contact number for parents to contact with age restriction queries'; - -$txt['admin_register'] = 'Registration of new member'; -$txt['admin_register_desc'] = 'From here you can register new members into the forum, and if desired, email them their details.'; -$txt['admin_register_username'] = 'New Username'; -$txt['admin_register_email'] = 'Email Address'; -$txt['admin_register_password'] = 'Password'; -$txt['admin_register_username_desc'] = 'Username for the new member'; -$txt['admin_register_email_desc'] = 'Email address of the member'; -$txt['admin_register_password_desc'] = 'Password for new member'; -$txt['admin_register_email_detail'] = 'Email new password to user'; -$txt['admin_register_email_detail_desc'] = 'Email address required even if unchecked'; -$txt['admin_register_email_activate'] = 'Require user to activate the account'; -$txt['admin_register_group'] = 'Primary Membergroup'; -$txt['admin_register_group_desc'] = 'Primary membergroup new member will belong to'; -$txt['admin_register_group_none'] = '(no primary membergroup)'; -$txt['admin_register_done'] = 'Member %1$s has been registered successfully!'; - -$txt['coppa_title'] = 'Age Restricted Forum'; -$txt['coppa_after_registration'] = 'Thank you for registering with ' . $context['forum_name_html_safe'] . '.

    Because you fall under the age of {MINIMUM_AGE}, it is a legal requirement - to obtain your parent or guardian\'s permission before you may begin to use your account. To arrange for account activation please print off the form below:'; -$txt['coppa_form_link_popup'] = 'Load Form In New Window'; -$txt['coppa_form_link_download'] = 'Download Form as Text File'; -$txt['coppa_send_to_one_option'] = 'Then arrange for your parent/guardian to send the completed form by:'; -$txt['coppa_send_to_two_options'] = 'Then arrange for your parent/guardian to send the completed form by either:'; -$txt['coppa_send_by_post'] = 'Post, to the following address:'; -$txt['coppa_send_by_fax'] = 'Fax, to the following number:'; -$txt['coppa_send_by_phone'] = 'Alternatively, arrange for them to phone the administrator at {PHONE_NUMBER}.'; - -$txt['coppa_form_title'] = 'Permission form for registration at ' . $context['forum_name_html_safe']; -$txt['coppa_form_address'] = 'Address'; -$txt['coppa_form_date'] = 'Date'; -$txt['coppa_form_body'] = 'I {PARENT_NAME},

    Give permission for {CHILD_NAME} (child name) to become a fully registered member of the forum: ' . $context['forum_name_html_safe'] . ', with the username: {USER_NAME}.

    I understand that certain personal information entered by {USER_NAME} may be shown to other users of the forum.

    Signed:
    {PARENT_NAME} (Parent/Guardian).'; - -$txt['visual_verification_sound_again'] = 'Play again'; -$txt['visual_verification_sound_close'] = 'Close window'; -$txt['visual_verification_sound_direct'] = 'Having problems hearing this? Try a direct link to it.'; - -// Use numeric entities in the below. -$txt['registration_username_available'] = 'Username is available'; -$txt['registration_username_unavailable'] = 'Username is not available'; -$txt['registration_username_check'] = 'Check if username is available'; -$txt['registration_password_short'] = 'Password is too short'; -$txt['registration_password_reserved'] = 'Password contains your username/email'; -$txt['registration_password_numbercase'] = 'Password must contain both upper and lower case, and numbers'; -$txt['registration_password_no_match'] = 'Passwords do not match'; -$txt['registration_password_valid'] = 'Password is valid'; - -$txt['registration_errors_occurred'] = 'The following errors were detected in your registration. Please correct them to continue:'; - -$txt['authenticate_label'] = 'Authentication Method'; -$txt['authenticate_password'] = 'Password'; -$txt['authenticate_openid'] = 'OpenID'; -$txt['authenticate_openid_url'] = 'OpenID Authentication URL'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageBoards.english.php b/config/themes/default/languages/ManageBoards.english.php deleted file mode 100755 index 3446355..0000000 --- a/config/themes/default/languages/ManageBoards.english.php +++ /dev/null @@ -1,98 +0,0 @@ -"username", "username". (these must be usernames not display names!)
    To create a new board, click the Add Board button. To make the new board a child of a current board, select "Child of..." from the Order drop down menu when creating the board.'; -$txt['parent_members_only'] = 'Regular Members'; -$txt['parent_guests_only'] = 'Guests'; -$txt['catConfirm'] = 'Do you really want to delete this category?'; -$txt['boardConfirm'] = 'Do you really want to delete this board?'; - -$txt['catEdit'] = 'Edit Category'; -$txt['collapse_enable'] = 'Collapsible'; -$txt['collapse_desc'] = 'Allow users to collapse this category'; -$txt['catModify'] = '(modify)'; - -$txt['mboards_order_after'] = 'After '; -$txt['mboards_order_inside'] = 'Inside '; -$txt['mboards_order_first'] = 'In first place'; - -$txt['mboards_new_board'] = 'Add Board'; -$txt['mboards_new_cat_name'] = 'New Category'; -$txt['mboards_add_cat_button'] = 'Add Category'; -$txt['mboards_new_board_name'] = 'New Board'; - -$txt['mboards_name'] = 'Name'; -$txt['mboards_modify'] = 'modify'; -$txt['mboards_permissions'] = 'permissions'; -// Don't use entities in the below string. -$txt['mboards_permissions_confirm'] = 'Are you sure you want to switch this board to use local permissions?'; - -$txt['mboards_delete_cat'] = 'Delete Category'; -$txt['mboards_delete_board'] = 'Delete Board'; - -$txt['mboards_delete_cat_contains'] = 'Deleting this category will also delete the below boards, including all topics, posts and attachments within each board'; -$txt['mboards_delete_option1'] = 'Delete category and all boards contained within.'; -$txt['mboards_delete_option2'] = 'Delete category and move all boards contained within to'; -$txt['mboards_delete_board_contains'] = 'Deleting this board will also move the child boards below, including all topics, posts and attachments within each board'; -$txt['mboards_delete_board_option1'] = 'Delete board and move child boards contained within to category level.'; -$txt['mboards_delete_board_option2'] = 'Delete board and move all child boards contained within to'; -$txt['mboards_delete_what_do'] = 'Please select what you would like to do with these boards'; -$txt['mboards_delete_confirm'] = 'Confirm'; -$txt['mboards_delete_cancel'] = 'Cancel'; - -$txt['mboards_category'] = 'Category'; -$txt['mboards_description'] = 'Description'; -$txt['mboards_description_desc'] = 'A short description of your board.'; -$txt['mboards_groups'] = 'Allowed Groups'; -$txt['mboards_groups_desc'] = 'Groups allowed to access this board.
    Note: if the member is in any group or post group checked, they will have access to this board.'; -$txt['mboards_groups_regular_members'] = 'This group contains all members that have no primary group set.'; -$txt['mboards_groups_post_group'] = 'This group is a post count based group.'; -$txt['mboards_moderators'] = 'Moderators'; -$txt['mboards_moderators_desc'] = 'Additional members to have moderation privileges on this board. Note that administrators don\'t have to be listed here.'; -$txt['mboards_count_posts'] = 'Count Posts'; -$txt['mboards_count_posts_desc'] = 'Makes new replies and topics raise members\' post counts.'; -$txt['mboards_unchanged'] = 'Unchanged'; -$txt['mboards_theme'] = 'Board Theme'; -$txt['mboards_theme_desc'] = 'This allows you to change the look of your forum inside only this board.'; -$txt['mboards_theme_default'] = '(overall forum default.)'; -$txt['mboards_override_theme'] = 'Override Member\'s Theme'; -$txt['mboards_override_theme_desc'] = 'Use this board\'s theme even if the member didn\'t choose to use the defaults.'; - -$txt['mboards_redirect'] = 'Redirect to a web address'; -$txt['mboards_redirect_desc'] = 'Enable this option to redirect anyone who clicks on this board to another web address.'; -$txt['mboards_redirect_url'] = 'Address to redirect users to'; -$txt['mboards_redirect_url_desc'] = 'For example: "http://www.simplemachines.org".'; -$txt['mboards_redirect_reset'] = 'Reset redirect count'; -$txt['mboards_redirect_reset_desc'] = 'Selecting this will reset the redirection count for this board to zero.'; -$txt['mboards_current_redirects'] = 'Currently: %1$s'; -$txt['mboards_redirect_disabled'] = 'Note: Board must be empty of topics to enable this option.'; -$txt['mboards_redirect_disabled_recycle'] = 'Note: You cannot set the recycle bin board to be a redirection board.'; - -$txt['mboards_order_before'] = 'Before'; -$txt['mboards_order_child_of'] = 'Child of'; -$txt['mboards_order_in_category'] = 'In category'; -$txt['mboards_current_position'] = 'Current Position'; -$txt['no_valid_parent'] = 'Board %1$s does not have a valid parent. Use the \'find and repair errors\' function to fix this.'; - -$txt['mboards_recycle_disabled_delete'] = 'Note: You must select an alternative recycle bin board or disable recycling before you can delete this board.'; - -$txt['mboards_settings_desc'] = 'Edit general board and category settings.'; -$txt['groups_manage_boards'] = 'Membergroups allowed to manage boards and categories'; -$txt['mboards_settings_submit'] = 'Save'; -$txt['recycle_enable'] = 'Enable recycling of deleted topics'; -$txt['recycle_board'] = 'Board for recycled topics'; -$txt['recycle_board_unselected_notice'] = 'You have enabled the recycling of topics without specifying a board to place them in. This feature will not be enabled until you specify a board to place recycled topics into.'; -$txt['countChildPosts'] = 'Count child\'s posts in parent\'s totals'; -$txt['allow_ignore_boards'] = 'Allow boards to be ignored'; - -$txt['mboards_select_destination'] = 'Select destination for board \'%1$s\''; -$txt['mboards_cancel_moving'] = 'Cancel moving'; -$txt['mboards_move'] = 'move'; - -$txt['mboards_no_cats'] = 'There are currently no categories or boards configured.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageCalendar.english.php b/config/themes/default/languages/ManageCalendar.english.php deleted file mode 100755 index dd02d9c..0000000 --- a/config/themes/default/languages/ManageCalendar.english.php +++ /dev/null @@ -1,45 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/languages/ManageMail.english.php b/config/themes/default/languages/ManageMail.english.php deleted file mode 100755 index 542716b..0000000 --- a/config/themes/default/languages/ManageMail.english.php +++ /dev/null @@ -1,50 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/languages/ManageMaintenance.english.php b/config/themes/default/languages/ManageMaintenance.english.php deleted file mode 100755 index ad388e7..0000000 --- a/config/themes/default/languages/ManageMaintenance.english.php +++ /dev/null @@ -1,214 +0,0 @@ -Critical
    '; -$txt['errortype_critical_desc'] = 'Critical errors. These should be taken care of as quickly as possible. Ignoring these errors can result in your forum failing and possibly security issues'; -$txt['errortype_database'] = 'Database'; -$txt['errortype_database_desc'] = 'Errors caused by faulty queries. These should be looked at and reported to the SMF team.'; -$txt['errortype_undefined_vars'] = 'Undefined'; -$txt['errortype_undefined_vars_desc'] = 'Errors caused by the use of undefined variables, indexes, or offsets.'; -$txt['errortype_template'] = 'Template'; -$txt['errortype_template_desc'] = 'Errors related to the loading of templates.'; -$txt['errortype_user'] = 'User'; -$txt['errortype_user_desc'] = 'Errors resulting from user errors. Includes failed passwords, trying to login when banned, and trying to do an action for which they do not have permission.'; - -$txt['maintain_recount'] = 'Recount all forum totals and statistics'; -$txt['maintain_recount_info'] = 'Should the total replies of a topic or the number of PMs in your inbox be incorrect: this function will recount all saved counts and statistics for you.'; -$txt['maintain_errors'] = 'Find and repair any errors'; -$txt['maintain_errors_info'] = 'If, for example, posts or topics are missing after a server crash, this function may help finding them again.'; -$txt['maintain_logs'] = 'Empty out unimportant logs'; -$txt['maintain_logs_info'] = 'This function will empty out all unimportant logs. This should be avoided unless something\'s wrong, but it doesn\'t hurt anything.'; -$txt['maintain_cache'] = 'Empty the file cache'; -$txt['maintain_cache_info'] = 'This function will empty out the file cache should you need it to be cleared.'; -$txt['maintain_optimize'] = 'Optimize all tables'; -$txt['maintain_optimize_info'] = 'This task allows you to optimize all tables. This will get rid of overhead, effectively making the tables smaller in size and your forum faster!'; -$txt['maintain_version'] = 'Check all files against current versions'; -$txt['maintain_version_info'] = 'This maintenance task allows you to do a detailed version check of all forum files against the official list of latest versions.'; -$txt['maintain_run_now'] = 'Run task now'; -$txt['maintain_return'] = 'Back to Forum Maintenance'; - -$txt['maintain_backup'] = 'Backup Database'; -$txt['maintain_backup_info'] = 'Download a backup copy of your forums database in case of emergency.'; -$txt['maintain_backup_struct'] = 'Save the table structure.'; -$txt['maintain_backup_data'] = 'Save the table data (the important stuff).'; -$txt['maintain_backup_gz'] = 'Compress the file with gzip.'; -$txt['maintain_backup_save'] = 'Download'; - -$txt['maintain_old'] = 'Remove Old Posts'; -$txt['maintain_old_since_days1'] = 'Remove all topics not posted in for '; -$txt['maintain_old_since_days2'] = ' days, which are:'; -$txt['maintain_old_nothing_else'] = 'Any sort of topic.'; -$txt['maintain_old_are_moved'] = 'Moved topic notices.'; -$txt['maintain_old_are_locked'] = 'Locked.'; -$txt['maintain_old_are_not_stickied'] = 'But don\'t count stickied topics.'; -$txt['maintain_old_all'] = 'All Boards (click to select specific boards)'; -$txt['maintain_old_choose'] = 'Specific Boards (click to select all)'; -$txt['maintain_old_remove'] = 'Remove now'; -$txt['maintain_old_confirm'] = 'Are you really sure you want to delete old posts now?\\n\\nThis cannot be undone!'; - -$txt['maintain_members'] = 'Remove Inactive Members'; -$txt['maintain_members_ungrouped'] = 'Ungrouped Members (Members with no assigned groups)'; -$txt['maintain_members_since1'] = 'Remove all members who have not'; -$txt['maintain_members_since2'] = 'for'; -$txt['maintain_members_since3'] = 'days.'; -$txt['maintain_members_activated'] = 'activated their account'; -$txt['maintain_members_logged_in'] = 'logged in'; -$txt['maintain_members_all'] = 'All Membergroups'; -$txt['maintain_members_choose'] = 'Selected Groups'; -$txt['maintain_members_confirm'] = 'Are you sure you really want to delete these member accounts?\\n\\nThis cannot be undone!'; - -$txt['utf8_title'] = 'Convert the database and data to UTF-8'; -$txt['utf8_introduction'] = 'UTF-8 is an international character set covering nearly all languages around the world. Converting your database and data to UTF-8 can make it easier to support multiple languages on the same board. It also can enhance search and sorting capabilities for languages with non-latin characters.'; -$txt['utf8_warning'] = 'If you want to convert your data and database to UTF-8, be aware of the following: -
      -
    • Converting character sets might be harmful for your data! Make sure you have backed up your database before converting.
    • -
    • Because UTF-8 is a richer character set than most other character sets, there\'s no way back, unless by restoring your database to before the conversion.
    • -
    • After converting your data and database to UTF-8, you will need UTF-8 compatible language files.
    • -
    '; -$txt['utf8_charset_not_supported'] = 'Conversion from %1$s to UTF-8 is not supported.'; -$txt['utf8_detected_charset'] = 'Based on your default language file (\'%1$s\'), the character set of your data would most likely be \'%2$s\'.'; -$txt['utf8_already_utf8'] = 'Your database and data already seem to be configured as UTF-8 data. No conversion is needed.'; -$txt['utf8_source_charset'] = 'Data character set'; -$txt['utf8_proceed'] = 'Proceed'; -$txt['utf8_database_charset'] = 'Database character set'; -$txt['utf8_target_charset'] = 'Convert data and database to'; -$txt['utf8_utf8'] = 'UTF-8'; -$txt['utf8_db_version_too_low'] = 'The version of MySQL that your database server is using is not high enough to support UTF-8 properly. A minimum version of 4.1.2 is required.'; -$txt['utf8_cannot_convert_fulltext'] = 'Your messages table is using a fulltext index for use when searching. You cannot proceed in converting to UTF-8 until that index is removed. You can re-create it after the conversion has been completed.'; - -$txt['entity_convert_title'] = 'Convert HTML-entities to UTF-8 characters'; -$txt['entity_convert_only_utf8'] = 'The database needs to be in UTF-8 format before HTML-entities can be converted to UTF-8'; -$txt['entity_convert_introduction'] = 'This function will convert all characters that are stored in the database as HTML-entities to UTF-8 characters. This is especially useful when you have just converted your forum from a character set like ISO-8859-1 while non-latin characters were used on the forum. The browser then sends all characters as HTML-entities. For example, the HTML-entity &#945; represents the greek letter α (alpha). Converting entities to UTF-8 will improve searching and sorting of text and reduce storage size.'; -$txt['entity_convert_proceed'] = 'Proceed'; - -// Move topics out. -$txt['move_topics_maintenance'] = 'Move Topics'; -$txt['move_topics_select_board'] = 'Select Board'; -$txt['move_topics_from'] = 'Move topics from'; -$txt['move_topics_to'] = 'to'; -$txt['move_topics_now'] = 'Move now'; -$txt['move_topics_confirm'] = 'Are you sure you want to move ALL the topics from "%board_from%" to "%board_to%"?'; - -$txt['maintain_reattribute_posts'] = 'Reattribute User Posts'; -$txt['reattribute_guest_posts'] = 'Attribute guest posts made with'; -$txt['reattribute_email'] = 'Email address of'; -$txt['reattribute_username'] = 'Username of'; -$txt['reattribute_current_member'] = 'Attribute posts to member'; -$txt['reattribute_increase_posts'] = 'Add posts to users post count'; -$txt['reattribute'] = 'Reattribute'; -// Don't use entities in the below string. -$txt['reattribute_confirm'] = 'Are you sure you want to attribute all guest posts with %type% of "%find%" to member "%member_to%"?'; -$txt['reattribute_confirm_username'] = 'a username'; -$txt['reattribute_confirm_email'] = 'an email address'; -$txt['reattribute_cannot_find_member'] = 'Could not find member to attribute posts to.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageMembers.english.php b/config/themes/default/languages/ManageMembers.english.php deleted file mode 100755 index a5e3218..0000000 --- a/config/themes/default/languages/ManageMembers.english.php +++ /dev/null @@ -1,129 +0,0 @@ -Note: normally, post groups don\'t need access because the group the member is in will give them access.'; -$txt['membergroups_new_as_inherit'] = 'inherit from'; -$txt['membergroups_new_as_type'] = 'by type'; -$txt['membergroups_new_as_copy'] = 'based off of'; -$txt['membergroups_new_copy_none'] = '(none)'; -$txt['membergroups_can_edit_later'] = 'You can edit them later.'; - -$txt['membergroups_edit_group'] = 'Edit Membergroup'; -$txt['membergroups_edit_name'] = 'Group name'; -$txt['membergroups_edit_inherit_permissions'] = 'Inherit Permissions'; -$txt['membergroups_edit_inherit_permissions_desc'] = 'Select "No" to enable group to have own permission set.'; -$txt['membergroups_edit_inherit_permissions_no'] = 'No - Use Unique Permissions'; -$txt['membergroups_edit_inherit_permissions_from'] = 'Inherit From'; -$txt['membergroups_edit_hidden'] = 'Visibility'; -$txt['membergroups_edit_hidden_no'] = 'Visible'; -$txt['membergroups_edit_hidden_boardindex'] = 'Visible - Except in Group Key'; -$txt['membergroups_edit_hidden_all'] = 'Invisible'; -// Do not use numeric entities in the below string. -$txt['membergroups_edit_hidden_warning'] = 'Are you sure you want to disallow assignment of this group as a users primary group?\\n\\nDoing so will restrict assignment to additional groups only, and will update all current "primary" members to have it as an additional group only.'; -$txt['membergroups_edit_desc'] = 'Group description'; -$txt['membergroups_edit_group_type'] = 'Group Type'; -$txt['membergroups_edit_select_group_type'] = 'Select Group Type'; -$txt['membergroups_group_type_private'] = 'Private (Membership must be assigned)'; -$txt['membergroups_group_type_protected'] = 'Protected (Only administrators can manage and assign)'; -$txt['membergroups_group_type_request'] = 'Requestable (User may request membership)'; -$txt['membergroups_group_type_free'] = 'Free (User may leave and join group at will)'; -$txt['membergroups_group_type_post'] = 'Post Based (Membership based on post count)'; -$txt['membergroups_min_posts'] = 'Required posts'; -$txt['membergroups_online_color'] = 'Color in online list'; -$txt['membergroups_star_count'] = 'Number of star images'; -$txt['membergroups_star_image'] = 'Star image filename'; -$txt['membergroups_star_image_note'] = 'you can use $language for the language of the user'; -$txt['membergroups_max_messages'] = 'Max personal messages'; -$txt['membergroups_max_messages_note'] = '0 = unlimited'; -$txt['membergroups_edit_save'] = 'Save'; -$txt['membergroups_delete'] = 'Delete'; -$txt['membergroups_confirm_delete'] = 'Are you sure you want to delete this group?!'; - -$txt['membergroups_members_title'] = 'Viewing Group'; -$txt['membergroups_members_group_members'] = 'Group Members'; -$txt['membergroups_members_no_members'] = 'This group is currently empty'; -$txt['membergroups_members_add_title'] = 'Add a member to this group'; -$txt['membergroups_members_add_desc'] = 'List of Members to Add'; -$txt['membergroups_members_add'] = 'Add Members'; -$txt['membergroups_members_remove'] = 'Remove from Group'; -$txt['membergroups_members_last_active'] = 'Last Active'; -$txt['membergroups_members_additional_only'] = 'Add as additional group only.'; -$txt['membergroups_members_group_moderators'] = 'Group Moderators'; -$txt['membergroups_members_description'] = 'Description'; -// Use javascript escaping in the below. -$txt['membergroups_members_deadmin_confirm'] = 'Are you sure you wish to remove yourself from the Administration group?'; - -$txt['membergroups_postgroups'] = 'Post groups'; -$txt['membergroups_settings'] = 'Membergroup Settings'; -$txt['groups_manage_membergroups'] = 'Groups allowed to change membergroups'; -$txt['membergroups_select_permission_type'] = 'Select permission profile'; -$txt['membergroups_images_url'] = '{theme URL}/images/'; -$txt['membergroups_select_visible_boards'] = 'Show boards'; -$txt['membergroups_members_top'] = 'Members'; -$txt['membergroups_name'] = 'Name'; -$txt['membergroups_stars'] = 'Stars'; - -$txt['admin_browse_approve'] = 'Members whose accounts are awaiting approval'; -$txt['admin_browse_approve_desc'] = 'From here you can manage all members who are waiting to have their accounts approved.'; -$txt['admin_browse_activate'] = 'Members whose accounts are awaiting activation'; -$txt['admin_browse_activate_desc'] = 'This screen lists all the members who have still not activated their accounts at your forum.'; -$txt['admin_browse_awaiting_approval'] = 'Awaiting Approval (%1$d)'; -$txt['admin_browse_awaiting_activate'] = 'Awaiting Activation (%1$d)'; - -$txt['admin_browse_username'] = 'Username'; -$txt['admin_browse_email'] = 'Email Address'; -$txt['admin_browse_ip'] = 'IP Address'; -$txt['admin_browse_registered'] = 'Registered'; -$txt['admin_browse_id'] = 'ID'; -$txt['admin_browse_with_selected'] = 'With Selected'; -$txt['admin_browse_no_members_approval'] = 'No members currently await approval.'; -$txt['admin_browse_no_members_activate'] = 'No members currently have not activated their accounts.'; - -// Don't use entities in the below strings, except the main ones. (lt, gt, quot.) -$txt['admin_browse_warn'] = 'all selected members?'; -$txt['admin_browse_outstanding_warn'] = 'all affected members?'; -$txt['admin_browse_w_approve'] = 'Approve'; -$txt['admin_browse_w_activate'] = 'Activate'; -$txt['admin_browse_w_delete'] = 'Delete'; -$txt['admin_browse_w_reject'] = 'Reject'; -$txt['admin_browse_w_remind'] = 'Remind'; -$txt['admin_browse_w_approve_deletion'] = 'Approve (Delete Accounts)'; -$txt['admin_browse_w_email'] = 'and send email'; -$txt['admin_browse_w_approve_require_activate'] = 'Approve and Require Activation'; - -$txt['admin_browse_filter_by'] = 'Filter By'; -$txt['admin_browse_filter_show'] = 'Displaying'; -$txt['admin_browse_filter_type_0'] = 'Unactivated New Accounts'; -$txt['admin_browse_filter_type_2'] = 'Unactivated Email Changes'; -$txt['admin_browse_filter_type_3'] = 'Unapproved New Accounts'; -$txt['admin_browse_filter_type_4'] = 'Unapproved Account Deletions'; -$txt['admin_browse_filter_type_5'] = 'Unapproved "Under Age" Accounts'; - -$txt['admin_browse_outstanding'] = 'Outstanding Members'; -$txt['admin_browse_outstanding_days_1'] = 'With all members who registered longer than'; -$txt['admin_browse_outstanding_days_2'] = 'days ago'; -$txt['admin_browse_outstanding_perform'] = 'Perform the following action'; -$txt['admin_browse_outstanding_go'] = 'Perform Action'; - -$txt['check_for_duplicate'] = 'Check for Duplicates'; -$txt['dont_check_for_duplicate'] = 'Don\'t Check for Duplicates'; -$txt['duplicates'] = 'Duplicates'; - -$txt['not_activated'] = 'Not activated'; -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManagePaid.english.php b/config/themes/default/languages/ManagePaid.english.php deleted file mode 100755 index 9bb78bf..0000000 --- a/config/themes/default/languages/ManagePaid.english.php +++ /dev/null @@ -1,216 +0,0 @@ -Note:
    -SMF currently supports PayPal as the installed payment method.
    -   •  It is not necessary to enable IPN in your PayPal account; if you do, the forum will receive payment notifications for all payments made to your account, and this will generate Paid Subscriptions errors for payments that are not subscription related.
    -   •  You must have a business or premier account to use recurring payments.
    -   •  You must provide your primary PayPal email address for validation purposes.

    - -If you install a different payment gateway, you may need to set up a return URL for payment notification. For all payment types, this return URL should be set as:

    -   •  ' . $boardurl . '/subscriptions.php

    -You can normally find it in your customer panels, usually under the term "Return URL" or "Callback URL".


    '; - -$txt['paypal_additional_emails'] = 'Primary PayPal email address'; -$txt['paypal_additional_emails_desc'] = 'If different (for business account)'; - -// View subscription strings. -$txt['paid_name'] = 'Name'; -$txt['paid_status'] = 'Status'; -$txt['paid_cost'] = 'Cost'; -$txt['paid_duration'] = 'Duration'; -$txt['paid_active'] = 'Active'; -$txt['paid_pending'] = 'Pending Payment'; -$txt['paid_finished'] = 'Finished'; -$txt['paid_total'] = 'Total'; -$txt['paid_is_active'] = 'Activated'; -$txt['paid_none_yet'] = 'You haven\'t set up any subscriptions yet.'; -$txt['paid_payments_pending'] = 'Payments Pending'; -$txt['paid_order'] = 'Order'; - -$txt['yes'] = 'Yes'; -$txt['no'] = 'No'; - -// Add/Edit/Delete subscription. -$txt['paid_add_subscription'] = 'Add Subscription'; -$txt['paid_edit_subscription'] = 'Edit Subscription'; -$txt['paid_delete_subscription'] = 'Delete Subscription'; - -$txt['paid_mod_name'] = 'Subscription Name'; -$txt['paid_mod_desc'] = 'Description'; -$txt['paid_mod_reminder'] = 'Send Reminder Email'; -$txt['paid_mod_reminder_desc'] = 'Days before subscription is due to expire to send reminder. (In days, 0 to disable)'; -$txt['paid_mod_email'] = 'Email to Send upon Completion'; -$txt['paid_mod_email_desc'] = 'Where {NAME} is members name; {FORUM} is community name. Email subject should be on first line. Blank for no email notification.'; -$txt['paid_mod_cost_usd'] = 'Cost (USD)'; -$txt['paid_mod_cost_eur'] = 'Cost (EUR)'; -$txt['paid_mod_cost_gbp'] = 'Cost (GBP)'; -$txt['paid_mod_cost_blank'] = 'Leave this blank to not offer this currency.'; -$txt['paid_mod_span'] = 'Length of Subscription'; -$txt['paid_mod_span_days'] = 'Days'; -$txt['paid_mod_span_weeks'] = 'Weeks'; -$txt['paid_mod_span_months'] = 'Months'; -$txt['paid_mod_span_years'] = 'Years'; -$txt['paid_mod_active'] = 'Active'; -$txt['paid_mod_active_desc'] = 'A subscription must be active for new members to join.'; -$txt['paid_mod_prim_group'] = 'Primary Group upon Subscription'; -$txt['paid_mod_prim_group_desc'] = 'Primary group to put the user into when they subscribe.'; -$txt['paid_mod_add_groups'] = 'Additional Groups upon Subscription'; -$txt['paid_mod_add_groups_desc'] = 'Additional groups to add the user to after subscription.'; -$txt['paid_mod_no_group'] = 'Don\'t Change'; -$txt['paid_mod_edit_note'] = 'Note that as this group has existing subscribers the group settings cannot be changed!'; -$txt['paid_mod_delete_warning'] = 'WARNING

    If you delete this subscription all users currently subscribed will lose any access rights granted by the subscription. Unless you are sure you want to do this it is recommended that you simply deactivate a subscription rather than delete it.
    '; -$txt['paid_mod_repeatable'] = 'Allow user to auto-renew this subscription'; -$txt['paid_mod_allow_partial'] = 'Allow partial subscription'; -$txt['paid_mod_allow_partial_desc'] = 'If this option is enabled, in the case where the user pays less than required they will be granted a subscription for the percentage of the duration they have paid for.'; -$txt['paid_mod_fixed_price'] = 'Subscription for fixed price and period'; -$txt['paid_mod_flexible_price'] = 'Subscription price varies on duration ordered'; -$txt['paid_mod_price_breakdown'] = 'Flexible Price Breakdown'; -$txt['paid_mod_price_breakdown_desc'] = 'Define here how much the subscription should cost dependant on the period they subscribe for. For example, it could cost 12USD to subscribe for a month, but only 100USD for a year. If you don\'t want to define a price for a particular period of time leave it blank.'; -$txt['flexible'] = 'Flexible'; - -$txt['paid_per_day'] = 'Price Per Day'; -$txt['paid_per_week'] = 'Price Per Week'; -$txt['paid_per_month'] = 'Price Per Month'; -$txt['paid_per_year'] = 'Price Per Year'; -$txt['day'] = 'Day'; -$txt['week'] = 'Week'; -$txt['month'] = 'Month'; -$txt['year'] = 'Year'; - -// View subscribed users. -$txt['viewing_users_subscribed'] = 'Viewing Users'; -$txt['view_users_subscribed'] = 'Viewing users subscribed to: "%1$s"'; -$txt['no_subscribers'] = 'There are currently no subscribers to this subscription!'; -$txt['add_subscriber'] = 'Add New Subscriber'; -$txt['edit_subscriber'] = 'Edit Subscriber'; -$txt['delete_selected'] = 'Delete Selected'; -$txt['complete_selected'] = 'Complete Selected'; - -// !!! These strings are used in conjunction with JavaScript. Use numeric entities. -$txt['delete_are_sure'] = 'Are you sure you want to delete all records of the selected subscriptions?'; -$txt['complete_are_sure'] = 'Are you sure you want to complete the selected subscriptions?'; - -$txt['start_date'] = 'Start Date'; -$txt['end_date'] = 'End Date'; -$txt['start_date_and_time'] = 'Start Date and Time'; -$txt['end_date_and_time'] = 'End Date and Time'; -$txt['edit'] = 'EDIT'; -$txt['one_username'] = 'Please enter one username only.'; -$txt['hour'] = 'Hour'; -$txt['minute'] = 'Minute'; -$txt['error_member_not_found'] = 'The member entered could not be found'; -$txt['member_already_subscribed'] = 'This member is already subscribed to this subscription. Please edit their existing subscription.'; -$txt['search_sub'] = 'Find User'; - -// Make payment. -$txt['paid_confirm_payment'] = 'Confirm Payment'; -$txt['paid_confirm_desc'] = 'To continue through to payment please check the details below and hit "Order"'; -$txt['paypal'] = 'PayPal'; -$txt['paid_confirm_paypal'] = 'To pay using PayPal please click the button below. You will be directed to the PayPal site for payment.'; -$txt['paid_paypal_order'] = 'Order with PayPal'; -$txt['worldpay'] = 'WorldPay'; -$txt['paid_confirm_worldpay'] = 'To pay using WorldPay please click the button below. You will be directed to the WorldPay site for payment.'; -$txt['paid_worldpay_order'] = 'Order with WorldPay'; -$txt['nochex'] = 'Nochex'; -$txt['paid_confirm_nochex'] = 'To pay using Nochex please click the button below. You will be directed to the Nochex site for payment.'; -$txt['paid_nochex_order'] = 'Order with Nochex'; -$txt['authorize'] = 'Authorize.Net'; -$txt['paid_confirm_authorize'] = 'To pay using Authorize.Net please click the button below. You will be directed to the Authorize.Net site for payment.'; -$txt['paid_authorize_order'] = 'Order with Authorize.Net'; -$txt['2co'] = '2checkout'; -$txt['paid_confirm_2co'] = 'To pay using 2co.com please click the button below. You will be directed to the 2co.com site for payment.'; -$txt['paid_2co_order'] = 'Order with 2co.com'; -$txt['paid_done'] = 'Payment Complete'; -$txt['paid_done_desc'] = 'Thank you for your payment. Once the transaction has been verified the subscription will be activated.'; -$txt['paid_sub_return'] = 'Return to Subscriptions'; -$txt['paid_current_desc'] = 'Below is a list of all your current and previous subscriptions. To extend an existing subscription simply select it from the list above.'; -$txt['paid_admin_add'] = 'Add This Subscription'; - -$txt['paid_not_set_currency'] = 'You have not setup your currency yet. Please do so from the Settings section before continuing.'; -$txt['paid_no_cost_value'] = 'You must enter a cost and subscription length.'; -$txt['paid_all_freq_blank'] = 'You must enter a cost for at least one of the four durations.'; - -// Some error strings. -$txt['paid_no_data'] = 'No valid data was sent to the script.'; - -$txt['paypal_could_not_connect'] = 'Could not connect to PayPal server'; -$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!'; -$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!'; -$txt['paid_unknown_transaction_type'] = 'Unknown Paid Subscriptions transaction type.'; -$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID'; -$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %1$d'; -$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s'; -$txt['paid_count_not_find_subscription_log'] = 'Paid subscription handler could not find subscription log entry for member ID: %1$s, subscription ID: %2$s'; -$txt['paid_count_not_find_outstanding_payment'] = 'Could not find outstanding payment entry for member ID: %1$s, subscription ID: %2$s so ignoring'; -$txt['paid_admin_not_setup_gateway'] = 'Sorry, the admin has not yet finished setting up paid subscriptions. Please check back later.'; -$txt['paid_make_recurring'] = 'Make this a recurring payment'; - -$txt['subscriptions'] = 'Subscriptions'; -$txt['subscription'] = 'Subscription'; -$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.'; -$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!'; - -$txt['paid_current'] = 'Existing Subscriptions'; -$txt['pending_payments'] = 'Pending Payments'; -$txt['pending_payments_desc'] = 'This member has attempted to make the following payments for this subscription but the confirmation has not been received by the forum. If you are sure the payment has been received click "accept" to action to subscription. Alternatively you can click "Remove" to remove all reference to the payment.'; -$txt['pending_payments_value'] = 'Value'; -$txt['pending_payments_accept'] = 'Accept'; -$txt['pending_payments_remove'] = 'Remove'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManagePermissions.english.php b/config/themes/default/languages/ManagePermissions.english.php deleted file mode 100755 index ea74ccb..0000000 --- a/config/themes/default/languages/ManagePermissions.english.php +++ /dev/null @@ -1,345 +0,0 @@ -Note: You cannot edit this permission profile as it is a predefined profile included within the forum software by default. If you wish to change the permissions of this profile you must first create a duplicate profile. You can carry out this task by clicking here.'; - -$txt['permissions_for_profile'] = 'Permissions for Profile'; -$txt['permissions_boards_desc'] = 'The list below shows which set of permissions has been assigned to each board on your forum. You may edit the assigned permission profile by either clicking the board name or select "edit all" from the bottom of the page. To edit the profile itself simply click the profile name.'; -$txt['permissions_board_all'] = 'Edit All'; -$txt['permission_profile'] = 'Permission Profile'; -$txt['permission_profile_desc'] = 'Which permission set the board should use.'; -$txt['permission_profile_inherit'] = 'Inherit from parent board'; - -$txt['permissions_profile'] = 'Profile'; -$txt['permissions_profiles_desc'] = 'Permission profiles are assigned to individual boards to allow you to easily manage your security settings. From this area you can create, edit and delete permission profiles.'; -$txt['permissions_profiles_change_for_board'] = 'Edit Permission Profile For: "%1$s"'; -$txt['permissions_profile_default'] = 'Default'; -$txt['permissions_profile_no_polls'] = 'No Polls'; -$txt['permissions_profile_reply_only'] = 'Reply Only'; -$txt['permissions_profile_read_only'] = 'Read Only'; - -$txt['permissions_profile_rename'] = 'Rename'; -$txt['permissions_profile_edit'] = 'Edit Profiles'; -$txt['permissions_profile_new'] = 'New Profile'; -$txt['permissions_profile_new_create'] = 'Create'; -$txt['permissions_profile_name'] = 'Profile Name'; -$txt['permissions_profile_used_by'] = 'Used By'; -$txt['permissions_profile_used_by_one'] = '1 Board'; -$txt['permissions_profile_used_by_many'] = '%1$d Boards'; -$txt['permissions_profile_used_by_none'] = 'No Boards'; -$txt['permissions_profile_do_edit'] = 'Edit'; -$txt['permissions_profile_do_delete'] = 'Delete'; -$txt['permissions_profile_copy_from'] = 'Copy Permissions From'; - -$txt['permissions_includes_inherited'] = 'Inherited Groups'; - -$txt['permissions_all'] = 'all'; -$txt['permissions_none'] = 'none'; -$txt['permissions_set_permissions'] = 'Set permissions'; - -$txt['permissions_advanced_options'] = 'Advanced Options'; -$txt['permissions_with_selection'] = 'With selection'; -$txt['permissions_apply_pre_defined'] = 'Apply pre-defined permission set'; -$txt['permissions_select_pre_defined'] = 'Select a pre-defined profile'; -$txt['permissions_copy_from_board'] = 'Copy permissions from this board'; -$txt['permissions_select_board'] = 'Select a board'; -$txt['permissions_like_group'] = 'Set permissions like this group'; -$txt['permissions_select_membergroup'] = 'Select a membergroup'; -$txt['permissions_add'] = 'Add permission'; -$txt['permissions_remove'] = 'Clear permission'; -$txt['permissions_deny'] = 'Deny permission'; -$txt['permissions_select_permission'] = 'Select a permission'; - -// All of the following block of strings should not use entities, instead use \\" for " etc. -$txt['permissions_only_one_option'] = 'You can only select one action to modify the permissions'; -$txt['permissions_no_action'] = 'No action selected'; -$txt['permissions_deny_dangerous'] = 'You are about to deny one or more permissions.\\nThis can be dangerous and cause unexpected results if you haven\'t made sure no one is \\"accidentally\\" in the group or groups you are denying permissions to.\\n\\nAre you sure you want to continue?'; - -$txt['permissions_modify_group'] = 'Modify Group'; -$txt['permissions_general'] = 'General Permissions'; -$txt['permissions_board'] = 'Default Board Profile Permissions'; -$txt['permissions_board_desc'] = 'Note: changing these board permissions will affect all boards currently assigned the "Default" permissions profile. Boards not using the "Default" profile will not be affected by changes to this page.'; -$txt['permissions_commit'] = 'Save changes'; -$txt['permissions_on'] = 'in profile'; -$txt['permissions_local_for'] = 'Permissions for group'; -$txt['permissions_option_on'] = 'A'; -$txt['permissions_option_off'] = 'X'; -$txt['permissions_option_deny'] = 'D'; -$txt['permissions_option_desc'] = 'For each permission you can pick either \'Allow\' (A), \'Disallow\' (X), or \'Deny\' (D).

    Remember that if you deny a permission, any member - whether moderator or otherwise - that is in that group will be denied that as well.
    For this reason, you should use deny carefully, only when necessary. Disallow, on the other hand, denies unless otherwise granted.'; -$txt['permissions_change_view'] = 'Change View'; -$txt['permissions_view_simple'] = 'Simple'; -$txt['permissions_view_classic'] = 'Classic'; - -$txt['permissiongroup_general'] = 'General'; -$txt['permissionname_view_stats'] = 'View forum statistics'; -$txt['permissionhelp_view_stats'] = 'The forum statistics is a page summarizing all statistics of the forum, like member count, daily number of posts, and several top 10 statistics. Enabling this permission adds a link to the bottom of the board index (\'[More Stats]\').'; -$txt['permissionname_view_mlist'] = 'View the memberlist and groups'; -$txt['permissionhelp_view_mlist'] = 'The memberlist shows all members that have registered on your forum. The list can be sorted and searched. The memberlist is linked from both the boardindex and the stats page, by clicking on the number of members. It also applies to the groups page which is a mini memberlist of people in that group.'; -$txt['permissionname_who_view'] = 'View Who\'s Online'; -$txt['permissionhelp_who_view'] = 'Who\'s online shows all members that are currently online and what they are doing at that moment. This permission will only work if you also have enabled it in \'Features and Options\'. You can access the \'Who\'s Online\' screen by clicking the link in the \'Users Online\' section of the board index. Even if this is denied, members will still be able to see who\'s online, just not where they are.'; -$txt['permissionname_search_posts'] = 'Search for posts and topics'; -$txt['permissionhelp_search_posts'] = 'The Search permission allows the user to search all boards he or she is allowed to access. When the search permission is enabled, a \'Search\' button will be added to the forum button bar.'; -$txt['permissionname_karma_edit'] = 'Change other people\'s karma'; -$txt['permissionhelp_karma_edit'] = 'Karma is a feature that shows the popularity of a member. In order to use this feature, you need to have it enabled in \'Features and Options\'. This permission will allow a membergroup to cast a vote. This permission has no effect on guests.'; - -$txt['permissiongroup_pm'] = 'Personal Messaging'; -$txt['permissionname_pm_read'] = 'Read personal messages'; -$txt['permissionhelp_pm_read'] = 'This permission allows users to access the Personal Messages section and read their Personal Messages. Without this permission a user is unable to send Personal Messages.'; -$txt['permissionname_pm_send'] = 'Send personal messages'; -$txt['permissionhelp_pm_send'] = 'Send personal messages to other registered members. Requires the \'Read personal messages\' permission.'; - -$txt['permissiongroup_calendar'] = 'Calendar'; -$txt['permissionname_calendar_view'] = 'View the calendar'; -$txt['permissionhelp_calendar_view'] = 'The calendar shows for each month the birthdays, events and holidays. This permission allows access to this calendar. When this permission is enabled, a button will be added to the top button bar and a list will be shown at the bottom of the board index with current and upcoming birthdays, events and holidays. The calendar needs be enabled from \'Configuration - Core Features\'.'; -$txt['permissionname_calendar_post'] = 'Create events in the calendar'; -$txt['permissionhelp_calendar_post'] = 'An Event is a topic linked to a certain date or date range. Creating events can be done from the calendar. An event can only be created if the user that creates the event is allowed to post new topics.'; -$txt['permissionname_calendar_edit'] = 'Edit events in the calendar'; -$txt['permissionhelp_calendar_edit'] = 'An Event is a topic linked to a certain date or date range. The event can be edited by clicking the red asterisk (*) next to the event in the calendar view. In order to be able to edit an event, a user must have sufficient permissions to edit the first message of the topic that is linked to the event.'; -$txt['permissionname_calendar_edit_own'] = 'Own events'; -$txt['permissionname_calendar_edit_any'] = 'Any events'; - -$txt['permissiongroup_maintenance'] = 'Forum administration'; -$txt['permissionname_admin_forum'] = 'Administrate forum and database'; -$txt['permissionhelp_admin_forum'] = 'This permission allows a user to:
    • change forum, database and theme settings
    • manage packages
    • use the forum and database maintenance tools
    • view the error and mod logs
    Use this permission with caution, as it is very powerful.'; -$txt['permissionname_manage_boards'] = 'Manage boards and categories'; -$txt['permissionhelp_manage_boards'] = 'This permission allows creation, editing and removal of boards and categories.'; -$txt['permissionname_manage_attachments'] = 'Manage attachments and avatars'; -$txt['permissionhelp_manage_attachments'] = 'This permission allows access to the attachment center, where all forum attachments and avatars are listed and can be removed.'; -$txt['permissionname_manage_smileys'] = 'Manage smileys and message icons'; -$txt['permissionhelp_manage_smileys'] = 'This allows access to the smiley center. In the smiley center you can add, edit and remove smileys and smiley sets. If you\'ve enabled customized message icons you are also able to add and edit message icons with this permission.'; -$txt['permissionname_edit_news'] = 'Edit news'; -$txt['permissionhelp_edit_news'] = 'The news function allows a random news line to appear on each screen. In order to use the news function, enabled it in the forum settings.'; -$txt['permissionname_access_mod_center'] = 'Access the moderation center'; -$txt['permissionhelp_access_mod_center'] = 'With this permission any members of this group can access the moderation center from where they will have access to functionality to ease moderation. Note that this does not in itself grant any moderation privileges.'; - -$txt['permissiongroup_member_admin'] = 'Member administration'; -$txt['permissionname_moderate_forum'] = 'Moderate forum members'; -$txt['permissionhelp_moderate_forum'] = 'This permission includes all important member moderation functions:
    • access to registration management
    • access to the view/delete members screen
    • extensive profile info, including track IP/user and (hidden) online status
    • activate accounts
    • get approval notifications and approve accounts
    • immune to ignore PM
    • several small things
    '; -$txt['permissionname_manage_membergroups'] = 'Manage and assign membergroups'; -$txt['permissionhelp_manage_membergroups'] = 'This permission allows a user to edit membergroups and assign membergroups to other members.'; -$txt['permissionname_manage_permissions'] = 'Manage permissions'; -$txt['permissionhelp_manage_permissions'] = 'This permission allows a user to edit all permissions of a membergroup, globally or for individual boards.'; -$txt['permissionname_manage_bans'] = 'Manage ban list'; -$txt['permissionhelp_manage_bans'] = 'This permission allows a user to add or remove usernames, IP addresses, hostnames and email addresses to a list of banned users. It also allows a user to view and remove log entries of banned users that attempted to login.'; -$txt['permissionname_send_mail'] = 'Send a forum email to members'; -$txt['permissionhelp_send_mail'] = 'Mass mail all forum members, or just a few membergroups by email or personal message (the latter requires \'Send Personal Message\' permission).'; -$txt['permissionname_issue_warning'] = 'Issue warnings to members'; -$txt['permissionhelp_issue_warning'] = 'Issue a warning to members of the forum and change that members\' warning level. Requires the warning system to be enabled.'; - -$txt['permissiongroup_profile'] = 'Member Profiles'; -$txt['permissionname_profile_view'] = 'View profile summary and stats'; -$txt['permissionhelp_profile_view'] = 'This permission allows users clicking on a username to see a summary of profile settings, some statistics and all posts of the user.'; -$txt['permissionname_profile_view_own'] = 'Own profile'; -$txt['permissionname_profile_view_any'] = 'Any profile'; -$txt['permissionname_profile_identity'] = 'Edit account settings'; -$txt['permissionhelp_profile_identity'] = 'Account settings are the basic settings of a profile, like password, email address, membergroup and preferred language.'; -$txt['permissionname_profile_identity_own'] = 'Own profile'; -$txt['permissionname_profile_identity_any'] = 'Any profile'; -$txt['permissionname_profile_extra'] = 'Edit additional profile settings'; -$txt['permissionhelp_profile_extra'] = 'Additional profile settings include settings for avatars, theme preferences, notifications and Personal Messages.'; -$txt['permissionname_profile_extra_own'] = 'Own profile'; -$txt['permissionname_profile_extra_any'] = 'Any profile'; -$txt['permissionname_profile_title'] = 'Edit custom title'; -$txt['permissionhelp_profile_title'] = 'The custom title is shown on the topic display page, under the profile of each user that has a custom title.'; -$txt['permissionname_profile_title_own'] = 'Own profile'; -$txt['permissionname_profile_title_any'] = 'Any profile'; -$txt['permissionname_profile_remove'] = 'Delete account'; -$txt['permissionhelp_profile_remove'] = 'This permission allows a user to delete his account, when set to \'Own Account\'.'; -$txt['permissionname_profile_remove_own'] = 'Own account'; -$txt['permissionname_profile_remove_any'] = 'Any account'; -$txt['permissionname_profile_server_avatar'] = 'Select an avatar from the server'; -$txt['permissionhelp_profile_server_avatar'] = 'If enabled this will allow a user to select an avatar from the avatar collections installed on the server.'; -$txt['permissionname_profile_upload_avatar'] = 'Upload an avatar to the server'; -$txt['permissionhelp_profile_upload_avatar'] = 'This permission will allow a user to upload their personal avatar to the server.'; -$txt['permissionname_profile_remote_avatar'] = 'Choose a remotely stored avatar'; -$txt['permissionhelp_profile_remote_avatar'] = 'Because avatars might influence the page creation time negatively, it is possible to disallow certain membergroups to use avatars from external servers.'; - -$txt['permissiongroup_general_board'] = 'General'; -$txt['permissionname_moderate_board'] = 'Moderate board'; -$txt['permissionhelp_moderate_board'] = 'The moderate board permission adds a few small permissions that make a moderator a real moderator. Permissions include replying to locked topics, changing the poll expire time and viewing poll results.'; - -$txt['permissiongroup_topic'] = 'Topics'; -$txt['permissionname_post_new'] = 'Post new topics'; -$txt['permissionhelp_post_new'] = 'This permission allows users to post new topics. It doesn\'t allow to post replies to topics.'; -$txt['permissionname_merge_any'] = 'Merge any topic'; -$txt['permissionhelp_merge_any'] = 'Merge two or more topic into one. The order of messages within the merged topic will be based on the time the messages were created. A user can only merge topics on those boards a user is allowed to merge. In order to merge multiple topics at once, a user has to enable quickmoderation in their profile settings.'; -$txt['permissionname_split_any'] = 'Split any topic'; -$txt['permissionhelp_split_any'] = 'Split a topic into two separate topics.'; -$txt['permissionname_send_topic'] = 'Send topics to friends'; -$txt['permissionhelp_send_topic'] = 'This permission allows a user to mail a topic to a friend, by entering their email address and allows adding a message.'; -$txt['permissionname_make_sticky'] = 'Make topics sticky'; -$txt['permissionhelp_make_sticky'] = 'Sticky topics are topics that always remain on top of a board. They can be useful for announcements or other important messages.'; -$txt['permissionname_move'] = 'Move topic'; -$txt['permissionhelp_move'] = 'Move a topic from one board to the other. Users can only select target boards they are allowed to access.'; -$txt['permissionname_move_own'] = 'Own topic'; -$txt['permissionname_move_any'] = 'Any topic'; -$txt['permissionname_lock'] = 'Lock topics'; -$txt['permissionhelp_lock'] = 'This permission allows a user to lock a topic. This can be done in order to make sure no one can reply to a topic. Only uses with a \'Moderate board\' permission can still post in locked topics.'; -$txt['permissionname_lock_own'] = 'Own topic'; -$txt['permissionname_lock_any'] = 'Any topic'; -$txt['permissionname_remove'] = 'Remove topics'; -$txt['permissionhelp_remove'] = 'Delete topics as a whole. Note that this permission doesn\'t allow to delete specific messages within the topic!'; -$txt['permissionname_remove_own'] = 'Own topic'; -$txt['permissionname_remove_any'] = 'Any topics'; -$txt['permissionname_post_reply'] = 'Post replies to topics'; -$txt['permissionhelp_post_reply'] = 'This permission allows replying to topics.'; -$txt['permissionname_post_reply_own'] = 'Own topic'; -$txt['permissionname_post_reply_any'] = 'Any topic'; -$txt['permissionname_modify_replies'] = 'Modify replies to own topics'; -$txt['permissionhelp_modify_replies'] = 'This permission allows a user that started a topic to modify all replies to their topic.'; -$txt['permissionname_delete_replies'] = 'Delete replies to own topics'; -$txt['permissionhelp_delete_replies'] = 'This permission allows a user that started a topic to remove all replies to their topic.'; -$txt['permissionname_announce_topic'] = 'Announce topic'; -$txt['permissionhelp_announce_topic'] = 'This allows a user to send an announcement e-mail about a topic to all members or to a few membergroups.'; - -$txt['permissiongroup_post'] = 'Posts'; -$txt['permissionname_delete'] = 'Delete posts'; -$txt['permissionhelp_delete'] = 'Remove posts. This does not allow a user to delete the first post of a topic.'; -$txt['permissionname_delete_own'] = 'Own post'; -$txt['permissionname_delete_any'] = 'Any post'; -$txt['permissionname_modify'] = 'Modify posts'; -$txt['permissionhelp_modify'] = 'Edit posts'; -$txt['permissionname_modify_own'] = 'Own post'; -$txt['permissionname_modify_any'] = 'Any post'; -$txt['permissionname_report_any'] = 'Report posts to the moderators'; -$txt['permissionhelp_report_any'] = 'This permission adds a link to each message, allowing a user to report a post to a moderator. On reporting, all moderators on that board will receive an email with a link to the reported post and a description of the problem (as given by the reporting user).'; - -$txt['permissiongroup_poll'] = 'Polls'; -$txt['permissionname_poll_view'] = 'View polls'; -$txt['permissionhelp_poll_view'] = 'This permission allows a user to view a poll. Without this permission, the user will only see the topic.'; -$txt['permissionname_poll_vote'] = 'Vote in polls'; -$txt['permissionhelp_poll_vote'] = 'This permission allows a (registered) user to cast one vote. It doesn\'t apply to guests.'; -$txt['permissionname_poll_post'] = 'Post polls'; -$txt['permissionhelp_poll_post'] = 'This permission allows a user to post a new poll. The user needs to have the \'Post new topics\' permission.'; -$txt['permissionname_poll_add'] = 'Add poll to topics'; -$txt['permissionhelp_poll_add'] = 'Add poll to topics allows a user to add a poll after the topic has been created. This permission requires sufficient rights to edit the first post of a topic.'; -$txt['permissionname_poll_add_own'] = 'Own topics'; -$txt['permissionname_poll_add_any'] = 'Any topics'; -$txt['permissionname_poll_edit'] = 'Edit polls'; -$txt['permissionhelp_poll_edit'] = 'This permission allows a user to edit the options of a poll and to reset the poll. In order to edit the maximum number of votes and the expiration time, a user needs to have the \'Moderate board\' permission.'; -$txt['permissionname_poll_edit_own'] = 'Own poll'; -$txt['permissionname_poll_edit_any'] = 'Any poll'; -$txt['permissionname_poll_lock'] = 'Lock polls'; -$txt['permissionhelp_poll_lock'] = 'Locking polls prevents the poll from accepting any more votes.'; -$txt['permissionname_poll_lock_own'] = 'Own poll'; -$txt['permissionname_poll_lock_any'] = 'Any poll'; -$txt['permissionname_poll_remove'] = 'Remove polls'; -$txt['permissionhelp_poll_remove'] = 'This permission allows removal of polls.'; -$txt['permissionname_poll_remove_own'] = 'Own poll'; -$txt['permissionname_poll_remove_any'] = 'Any poll'; - -$txt['permissiongroup_approval'] = 'Post Moderation'; -$txt['permissionname_approve_posts'] = 'Approve items awaiting moderation'; -$txt['permissionhelp_approve_posts'] = 'This permission allows a user to approve all unapproved items on a board.'; -$txt['permissionname_post_unapproved_replies'] = 'Post replies to topics, but hide until approved'; -$txt['permissionhelp_post_unapproved_replies'] = 'This permission allows a user to post replies to a topic. The replies will not be shown until approved by a moderator.'; -$txt['permissionname_post_unapproved_replies_own'] = 'Own topic'; -$txt['permissionname_post_unapproved_replies_any'] = 'Any topic'; -$txt['permissionname_post_unapproved_topics'] = 'Post new topics, but hide until approved'; -$txt['permissionhelp_post_unapproved_topics'] = 'This permission allows a user to post a new topic which will require approval before being shown.'; -$txt['permissionname_post_unapproved_attachments'] = 'Post attachments, but hide until approved'; -$txt['permissionhelp_post_unapproved_attachments'] = 'This permission allows a user to attach files to their posts. The attached files will then require approval before being shown to other users.'; - -$txt['permissiongroup_notification'] = 'Notifications'; -$txt['permissionname_mark_any_notify'] = 'Request notification on replies'; -$txt['permissionhelp_mark_any_notify'] = 'This feature allows users to receive a notification whenever someone replies to a topic they subscribed to.'; -$txt['permissionname_mark_notify'] = 'Request notification on new topics'; -$txt['permissionhelp_mark_notify'] = 'Notification on new topics is a feature that allows a user to receive an email every time a new topic is created on the board they subscribe to.'; - -$txt['permissiongroup_attachment'] = 'Attachments'; -$txt['permissionname_view_attachments'] = 'View attachments'; -$txt['permissionhelp_view_attachments'] = 'Attachments are files that are attached to posted messages. This feature can be enabled and configured in \'Attachments and avatars\'. Since attachments are not directly accessed, you can protect them from being downloaded by users that don\'t have this permission.'; -$txt['permissionname_post_attachment'] = 'Post attachments'; -$txt['permissionhelp_post_attachment'] = 'Attachments are files that are attached to posted messages. One message can contain multiple attachments.'; - -$txt['permissiongroup_simple_view_basic_info'] = 'Use basic forum functionality'; -$txt['permissiongroup_simple_use_pm_system'] = 'Contact members using the personal messaging system'; -$txt['permissiongroup_simple_post_calendar'] = 'Post events onto the calendar'; -$txt['permissiongroup_simple_edit_profile'] = 'Personalize their profile'; -$txt['permissiongroup_simple_delete_account'] = 'Delete their account'; -$txt['permissiongroup_simple_use_avatar'] = 'Select or upload an avatar'; -$txt['permissiongroup_simple_moderate_general'] = 'Moderate the entire forum'; -$txt['permissiongroup_simple_administrate'] = 'Carry out administrative duties'; - -$txt['permissionname_simple_calendar_edit_own'] = 'Edit their own calendar events'; -$txt['permissionname_simple_calendar_edit_any'] = 'Edit other people\'s calendar events'; -$txt['permissionname_simple_profile_view_own'] = 'View their own profile'; -$txt['permissionname_simple_profile_view_any'] = 'View other people\'s profiles'; -$txt['permissionname_simple_profile_identity_own'] = 'Edit their account settings'; -$txt['permissionname_simple_profile_identity_any'] = 'Edit other people\'s account settings'; -$txt['permissionname_simple_profile_extra_own'] = 'Edit their additional profile options'; -$txt['permissionname_simple_profile_extra_any'] = 'Edit other people\'s profile options'; -$txt['permissionname_simple_profile_title_own'] = 'Choose a custom title for themselves'; -$txt['permissionname_simple_profile_title_any'] = 'Edit other people\'s custom titles'; -$txt['permissionname_simple_profile_remove_own'] = 'Delete their own account'; -$txt['permissionname_simple_profile_remove_any'] = 'Delete other user\'s accounts'; - -$txt['permissiongroup_simple_make_unapproved_posts'] = 'Post topics and replies to the board only after they have been approved'; -$txt['permissiongroup_simple_make_posts'] = 'Post topics and replies to the board'; -$txt['permissiongroup_simple_post_polls'] = 'Make new polls'; -$txt['permissiongroup_simple_participate'] = 'View additional board content'; -$txt['permissiongroup_simple_modify'] = 'Modify their posts'; -$txt['permissiongroup_simple_notification'] = 'Request notifications'; -$txt['permissiongroup_simple_attach'] = 'Post attachments'; -$txt['permissiongroup_simple_moderate'] = 'Moderate the board'; - -$txt['permissionname_simple_post_unapproved_replies_own'] = 'Post replies to their own topic - but require approval'; -$txt['permissionname_simple_post_unapproved_replies_any'] = 'Post replies to any topic - but require approval'; -$txt['permissionname_simple_post_reply_own'] = 'Post replies to a topic they started'; -$txt['permissionname_simple_post_reply_any'] = 'Post replies to any topic'; -$txt['permissionname_simple_move_own'] = 'Move their own topics'; -$txt['permissionname_simple_move_any'] = 'Move anyone\'s topic'; -$txt['permissionname_simple_lock_own'] = 'Lock their own topic'; -$txt['permissionname_simple_lock_any'] = 'Lock anyone\'s topic'; -$txt['permissionname_simple_remove_own'] = 'Remove their own topic'; -$txt['permissionname_simple_remove_any'] = 'Remove anyone\'s topic'; -$txt['permissionname_simple_delete_own'] = 'Delete a post that they made'; -$txt['permissionname_simple_delete_any'] = 'Delete a post made by anyone'; -$txt['permissionname_simple_modify_own'] = 'Modify their own post'; -$txt['permissionname_simple_modify_any'] = 'Modify someone else\'s post'; -$txt['permissionname_simple_poll_add_own'] = 'Add a poll to a topic they created'; -$txt['permissionname_simple_poll_add_any'] = 'Add a poll to any topic'; -$txt['permissionname_simple_poll_edit_own'] = 'Edit a poll they created'; -$txt['permissionname_simple_poll_edit_any'] = 'Edit anyone\'s poll'; -$txt['permissionname_simple_poll_lock_own'] = 'Lock their own poll'; -$txt['permissionname_simple_poll_lock_any'] = 'Lock anyone\'s poll'; -$txt['permissionname_simple_poll_remove_own'] = 'Remove a poll they created'; -$txt['permissionname_simple_poll_remove_any'] = 'Remove anyone\'s poll'; - -$txt['permissionicon'] = ''; - -$txt['permission_settings_title'] = 'Permission Settings'; -$txt['groups_manage_permissions'] = 'Membergroups allowed to manage permissions'; -$txt['permission_settings_submit'] = 'Save'; -$txt['permission_settings_enable_deny'] = 'Enable the option to deny permissions'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['permission_disable_deny_warning'] = 'Turning off this option will update \\\'Deny\\\'-permissions to \\\'Disallow\\\'.'; -$txt['permission_by_board_desc'] = 'Here you can set which permissions profile a board uses. You can create new permission profiles from the "Edit Profiles" menu.'; -$txt['permission_settings_desc'] = 'Here you can set who has permission to change permissions, as well as how sophisticated the permission system should be.'; -$txt['permission_settings_enable_postgroups'] = 'Enable permissions for post count based groups'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['permission_disable_postgroups_warning'] = 'Disabling this setting will remove permissions currently set to post count based groups.'; - -$txt['permissions_post_moderation_desc'] = 'From this page you can easily change which groups have their posts moderated for a particular permissions profile.'; -$txt['permissions_post_moderation_deny_note'] = 'Note that while you have advanced permissions enabled you cannot apply the "deny" permission from this page. Please edit the permissions directly if you wish to apply a deny permission.'; -$txt['permissions_post_moderation_select'] = 'Select Profile'; -$txt['permissions_post_moderation_new_topics'] = 'New Topics'; -$txt['permissions_post_moderation_replies_own'] = 'Own Replies'; -$txt['permissions_post_moderation_replies_any'] = 'Any Replies'; -$txt['permissions_post_moderation_attachments'] = 'Attachments'; -$txt['permissions_post_moderation_legend'] = 'Legend'; -$txt['permissions_post_moderation_allow'] = 'Can create'; -$txt['permissions_post_moderation_moderate'] = 'Can create but requires approval'; -$txt['permissions_post_moderation_disallow'] = 'Cannot create'; -$txt['permissions_post_moderation_group'] = 'Group'; - -$txt['auto_approve_topics'] = 'Post new topics, without requiring approval'; -$txt['auto_approve_replies'] = 'Post replies to topics, without requiring approval'; -$txt['auto_approve_attachments'] = 'Post attachments, without requiring approval'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageScheduledTasks.english.php b/config/themes/default/languages/ManageScheduledTasks.english.php deleted file mode 100755 index efe00d3..0000000 --- a/config/themes/default/languages/ManageScheduledTasks.english.php +++ /dev/null @@ -1,57 +0,0 @@ -Note: All times given below are server time and do not take any time offsets setup within SMF into account.'; -$txt['scheduled_tasks_were_run'] = 'All selected tasks were completed'; - -$txt['scheduled_tasks_na'] = 'N/A'; -$txt['scheduled_task_approval_notification'] = 'Approval Notifications'; -$txt['scheduled_task_desc_approval_notification'] = 'Send out emails to all moderators summarizing posts awaiting approval.'; -$txt['scheduled_task_auto_optimize'] = 'Optimize Database'; -$txt['scheduled_task_desc_auto_optimize'] = 'Optimize the database to resolve fragmentation issues.'; -$txt['scheduled_task_daily_maintenance'] = 'Daily Maintenance'; -$txt['scheduled_task_desc_daily_maintenance'] = 'Runs essential daily maintenance on the forum - should not be disabled.'; -$txt['scheduled_task_daily_digest'] = 'Daily Notification Summary'; -$txt['scheduled_task_desc_daily_digest'] = 'Emails out the daily digest for notification subscribers.'; -$txt['scheduled_task_weekly_digest'] = 'Weekly Notification Summary'; -$txt['scheduled_task_desc_weekly_digest'] = 'Emails out the weekly digest for notification subscribers.'; -$txt['scheduled_task_fetchSMfiles'] = 'Fetch Simple Machines Files'; -$txt['scheduled_task_desc_fetchSMfiles'] = 'Retrieves javascript files containing notifications of updates and other information.'; -$txt['scheduled_task_birthdayemails'] = 'Send Birthday Emails'; -$txt['scheduled_task_desc_birthdayemails'] = 'Sends out emails wishing members a happy birthday.'; -$txt['scheduled_task_weekly_maintenance'] = 'Weekly Maintenance'; -$txt['scheduled_task_desc_weekly_maintenance'] = 'Runs essential weekly maintenance on the forum - should not be disabled.'; -$txt['scheduled_task_paid_subscriptions'] = 'Paid Subscription Checks'; -$txt['scheduled_task_desc_paid_subscriptions'] = 'Sends out any necessary paid subscription reminders and removes expired member subscriptions.'; - -$txt['scheduled_task_reg_starting'] = 'Starting at %1$s'; -$txt['scheduled_task_reg_repeating'] = 'repeating every %1$d %2$s'; -$txt['scheduled_task_reg_unit_m'] = 'minute(s)'; -$txt['scheduled_task_reg_unit_h'] = 'hour(s)'; -$txt['scheduled_task_reg_unit_d'] = 'day(s)'; -$txt['scheduled_task_reg_unit_w'] = 'week(s)'; - -$txt['scheduled_task_edit'] = 'Edit Scheduled Task'; -$txt['scheduled_task_edit_repeat'] = 'Repeat task every'; -$txt['scheduled_task_edit_pick_unit'] = 'Pick Unit'; -$txt['scheduled_task_edit_interval'] = 'Interval'; -$txt['scheduled_task_edit_start_time'] = 'Start Time'; -$txt['scheduled_task_edit_start_time_desc'] = 'Time the first instance of the day should start (hours:minutes)'; -$txt['scheduled_task_time_offset'] = 'Note the start time should be the offset against the current server time. Current server time is: %1$s'; - -$txt['scheduled_view_log'] = 'View Log'; -$txt['scheduled_log_empty'] = 'There are currently no task log entries.'; -$txt['scheduled_log_time_run'] = 'Time Run'; -$txt['scheduled_log_time_taken'] = 'Time taken'; -$txt['scheduled_log_time_taken_seconds'] = '%1$d seconds'; -$txt['scheduled_log_empty_log'] = 'Empty Log'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageSettings.english.php b/config/themes/default/languages/ManageSettings.english.php deleted file mode 100755 index b7859c9..0000000 --- a/config/themes/default/languages/ManageSettings.english.php +++ /dev/null @@ -1,359 +0,0 @@ -theme settings for more options. Click the help icons for more information about a setting.'; -$txt['security_settings_desc'] = 'This page allows you to set options specifically related to the security and moderation of your forum, including anti-spam options.'; -$txt['modification_settings_desc'] = 'This page contains settings added by any modifications to your forum'; - -$txt['modification_no_misc_settings'] = 'There are no modifications installed that have added any settings to this area yet.'; - -$txt['pollMode'] = 'Poll mode'; -$txt['disable_polls'] = 'Disable polls'; -$txt['enable_polls'] = 'Enable polls'; -$txt['polls_as_topics'] = 'Show existing polls as topics'; -$txt['allow_guestAccess'] = 'Allow guests to browse the forum'; -$txt['userLanguage'] = 'Enable user-selectable language support'; -$txt['allow_editDisplayName'] = 'Allow users to edit their displayed name'; -$txt['allow_hideOnline'] = 'Allow non-administrators to hide their online status'; -$txt['guest_hideContacts'] = 'Do not reveal contact details of members to guests'; -$txt['titlesEnable'] = 'Enable custom titles'; -$txt['enable_buddylist'] = 'Enable buddy/ignore lists'; -$txt['default_personal_text'] = 'Default personal text
    Personal text to assign to newly registered members.
    '; -$txt['number_format'] = 'Default number format'; -$txt['time_format'] = 'Default time format'; -$txt['setting_time_offset'] = 'Overall time offset
    (added to the member specific option.)
    '; -$txt['setting_default_timezone'] = 'Server timezone'; -$txt['failed_login_threshold'] = 'Failed login threshold'; -$txt['lastActive'] = 'User online time threshold'; -$txt['trackStats'] = 'Track daily statistics'; -$txt['hitStats'] = 'Track daily page views (must have stats enabled)'; -$txt['enableCompressedOutput'] = 'Enable compressed output'; -$txt['disableTemplateEval'] = 'Disable evaluation of templates'; -$txt['databaseSession_enable'] = 'Use database driven sessions'; -$txt['databaseSession_loose'] = 'Allow browsers to go back to cached pages'; -$txt['databaseSession_lifetime'] = 'Seconds before an unused session timeout'; -$txt['enableErrorLogging'] = 'Enable error logging'; -$txt['enableErrorQueryLogging'] = 'Include database query in the error log'; -$txt['pruningOptions'] = 'Enable pruning of log entries'; -$txt['pruneErrorLog'] = 'Remove error log entries older than
    (0 to disable)
    '; -$txt['pruneModLog'] = 'Remove moderation log entries older than
    (0 to disable)
    '; -$txt['pruneBanLog'] = 'Remove ban hit log entries older than
    (0 to disable)
    '; -$txt['pruneReportLog'] = 'Remove report to moderator log entries older than
    (0 to disable)
    '; -$txt['pruneScheduledTaskLog'] = 'Remove scheduled task log entries older than
    (0 to disable)
    '; -$txt['pruneSpiderHitLog'] = 'Remove search engine hit logs older than
    (0 to disable)
    '; -$txt['cookieTime'] = 'Default login cookies length (in minutes)'; -$txt['localCookies'] = 'Enable local storage of cookies
    (SSI won\'t work well with this on.)
    '; -$txt['globalCookies'] = 'Use subdomain independent cookies
    (turn off local cookies first!)
    '; -$txt['secureCookies'] = 'Force cookies to be secure
    (This only applies if you are using HTTPS - don\'t use otherwise!)
    '; -$txt['securityDisable'] = 'Disable administration security'; -$txt['send_validation_onChange'] = 'Require reactivation after email change'; -$txt['approveAccountDeletion'] = 'Require admin approval when member deletes account'; -$txt['autoOptMaxOnline'] = 'Maximum users online when optimizing
    (0 for no max.)
    '; -$txt['autoFixDatabase'] = 'Automatically fix broken tables'; -$txt['allow_disableAnnounce'] = 'Allow users to disable announcements'; -$txt['disallow_sendBody'] = 'Don\'t allow post text in notifications'; -$txt['queryless_urls'] = 'Search engine friendly URLs
    Apache/Lighttpd only!
    '; -$txt['max_image_width'] = 'Max width of posted pictures (0 = disable)'; -$txt['max_image_height'] = 'Max height of posted pictures (0 = disable)'; -$txt['enableReportPM'] = 'Enable reporting of personal messages'; -$txt['max_pm_recipients'] = 'Maximum number of recipients allowed in a personal message
    (0 for no limit, admins are exempt)
    '; -$txt['pm_posts_verification'] = 'Post count under which users must pass verification when sending personal messages
    (0 for no limit, admins are exempt)
    '; -$txt['pm_posts_per_hour'] = 'Number of personal messages a user may send in an hour
    (0 for no limit, moderators are exempt)
    '; -$txt['compactTopicPagesEnable'] = 'Limit number of displayed page links'; -$txt['contiguous_page_display'] = 'Contiguous pages to display'; -$txt['to_display'] = 'to display'; -$txt['todayMod'] = 'Enable shorthand date display'; -$txt['today_disabled'] = 'Disabled'; -$txt['today_only'] = 'Only Today'; -$txt['yesterday_today'] = 'Today & Yesterday'; -$txt['topbottomEnable'] = 'Enable Go Up/Go Down buttons'; -$txt['onlineEnable'] = 'Show online/offline in posts and PMs'; -$txt['enableVBStyleLogin'] = 'Show a quick login on every page'; -$txt['defaultMaxMembers'] = 'Members per page in member list'; -$txt['timeLoadPageEnable'] = 'Display time taken to create every page'; -$txt['disableHostnameLookup'] = 'Disable hostname lookups'; -$txt['who_enabled'] = 'Enable who\'s online list'; -$txt['make_email_viewable'] = 'Allow viewable email addresses'; -$txt['meta_keywords'] = 'Meta keywords associated with forum
    For search engines. Leave blank for default.
    '; - -$txt['karmaMode'] = 'Karma mode'; -$txt['karma_options'] = 'Disable karma|Enable karma total|Enable karma positive/negative'; -$txt['karmaMinPosts'] = 'Set the minimum posts needed to modify karma'; -$txt['karmaWaitTime'] = 'Set wait time in hours'; -$txt['karmaTimeRestrictAdmins'] = 'Restrict administrators to wait time'; -$txt['karmaLabel'] = 'Karma label'; -$txt['karmaApplaudLabel'] = 'Karma applaud label'; -$txt['karmaSmiteLabel'] = 'Karma smite label'; - -$txt['caching_information'] = '
    Important! Read this first before enabling these features.

    - SMF supports caching through the use of accelerators. The currently supported accelerators include:
    -
      -
    • APC
    • -
    • eAccelerator
    • -
    • Turck MMCache
    • -
    • Memcached
    • -
    • Zend Platform/Performance Suite (Not Zend Optimizer)
    • -
    • XCache
    • -
    - Caching will work best if you have PHP compiled with one of the above optimizers, or have memcache - available. If you do not have any optimizer installed SMF will do file based caching.

    - SMF performs caching at a variety of levels. The higher the level of caching enabled the more CPU time will be spent - retrieving cached information. If caching is available on your machine it is recommended that you try caching at level 1 first. -

    - Note that if you use memcached you need to provide the server details in the setting below. This should be entered as a comma separated list - as shown in the example below:
    - "server1,server2,server3:port,server4"

    - Note that if no port is specified SMF will use port 11211. SMF will attempt to perform rough/random load balancing across the servers. -

    - %1$s'; - -$txt['detected_no_caching'] = 'SMF has not been able to detect a compatible accelerator on your server.'; -$txt['detected_APC'] = 'SMF has detected that your server has APC installed.'; -$txt['detected_eAccelerator'] = 'SMF has detected that your server has eAccelerator installed.'; -$txt['detected_MMCache'] = 'SMF has detected that your server has MMCache installed.'; -$txt['detected_Zend'] = 'SMF has detected that your server has Zend installed.'; -$txt['detected_Memcached'] = 'SMF has detected that your server has Memcached installed.'; -$txt['detected_XCache'] = 'SMF has detected that your server has XCache installed.'; - -$txt['cache_enable'] = 'Caching Level'; -$txt['cache_off'] = 'No caching'; -$txt['cache_level1'] = 'Level 1 Caching (Recommended)'; -$txt['cache_level2'] = 'Level 2 Caching'; -$txt['cache_level3'] = 'Level 3 Caching (Not Recommended)'; -$txt['cache_memcached'] = 'Memcache settings'; - -$txt['loadavg_warning'] = 'Please note: the settings below are to be edited with care. Setting any of them too low may render your forum unusable! The current load average is %01.2f'; -$txt['loadavg_enable'] = 'Enable load balancing by load averages'; -$txt['loadavg_auto_opt'] = 'Threshold to disabling automatic database optimization'; -$txt['loadavg_search'] = 'Threshold to disabling search'; -$txt['loadavg_allunread'] = 'Threshold to disabling all unread topics'; -$txt['loadavg_unreadreplies'] = 'Threshold to disabling unread replies'; -$txt['loadavg_show_posts'] = 'Threshold to disabling showing user posts'; -$txt['loadavg_forum'] = 'Threshold to disabling the forum completely'; -$txt['loadavg_disabled_windows'] = 'Load balancing support is not available on Windows.'; -$txt['loadavg_disabled_conf'] = 'Load balancing support is disabled by your host configuration.'; - -$txt['setting_password_strength'] = 'Required strength for user passwords'; -$txt['setting_password_strength_low'] = 'Low - 4 character minimum'; -$txt['setting_password_strength_medium'] = 'Medium - cannot contain username'; -$txt['setting_password_strength_high'] = 'High - mixture of different characters'; - -$txt['antispam_Settings'] = 'Anti-Spam Verification'; -$txt['antispam_Settings_desc'] = 'This section allows you to setup verification checks to ensure the user is a human (and not a bot), and tweak how and where these apply.'; -$txt['setting_reg_verification'] = 'Require verification on registration page'; -$txt['posts_require_captcha'] = 'Post count under which users must pass verification to make a post'; -$txt['posts_require_captcha_desc'] = '(0 for no limit, moderators are exempt)'; -$txt['search_enable_captcha'] = 'Require verification on all guest searches'; -$txt['setting_guests_require_captcha'] = 'Guests must pass verification when making a post'; -$txt['setting_guests_require_captcha_desc'] = '(Automatically set if you specify a minimum post count below)'; -$txt['guests_report_require_captcha'] = 'Guests must pass verification when reporting a post'; - -$txt['configure_verification_means'] = 'Configure Verification Methods'; -$txt['setting_qa_verification_number'] = 'Number of verification questions user must answer'; -$txt['setting_qa_verification_number_desc'] = '(0 to disable; questions are set below)'; -$txt['configure_verification_means_desc'] = 'Below you can set which anti-spam features you wish to have enabled whenever a user needs to verify they are a human. Note that the user will have to pass all verification so if you enable both a verification image and a question/answer test they need to complete both to proceed.'; -$txt['setting_visual_verification_type'] = 'Visual verification image to display'; -$txt['setting_visual_verification_type_desc'] = 'The more complex the image the harder it is for bots to bypass'; -$txt['setting_image_verification_off'] = 'None'; -$txt['setting_image_verification_vsimple'] = 'Very Simple - Plain text on image'; -$txt['setting_image_verification_simple'] = 'Simple - Overlapping colored letters, no noise'; -$txt['setting_image_verification_medium'] = 'Medium - Overlapping colored letters, with noise/lines'; -$txt['setting_image_verification_high'] = 'High - Angled letters, considerable noise/lines'; -$txt['setting_image_verification_extreme'] = 'Extreme - Angled letters, noise, lines and blocks'; -$txt['setting_image_verification_sample'] = 'Sample'; -$txt['setting_image_verification_nogd'] = 'Note: as this server does not have the GD library installed the different complexity settings will have no effect.'; -$txt['setup_verification_questions'] = 'Verification Questions'; -$txt['setup_verification_questions_desc'] = 'If you want users to answer verification questions in order to stop spam bots you should setup a number of questions in the table below. You should pick relatively simple questions; answers are not case sensitive. You may use BBC in the questions for formatting, to remove a question simply delete the contents of that line.'; -$txt['setup_verification_question'] = 'Question'; -$txt['setup_verification_answer'] = 'Answer'; -$txt['setup_verification_add_more'] = 'Add another question'; - -$txt['moderation_settings'] = 'Moderation Settings'; -$txt['setting_warning_enable'] = 'Enable User Warning System'; -$txt['setting_warning_watch'] = 'Warning level for user watch
    The user warning level after which a user watch is put in place - 0 to disable.
    '; -$txt['setting_warning_moderate'] = 'Warning level for post moderation
    The user warning level after which a user has all posts moderated - 0 to disable.
    '; -$txt['setting_warning_mute'] = 'Warning level for user muting
    The user warning level after which a user cannot post any further - 0 to disable.
    '; -$txt['setting_user_limit'] = 'Maximum user warning points per day
    This value is the maximum amount of warning points a single moderator can assign to a user in a 24 hour period - 0 for no limit.
    '; -$txt['setting_warning_decrement'] = 'Warning points to decrement from users every 24 hours
    Only applies to users not warned within last 24 hours - set to 0 to disable.
    '; -$txt['setting_warning_show'] = 'Users who can see warning status
    Determines who can see the warning level of users on the forum.
    '; -$txt['setting_warning_show_mods'] = 'Moderators Only'; -$txt['setting_warning_show_user'] = 'Moderators and Warned Users'; -$txt['setting_warning_show_all'] = 'All Users'; - -$txt['signature_settings'] = 'Signature Settings'; -$txt['signature_settings_desc'] = 'Use the settings on this page to decide how member signatures should be treated in SMF.'; -$txt['signature_settings_warning'] = 'Note that settings are not applied to existing signatures by default. Click here to apply rules to all existing signatures.'; -$txt['signature_enable'] = 'Enable signatures'; -$txt['signature_max_length'] = 'Maximum allowed characters
    (0 for no max.)
    '; -$txt['signature_max_lines'] = 'Maximum amount of lines
    (0 for no max)
    '; -$txt['signature_max_images'] = 'Maximum image count
    (0 for no max - excludes smileys)
    '; -$txt['signature_allow_smileys'] = 'Allow smileys in signatures'; -$txt['signature_max_smileys'] = 'Maximum smiley count
    (0 for no max)
    '; -$txt['signature_max_image_width'] = 'Maximum width of signature images (pixels)
    (0 for no max)
    '; -$txt['signature_max_image_height'] = 'Maximum height of signature images (pixels)
    (0 for no max)
    '; -$txt['signature_max_font_size'] = 'Maximum font size allowed in signatures
    (0 for no max, in pixels)
    '; -$txt['signature_bbc'] = 'Enabled BBC tags'; - -$txt['custom_profile_title'] = 'Custom Profile Fields'; -$txt['custom_profile_desc'] = 'From this page you can create your own custom profile fields that fit in with your own forums requirements'; -$txt['custom_profile_active'] = 'Active'; -$txt['custom_profile_fieldname'] = 'Field Name'; -$txt['custom_profile_fieldtype'] = 'Field Type'; -$txt['custom_profile_make_new'] = 'New Field'; -$txt['custom_profile_none'] = 'You have not created any custom profile fields yet!'; -$txt['custom_profile_icon'] = 'Icon'; - -$txt['custom_profile_type_text'] = 'Text'; -$txt['custom_profile_type_textarea'] = 'Large Text'; -$txt['custom_profile_type_select'] = 'Select Box'; -$txt['custom_profile_type_radio'] = 'Radio Button'; -$txt['custom_profile_type_check'] = 'Checkbox'; - -$txt['custom_add_title'] = 'Add Profile Field'; -$txt['custom_edit_title'] = 'Edit Profile Field'; -$txt['custom_edit_general'] = 'Display Settings'; -$txt['custom_edit_input'] = 'Input Settings'; -$txt['custom_edit_advanced'] = 'Advanced Settings'; -$txt['custom_edit_name'] = 'Name'; -$txt['custom_edit_desc'] = 'Description'; -$txt['custom_edit_profile'] = 'Profile Section'; -$txt['custom_edit_profile_desc'] = 'Section of profile this is edited in.'; -$txt['custom_edit_profile_none'] = 'None'; -$txt['custom_edit_registration'] = 'Show on Registration'; -$txt['custom_edit_registration_disable'] = 'No'; -$txt['custom_edit_registration_allow'] = 'Yes'; -$txt['custom_edit_registration_require'] = 'Yes, and require entry'; -$txt['custom_edit_display'] = 'Show on Topic View'; -$txt['custom_edit_picktype'] = 'Field Type'; - -$txt['custom_edit_max_length'] = 'Maximum Length'; -$txt['custom_edit_max_length_desc'] = '(0 for no limit)'; -$txt['custom_edit_dimension'] = 'Dimensions'; -$txt['custom_edit_dimension_row'] = 'Rows'; -$txt['custom_edit_dimension_col'] = 'Columns'; -$txt['custom_edit_bbc'] = 'Allow BBC'; -$txt['custom_edit_options'] = 'Options'; -$txt['custom_edit_options_desc'] = 'Leave option box blank to remove. Radio button selects default option.'; -$txt['custom_edit_options_more'] = 'More'; -$txt['custom_edit_default'] = 'Default State'; -$txt['custom_edit_active'] = 'Active'; -$txt['custom_edit_active_desc'] = 'If not selected this field will not be shown to anyone.'; -$txt['custom_edit_privacy'] = 'Privacy'; -$txt['custom_edit_privacy_desc'] = 'Who can see and edit this field.'; -$txt['custom_edit_privacy_all'] = 'Users can see this field; owner can edit it'; -$txt['custom_edit_privacy_see'] = 'Users can see this field; only admins can edit it'; -$txt['custom_edit_privacy_owner'] = 'Users cannot see this field; owner and admins can edit it.'; -$txt['custom_edit_privacy_none'] = 'This field is only visible to admins'; -$txt['custom_edit_can_search'] = 'Searchable'; -$txt['custom_edit_can_search_desc'] = 'Can this field be searched from the members list.'; -$txt['custom_edit_mask'] = 'Input Mask'; -$txt['custom_edit_mask_desc'] = 'For text fields an input mask can be selected to validate the data.'; -$txt['custom_edit_mask_email'] = 'Valid Email'; -$txt['custom_edit_mask_number'] = 'Numeric'; -$txt['custom_edit_mask_nohtml'] = 'No HTML'; -$txt['custom_edit_mask_regex'] = 'Regex (Advanced)'; -$txt['custom_edit_enclose'] = 'Show Enclosed Within Text (Optional)'; -$txt['custom_edit_enclose_desc'] = 'We strongly recommend to use an input mask to validate the input supplied by the user.'; - -$txt['custom_edit_placement'] = 'Choose Placement'; -$txt['custom_edit_placement_standard'] = 'Standard (with title)'; -$txt['custom_edit_placement_withicons'] = 'With Icons'; -$txt['custom_edit_placement_abovesignature'] = 'Above Signature'; -$txt['custom_profile_placement'] = 'Placement'; -$txt['custom_profile_placement_standard'] = 'Standard'; -$txt['custom_profile_placement_withicons'] = 'With Icons'; -$txt['custom_profile_placement_abovesignature'] = 'Above Signature'; - -// Use numeric entities in the string below! -$txt['custom_edit_delete_sure'] = 'Are you sure you wish to delete this field - all related user data will be lost!'; - -$txt['standard_profile_title'] = 'Standard Profile Fields'; -$txt['standard_profile_field'] = 'Field'; - -$txt['core_settings_welcome_msg'] = 'Welcome to Your New Forum'; -$txt['core_settings_welcome_msg_desc'] = 'To get you started we suggest you select which of SMF\'s core features you want to enable. We\'d recommend only enabling with those features you need!'; -$txt['core_settings_item_cd'] = 'Calendar'; -$txt['core_settings_item_cd_desc'] = 'Enabling this feature will open up a selection of options to enable your users to view the calendar, add and review events, see users birthdates on a calendar and much, much more.'; -$txt['core_settings_item_cp'] = 'Advanced Profile Fields'; -$txt['core_settings_item_cp_desc'] = 'This enables you to hide standard profile fields, add profile fields to registration, and create new profile fields for your forum.'; -$txt['core_settings_item_k'] = 'Karma'; -$txt['core_settings_item_k_desc'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can \'applaud\' or \'smite\' other members, which is how their popularity is calculated.'; -$txt['core_settings_item_ml'] = 'Moderation, Administration and User Logs'; -$txt['core_settings_item_ml_desc'] = 'Enable the moderation and administration logs to keep an audit trail of all the key actions taken on your forum. Also allows forum moderators to view a history of key changes a user makes to their profile.'; -$txt['core_settings_item_pm'] = 'Post Moderation'; -$txt['core_settings_item_pm_desc'] = 'Post moderation enables you to select groups and boards within which posts must be approved before they become public. Upon enabling this feature be sure to visit the permission section to set up the relevant permissions.'; -$txt['core_settings_item_ps'] = 'Paid Subscriptions'; -$txt['core_settings_item_ps_desc'] = 'Paid subscriptions allow users to pay for subscriptions to change membergroup within the forum and thus change their access rights.'; -$txt['core_settings_item_rg'] = 'Report Generation'; -$txt['core_settings_item_rg_desc'] = 'This administration feature allows the generation of reports (Which can be printed) to present your current forum setup in an easy to view manner - particularly useful for large forums.'; -$txt['core_settings_item_sp'] = 'Search Engine Tracking'; -$txt['core_settings_item_sp_desc'] = 'Enabling this feature will allow administrators to track search engines as they index your forum.'; -$txt['core_settings_item_w'] = 'Warning System'; -$txt['core_settings_item_w_desc'] = 'This functionality allows administrators and moderators to issue warnings to users; it also includes advanced functionality for automatically removing user rights as their warning level increases. Note to take full advantage of this function "Post Moderation" should be enabled.'; -$txt['core_settings_switch_on'] = 'Click to Enable'; -$txt['core_settings_switch_off'] = 'Click to Disable'; -$txt['core_settings_enabled'] = 'Enabled'; -$txt['core_settings_disabled'] = 'Disabled'; - -$txt['languages_lang_name'] = 'Language Name'; -$txt['languages_locale'] = 'Locale'; -$txt['languages_default'] = 'Default'; -$txt['languages_character_set'] = 'Character Set'; -$txt['languages_users'] = 'Users'; -$txt['language_settings_writable'] = 'Warning: Settings.php is not writable so the default language setting cannot be saved.'; -$txt['edit_languages'] = 'Edit Languages'; -$txt['lang_file_not_writable'] = 'Warning: The primary language file (%1$s) is not writable. You must make this writable before you can make any changes.'; -$txt['lang_entries_not_writable'] = 'Warning: The language file you wish to edit (%1$s) is not writable. You must make this writable before you can make any changes.'; -$txt['languages_ltr'] = 'Right to Left'; - -$txt['add_language'] = 'Add Language'; -$txt['add_language_smf'] = 'Download from Simple Machines'; -$txt['add_language_smf_browse'] = 'Type name of language to search for or leave blank to search for all.'; -$txt['add_language_smf_install'] = 'Install'; -$txt['add_language_smf_found'] = 'The following languages were found. Click the install link next to the language you wish to install, you will then be taken to the package manager to install.'; -$txt['add_language_error_no_response'] = 'The Simple Machines site is not responding. Please try again later.'; -$txt['add_language_error_no_files'] = 'No files could be found.'; -$txt['add_language_smf_desc'] = 'Description'; -$txt['add_language_smf_utf8'] = 'UTF-8'; -$txt['add_language_smf_version'] = 'Version'; - -$txt['edit_language_entries_primary'] = 'Below are the primary language settings for this language pack.'; -$txt['edit_language_entries'] = 'Edit Language Entries'; -$txt['edit_language_entries_file'] = 'Select entries to edit'; -$txt['languages_dictionary'] = 'Dictionary'; -$txt['languages_spelling'] = 'Spelling'; -$txt['languages_for_pspell'] = 'This is for pSpell - if installed'; -$txt['languages_rtl'] = 'Enable "Right to Left" Mode'; - -$txt['lang_file_desc_index'] = 'General Strings'; -$txt['lang_file_desc_EmailTemplates'] = 'Email Templates'; - -$txt['languages_download'] = 'Download Language Pack'; -$txt['languages_download_note'] = 'This page lists all the files that are contained within the language pack and some useful information about each one. All files that have their associated check box marked will be copied.'; -$txt['languages_download_info'] = 'Note: -
      -
    • Files which have the status "Not Writable" means SMF will not be able to copy this file to the directory at the present and you must make the destination writable either using an FTP client or by filling in your details at the bottom of the page.
    • -
    • The Version information for a file displays the last SMF version which it was updated for. If it is indicated in green then this is a newer version than you have at current. If amber this indicates it\'s the same version number as at current, red indicates you have a newer version installed than contained in the pack.
    • -
    • Where a file already exists on your forum the "Already Exists" column will have one of two values. "Identical" indicates that the file already exists in an identical form and need not be overwritten. "Different" means that the contents vary in some way and overwriting is probably the optimum solution.
    • -
    '; - -$txt['languages_download_main_files'] = 'Primary Files'; -$txt['languages_download_theme_files'] = 'Theme-related Files'; -$txt['languages_download_filename'] = 'File Name'; -$txt['languages_download_dest'] = 'Destination'; -$txt['languages_download_writable'] = 'Writable'; -$txt['languages_download_version'] = 'Version'; -$txt['languages_download_older'] = 'You have a newer version of this file installed, overwriting is not recommended.'; -$txt['languages_download_exists'] = 'Already Exists'; -$txt['languages_download_exists_same'] = 'Identical'; -$txt['languages_download_exists_different'] = 'Different'; -$txt['languages_download_copy'] = 'Copy'; -$txt['languages_download_not_chmod'] = 'You cannot proceed with the installation until all files selected to be copied are writable.'; -$txt['languages_download_illegal_paths'] = 'Package contains illegal paths - please contact Simple Machines'; -$txt['languages_download_complete'] = 'Installation Complete'; -$txt['languages_download_complete_desc'] = 'Language pack installed successfully. Please click here to return to the languages page'; -$txt['languages_delete_confirm'] = 'Are you sure you want to delete this language?'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ManageSmileys.english.php b/config/themes/default/languages/ManageSmileys.english.php deleted file mode 100755 index f60db9c..0000000 --- a/config/themes/default/languages/ManageSmileys.english.php +++ /dev/null @@ -1,95 +0,0 @@ -Here you can change the name and location of each smiley set - remember, however, that all sets share the same smileys.'; -$txt['smiley_editsmileys_explain'] = 'Change your smileys here by clicking on the smiley you want to modify. Remember that these smileys all have to exist in all the sets or some smileys won\'t show up! Don\'t forget to save after you are done editing!'; -$txt['smiley_setorder_explain'] = 'Change the order of the smileys here.'; -$txt['smiley_addsmiley_explain'] = 'Here you can add a new smiley - either from an existing file or by uploading new ones.'; - -$txt['smiley_set_select_default'] = 'Default Smiley Set'; -$txt['smiley_set_new'] = 'Create new smiley set'; -$txt['smiley_set_modify_existing'] = 'Modify existing smiley set'; -$txt['smiley_set_modify'] = 'Modify'; -$txt['smiley_set_import_directory'] = 'Import smileys already in this directory'; -$txt['smiley_set_import_single'] = 'There is one smiley in this smiley set not yet imported. Click'; -$txt['smiley_set_import_multiple'] = 'There are %1$d smileys in the directory that have not yet been imported. Click'; -$txt['smiley_set_to_import_single'] = 'to import it now.'; -$txt['smiley_set_to_import_multiple'] = 'to import them now.'; - -$txt['smileys_location'] = 'Location'; -$txt['smileys_location_form'] = 'Post form'; -$txt['smileys_location_hidden'] = 'Hidden'; -$txt['smileys_location_popup'] = 'Popup'; -$txt['smileys_modify'] = 'Modify'; -$txt['smileys_not_found_in_set'] = 'Smiley not found in set(s)'; -$txt['smileys_default_description'] = '(Insert a description)'; -$txt['smiley_new'] = 'Add new smiley'; -$txt['smiley_modify_existing'] = 'Modify smiley'; -$txt['smiley_preview'] = 'Preview'; -$txt['smiley_preview_using'] = 'using smiley set'; -$txt['smileys_confirm'] = 'Are you sure you want to remove these smileys?\\n\\nNote: This won\\\'t remove the images, just the choices.'; -$txt['smileys_location_form_description'] = 'These smileys will appear above the text area, when posting a new forum message or Personal Message.'; -$txt['smileys_location_popup_description'] = 'These smileys will be shown in a popup, that is shown after a user has clicked \'[more]\''; -$txt['smileys_move_select_destination'] = 'Select smiley destination'; -$txt['smileys_move_select_smiley'] = 'Select smiley to move'; -$txt['smileys_move_here'] = 'Move smiley to this location'; -$txt['smileys_no_entries'] = 'There are currently no smileys configured.'; - -$txt['icons_edit_icons_explain'] = 'From here you can change which message icons are available throughout your board. You can add, edit and remove icons, as well as limit their use to certain boards.'; -$txt['icons_edit_icons_all_boards'] = 'Available In All Boards'; -$txt['icons_board'] = 'Board'; -$txt['icons_confirm'] = 'Are you sure you wish to remove these icons?\\n\\nNote this will only stop new posters from using the icons, the images will remain.'; -$txt['icons_add_new'] = 'Add New Icon'; - -$txt['icons_edit_icon'] = 'Edit Message Icon'; -$txt['icons_new_icon'] = 'New Message Icon'; -$txt['icons_location_first_icon'] = 'As First Icon'; -$txt['icons_location_after'] = 'After'; -$txt['icons_filename_all_gif'] = 'All files must be "gif" files'; -$txt['icons_no_entries'] = 'There are currently no message icons configured.'; -?> \ No newline at end of file diff --git a/config/themes/default/languages/Manual.english.php b/config/themes/default/languages/Manual.english.php deleted file mode 100755 index f12cf48..0000000 --- a/config/themes/default/languages/Manual.english.php +++ /dev/null @@ -1,36 +0,0 @@ -Simple Machines Documentation Wiki and check out the credits to find out who has made SMF what it is today.'; - -$txt['manual_section_registering_title'] = 'Registering'; -$txt['manual_section_logging_in_title'] = 'Logging In'; -$txt['manual_section_profile_title'] = 'Profile'; -$txt['manual_section_search_title'] = 'Search'; -$txt['manual_section_posting_title'] = 'Posting'; -$txt['manual_section_bbc_title'] = 'Bulletin Board Code (BBC)'; -$txt['manual_section_personal_messages_title'] = 'Personal Messages'; -$txt['manual_section_memberlist_title'] = 'Memberlist'; -$txt['manual_section_calendar_title'] = 'Calendar'; -$txt['manual_section_features_title'] = 'Features'; - -$txt['manual_section_registering_desc'] = 'Many forums require users to register to gain full access.'; -$txt['manual_section_logging_in_desc'] = 'Once registered, users must login to access their account.'; -$txt['manual_section_profile_desc'] = 'Each member has their own personal profile.'; -$txt['manual_section_search_desc'] = 'Searching is an extremely helpful tool for finding information in posts and topics.'; -$txt['manual_section_posting_desc'] = 'The whole point of a forum, posting allows users to express themselves.'; -$txt['manual_section_bbc_desc'] = 'Posts can be spiced up with a little BBC.'; -$txt['manual_section_personal_messages_desc'] = 'Users can send personal messages to each other.'; -$txt['manual_section_memberlist_desc'] = 'The memberlist shows all the members of a forum.'; -$txt['manual_section_calendar_desc'] = 'Users can keep track of events, holidays, and birthdays with the calendar.'; -$txt['manual_section_features_desc'] = 'Here is a list of the most popular features in SMF.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/ModerationCenter.english.php b/config/themes/default/languages/ModerationCenter.english.php deleted file mode 100755 index 8195463..0000000 --- a/config/themes/default/languages/ModerationCenter.english.php +++ /dev/null @@ -1,145 +0,0 @@ -here.'; -$txt['mc_group_requests'] = 'Membergroup Requests'; -$txt['mc_unapproved_posts'] = 'Unapproved Posts'; -$txt['mc_watched_users'] = 'Recent Watched Members'; -$txt['mc_watched_topics'] = 'Watched Topics'; -$txt['mc_scratch_board'] = 'Moderator Scratch Board'; -$txt['mc_latest_news'] = 'Simple Machines Latest News'; -$txt['mc_recent_reports'] = 'Recent Topic Reports'; -$txt['mc_warnings'] = 'Warnings'; -$txt['mc_notes'] = 'Moderator Notes'; - -$txt['mc_cannot_connect_sm'] = 'You are unable to connect to simplemachines.org\'s latest news file.'; - -$txt['mc_recent_reports_none'] = 'There are no outstanding reports'; -$txt['mc_watched_users_none'] = 'There are not currently any watches in place.'; -$txt['mc_group_requests_none'] = 'There are no open requests for group membership.'; - -$txt['mc_seen'] = '%1$s last seen %2$s'; -$txt['mc_seen_never'] = '%1$s never seen'; -$txt['mc_groupr_by'] = 'by'; - -$txt['mc_reported_posts_desc'] = 'Here you can review all the post reports raised by members of the community.'; -$txt['mc_reportedp_active'] = 'Active Reports'; -$txt['mc_reportedp_closed'] = 'Old Reports'; -$txt['mc_reportedp_by'] = 'by'; -$txt['mc_reportedp_reported_by'] = 'Reported By'; -$txt['mc_reportedp_last_reported'] = 'Last Reported'; -$txt['mc_reportedp_none_found'] = 'No Reports Found'; - -$txt['mc_reportedp_details'] = 'Details'; -$txt['mc_reportedp_close'] = 'Close'; -$txt['mc_reportedp_open'] = 'Open'; -$txt['mc_reportedp_ignore'] = 'Ignore'; -$txt['mc_reportedp_unignore'] = 'Un-Ignore'; -// Do not use numeric entries in the below string. -$txt['mc_reportedp_ignore_confirm'] = 'Are you sure you wish to ignore further reports about this message?\\n\\nThis will turn off further reports for all moderators of the forum.'; -$txt['mc_reportedp_close_selected'] = 'Close Selected'; - -$txt['mc_groupr_group'] = 'Membergroups'; -$txt['mc_groupr_member'] = 'Member'; -$txt['mc_groupr_reason'] = 'Reason'; -$txt['mc_groupr_none_found'] = 'There are currently no outstanding membergroup requests.'; -$txt['mc_groupr_submit'] = 'Submit'; -$txt['mc_groupr_reason_desc'] = 'Reason to reject %1$s\'s request to join "%2$s"'; -$txt['mc_groups_reason_title'] = 'Reasons for Rejection'; -$txt['with_selected'] = 'With Selected'; -$txt['mc_groupr_approve'] = 'Approve Request'; -$txt['mc_groupr_reject'] = 'Reject Request (No Reason)'; -$txt['mc_groupr_reject_w_reason'] = 'Reject Request with Reason'; -// Do not use numeric entries in the below string. -$txt['mc_groupr_warning'] = 'Are you sure you wish to do this?'; - -$txt['mc_unapproved_attachments_none_found'] = 'There are currently no attachments awaiting approval'; -$txt['mc_unapproved_replies_none_found'] = 'There are currently no posts awaiting approval'; -$txt['mc_unapproved_topics_none_found'] = 'There are currently no topics awaiting approval'; -$txt['mc_unapproved_posts_desc'] = 'From here you can approve or delete any posts awaiting moderation.'; -$txt['mc_unapproved_replies'] = 'Replies'; -$txt['mc_unapproved_topics'] = 'Topics'; -$txt['mc_unapproved_by'] = 'by'; -$txt['mc_unapproved_sure'] = 'Are you sure you want to do this?'; -$txt['mc_unapproved_attach_name'] = 'Attachment Name'; -$txt['mc_unapproved_attach_size'] = 'Filesize'; -$txt['mc_unapproved_attach_poster'] = 'Poster'; -$txt['mc_viewmodreport'] = 'Moderation Report for %1$s by %2$s'; -$txt['mc_modreport_summary'] = 'There have been %1$d report(s) concerning this post. The last report was %2$s.'; -$txt['mc_modreport_whoreported_title'] = 'Members who have reported this post'; -$txt['mc_modreport_whoreported_data'] = 'Reported by %1$s on %2$s. They left the following message:'; -$txt['mc_modreport_modactions'] = 'Actions taken by other moderators'; -$txt['mc_modreport_mod_comments'] = 'Moderator Comments'; -$txt['mc_modreport_no_mod_comment'] = 'There are not currently any moderator comments'; -$txt['mc_modreport_add_mod_comment'] = 'Add Comment'; - -$txt['show_notice'] = 'Notice Text'; -$txt['show_notice_subject'] = 'Subject'; -$txt['show_notice_text'] = 'Text'; - -$txt['mc_watched_users_title'] = 'Watched Members'; -$txt['mc_watched_users_desc'] = 'Here you can keep a track of all members who have been assigned a "watch" by the moderation team.'; -$txt['mc_watched_users_post'] = 'View by Post'; -$txt['mc_watched_users_warning'] = 'Warning Level'; -$txt['mc_watched_users_last_login'] = 'Last Login'; -$txt['mc_watched_users_last_post'] = 'Last Post'; -$txt['mc_watched_users_no_posts'] = 'There are no posts from watched members.'; -// Don't use entities in the two strings below. -$txt['mc_watched_users_delete_post'] = 'Are you sure you want to delete this post?'; -$txt['mc_watched_users_delete_posts'] = 'Are you sure you want to delete these posts?'; -$txt['mc_watched_users_posted'] = 'Posted'; -$txt['mc_watched_users_member'] = 'Member'; - -$txt['mc_warnings_description'] = 'From this section you can see which warnings have been issued to members of the forum. You can also add and modify the notification templates used when sending a warning to a member.'; -$txt['mc_warning_log'] = 'Log'; -$txt['mc_warning_templates'] = 'Custom Templates'; -$txt['mc_warning_log_title'] = 'Viewing Warning Log'; -$txt['mc_warning_templates_title'] = 'Custom Warning Templates'; - -$txt['mc_warnings_none'] = 'No warnings have been issued yet!'; -$txt['mc_warnings_recipient'] = 'Recipient'; - -$txt['mc_warning_templates_none'] = 'No warning templates have been created yet'; -$txt['mc_warning_templates_time'] = 'Time Created'; -$txt['mc_warning_templates_name'] = 'Template'; -$txt['mc_warning_templates_creator'] = 'Created By'; -$txt['mc_warning_template_add'] = 'Add Template'; -$txt['mc_warning_template_modify'] = 'Edit Template'; -$txt['mc_warning_template_delete'] = 'Delete Selected'; -$txt['mc_warning_template_delete_confirm'] = 'Are you sure you want to delete the selected templates?'; - -$txt['mc_warning_template_desc'] = 'Use this page to fill in the details of the template. Note that the subject for the email is not part of the template. Note that as the notification is sent by PM you can use BBC within the template. Note if you use the {MESSAGE} variable then this template will not be available when issuing a generic warning (i.e. A warning not linked to a post).'; -$txt['mc_warning_template_title'] = 'Template Title'; -$txt['mc_warning_template_body_desc'] = 'The content of the notification message. Note that you can use the following shortcuts in this template.
    • {MEMBER} - Member Name.
    • {MESSAGE} - Link to Offending Post. (If Applicable)
    • {FORUMNAME} - Forum Name.
    • {SCRIPTURL} - Web address of forum.
    • {REGARDS} - Standard email sign-off.
    '; -$txt['mc_warning_template_body_default'] = '{MEMBER},' . "\n\n" . 'You have received a warning for inappropriate activity. Please cease these activities and abide by the forum rules otherwise we will take further action.' . "\n\n" . '{REGARDS}'; -$txt['mc_warning_template_personal'] = 'Personal Template'; -$txt['mc_warning_template_personal_desc'] = 'If you select this option only you will be able to see, edit and use this template. If not selected all moderators will be able to use this template.'; -$txt['mc_warning_template_error_empty'] = 'You must set both a title and notification body.'; - -$txt['mc_prefs'] = 'Preferences'; -$txt['mc_settings'] = 'Change Settings'; -$txt['mc_prefs_title'] = 'Moderation Preferences'; -$txt['mc_prefs_desc'] = 'This section allows you to set some personal preferences for moderation related activities such as email notifications.'; -$txt['mc_prefs_homepage'] = 'Items to show on moderation homepage'; -$txt['mc_prefs_latest_news'] = 'SM News'; -$txt['mc_prefs_show_reports'] = 'Show open report count in forum header'; -$txt['mc_prefs_notify_report'] = 'Notify of topic reports'; -$txt['mc_prefs_notify_report_never'] = 'Never'; -$txt['mc_prefs_notify_report_moderator'] = 'Only if it\'s a board I moderate'; -$txt['mc_prefs_notify_report_always'] = 'Always'; -$txt['mc_prefs_notify_approval'] = 'Notify of items awaiting approval'; - -// Use entities in the below string. -$txt['mc_click_add_note'] = 'Add a new note'; -$txt['mc_add_note'] = 'Add'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Modifications.english.php b/config/themes/default/languages/Modifications.english.php deleted file mode 100755 index bba6f30..0000000 --- a/config/themes/default/languages/Modifications.english.php +++ /dev/null @@ -1,166 +0,0 @@ -%s from your topic for the following post:"; -$txt['ban_from_topic_reason'] = "Reason"; -$txt['ban_from_topic_submit'] = "Submit"; -$txt['ban_from_topic_return'] = "Return"; -$txt['ban_from_topic_back'] = "Back"; -$txt['ban_from_topic_success'] = "%s is now banned from your topic."; -$txt['ban_from_topic_fail'] = "Unable to ban %s from your topic."; -$txt['ban_from_topic_fail_reason_empty'] = "You must enter a reason."; -$txt['banned_from_topic_post_footer'] = "USER WAS BANNED FROM THIS TOPIC"; -$txt['banned_from_topic_post_failed'] = "You are banned from this topic."; - -// nicefish jan 27 2016 - fishpay -$txt['tip_for_message'] = "Tip"; -$txt['tip_for_message_form_body'] = "Tip %s for the following post:"; -$txt['tip_for_message_amount'] = "Coral"; -$txt['tip_for_message_submit'] = "Submit"; -$txt['tip_for_message_return'] = "Return"; -$txt['tip_for_message_back'] = "Back"; -$txt['tip_for_message_success'] = "Your transaction has been processed."; -$txt['tip_for_message_fail'] = "Unable to tip %s."; -$txt['tip_for_message_fail_invalidamount'] = "Invalid amount."; -$txt['tip_for_message_fail_cantafford'] = "Insufficient funds."; -$txt['tip_for_message_fail_item_noitem'] = "Please select an item to tip."; -$txt['tip_for_message_fail_item_notenough'] = "You do not have this item."; -$txt['tip_for_message_fail_item_bodyfacelimit'] = "You can't give away your last body or face base item."; -$txt['tip_for_message_fail_item_bodyfaceequipped'] = "You can't give away your currently equipped body or face base item."; -$txt['tip_for_message_post_footer'] = "%s TIPPED %d CORAL FOR THIS POST"; - -// Tip list page stuff -$txt['tip_list_title'] = "Recent Tips"; - -// Ban list -$txt['ban_list_title'] = "Recent Bans"; - -// Wetfish Captcha stuff -$txt['wetfish_captcha'] = 'Wetfish Captcha'; -$txt['error_wetfish_captcha'] = "Please complete the captcha!"; - -// inventory / fish equipper stuff -$txt['inv_fish_avatar'] = "Avatar"; -$txt['inv_items'] = "Items"; -$txt['inv_equipment'] = "Accessories"; -$txt['inv_body_type'] = "Body Type"; -$txt['inv_face_type'] = "Face Type"; -$txt['fish_avatar_img_alt'] = "%s's Avatar"; -$txt['fish_demo_title'] = "Demo"; -$txt['fish_try_me'] = "Customize this abomination"; -$txt['fish_register_now_button'] = "Register now"; -$txt['fish_register_now_text'] = " to unlock more accessories!"; -$txt['fish_avatar_item_locked'] = " (LOCKED)"; -$txt['permissionname_manage_items'] = "Manage items"; -$txt['permissionname_create_npc_shop'] = "Create NPC Shop Topics"; -$txt['manage_items'] = "Items"; -$txt['manage_items_search'] = "Search Items"; -$txt['manage_items_add_new'] = "New Item"; -$txt['manage_items_view_all'] = "View All Items"; -$txt['featured_item_title'] = "Featured Item"; -$txt['featured_item_cost'] = "Cost: "; -$txt['featured_item_buy'] = "Buy now"; -$txt['featured_item_preview'] = "Preview"; -$txt['featured_item_already_purchased'] = "You already purchased this item."; -$txt['featured_item_not_for_sale'] = "Item is not for sale."; -$txt['featured_item_cant_afford'] = "Not enough Coral"; -$txt['featured_item_fail'] = "Error purchasing item."; -$txt['featured_item_success'] = "You got %s."; -$txt['featured_item_edit_avatar'] = "Edit your avatar"; -$txt['featured_item_purchased'] = "Purchased!"; - -// currency stuff -$txt['coins'] = "Coral"; -$txt['coins_earn_' . CoinEarnReason::None] = "(+%s)"; -$txt['coins_earn_' . CoinEarnReason::Posting] = "(+%s for posting)"; -$txt['coins_earn_' . CoinEarnReason::Registration] = "(+%s for registering)"; - -// ItemTypes -$txt['item_type_' . ItemType::Equipment] = "Equipment"; - -// EquipSlots -$txt['item_equip_slot_' . EquipSlot::None] = "None"; -$txt['item_equip_slot_' . EquipSlot::BodyBase] = "Body Type"; -$txt['item_equip_slot_' . EquipSlot::FaceBase] = "Face Type"; -$txt['item_equip_slot_' . EquipSlot::Chest1] = "Chest (Under)"; -$txt['item_equip_slot_' . EquipSlot::Chest2] = "Chest (Over)"; -$txt['item_equip_slot_' . EquipSlot::Head1] = "Head (Hair)"; -$txt['item_equip_slot_' . EquipSlot::Head2] = "Head (Hat)"; -$txt['item_equip_slot_' . EquipSlot::Neck] = "Neck"; -$txt['item_equip_slot_' . EquipSlot::Legs1] = "Legs (Under)"; -$txt['item_equip_slot_' . EquipSlot::Legs2] = "Legs (Over)"; -$txt['item_equip_slot_' . EquipSlot::LeftHandHeld] = "Left Hand (Held)"; -$txt['item_equip_slot_' . EquipSlot::RightHandHeld] = "Right Hand (Held)"; -$txt['item_equip_slot_' . EquipSlot::Face1] = "Face (Mask)"; -$txt['item_equip_slot_' . EquipSlot::Face2] = "Face (Eyes)"; -$txt['item_equip_slot_' . EquipSlot::Face3] = "Mouth Type"; -$txt['item_equip_slot_' . EquipSlot::Face4] = "Mouth (Accessory)"; -$txt['item_equip_slot_' . EquipSlot::Hands] = "Hands"; -$txt['item_equip_slot_' . EquipSlot::Feet] = "Feet"; -$txt['item_equip_slot_' . EquipSlot::Back] = "Back"; -$txt['item_equip_slot_' . EquipSlot::Background1] = "Background1"; -$txt['item_equip_slot_' . EquipSlot::Background2] = "Background2"; -$txt['item_equip_slot_' . EquipSlot::Background3] = "Background3"; - -// ItemAvailabilitys -$txt['item_availability_' . ItemAvailability::Normal] = "Default"; -$txt['item_availability_' . ItemAvailability::StartingItem] = "Starting Item"; -$txt['item_availability_' . ItemAvailability::StartingItemLocked] = "Starting Item (Locked)"; -$txt['item_availability_' . ItemAvailability::DailyFeature] = "Daily Feature"; - -$txt['item_availability_desc_' . ItemAvailability::Normal] = "This item is only available through trading, npc shops, etc."; -$txt['item_availability_desc_' . ItemAvailability::StartingItem] = "All users start with this item and it is equippable on the demo avatar for guests."; -$txt['item_availability_desc_' . ItemAvailability::StartingItemLocked] = "All users start with this item and it is visible but locked for guests."; -$txt['item_availability_desc_' . ItemAvailability::DailyFeature] = "This item may randomly appear in the daily item sale."; - - -// admin panel for items -$txt['admin_new_item_name'] = "Item Name: "; -$txt['admin_new_item_type'] = "Item Type: "; -$txt['admin_new_item_slot'] = "Equip Slot: "; -$txt['admin_new_item_slot_desc'] = "Required if Item Type is Equipment"; -$txt['admin_new_item_img'] = "Primary Image"; -$txt['admin_new_item_img_desc'] = "120 x 150 PNG with alpha"; -$txt['admin_new_item_img_sec'] = "Secondary Image %d"; -$txt['admin_new_item_img_desc_sec'] = "Optional. 120 x 150 PNG with alpha"; -$txt['admin_new_item_layer_default'] = "Default"; -$txt['admin_new_item_layer'] = "Primary Image Override Layer"; -$txt['admin_new_item_layer_desc'] = "Higher layers are drawn last and appear on top."; -$txt['admin_new_item_layer_sec'] = "Secondary Image %d Override Layer"; -$txt['admin_new_item_layer_desc_sec'] = "Higher layers are drawn last and appear on top."; -$txt['admin_new_item_icon'] = "Icon"; -$txt['admin_new_item_icon_desc'] = "38 x 38 PNG with alpha"; -$txt['admin_new_item_can_delete'] = "Removable"; -$txt['admin_new_item_can_delete_desc'] = "Users can remove this item from their inventory"; -$txt['admin_new_item_cost'] = "Cost"; -$txt['admin_new_item_cost_desc'] = "The price for this item in Sand Dollars"; -$txt['admin_new_item_availability'] = "Availability"; -$txt['admin_new_item_availability_desc'] = "How users obtain this item"; -$txt['admin_new_item_submit'] = "Submit"; -$txt['admin_new_item_success'] = "Successfully added new item!"; -$txt['admin_new_item_fail'] = "Failed to add new item."; -$txt['admin_new_item_fail_upload_error'] = "Upload failed"; -$txt['admin_new_item_fail_unknown_type'] = "Unknown file type"; -$txt['admin_new_item_fail_invalid_type'] = "Invalid file type"; -$txt['admin_new_item_fail_name_empty'] = "Item name required"; - -// npc shops -$txt['npc_shop_item_id'] = "Item ID"; -$txt['npc_shop_expire_time'] = "Expire Time"; -$txt['npc_shop_expire_time_desc'] = "(-1 = No expiry)"; -$txt['npc_shop_free'] = "Free!"; -$txt['npc_shop_already_own_free_item'] = "Got it"; -$txt['npc_shop_get_free_item'] = "Get it"; -$txt['npc_shop_expires_on'] = "Offer expires on %s"; -$txt['npc_shop_expired_on'] = "Offer expired on %s"; -$txt['buy_item_title'] = "Buy Item"; -$txt['npc_shop_already_own_free_item_fail'] = "You already own this item"; - -// misc -$txt['website_title'] = "Wetfish Online"; -$txt['website_description'] = "A little forum where you earn coral, dress up a cute fish avatar, and can ban anybody from topics that you create."; -$txt['chat'] = "Chat"; -?> \ No newline at end of file diff --git a/config/themes/default/languages/Modlog.english.php b/config/themes/default/languages/Modlog.english.php deleted file mode 100755 index dd19970..0000000 --- a/config/themes/default/languages/Modlog.english.php +++ /dev/null @@ -1,87 +0,0 @@ -Please note: Entries cannot be removed from this log until they are at least twenty-four hours old.'; -$txt['modlog_no_entries_found'] = 'There are currently no moderation log entries.'; -$txt['modlog_remove'] = 'Remove'; -$txt['modlog_removeall'] = 'Remove All'; -$txt['modlog_go'] = 'Go'; -$txt['modlog_add'] = 'Add'; -$txt['modlog_search'] = 'Quick Search'; -$txt['modlog_by'] = 'By'; -$txt['modlog_id'] = 'Deleted - ID:%1$d'; - -$txt['modlog_ac_add_warn_template'] = 'Added warning template: "{template}"'; -$txt['modlog_ac_modify_warn_template'] = 'Edited the warning template: "{template}"'; -$txt['modlog_ac_delete_warn_template'] = 'Deleted the warning template: "{template}"'; - -$txt['modlog_ac_ban'] = 'Added ban triggers:'; -$txt['modlog_ac_ban_trigger_member'] = ' Member: {member}'; -$txt['modlog_ac_ban_trigger_email'] = ' Email: {email}'; -$txt['modlog_ac_ban_trigger_ip_range'] = ' IP: {ip_range}'; -$txt['modlog_ac_ban_trigger_hostname'] = ' Hostname: {hostname}'; - -$txt['modlog_admin_log'] = 'Administration Log'; -$txt['modlog_admin_log_desc'] = 'Below is a list of administration actions which have been logged on your forum.
    Please note: Entries cannot be removed from this log until they are at least twenty-four hours old.'; -$txt['modlog_admin_log_no_entries_found'] = 'There are currently no administration log entries.'; - -// Admin type strings. -$txt['modlog_ac_upgrade'] = 'Upgraded the forum to version {version}'; -$txt['modlog_ac_install'] = 'Installed version {version}'; -$txt['modlog_ac_add_board'] = 'Added a new board: "{board}"'; -$txt['modlog_ac_edit_board'] = 'Edited the "{board}" board'; -$txt['modlog_ac_delete_board'] = 'Deleted the "{boardname}" board'; -$txt['modlog_ac_add_cat'] = 'Added a new category, "{catname}"'; -$txt['modlog_ac_edit_cat'] = 'Edited the "{catname}" category'; -$txt['modlog_ac_delete_cat'] = 'Deleted the "{catname}" category'; - -$txt['modlog_ac_delete_group'] = 'Deleted the "{group}" group'; -$txt['modlog_ac_add_group'] = 'Added the "{group}" group'; -$txt['modlog_ac_edited_group'] = 'Edited the "{group}" group'; -$txt['modlog_ac_added_to_group'] = 'Added "{member}" to the "{group}" group'; -$txt['modlog_ac_removed_from_group'] = 'Removed "{member}" from the "{group}" group'; -$txt['modlog_ac_removed_all_groups'] = 'Removed "{member}" from all groups'; - -$txt['modlog_ac_remind_member'] = 'Sent out a reminder to "{member}" to activate their account'; -$txt['modlog_ac_approve_member'] = 'Approved/Activated the account of "{member}"'; -$txt['modlog_ac_newsletter'] = 'Sent Newsletter'; - -$txt['modlog_ac_install_package'] = 'Installed new package: "{package}", version {version}'; -$txt['modlog_ac_upgrade_package'] = 'Upgraded package: "{package}" to version {version}'; -$txt['modlog_ac_uninstall_package'] = 'Uninstalled package: "{package}", version {version}'; - -// Restore topic. -$txt['modlog_ac_restore_topic'] = 'Restored topic "{topic}" from "{board}" to "{board_to}"'; -$txt['modlog_ac_restore_posts'] = 'Restored posts from "{subject}" to the topic "{topic}" in the "{board}" board.'; - -$txt['modlog_parameter_guest'] = 'Guest'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Packages.english.php b/config/themes/default/languages/Packages.english.php deleted file mode 100755 index efa7b36..0000000 --- a/config/themes/default/languages/Packages.english.php +++ /dev/null @@ -1,262 +0,0 @@ -strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. - This error may be caused by a conflict between the package you\'re trying to install and another package you have already installed, an error in the package, a package which requires another package that you don\'t have installed yet, or a package designed for another version of SMF.'; -// Don't use entities in the below string. -$txt['package_will_fail_popup'] = 'Are you sure you wish to continue installing this modification, even though it will not install successfully?'; -$txt['package_will_fail_popup_uninstall'] = 'Are you sure you wish to continue uninstalling this modification, even though it will not uninstall successfully?'; -$txt['package_install_now'] = 'Install Now'; -$txt['package_uninstall_now'] = 'Uninstall Now'; -$txt['package_other_themes'] = 'Install in Other Themes'; -$txt['package_other_themes_uninstall'] = 'UnInstall in Other Themes'; -$txt['package_other_themes_desc'] = 'To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you\'d like to install this modification in the other themes, please select these themes below.'; -// Don't use entities in the below string. -$txt['package_theme_failure_warning'] = 'At least one error was encountered during a test install of this theme. Are you sure you wish to attempt installation?'; - -$txt['package_bytes'] = 'bytes'; - -$txt['package_action_missing'] = 'File not found'; -$txt['package_action_error'] = 'Modification parse error'; -$txt['package_action_failure'] = 'Test failed'; -$txt['package_action_success'] = 'Test successful'; -$txt['package_action_skipping'] = 'Skipping file'; - -$txt['package_uninstall_actions'] = 'Uninstall Actions'; -$txt['package_uninstall_done'] = 'The package has been uninstalled, it should no longer take effect.'; -$txt['package_uninstall_cannot'] = 'This package cannot be uninstalled, because there is no uninstaller!

    Please contact the mod author for more information.'; - -$txt['package_install_options'] = 'Installation Options'; -$txt['package_install_options_ftp_why'] = 'Using the package manager\'s FTP functionality is the easiest way to avoid having to manually chmod the files writable through FTP yourself for the package manager to work.
    Here you can set the default values for some fields.'; -$txt['package_install_options_ftp_server'] = 'FTP Server'; -$txt['package_install_options_ftp_port'] = 'Port'; -$txt['package_install_options_ftp_user'] = 'Username'; -$txt['package_install_options_make_backups'] = 'Create Backup versions of replaced files with a tilde (~) on the end of their names.'; - -$txt['package_ftp_necessary'] = 'FTP Information Required'; -$txt['package_ftp_why'] = 'Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager. Note you can also do this manually using an FTP client - to view a list of the affected files please click here.'; -$txt['package_ftp_why_file_list'] = 'The following files need to made writable to continue installation:'; -$txt['package_ftp_why_download'] = 'To download packages, the Packages directory and files in it need to be writable - and they are not currently. The package manager can use your FTP information to fix this.'; -$txt['package_ftp_server'] = 'FTP Server'; -$txt['package_ftp_port'] = 'Port'; -$txt['package_ftp_username'] = 'Username'; -$txt['package_ftp_password'] = 'Password'; -$txt['package_ftp_path'] = 'Local path to SMF'; -$txt['package_ftp_test'] = 'Test'; -$txt['package_ftp_test_connection'] = 'Test Connection'; -$txt['package_ftp_test_success'] = 'FTP connection established.'; -$txt['package_ftp_test_failed'] = 'Could not contact server.'; - -// For a break, use \\n instead of
    ... and don't use entities. -$txt['package_delete_bad'] = 'The package you are about to delete is currently installed! If you delete it, you may not be able to uninstall it later.\\n\\nAre you sure?'; - -$txt['package_examine_file'] = 'View file in package'; -$txt['package_file_contents'] = 'Contents of file'; - -$txt['package_upload_title'] = 'Upload a Package'; -$txt['package_upload_select'] = 'Package to Upload'; -$txt['package_upload'] = 'Upload'; -$txt['package_uploaded_success'] = 'Package uploaded successfully'; -$txt['package_uploaded_successfully'] = 'The package has been uploaded successfully'; - -$txt['package_modification_malformed'] = 'Malformed or invalid modification file.'; -$txt['package_modification_missing'] = 'The file could not be found.'; -$txt['package_no_zlib'] = 'Sorry, your PHP configuration doesn\'t have support for zlib. Without this, the package manager cannot function. Please contact your host about this for more information.'; - -$txt['package_cleanperms_title'] = 'Cleanup Permissions'; -$txt['package_cleanperms_desc'] = 'This interface allows you to reset the permissions for files throughout your installation, so as to increase security or solve any permission problems you may encounter while installing packages.'; -$txt['package_cleanperms_type'] = 'Change all file permissions throughout the forum such that'; -$txt['package_cleanperms_standard'] = 'Only the standard files are writable.'; -$txt['package_cleanperms_free'] = 'All files are writable.'; -$txt['package_cleanperms_restrictive'] = 'The minimum files are writable.'; -$txt['package_cleanperms_go'] = 'Change file permissions'; - -$txt['package_download_by_url'] = 'Download a package by url'; -$txt['package_download_filename'] = 'Name of the file'; -$txt['package_download_filename_info'] = 'Optional value. Should be used when the url does not end in the filename. For example: index.php?mod=5'; - -$txt['package_db_uninstall'] = 'Remove all data associated with this modification.'; -$txt['package_db_uninstall_details'] = 'Details'; -$txt['package_db_uninstall_actions'] = 'Checking this option will result in the following database changes'; -$txt['package_db_remove_table'] = 'Drop table "%1$s"'; -$txt['package_db_remove_column'] = 'Remove column "%2$s" from "%1$s"'; -$txt['package_db_remove_index'] = 'Remove index "%1$s" from "%2$s"'; - -$txt['package_advanced_button'] = 'Advanced'; -$txt['package_advanced_options'] = 'Advanced Options'; -$txt['package_apply'] = 'Apply'; -$txt['package_emulate'] = 'Emulate Version'; -$txt['package_emulate_revert'] = 'Revert'; -$txt['package_emulate_desc'] = 'Sometimes packages are locked to early versions of SMF but remain compatible with a newer version. Here you can choose to "emulate" a different SMF version within the package manager.'; - -// Operations. -$txt['operation_find'] = 'Find'; -$txt['operation_replace'] = 'Replace'; -$txt['operation_after'] = 'Add After'; -$txt['operation_before'] = 'Add Before'; -$txt['operation_title'] = 'Operations'; -$txt['operation_ignore'] = 'Ignore Errors'; -$txt['operation_invalid'] = 'The operation that you selected is invalid.'; - -$txt['package_file_perms_desc'] = 'You can use this section to review the writable status of critical files and folders within your forum directory. Note this only considers key forum folders and files - use an FTP client for additional options.'; -$txt['package_file_perms_name'] = 'File/Folder Name'; -$txt['package_file_perms_status'] = 'Current Status'; -$txt['package_file_perms_new_status'] = 'New Status'; -$txt['package_file_perms_status_read'] = 'Read'; -$txt['package_file_perms_status_write'] = 'Write'; -$txt['package_file_perms_status_execute'] = 'Execute'; -$txt['package_file_perms_status_custom'] = 'Custom'; -$txt['package_file_perms_status_no_change'] = 'No Change'; -$txt['package_file_perms_writable'] = 'Writable'; -$txt['package_file_perms_not_writable'] = 'Not Writable'; -$txt['package_file_perms_chmod'] = 'chmod'; -$txt['package_file_perms_more_files'] = 'More Files'; - -$txt['package_file_perms_change'] = 'Change File Permissions'; -$txt['package_file_perms_predefined'] = 'Use predefined permission profile'; -$txt['package_file_perms_predefined_note'] = 'Note that this only applies the predefined profile to key SMF folders and files.'; -$txt['package_file_perms_apply'] = 'Apply individual file permissions settings selected above.'; -$txt['package_file_perms_custom'] = 'If "Custom" has been selected use chmod value of'; -$txt['package_file_perms_pre_restricted'] = 'Restricted - minimum files writable'; -$txt['package_file_perms_pre_standard'] = 'Standard - key files writable'; -$txt['package_file_perms_pre_free'] = 'Free - all files writable'; -$txt['package_file_perms_ftp_details'] = 'On most servers it is only possible to change file permissions using an FTP account. Please enter your FTP details below'; -$txt['package_file_perms_ftp_retain'] = 'Note, SMF will only retain the password information temporarily to aid operation of the package manager.'; -$txt['package_file_perms_go'] = 'Make Changes'; - -$txt['package_file_perms_applying'] = 'Applying Changes'; -$txt['package_file_perms_items_done'] = '%1$d of %2$d items completed'; -$txt['package_file_perms_skipping_ftp'] = 'Warning: Failed to connect to FTP server, attempting to change permissions without. This is likely to fail - please check the results upon completion and try again with correct FTP details if necessary.'; - -$txt['package_file_perms_dirs_done'] = '%1$d of %2$d directories completed'; -$txt['package_file_perms_files_done'] = '%1$d of %2$d files done in current directory'; - -$txt['chmod_value_invalid'] = 'You have tried to enter an invalid chmod value. Chmod must be between 0444 and 0777'; - -$txt['package_restore_permissions'] = 'Restore File Permissions'; -$txt['package_restore_permissions_desc'] = 'The following file permissions were changed by SMF to install the selected package(s). You can return these files back to their original status by clicking "Restore" below.'; -$txt['package_restore_permissions_restore'] = 'Restore'; -$txt['package_restore_permissions_filename'] = 'Filename'; -$txt['package_restore_permissions_orig_status'] = 'Original Status'; -$txt['package_restore_permissions_cur_status'] = 'Current Status'; -$txt['package_restore_permissions_result'] = 'Result'; -$txt['package_restore_permissions_pre_change'] = '%1$s (%3$s)'; -$txt['package_restore_permissions_post_change'] = '%2$s (%3$s - was %2$s)'; -$txt['package_restore_permissions_action_skipped'] = 'Skipped'; -$txt['package_restore_permissions_action_success'] = 'Success'; -$txt['package_restore_permissions_action_failure'] = 'Failed'; -$txt['package_restore_permissions_action_done'] = 'SMF has attempted to restore the selected files back to their original permissions, the results can be seen below. If a change failed, or for a more detailed view of file permissions, please see the File Permissions section.'; - -$txt['package_file_perms_warning'] = 'Please Note'; -$txt['package_file_perms_warning_desc'] = ' -
  • Be careful when changing file permissions from this section - incorrect permissions can adversely affect the operation of your forum!
  • -
  • On some server configurations selecting the wrong permissions may stop SMF from operating.
  • -
  • Certain directories such as attachments need to be writable to use that functionality.
  • -
  • This functionality is mainly applicable on non-Windows based servers - it will not work as expected on Windows in regards to permission flags.
  • -
  • Before proceeding make sure you have an FTP client installed in case you do make an error and need to FTP into the server to remedy it.
  • '; - -$txt['package_confirm_view_package_content'] = 'Are you sure you want to view the package contents from this location:

    %1$s'; -$txt['package_confirm_proceed'] = 'Proceed'; -$txt['package_confirm_go_back'] = 'Go back'; - -$txt['package_readme_default'] = 'Default'; -$txt['package_available_readme_language'] = 'Available Readme Languages:'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/PersonalMessage.english.php b/config/themes/default/languages/PersonalMessage.english.php deleted file mode 100755 index ef51d59..0000000 --- a/config/themes/default/languages/PersonalMessage.english.php +++ /dev/null @@ -1,196 +0,0 @@ -Note: You appear to have javascript disabled. We highly recommend you enable javascript to use this feature.
    '; -$txt['pm_rule_criteria'] = 'Criteria'; -$txt['pm_rule_criteria_add'] = 'Add Criteria'; -$txt['pm_rule_criteria_pick'] = 'Choose Criteria'; -$txt['pm_rule_mid'] = 'Sender Name'; -$txt['pm_rule_gid'] = 'Sender\'s Group'; -$txt['pm_rule_sub'] = 'Message Subject Contains'; -$txt['pm_rule_msg'] = 'Message Body Contains'; -$txt['pm_rule_bud'] = 'Sender is Buddy'; -$txt['pm_rule_sel_group'] = 'Select Group'; -$txt['pm_rule_logic'] = 'When Checking Criteria'; -$txt['pm_rule_logic_and'] = 'All criteria must be met'; -$txt['pm_rule_logic_or'] = 'Any criteria can be met'; -$txt['pm_rule_actions'] = 'Actions'; -$txt['pm_rule_sel_action'] = 'Select an Action'; -$txt['pm_rule_add_action'] = 'Add Action'; -$txt['pm_rule_label'] = 'Label message with'; -$txt['pm_rule_sel_label'] = 'Select Label'; -$txt['pm_rule_delete'] = 'Delete Message'; -$txt['pm_rule_no_name'] = 'You forgot to enter a name for the rule.'; -$txt['pm_rule_no_criteria'] = 'A rule must have at least one criteria and one action set.'; -$txt['pm_rule_too_complex'] = 'The rule you are creating is too long for SMF to store. Try breaking it up into smaller rules.'; - -$txt['pm_readable_and'] = 'and'; -$txt['pm_readable_or'] = 'or'; -$txt['pm_readable_start'] = 'If '; -$txt['pm_readable_end'] = '.'; -$txt['pm_readable_member'] = 'message is from "{MEMBER}"'; -$txt['pm_readable_group'] = 'sender is from the "{GROUP}" group'; -$txt['pm_readable_subject'] = 'message subject contains "{SUBJECT}"'; -$txt['pm_readable_body'] = 'message body contains "{BODY}"'; -$txt['pm_readable_buddy'] = 'sender is a buddy'; -$txt['pm_readable_label'] = 'apply label "{LABEL}"'; -$txt['pm_readable_delete'] = 'delete the message'; -$txt['pm_readable_then'] = 'then'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Post.english.php b/config/themes/default/languages/Post.english.php deleted file mode 100755 index 32b2448..0000000 --- a/config/themes/default/languages/Post.english.php +++ /dev/null @@ -1,196 +0,0 @@ - 'it\\\'s'. -$txt['bbc_quote'] = 'Insert Quote'; -$txt['list'] = 'Insert List'; -$txt['list_unordered'] = 'Insert Unordered List'; -$txt['list_ordered'] = 'Insert Ordered List'; - -$txt['change_color'] = 'Change Color'; -$txt['black'] = 'Black'; -$txt['red'] = 'Red'; -$txt['yellow'] = 'Yellow'; -$txt['pink'] = 'Pink'; -$txt['green'] = 'Green'; -$txt['orange'] = 'Orange'; -$txt['purple'] = 'Purple'; -$txt['blue'] = 'Blue'; -$txt['beige'] = 'Beige'; -$txt['brown'] = 'Brown'; -$txt['teal'] = 'Teal'; -$txt['navy'] = 'Navy'; -$txt['maroon'] = 'Maroon'; -$txt['lime_green'] = 'Lime Green'; -$txt['white'] = 'White'; -$txt['disable_smileys'] = 'Disable Smileys'; -$txt['dont_use_smileys'] = 'Don\'t use smileys.'; -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['posted_on'] = 'Posted on'; -$txt['standard'] = 'Standard'; -$txt['thumbs_up'] = 'Thumb Up'; -$txt['thumbs_down'] = 'Thumb Down'; -$txt['excamation_point'] = 'Exclamation point'; -$txt['question_mark'] = 'Question mark'; -$txt['lamp'] = 'Lamp'; -$txt['add_smileys'] = 'Add Smileys'; -$txt['flash'] = 'Insert Flash'; -$txt['ftp'] = 'Insert FTP Link'; -$txt['image'] = 'Insert Image'; -$txt['table'] = 'Insert Table'; -$txt['table_td'] = 'Insert Table Column'; -$txt['topic_notify_no'] = 'There are no topics with Notification.'; -$txt['marquee'] = 'Marquee'; -$txt['teletype'] = 'Teletype'; -$txt['strike'] = 'Strikethrough'; -$txt['glow'] = 'Glow'; -$txt['shadow'] = 'Shadow'; -$txt['preformatted'] = 'Preformatted Text'; -$txt['left_align'] = 'Left Align'; -$txt['right_align'] = 'Right Align'; -$txt['superscript'] = 'Superscript'; -$txt['subscript'] = 'Subscript'; -$txt['table_tr'] = 'Insert Table Row'; -$txt['post_too_long'] = 'Your message is too long. Please go back and shorten it, then try again.'; -$txt['horizontal_rule'] = 'Horizontal Rule'; -$txt['font_size'] = 'Font Size'; -$txt['font_face'] = 'Font Face'; -$txt['toggle_view'] = 'Toggle View'; -$txt['unformat_text'] = 'Remove Formatting'; - -$txt['rich_edit_wont_work'] = 'Your browser does not support Rich Text editing.'; -$txt['rich_edit_function_disabled'] = 'Your browser does not support this function.'; - -// Use numeric entities in the below five strings. -$txt['notifyUnsubscribe'] = 'Unsubscribe to this topic by clicking here'; - -$txt['lock_after_post'] = 'Lock after Post'; -$txt['notify_replies'] = 'Notify me of replies.'; -$txt['lock_topic'] = 'Lock this topic.'; -$txt['shortcuts'] = 'shortcuts: hit alt+s to submit/post or alt+p to preview'; -$txt['shortcuts_firefox'] = 'shortcuts: hit shift+alt+s to submit/post or shift+alt+p to preview'; -$txt['option'] = 'Option'; -$txt['reset_votes'] = 'Reset Vote Count'; -$txt['reset_votes_check'] = 'Check this if you want to reset all vote counts to 0.'; -$txt['votes'] = 'votes'; -$txt['attach'] = 'Attach'; -$txt['clean_attach'] = 'Clear Attachment'; -$txt['attached'] = 'Attached'; -$txt['allowed_types'] = 'Allowed file types'; -$txt['cant_upload_type'] = 'You cannot upload that type of file. The only allowed extensions are'; -$txt['uncheck_unwatchd_attach'] = 'Uncheck the attachments you no longer want attached'; -$txt['restricted_filename'] = 'That is a restricted filename. Please try a different filename.'; -$txt['topic_locked_no_reply'] = 'Warning: topic is currently/will be locked!
    Only admins and moderators can reply.'; -$txt['awaiting_approval'] = 'Awaiting approval'; -$txt['attachment_requires_approval'] = 'Note that any files attached will not be displayed until approved by a moderator.'; -$txt['error_temp_attachments'] = 'There are attachments found, which you have attached before but not posted. These attachments are now attached to this post. If you do not want to include them in this post, you can remove them here.'; -// Use numeric entities in the below string. -$txt['js_post_will_require_approval'] = 'We need to approve the first post for all new members. You will be able to post freely after it has been approved.'; - -$txt['enter_comment'] = 'Enter comment'; -// Use numeric entities in the below two strings. -$txt['reported_post'] = 'Reported post'; -$txt['reported_to_mod_by'] = 'by'; -$txt['rtm10'] = 'Submit'; -// Use numeric entities in the below four strings. -$txt['report_following_post'] = 'The following post, "%1$s" by'; -$txt['reported_by'] = 'has been reported by'; -$txt['board_moderate'] = 'on a board you moderate'; -$txt['report_comment'] = 'The reporter has made the following comment'; - -$txt['attach_restrict_attachmentPostLimit'] = 'maximum total size %1$dKB'; -$txt['attach_restrict_attachmentSizeLimit'] = 'maximum individual size %1$dKB'; -$txt['attach_restrict_attachmentNumPerPostLimit'] = '%1$d per post'; -$txt['attach_restrictions'] = 'Restrictions:'; - -$txt['post_additionalopt'] = 'Attachments and other options'; -$txt['sticky_after'] = 'Sticky this topic.'; -$txt['move_after2'] = 'Move this topic.'; -$txt['back_to_topic'] = 'Return to this topic.'; -$txt['approve_this_post'] = 'Approve this Post'; - -$txt['retrieving_quote'] = 'Retrieving Quote...'; - -$txt['post_visual_verification_label'] = 'Verification'; -$txt['post_visual_verification_desc'] = 'Please enter the code in the image above to make this post.'; - -$txt['poll_options'] = 'Poll Options'; -$txt['poll_run'] = 'Run the poll for'; -$txt['poll_run_limit'] = '(Leave blank for no limit.)'; -$txt['poll_results_visibility'] = 'Result visibility'; -$txt['poll_results_anyone'] = 'Show the poll\'s results to anyone.'; -$txt['poll_results_voted'] = 'Only show the results after someone has voted.'; -$txt['poll_results_after'] = 'Only show the results after the poll has expired.'; -$txt['poll_max_votes'] = 'Maximum votes per user'; -$txt['poll_do_change_vote'] = 'Allow users to change vote'; -$txt['poll_too_many_votes'] = 'You selected too many options. For this poll, you may only select %1$s options.'; -$txt['poll_add_option'] = 'Add Option'; -$txt['poll_guest_vote'] = 'Allow guests to vote'; - -$txt['spellcheck_done'] = 'Spell checking complete.'; -$txt['spellcheck_change_to'] = 'Change To:'; -$txt['spellcheck_suggest'] = 'Suggestions:'; -$txt['spellcheck_change'] = 'Change'; -$txt['spellcheck_change_all'] = 'Change All'; -$txt['spellcheck_ignore'] = 'Ignore'; -$txt['spellcheck_ignore_all'] = 'Ignore All'; - -$txt['more_attachments'] = 'more attachments'; -// Don't use entities in the below string. -$txt['more_attachments_error'] = 'Sorry, you aren\'t allowed to post any more attachments.'; - -$txt['more_smileys'] = 'more'; -$txt['more_smileys_title'] = 'Additional smileys'; -$txt['more_smileys_pick'] = 'Pick a smiley'; -$txt['more_smileys_close_window'] = 'Close Window'; - -$txt['error_new_reply'] = 'Warning - while you were typing a new reply has been posted. You may wish to review your post.'; -$txt['error_new_replies'] = 'Warning - while you were typing %1$d new replies have been posted. You may wish to review your post.'; -$txt['error_new_reply_reading'] = 'Warning - while you were reading a new reply has been posted. You may wish to review your post.'; -$txt['error_new_replies_reading'] = 'Warning - while you were reading %1$d new replies have been posted. You may wish to review your post.'; - -$txt['announce_this_topic'] = 'Send an announcement about this topic to the members:'; -$txt['announce_title'] = 'Send an announcement'; -$txt['announce_desc'] = 'This form allows you to send an announcement to the selected membergroups about this topic.'; -$txt['announce_sending'] = 'Sending announcement of topic'; -$txt['announce_done'] = 'done'; -$txt['announce_continue'] = 'Continue'; -$txt['announce_topic'] = 'Announce topic.'; -$txt['announce_regular_members'] = 'Regular Members'; - -$txt['digest_subject_daily'] = 'Daily Digest'; -$txt['digest_subject_weekly'] = 'Weekly Digest'; -$txt['digest_intro_daily'] = 'Below is a summary of all activity in your subscribed boards and topics at %1$s today. To unsubscribe please visit the link below.'; -$txt['digest_intro_weekly'] = 'Below is a summary of all activity in your subscribed boards and topics at %1$s this week. To unsubscribe please visit the link below.'; -$txt['digest_new_topics'] = 'The following topics have been started'; -$txt['digest_new_topics_line'] = '"%1$s" in "%2$s"'; -$txt['digest_new_replies'] = 'Replies have been made in the following topics'; -$txt['digest_new_replies_one'] = '1 reply in "%1$s"'; -$txt['digest_new_replies_many'] = '%1$d replies in "%2$s"'; -$txt['digest_mod_actions'] = 'The following moderation actions have taken place'; -$txt['digest_mod_act_sticky'] = '"%1$s" was stickied'; -$txt['digest_mod_act_lock'] = '"%1$s" was locked'; -$txt['digest_mod_act_unlock'] = '"%1$s" was unlocked'; -$txt['digest_mod_act_remove'] = '"%1$s" was removed'; -$txt['digest_mod_act_move'] = '"%1$s" was moved'; -$txt['digest_mod_act_merge'] = '"%1$s" was merged'; -$txt['digest_mod_act_split'] = '"%1$s" was split'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Profile.english.php b/config/themes/default/languages/Profile.english.php deleted file mode 100755 index e8c18a8..0000000 --- a/config/themes/default/languages/Profile.english.php +++ /dev/null @@ -1,471 +0,0 @@ -http://www.mypage.com/mypic.gif)'; -$txt['my_own_pic'] = 'Specify avatar by URL'; -$txt['date_format'] = 'The format here will be used to show dates throughout this forum.'; -$txt['time_format'] = 'Time Format'; -$txt['display_name_desc'] = 'This is the displayed name that people will see.'; -$txt['personal_time_offset'] = 'Number of hours to +/- to make displayed time equal to your local time.'; -$txt['dob'] = 'Birthdate'; -$txt['dob_month'] = 'Month (MM)'; -$txt['dob_day'] = 'Day (DD)'; -$txt['dob_year'] = 'Year (YYYY)'; -$txt['password_strength'] = 'For best security, you should use eight or more characters with a combination of letters, numbers, and symbols.'; -$txt['include_website_url'] = 'This must be included if you specify a URL below.'; -$txt['complete_url'] = 'This must be a complete URL.'; -$txt['your_icq'] = 'This is your ICQ number.'; -$txt['your_aim'] = 'This is your AOL Instant Messenger nickname.'; -$txt['your_yim'] = 'This is your Yahoo! Instant Messenger nickname.'; -$txt['sig_info'] = 'Signatures are displayed at the bottom of each post or personal message.'; -$txt['max_sig_characters'] = 'Max characters: %1$d; characters remaining: '; -$txt['send_member_pm'] = 'Send this member a personal message'; -$txt['hidden'] = 'hidden'; -$txt['current_time'] = 'Current forum time'; -$txt['digits_only'] = 'The \'number of posts\' box can only contain digits.'; - -$txt['language'] = 'Language'; -$txt['avatar_too_big'] = 'Avatar image is too big, please resize it and try again (max'; -$txt['invalid_registration'] = 'Invalid Date Registered value, valid example:'; -$txt['msn_email_address'] = 'Your MSN messenger email address'; -$txt['current_password'] = 'Current Password'; -// Don't use entities in the below string, except the main ones. (lt, gt, quot.) -$txt['required_security_reasons'] = 'For security reasons, your current password is required to make changes to your account.'; - -$txt['timeoffset_autodetect'] = '(auto detect)'; - -$txt['secret_question'] = 'Secret Question'; -$txt['secret_desc'] = 'To help retrieve your password, enter a question here with an answer that only you know.'; -$txt['secret_desc2'] = 'Choose carefully, you wouldn\'t want someone guessing your answer!'; -$txt['secret_answer'] = 'Answer'; -$txt['secret_ask'] = 'Ask me my question'; -$txt['cant_retrieve'] = 'You can\'t retrieve your password, but you can set a new one by following a link sent to you by email. You also have the option of setting a new password by answering your secret question.'; -$txt['incorrect_answer'] = 'Sorry, but you did not specify a valid combination of Secret Question and Answer in your profile. Please click on the back button, and use the default method of obtaining your password.'; -$txt['enter_new_password'] = 'Please enter the answer to your question, and the password you would like to use. Your password will be changed to the one you select provided you answer the question correctly.'; -$txt['password_success'] = 'Your password was changed successfully.
    Click here to login.'; -$txt['secret_why_blank'] = 'why is this blank?'; - -$txt['authentication_reminder'] = 'Authentication Reminder'; -$txt['password_reminder_desc'] = 'If you\'ve forgotten your login details, don\'t worry, they can be retrieved. To start this process please enter your username or email address below.'; -$txt['authentication_options'] = 'Please select one of the two options below'; -$txt['authentication_openid_email'] = 'Email me a reminder of my OpenID identity'; -$txt['authentication_openid_secret'] = 'Answer my "secret question" to display my OpenID identity'; -$txt['authentication_password_email'] = 'Email me a new password'; -$txt['authentication_password_secret'] = 'Let me set a new password by answering my "secret question"'; -$txt['openid_secret_reminder'] = 'Please enter your answer to the question below. If you get it correct your OpenID identity will be shown.'; -$txt['reminder_openid_is'] = 'The OpenID identity associated with your account is:
        %1$s

    Please make a note of this for future reference.'; -$txt['reminder_continue'] = 'Continue'; - -$txt['current_theme'] = 'Current Theme'; -$txt['change'] = '(change)'; -$txt['theme_preferences'] = 'Theme preferences'; -$txt['theme_forum_default'] = 'Forum or Board Default'; -$txt['theme_forum_default_desc'] = 'This is the default theme, which means your theme will change along with the administrator\'s settings and the board you are viewing.'; - -$txt['profileConfirm'] = 'Do you really want to delete this member?'; - -$txt['custom_title'] = 'Custom Title'; - -$txt['lastLoggedIn'] = 'Last Active'; - -$txt['notify_settings'] = 'Notification Settings:'; -$txt['notify_save'] = 'Save settings'; -$txt['notify_important_email'] = 'Receive forum newsletters, announcements and important notifications by email.'; -$txt['notify_regularity'] = 'For topics and boards I\'ve requested notification on, notify me'; -$txt['notify_regularity_instant'] = 'Instantly'; -$txt['notify_regularity_first_only'] = 'Instantly - but only for the first unread reply'; -$txt['notify_regularity_daily'] = 'Daily'; -$txt['notify_regularity_weekly'] = 'Weekly'; -$txt['auto_notify'] = 'Turn notification on when you post or reply to a topic.'; -$txt['notify_send_types'] = 'For topics and boards I\'ve requested notification on, notify me of'; -$txt['notify_send_type_everything'] = 'Replies and moderation'; -$txt['notify_send_type_everything_own'] = 'Moderation only if I started the topic'; -$txt['notify_send_type_only_replies'] = 'Only replies'; -$txt['notify_send_type_nothing'] = 'Nothing at all'; -$txt['notify_send_body'] = 'When sending notification of a reply to a topic, send the post in the email (but please don\'t reply to these emails.)'; - -$txt['notifications_topics'] = 'Current Topic Notifications'; -$txt['notifications_topics_list'] = 'You are being notified of replies to the following topics'; -$txt['notifications_topics_none'] = 'You are not currently receiving any notifications from topics.'; -$txt['notifications_topics_howto'] = 'To receive notifications from a topic, click the "notify" button while viewing it.'; -$txt['notifications_boards'] = 'Current Board Notifications'; -$txt['notifications_boards_list'] = 'You are being notified of new topics posted in the following boards'; -$txt['notifications_boards_none'] = 'You aren\'t receiving notifications on any boards right now.'; -$txt['notifications_boards_howto'] = 'To request notifications from a specific board, click the "notify" button in the index of that board.'; -$txt['notifications_update'] = 'Unnotify'; - -$txt['statPanel_showStats'] = 'User statistics for: '; -$txt['statPanel_users_votes'] = 'Number of Votes Cast'; -$txt['statPanel_users_polls'] = 'Number of Polls Created'; -$txt['statPanel_total_time_online'] = 'Total Time Spent Online'; -$txt['statPanel_noPosts'] = 'No posts to speak of!'; -$txt['statPanel_generalStats'] = 'General Statistics'; -$txt['statPanel_posts'] = 'posts'; -$txt['statPanel_topics'] = 'topics'; -$txt['statPanel_total_posts'] = 'Total Posts'; -$txt['statPanel_total_topics'] = 'Total Topics Started'; -$txt['statPanel_votes'] = 'votes'; -$txt['statPanel_polls'] = 'polls'; -$txt['statPanel_topBoards'] = 'Most Popular Boards By Posts'; -$txt['statPanel_topBoards_posts'] = '%1$d posts of the board\'s %2$d posts (%3$01.2f%%)'; -$txt['statPanel_topBoards_memberposts'] = '%1$d posts of the member\'s %2$d posts (%3$01.2f%%)'; -$txt['statPanel_topBoardsActivity'] = 'Most Popular Boards By Activity'; -$txt['statPanel_activityTime'] = 'Posting Activity By Time'; -$txt['statPanel_activityTime_posts'] = '%1$d posts (%2$d%%)'; -$txt['statPanel_timeOfDay'] = 'Time of Day'; - -$txt['deleteAccount_warning'] = 'Warning - These actions are irreversible!'; -$txt['deleteAccount_desc'] = 'From this page you can delete this user\'s account and posts.'; -$txt['deleteAccount_member'] = 'Delete this member\'s account'; -$txt['deleteAccount_posts'] = 'Remove posts made by this member'; -$txt['deleteAccount_none'] = 'None'; -$txt['deleteAccount_all_posts'] = 'All Posts'; -$txt['deleteAccount_topics'] = 'Topics and Posts'; -$txt['deleteAccount_confirm'] = 'Are you completely sure you want to delete this account?'; -$txt['deleteAccount_approval'] = 'Please note that the forum moderators will have to approve this account\'s deletion before it will be removed.'; - -$txt['profile_of_username'] = 'Profile of %1$s'; -$txt['profileInfo'] = 'Profile Info'; -$txt['showPosts'] = 'Show Posts'; -$txt['showPosts_help'] = 'This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.'; -$txt['showMessages'] = 'Messages'; -$txt['showTopics'] = 'Topics'; -$txt['showAttachments'] = 'Attachments'; -$txt['statPanel'] = 'Show Stats'; -$txt['editBuddyIgnoreLists'] = 'Buddies/Ignore List'; -$txt['editBuddies'] = 'Edit Buddies'; -$txt['editIgnoreList'] = 'Edit Ignore List'; -$txt['trackUser'] = 'Track User'; -$txt['trackActivity'] = 'Activity'; -$txt['trackIP'] = 'IP Address'; - -$txt['authentication'] = 'Authentication'; -$txt['change_authentication'] = 'From this section you can change how you login to the forum. You may choose to either use an OpenID account for your authentication, or alternatively switch to use a username and password.'; - -$txt['profileEdit'] = 'Modify Profile'; -$txt['account_info'] = 'These are your account settings. This page holds all critical information that identifies you on this forum. For security reasons, you will need to enter your (current) password to make changes to this information.'; -$txt['forumProfile_info'] = 'You can change your personal information on this page. This information will be displayed throughout ' . $context['forum_name_html_safe'] . '. If you aren\'t comfortable with sharing some information, simply skip it - nothing here is required.'; -$txt['theme'] = 'Look and Layout'; -$txt['theme_info'] = 'This section allows you to customize the look and layout of the forum.'; -$txt['notification'] = 'Notifications'; -$txt['notification_info'] = 'SMF allows you to be notified of replies to posts, newly posted topics, and forum announcements. You can change those settings here, or oversee the topics and boards you are currently receiving notifications for.'; -$txt['groupmembership'] = 'Group Membership'; -$txt['groupMembership_info'] = 'In this section of your profile you can change which groups you belong to.'; -$txt['ignoreboards'] = 'Ignore Boards Options'; -$txt['ignoreboards_info'] = 'This page lets you ignore particular boards. When a board is ignored, the new post indicator will not show up on the board index. New posts will not show up using the "unread post" search link (when searching it will not look in those boards) however, ignored boards will still appear on the board index and upon entering will show which topics have new posts. When using the "unread replies" link, new posts in an ignored board will still be shown.'; -$txt['pmprefs'] = 'Personal Messaging'; - -$txt['profileAction'] = 'Actions'; -$txt['deleteAccount'] = 'Delete this account'; -$txt['profileSendIm'] = 'Send personal message'; -$txt['profile_sendpm_short'] = 'Send PM'; - -$txt['profileBanUser'] = 'Ban this user'; - -$txt['display_name'] = 'Display name'; -$txt['enter_ip'] = 'Enter IP (range)'; -$txt['errors_by'] = 'Error messages by'; -$txt['errors_desc'] = 'Below is a list of all the recent errors that this user has generated/experienced.'; -$txt['errors_from_ip'] = 'Error messages from IP (range)'; -$txt['errors_from_ip_desc'] = 'Below is a list of all recent error messages generated by this IP (range).'; -$txt['ip_address'] = 'IP address'; -$txt['ips_in_errors'] = 'IPs used in error messages'; -$txt['ips_in_messages'] = 'IPs used in recent posts'; -$txt['members_from_ip'] = 'Members from IP (range)'; -$txt['members_in_range'] = 'Members possibly in the same range'; -$txt['messages_from_ip'] = 'Messages posted from IP (range)'; -$txt['messages_from_ip_desc'] = 'Below is a list of all messages posted from this IP (range).'; -$txt['most_recent_ip'] = 'Most recent IP address'; -$txt['why_two_ip_address'] = 'Why are there two IP addresses listed?'; -$txt['no_errors_from_ip'] = 'No error messages from the specified IP (range) found'; -$txt['no_errors_from_user'] = 'No error messages from the specified user found'; -$txt['no_members_from_ip'] = 'No members from the specified IP (range) found'; -$txt['no_messages_from_ip'] = 'No messages from the specified IP (range) found'; -$txt['none'] = 'None'; -$txt['own_profile_confirm'] = 'Are you sure you want to delete your account?'; -$txt['view_ips_by'] = 'View IPs used by'; - -$txt['avatar_will_upload'] = 'Upload an avatar'; - -$txt['activate_changed_email_title'] = 'Email Address Changed'; -$txt['activate_changed_email_desc'] = 'You\'ve changed your email address. In order to validate this address you will receive an email. Click the link in that email to reactivate your account.'; - -// Use numeric entities in the below three strings. -$txt['no_reminder_email'] = 'Unable to send reminder email.'; -$txt['send_email'] = 'Send an email to'; -$txt['to_ask_password'] = 'to ask for your authentication details'; - -$txt['user_email'] = 'Username/Email'; - -// Use numeric entities in the below two strings. -$txt['reminder_subject'] = 'New password for ' . $context['forum_name']; -$txt['reminder_mail'] = 'This mail was sent because the \'forgot password\' function has been applied to your account. To set a new password, click the following link'; -$txt['reminder_sent'] = 'A mail has been sent to your email address. Click the link in that mail to set a new password.'; -$txt['reminder_openid_sent'] = 'Your current OpenID identity has been sent to your email address.'; -$txt['reminder_set_password'] = 'Set Password'; -$txt['reminder_password_set'] = 'Password successfully set'; -$txt['reminder_error'] = '%1$s failed to answer their secret question correctly when attempting to change a forgotten password.'; - -$txt['registration_not_approved'] = 'Sorry, this account has not yet been approved. If you need to change your email address please click'; -$txt['registration_not_activated'] = 'Sorry, this account has not yet been activated. If you need to resend the activation email please click'; - -$txt['primary_membergroup'] = 'Primary Membergroup'; -$txt['additional_membergroups'] = 'Additional Membergroups'; -$txt['additional_membergroups_show'] = '[ show additional groups ]'; -$txt['no_primary_membergroup'] = '(no primary membergroup)'; -$txt['deadmin_confirm'] = 'Are you sure you wish to irrevocably remove your admin status?'; - -$txt['account_activate_method_2'] = 'Account requires reactivation after email change'; -$txt['account_activate_method_3'] = 'Account is not approved'; -$txt['account_activate_method_4'] = 'Account is awaiting approval for deletion'; -$txt['account_activate_method_5'] = 'Account is an "under age" account awaiting approval'; -$txt['account_not_activated'] = 'Account is currently not activated'; -$txt['account_activate'] = 'activate'; -$txt['account_approve'] = 'approve'; -$txt['user_is_banned'] = 'User is currently banned'; -$txt['view_ban'] = 'View'; -$txt['user_banned_by_following'] = 'This user is currently affected by the following bans'; -$txt['user_cannot_due_to'] = 'User cannot %1$s as a result of ban: "%2$s"'; -$txt['ban_type_post'] = 'post'; -$txt['ban_type_register'] = 'register'; -$txt['ban_type_login'] = 'login'; -$txt['ban_type_access'] = 'access forum'; - -$txt['show_online'] = 'Show others my online status'; - -$txt['return_to_post'] = 'Return to topics after posting by default.'; -$txt['no_new_reply_warning'] = 'Don\'t warn on new replies made while posting.'; -$txt['posts_apply_ignore_list'] = 'Hide messages posted by members on my ignore list.'; -$txt['recent_posts_at_top'] = 'Show most recent posts at the top.'; -$txt['recent_pms_at_top'] = 'Show most recent personal messages at top.'; -$txt['wysiwyg_default'] = 'Show WYSIWYG editor on post page by default.'; - -$txt['timeformat_default'] = '(Forum Default)'; -$txt['timeformat_easy1'] = 'Month Day, Year, HH:MM:SS am/pm'; -$txt['timeformat_easy2'] = 'Month Day, Year, HH:MM:SS (24 hour)'; -$txt['timeformat_easy3'] = 'YYYY-MM-DD, HH:MM:SS'; -$txt['timeformat_easy4'] = 'DD Month YYYY, HH:MM:SS'; -$txt['timeformat_easy5'] = 'DD-MM-YYYY, HH:MM:SS'; - -$txt['poster'] = 'Poster'; - -$txt['board_desc_inside'] = 'Show board descriptions inside boards.'; -$txt['show_children'] = 'Show child boards on every page inside boards, not just the first.'; -$txt['use_sidebar_menu'] = 'Use sidebar menus instead of dropdown menus when possible.'; -$txt['show_no_avatars'] = 'Don\'t show users\' avatars.'; -$txt['show_no_signatures'] = 'Don\'t show users\' signatures.'; -$txt['show_no_censored'] = 'Leave words uncensored.'; -$txt['topics_per_page'] = 'Topics to display per page:'; -$txt['messages_per_page'] = 'Messages to display per page:'; -$txt['per_page_default'] = 'forum default'; -$txt['calendar_start_day'] = 'First day of the week on the calendar'; -$txt['display_quick_reply'] = 'Use quick reply on topic display: '; -$txt['display_quick_reply1'] = 'don\'t show at all'; -$txt['display_quick_reply2'] = 'show, off by default'; -$txt['display_quick_reply3'] = 'show, on by default'; -$txt['display_quick_mod'] = 'Show quick-moderation as '; -$txt['display_quick_mod_none'] = 'don\'t show.'; -$txt['display_quick_mod_check'] = 'checkboxes.'; -$txt['display_quick_mod_image'] = 'icons.'; - -$txt['whois_title'] = 'Look up IP on a regional whois-server'; -$txt['whois_afrinic'] = 'AfriNIC (Africa)'; -$txt['whois_apnic'] = 'APNIC (Asia Pacific region)'; -$txt['whois_arin'] = 'ARIN (North America, a portion of the Caribbean and sub-Saharan Africa)'; -$txt['whois_lacnic'] = 'LACNIC (Latin American and Caribbean region)'; -$txt['whois_ripe'] = 'RIPE (Europe, the Middle East and parts of Africa and Asia)'; - -$txt['moderator_why_missing'] = 'why isn\'t moderator here?'; -$txt['username_change'] = 'change'; -$txt['username_warning'] = 'To change this member\'s username, the forum must also reset their password, which will be emailed to the member with their new username.'; - -$txt['show_member_posts'] = 'View Member Posts'; -$txt['show_member_topics'] = 'View Member Topics'; -$txt['show_member_attachments'] = 'View Member Attachments'; -$txt['show_posts_none'] = 'No posts have been posted yet.'; -$txt['show_topics_none'] = 'No topics have been posted yet.'; -$txt['show_attachments_none'] = 'No attachments have been posted yet.'; -$txt['show_attach_filename'] = 'Filename'; -$txt['show_attach_downloads'] = 'Downloads'; -$txt['show_attach_posted'] = 'Posted'; - -$txt['showPermissions'] = 'Show Permissions'; -$txt['showPermissions_status'] = 'Permission status'; -$txt['showPermissions_help'] = 'This section allows you to view all permissions for this member (denied permissions are struck out).'; -$txt['showPermissions_given'] = 'Given by'; -$txt['showPermissions_denied'] = 'Denied by'; -$txt['showPermissions_permission'] = 'Permission (denied permissions are struck out)'; -$txt['showPermissions_none_general'] = 'This member has no general permissions set.'; -$txt['showPermissions_none_board'] = 'This member has no board specific permissions set.'; -$txt['showPermissions_all'] = 'As an administrator, this member has all possible permissions.'; -$txt['showPermissions_select'] = 'Board specific permissions for'; -$txt['showPermissions_general'] = 'General Permissions'; -$txt['showPermissions_global'] = 'All boards'; -$txt['showPermissions_restricted_boards'] = 'Restricted boards'; -$txt['showPermissions_restricted_boards_desc'] = 'The following boards are not accessible by this user'; - -$txt['local_time'] = 'Local Time'; -$txt['posts_per_day'] = 'per day'; - -$txt['buddy_ignore_desc'] = 'This area allows you to maintain your buddy and ignore lists for this forum. Adding members to these lists will, amongst other things, help control mail and PM traffic, depending on your preferences.'; - -$txt['buddy_add'] = 'Add To Buddy List'; -$txt['buddy_remove'] = 'Remove From Buddy List'; -$txt['buddy_add_button'] = 'Add'; -$txt['no_buddies'] = 'Your buddy list is currently empty'; - -$txt['ignore_add'] = 'Add To Ignore List'; -$txt['ignore_remove'] = 'Remove From Ignore List'; -$txt['ignore_add_button'] = 'Add'; -$txt['no_ignore'] = 'Your ignore list is currently empty'; - -$txt['regular_members'] = 'Registered Members'; -$txt['regular_members_desc'] = 'Every member of the forum is a member of this group.'; -$txt['group_membership_msg_free'] = 'Your group membership was successfully updated.'; -$txt['group_membership_msg_request'] = 'Your request has been submitted, please be patient while the request is considered.'; -$txt['group_membership_msg_primary'] = 'Your primary group has been updated'; -$txt['current_membergroups'] = 'Current Membergroups'; -$txt['available_groups'] = 'Available Groups'; -$txt['join_group'] = 'Join Group'; -$txt['leave_group'] = 'Leave Group'; -$txt['request_group'] = 'Request Membership'; -$txt['approval_pending'] = 'Approval Pending'; -$txt['make_primary'] = 'Make Primary Group'; - -$txt['request_group_membership'] = 'Request Group Membership'; -$txt['request_group_membership_desc'] = 'Before you can join this group your membership must be approved by the moderator. Please give a reason for joining this group'; -$txt['submit_request'] = 'Submit Request'; - -$txt['profile_updated_own'] = 'Your profile has been updated successfully.'; -$txt['profile_updated_else'] = 'The profile for %1$s has been updated successfully.'; - -$txt['profile_error_signature_max_length'] = 'Your signature cannot be greater than %1$d characters'; -$txt['profile_error_signature_max_lines'] = 'Your signature cannot span more than %1$d lines'; -$txt['profile_error_signature_max_image_size'] = 'Images in your signature must be no greater than %1$dx%2$d pixels'; -$txt['profile_error_signature_max_image_width'] = 'Images in your signature must be no wider than %1$d pixels'; -$txt['profile_error_signature_max_image_height'] = 'Images in your signature must be no higher than %1$d pixels'; -$txt['profile_error_signature_max_image_count'] = 'You cannot have more than %1$d images in your signature'; -$txt['profile_error_signature_max_font_size'] = 'Text in your signature must be smaller than %1$s in size'; -$txt['profile_error_signature_allow_smileys'] = 'You are not allowed to use any smileys within your signature'; -$txt['profile_error_signature_max_smileys'] = 'You are not allowed to use more than %1$d smileys within your signature'; -$txt['profile_error_signature_disabled_bbc'] = 'The following BBC is not allowed within your signature: %1$s'; - -$txt['profile_view_warnings'] = 'View Warnings'; -$txt['profile_issue_warning'] = 'Issue a Warning'; -$txt['profile_warning_level'] = 'Warning Level'; -$txt['profile_warning_desc'] = 'From this section you can adjust the user\'s warning level and issue them with a written warning if necessary. You can also track their warning history and view the effects of their current warning level as determined by the administrator.'; -$txt['profile_warning_name'] = 'Member Name'; -$txt['profile_warning_impact'] = 'Result'; -$txt['profile_warning_reason'] = 'Reason for Warning'; -$txt['profile_warning_reason_desc'] = 'This is required and will be logged.'; -$txt['profile_warning_effect_none'] = 'None.'; -$txt['profile_warning_effect_watch'] = 'User will be added to moderator watch list.'; -$txt['profile_warning_effect_own_watched'] = 'You are on the moderator watch list.'; -$txt['profile_warning_is_watch'] = 'being watched'; -$txt['profile_warning_effect_moderation'] = 'All users posts will be moderated.'; -$txt['profile_warning_effect_own_moderated'] = 'All your posts will be moderated.'; -$txt['profile_warning_is_moderation'] = 'posts are moderated'; -$txt['profile_warning_effect_mute'] = 'User will not be able to post.'; -$txt['profile_warning_effect_own_muted'] = 'You will not be able to post.'; -$txt['profile_warning_is_muted'] = 'cannot post'; -$txt['profile_warning_effect_text'] = 'Level >= %1$d: %2$s'; -$txt['profile_warning_notify'] = 'Send a Notification'; -$txt['profile_warning_notify_template'] = 'Select template:'; -$txt['profile_warning_notify_subject'] = 'Notification Subject'; -$txt['profile_warning_notify_body'] = 'Notification Message'; -$txt['profile_warning_notify_template_subject'] = 'You have received a warning'; -// Use numeric entities in below string. -$txt['profile_warning_notify_template_outline'] = '{MEMBER},' . "\n\n" . 'You have received a warning for %1$s. Please cease these activities and abide by the forum rules otherwise we will take further action.' . "\n\n" . '{REGARDS}'; -$txt['profile_warning_notify_template_outline_post'] = '{MEMBER},' . "\n\n" . 'You have received a warning for %1$s in regards to the message:' . "\n" . '{MESSAGE}.' . "\n\n" . 'Please cease these activities and abide by the forum rules otherwise we will take further action.' . "\n\n" . '{REGARDS}'; -$txt['profile_warning_notify_for_spamming'] = 'spamming'; -$txt['profile_warning_notify_title_spamming'] = 'Spamming'; -$txt['profile_warning_notify_for_offence'] = 'posting offensive material'; -$txt['profile_warning_notify_title_offence'] = 'Posting Offensive Material'; -$txt['profile_warning_notify_for_insulting'] = 'insulting other users and/or staff members'; -$txt['profile_warning_notify_title_insulting'] = 'Insulting Users/Staff'; -$txt['profile_warning_issue'] = 'Issue Warning'; -$txt['profile_warning_max'] = '(Max 100)'; -$txt['profile_warning_limit_attribute'] = 'Note you can not adjust this user\'s level by more than %1$d%% in a 24 hour period.'; -$txt['profile_warning_errors_occured'] = 'Warning has not been sent due to following errors'; -$txt['profile_warning_success'] = 'Warning Successfully Issued'; -$txt['profile_warning_new_template'] = 'New Template'; - -$txt['profile_warning_previous'] = 'Previous Warnings'; -$txt['profile_warning_previous_none'] = 'This user has not received any previous warnings.'; -$txt['profile_warning_previous_issued'] = 'Issued By'; -$txt['profile_warning_previous_time'] = 'Time'; -$txt['profile_warning_previous_level'] = 'Points'; -$txt['profile_warning_previous_reason'] = 'Reason'; -$txt['profile_warning_previous_notice'] = 'View Notice Sent to Member'; - -$txt['viewwarning'] = 'View Warnings'; -$txt['profile_viewwarning_for_user'] = 'Warnings for %1$s'; -$txt['profile_viewwarning_no_warnings'] = 'No warnings have yet been issued.'; -$txt['profile_viewwarning_desc'] = 'Below is a summary of all the warnings that have been issued by the forum moderation team.'; -$txt['profile_viewwarning_previous_warnings'] = 'Previous Warnings'; -$txt['profile_viewwarning_impact'] = 'Warning Impact'; - -$txt['subscriptions'] = 'Paid Subscriptions'; - -$txt['pm_settings_desc'] = 'From this page you can change a variety of personal messaging options, including how messages are displayed and who may send them to you.'; -$txt['email_notify'] = 'Notify by email every time you receive a personal message:'; -$txt['email_notify_never'] = 'Never'; -$txt['email_notify_buddies'] = 'From Buddies Only'; -$txt['email_notify_always'] = 'Always'; - -$txt['pm_receive_from'] = 'Receive personal messages from:'; -$txt['pm_receive_from_everyone'] = 'All members'; -$txt['pm_receive_from_ignore'] = 'All members, except those on my ignore list'; -$txt['pm_receive_from_admins'] = 'Administrators only'; -$txt['pm_receive_from_buddies'] = 'Buddies and Administrators only'; - -$txt['copy_to_outbox'] = 'Save a copy of each personal message in my sent items by default.'; -$txt['popup_messages'] = 'Show a popup when I receive new messages.'; -$txt['pm_remove_inbox_label'] = 'Remove the inbox label when applying another label'; -$txt['pm_display_mode'] = 'Display personal messages'; -$txt['pm_display_mode_all'] = 'All at once'; -$txt['pm_display_mode_one'] = 'One at a time'; -$txt['pm_display_mode_linked'] = 'As a conversation'; -// Use entities in the below string. -$txt['pm_recommend_enable_outbox'] = 'To make the most of this setting we suggest you enable "Save a copy of each Personal Message in my sent items by default"\\n\\nThis will help ensure that the conversations flow better as you can see both sides of the conversation.'; - -$txt['tracking'] = 'Tracking'; -$txt['tracking_description'] = 'This section allows you to review certain profile actions performed on this member\'s profile as well as track their IP address.'; - -$txt['trackEdits'] = 'Profile Edits'; -$txt['trackEdit_deleted_member'] = 'Deleted Member'; -$txt['trackEdit_no_edits'] = 'No edits have so far been recorded for this member.'; -$txt['trackEdit_action'] = 'Field'; -$txt['trackEdit_before'] = 'Value Before'; -$txt['trackEdit_after'] = 'Value After'; -$txt['trackEdit_applicator'] = 'Changed By'; - -$txt['trackEdit_action_real_name'] = 'Member Name'; -$txt['trackEdit_action_usertitle'] = 'Custom Title'; -$txt['trackEdit_action_member_name'] = 'Username'; -$txt['trackEdit_action_email_address'] = 'Email Address'; -$txt['trackEdit_action_id_group'] = 'Primary Membergroup'; -$txt['trackEdit_action_additional_groups'] = 'Additional Membergroups'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Reports.english.php b/config/themes/default/languages/Reports.english.php deleted file mode 100755 index e5d4a88..0000000 --- a/config/themes/default/languages/Reports.english.php +++ /dev/null @@ -1,140 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/languages/Search.english.php b/config/themes/default/languages/Search.english.php deleted file mode 100755 index cb77f7c..0000000 --- a/config/themes/default/languages/Search.english.php +++ /dev/null @@ -1,159 +0,0 @@ -e.g. Orwell "Animal Farm" -movie'; - -$txt['search_engines_description'] = 'From this area you can decide in what detail you wish to track search engines as they index your forum as well as review search engine logs.'; -$txt['spider_mode'] = 'Search Engine Tracking Level
    Note higher level tracking increases server resource requirement.
    '; -$txt['spider_mode_off'] = 'Disabled'; -$txt['spider_mode_standard'] = 'Standard - Logs minimal spider activity.'; -$txt['spider_mode_high'] = 'High - Provides more accurate statistics.'; -$txt['spider_mode_vhigh'] = 'Very High - As for "High" but logs data about each page visited.'; -$txt['spider_settings_desc'] = 'You can change settings for spider tracking from this page. Note, if you wish to enable automatic pruning of the hit logs you can set this up here'; - -$txt['spider_group'] = 'Apply restrictive permissions from group
    To enable you to stop spiders indexing some pages.
    '; -$txt['spider_group_none'] = 'Disabled'; - -$txt['show_spider_online'] = 'Show spiders in the online list'; -$txt['show_spider_online_no'] = 'Not at all'; -$txt['show_spider_online_summary'] = 'Show spider quantity'; -$txt['show_spider_online_detail'] = 'Show spider names'; -$txt['show_spider_online_detail_admin'] = 'Show spider names - admin only'; - -$txt['spider_name'] = 'Spider Name'; -$txt['spider_last_seen'] = 'Last Seen'; -$txt['spider_last_never'] = 'Never'; -$txt['spider_agent'] = 'User Agent'; -$txt['spider_ip_info'] = 'IP Addresses'; -$txt['spiders_add'] = 'Add New Spider'; -$txt['spiders_edit'] = 'Edit Spider'; -$txt['spiders_remove_selected'] = 'Remove Selected Spiders'; -$txt['spider_remove_selected_confirm'] = 'Are you sure you wish to remove these spiders?\\n\\nAll associated statistics will also be deleted!'; -$txt['spiders_no_entries'] = 'There are currently no spiders configured.'; - -$txt['add_spider_desc'] = 'From this page you can edit the parameters against which a spider is categorised. If a guest\'s user agent/IP address matches those entered below it will be detected as a search engine spider and tracked as per the forum preferences.'; -$txt['spider_name_desc'] = 'Name by which the spider will be referred.'; -$txt['spider_agent_desc'] = 'User agent associated with this spider.'; -$txt['spider_ip_info_desc'] = 'Comma separated list of IP addresses associated with this spider.'; - -$txt['spider'] = 'Spider'; -$txt['spider_time'] = 'Time'; -$txt['spider_viewing'] = 'Viewing'; -$txt['spider_logs_empty'] = 'There are currently no spider log entries.'; -$txt['spider_logs_info'] = 'Note that logging of every spider action only occurs if tracking is set to either "high" or "very high". Detail of every spiders action is only logged if tracking is set to "very high".'; -$txt['spider_disabled'] = 'Disabled'; - -$txt['spider_logs_delete'] = 'Delete Entries'; -$txt['spider_logs_delete_older'] = 'Delete all entries older than'; -$txt['spider_logs_delete_day'] = 'days.'; -$txt['spider_logs_delete_submit'] = 'Delete'; -// Don't use entities in the below string. -$txt['spider_logs_delete_confirm'] = 'Are you sure you wish to empty out all log entries?'; - -$txt['spider_stats_select_month'] = 'Jump To Month'; -$txt['spider_stats_page_hits'] = 'Page Hits'; -$txt['spider_stats_no_entries'] = 'There are currently no spider statistics available.'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Settings.english.php b/config/themes/default/languages/Settings.english.php deleted file mode 100755 index 6e6d752..0000000 --- a/config/themes/default/languages/Settings.english.php +++ /dev/null @@ -1,9 +0,0 @@ -
    Author: The Simple Machines Team'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Stats.english.php b/config/themes/default/languages/Stats.english.php deleted file mode 100755 index fe906cc..0000000 --- a/config/themes/default/languages/Stats.english.php +++ /dev/null @@ -1,44 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/languages/Themes.english.php b/config/themes/default/languages/Themes.english.php deleted file mode 100755 index 27bb184..0000000 --- a/config/themes/default/languages/Themes.english.php +++ /dev/null @@ -1,148 +0,0 @@ -
    Don\'t forget to look at the theme settings for your themes for layout options.'; -$txt['themeadmin_list_desc'] = 'From here, you can view the list of themes you currently have installed, change their paths and settings, and uninstall them.'; -$txt['themeadmin_reset_desc'] = 'Below you will see an interface to change the current theme-specific options for all your members. You will only see those themes that have their own set of settings.'; -$txt['themeadmin_edit_desc'] = 'Modify the stylesheet and source code of your installed themes. Please consult the documentation for more information.'; - -$txt['themeadmin_list_heading'] = 'Theme Settings Overview'; -$txt['themeadmin_list_tip'] = 'Remember, the layout settings may be different between one theme and another. Click on the theme\'s names below to set their options, change their directory or URL settings, or to find other options.'; -$txt['themeadmin_list_theme_dir'] = 'Theme directory (templates)'; -$txt['themeadmin_list_invalid'] = '(warning, this path is not correct!)'; -$txt['themeadmin_list_theme_url'] = 'URL to above directory'; -$txt['themeadmin_list_images_url'] = 'URL to images directory'; -$txt['themeadmin_list_reset'] = 'Reset Theme URLs and Directories'; -$txt['themeadmin_list_reset_dir'] = 'Base path to Themes directory'; -$txt['themeadmin_list_reset_url'] = 'Base URL to the same directory'; -$txt['themeadmin_list_reset_go'] = 'Attempt to reset all themes'; - -$txt['themeadmin_reset_tip'] = 'Each theme may have its own custom options for selection by your members. These include things like "quick reply", avatars and signatures, layout options, and other similar options. Here you can change the defaults or reset everyone\'s options.

    Please note that some themes may use the default options, in which case they will not have their own options.'; -$txt['themeadmin_reset_defaults'] = 'Configure guest and new user options for this theme'; -$txt['themeadmin_reset_defaults_current'] = 'options currently set.'; -$txt['themeadmin_reset_members'] = 'Change current options for all members using this theme'; -$txt['themeadmin_reset_remove'] = 'Remove all members\' options and use the defaults'; -$txt['themeadmin_reset_remove_current'] = 'members currently using their own options.'; -// Don't use entities in the below string. -$txt['themeadmin_reset_remove_confirm'] = 'Are you sure you want to remove all theme options?\\nThis may reset some custom profile fields as well.'; -$txt['themeadmin_reset_options_info'] = 'The options below will reset options for everyone. To change an option, select "change" in the box next to it, and then select a value for it. To use the default, select "remove". Otherwise, use "don\'t change" to keep it as-is.'; -$txt['themeadmin_reset_options_change'] = 'Change'; -$txt['themeadmin_reset_options_none'] = 'Don\'t change'; -$txt['themeadmin_reset_options_remove'] = 'Remove'; - -$txt['themeadmin_edit_browse'] = 'Browse the templates and files in this theme.'; -$txt['themeadmin_edit_style'] = 'Edit this theme\'s stylesheets.'; -$txt['themeadmin_edit_copy_template'] = 'Copy a template from the theme this is based on.'; -$txt['themeadmin_edit_exists'] = 'already exists'; -$txt['themeadmin_edit_do_copy'] = 'copy'; -$txt['themeadmin_edit_copy_warning'] = 'When SMF needs a template or language file which is not in the current theme, it looks in the theme it is based on, or the default theme.
    Unless you need to modify a template, it\'s better not to copy it.'; -$txt['themeadmin_edit_copy_confirm'] = 'Are you sure you want to copy this template?'; -$txt['themeadmin_edit_overwrite_confirm'] = 'Are you sure you want to copy this template over the one that already exists?\nThis will OVERWRITE any changes you\\\'ve made!'; -$txt['themeadmin_edit_no_copy'] = '(can\'t copy)'; -$txt['themeadmin_edit_filename'] = 'Filename'; -$txt['themeadmin_edit_modified'] = 'Last Modified'; -$txt['themeadmin_edit_size'] = 'Size'; -$txt['themeadmin_edit_bytes'] = 'B'; -$txt['themeadmin_edit_kilobytes'] = 'KB'; -$txt['themeadmin_edit_error'] = 'The file you tried to save generated the following error:'; -$txt['themeadmin_edit_on_line'] = 'Beginning on line'; -$txt['themeadmin_edit_preview'] = 'Preview'; -$txt['themeadmin_selectable'] = 'Themes that the user is able to select'; -$txt['themeadmin_themelist_link'] = 'Show the list of themes'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/Who.english.php b/config/themes/default/languages/Who.english.php deleted file mode 100755 index 2f17bf2..0000000 --- a/config/themes/default/languages/Who.english.php +++ /dev/null @@ -1,156 +0,0 @@ -Nothing, or nothing you can see...'; -$txt['who_unknown'] = 'Unknown Action'; -$txt['who_user'] = 'User'; -$txt['who_time'] = 'Time'; -$txt['who_action'] = 'Action'; -$txt['who_show1'] = 'Show '; -$txt['who_show_members_only'] = 'Members Only'; -$txt['who_show_guests_only'] = 'Guests Only'; -$txt['who_show_spiders_only'] = 'Spiders Only'; -$txt['who_show_all'] = 'Everyone'; -$txt['who_no_online_spiders'] = 'There are currently no spiders online.'; -$txt['who_no_online_guests'] = 'There are currently no guests online.'; -$txt['who_no_online_members'] = 'There are currently no members online.'; - -$txt['whospider_login'] = 'Viewing the login page.'; -$txt['whospider_register'] = 'Viewing the registration page.'; -$txt['whospider_reminder'] = 'Viewing the reminder page.'; - -$txt['whoall_activate'] = 'Activating their account.'; -$txt['whoall_buddy'] = 'Modifying their buddy list.'; -$txt['whoall_coppa'] = 'Filling out parent/guardian consent form.'; -$txt['whoall_credits'] = 'Viewing credits page.'; -$txt['whoall_emailuser'] = 'Sending email to another member.'; -$txt['whoall_groups'] = 'Viewing the member groups page.'; -$txt['whoall_help'] = 'Viewing the help page.'; -$txt['whoall_helpadmin'] = 'Viewing a help popup.'; -$txt['whoall_pm'] = 'Viewing their messages.'; -$txt['whoall_login'] = 'Logging into the forum.'; -$txt['whoall_login2'] = 'Logging into the forum.'; -$txt['whoall_logout'] = 'Logging out of the forum.'; -$txt['whoall_markasread'] = 'Marking topics read or unread.'; -$txt['whoall_modifykarma_applaud'] = 'Applauding a member.'; -$txt['whoall_modifykarma_smite'] = 'Smiting a member.'; -$txt['whoall_news'] = 'Viewing the news.'; -$txt['whoall_notify'] = 'Changing their notification settings.'; -$txt['whoall_notifyboard'] = 'Changing their notification settings.'; -$txt['whoall_openidreturn'] = 'Logging in using OpenID.'; -$txt['whoall_quickmod'] = 'Moderating a board.'; -$txt['whoall_recent'] = 'Viewing a list of recent topics.'; -$txt['whoall_register'] = 'Registering for an account on the forum.'; -$txt['whoall_register2'] = 'Registering for an account on the forum.'; -$txt['whoall_reminder'] = 'Requesting a password reminder.'; -$txt['whoall_reporttm'] = 'Reporting a topic to a moderator.'; -$txt['whoall_spellcheck'] = 'Using the spellchecker'; -$txt['whoall_unread'] = 'Viewing unread topics since their last visit.'; -$txt['whoall_unreadreplies'] = 'Viewing unread replies since their last visit.'; -$txt['whoall_who'] = 'Viewing Who\'s Online.'; - -$txt['whoall_collapse_collapse'] = 'Collapsing a category.'; -$txt['whoall_collapse_expand'] = 'Expanding a category.'; -$txt['whoall_pm_removeall'] = 'Removing all their messages.'; -$txt['whoall_pm_send'] = 'Sending a message.'; -$txt['whoall_pm_send2'] = 'Sending a message.'; - -$txt['whotopic_announce'] = 'Announcing the topic "%2$s".'; -$txt['whotopic_attachapprove'] = 'Approving an attachment.'; -$txt['whotopic_dlattach'] = 'Viewing an attachment.'; -$txt['whotopic_deletemsg'] = 'Deleting a message.'; -$txt['whotopic_editpoll'] = 'Editing the poll in "%2$s".'; -$txt['whotopic_editpoll2'] = 'Editing the poll in "%2$s".'; -$txt['whotopic_jsmodify'] = 'Modifying a post in "%2$s".'; -$txt['whotopic_lock'] = 'Locking the topic "%2$s".'; -$txt['whotopic_lockvoting'] = 'Locking the poll in "%2$s".'; -$txt['whotopic_mergetopics'] = 'Merging the topic "%2$s" with another topic.'; -$txt['whotopic_movetopic'] = 'Moving the topic "%2$s" to another board.'; -$txt['whotopic_movetopic2'] = 'Moving the topic "%2$s" to another board.'; -$txt['whotopic_post'] = 'Posting in %2$s.'; -$txt['whotopic_post2'] = 'Posting in %2$s.'; -$txt['whotopic_printpage'] = 'Printing the topic "%2$s".'; -$txt['whotopic_quickmod2'] = 'Moderating the topic %2$s.'; -$txt['whotopic_removepoll'] = 'Removing the poll in "%2$s".'; -$txt['whotopic_removetopic2'] = 'Removing the topic %2$s.'; -$txt['whotopic_sendtopic'] = 'Sending the topic "%2$s" to a friend.'; -$txt['whotopic_splittopics'] = 'Splitting the topic "%2$s" into two topics.'; -$txt['whotopic_sticky'] = 'Setting the topic "%2$s" as sticky.'; -$txt['whotopic_vote'] = 'Voting in %2$s.'; - -$txt['whopost_quotefast'] = 'Quoting a post from "%2$s".'; - -$txt['whoadmin_editagreement'] = 'Editing the registration agreement.'; -$txt['whoadmin_featuresettings'] = 'Editing forum features and options.'; -$txt['whoadmin_modlog'] = 'Viewing the moderator log.'; -$txt['whoadmin_serversettings'] = 'Editing the forum settings.'; -$txt['whoadmin_packageget'] = 'Getting packages.'; -$txt['whoadmin_packages'] = 'Viewing the package manager.'; -$txt['whoadmin_permissions'] = 'Editing the forum permissions.'; -$txt['whoadmin_pgdownload'] = 'Downloading a package.'; -$txt['whoadmin_theme'] = 'Editing the theme settings.'; -$txt['whoadmin_trackip'] = 'Tracking an IP address.'; - -$txt['whoallow_manageboards'] = 'Editing the board and category settings.'; -$txt['whoallow_admin'] = 'Viewing the administration center.'; -$txt['whoallow_ban'] = 'Editing the ban list.'; -$txt['whoallow_boardrecount'] = 'Recounting the forum totals.'; -$txt['whoallow_calendar'] = 'Viewing the calendar.'; -$txt['whoallow_editnews'] = 'Editing the news.'; -$txt['whoallow_mailing'] = 'Sending a forum email.'; -$txt['whoallow_maintain'] = 'Performing routine forum maintenance.'; -$txt['whoallow_manageattachments'] = 'Managing the attachments.'; -$txt['whoallow_moderate'] = 'Viewing the Moderation Center.'; -$txt['whoallow_mlist'] = 'Viewing the memberlist.'; -$txt['whoallow_optimizetables'] = 'Optimizing the database tables.'; -$txt['whoallow_repairboards'] = 'Repairing the database tables.'; -$txt['whoallow_search'] = 'Searching the forum.'; -$txt['whoallow_search2'] = 'Viewing the results of a search.'; -$txt['whoallow_setcensor'] = 'Editing the censor text.'; -$txt['whoallow_setreserve'] = 'Editing the reserved names.'; -$txt['whoallow_stats'] = 'Viewing the forum stats.'; -$txt['whoallow_viewErrorLog'] = 'Viewing the error log.'; -$txt['whoallow_viewmembers'] = 'Viewing a list of members.'; - -$txt['who_topic'] = 'Viewing the topic %2$s.'; -$txt['who_board'] = 'Viewing the board %2$s.'; -$txt['who_index'] = 'Viewing the board index of ' . $context['forum_name'] . '.'; -$txt['who_viewprofile'] = 'Viewing %2$s\'s profile.'; -$txt['who_profile'] = 'Editing the profile of %2$s.'; -$txt['who_post'] = 'Posting a new topic in %2$s.'; -$txt['who_poll'] = 'Posting a new poll in %2$s.'; - -// Credits text -$txt['credits'] = 'Credits'; -$txt['credits_intro'] = 'Simple Machines wants to thank everyone who helped make SMF 2.0 what it is today; shaping and directing our project, all through the thick and the thin. It wouldn\'t have been possible without you. This includes our users and especially Charter Members - thanks for installing and using our software as well as providing valuable feedback, bug reports, and opinions.'; -$txt['credits_team'] = 'The Team'; -$txt['credits_special'] = 'Special Thanks'; -$txt['credits_and'] = 'and'; -$txt['credits_anyone'] = 'And for anyone we may have missed, thank you!'; -$txt['credits_copyright'] = 'Copyrights'; -$txt['credits_forum'] = 'Forum'; -$txt['credits_modifications'] = 'Modifications'; -$txt['credits_groups_ps'] = 'Project Support'; -$txt['credits_groups_dev'] = 'Developers'; -$txt['credits_groups_support'] = 'Support Specialists'; -$txt['credits_groups_customize'] = 'Customizers'; -$txt['credits_groups_docs'] = 'Documentation Writers'; -$txt['credits_groups_marketing'] = 'Marketing'; -$txt['credits_groups_internationalizers'] = 'Localizers'; -$txt['credits_groups_servers'] = 'Servers Administrators'; -$txt['credits_groups_site'] = 'Site Administrators'; -// Replace "English" with the name of this language pack in the string below. -$txt['credits_groups_translation'] = 'English Translation'; -$txt['credits_groups_translators'] = 'Language Translators'; -$txt['credits_translators_message'] = 'Thank you for your efforts which make it possible for people all around the world to use SMF.'; -$txt['credits_groups_consultants'] = 'Consulting Developers'; -$txt['credits_groups_beta'] = 'Beta Testers'; -$txt['credits_beta_message'] = 'The invaluable few who tirelessly find bugs, provide feedback, and drive the developers crazier.'; -$txt['credits_groups_founder'] = 'Founding Father of SMF'; -$txt['credits_groups_orignal_pm'] = 'Original Project Managers'; - -// List of people who have made more than a token contribution to this translation. (blank for English) -$txt['translation_credits'] = array(); -?> \ No newline at end of file diff --git a/config/themes/default/languages/Wireless.english.php b/config/themes/default/languages/Wireless.english.php deleted file mode 100755 index e244e7a..0000000 --- a/config/themes/default/languages/Wireless.english.php +++ /dev/null @@ -1,49 +0,0 @@ -%1$d new)'; -$txt['wireless_pm_by'] = 'by'; -$txt['wireless_pm_add_buddy'] = 'Add buddy'; -$txt['wireless_pm_select_buddy'] = 'Select a buddy'; -$txt['wireless_pm_search_member'] = 'Search member'; -$txt['wireless_pm_search_name'] = 'Name'; -$txt['wireless_pm_no_recipients'] = 'No recipients (yet)'; -$txt['wireless_pm_reply'] = 'Reply'; -$txt['wireless_pm_reply_all'] = 'Reply All'; -$txt['wireless_pm_reply_to'] = 'Reply to'; - -$txt['wireless_recent_unread_posts'] = 'Unread posts'; -$txt['wireless_recent_unread_replies'] = 'Unread replies'; - -$txt['wireless_display_edit'] = 'Edit'; -$txt['wireless_display_moderate'] = 'Moderate'; -$txt['wireless_display_sticky'] = 'Sticky'; -$txt['wireless_display_unsticky'] = 'Un-Sticky'; -$txt['wireless_display_lock'] = 'Lock'; -$txt['wireless_display_unlock'] = 'Unlock'; - -$txt['wireless_end_code'] = 'End code'; -$txt['wireless_end_quote'] = 'End quote'; - -$txt['wireless_profile_pm'] = 'Send Personal Message'; -$txt['wireless_ban_ip'] = 'Ban on IP'; -$txt['wireless_ban_hostname'] = 'Ban on Hostname'; -$txt['wireless_ban_email'] = 'Ban on Email'; -$txt['wireless_additional_info'] = 'Additional Information'; -$txt['wireless_go_to_full_version'] = 'Go to full version'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/index.english.php b/config/themes/default/languages/index.english.php deleted file mode 100755 index 1ce1cf1..0000000 --- a/config/themes/default/languages/index.english.php +++ /dev/null @@ -1,753 +0,0 @@ - 'January'. (or translated, of course.) -$txt['months'] = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); -$txt['months_titles'] = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); -$txt['months_short'] = array(1 => 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); - -$txt['time_am'] = 'am'; -$txt['time_pm'] = 'pm'; - -$txt['newmessages0'] = 'is new'; -$txt['newmessages1'] = 'are new'; -$txt['newmessages3'] = 'New'; -$txt['newmessages4'] = ','; - -$txt['admin'] = 'Admin'; -$txt['moderate'] = 'Moderate'; - -$txt['save'] = 'Save'; - -$txt['modify'] = 'Modify'; -$txt['forum_index'] = '%1$s - Index'; -$txt['members'] = 'Members'; -$txt['board_name'] = 'Board name'; -$txt['posts'] = 'Posts'; - -$txt['member_postcount'] = 'Posts'; -$txt['no_subject'] = '(No subject)'; -$txt['view_profile'] = 'View Profile'; -$txt['guest_title'] = 'Guest'; -$txt['author'] = 'Author'; -$txt['on'] = 'on'; -$txt['remove'] = 'Remove'; -$txt['start_new_topic'] = 'Start new topic'; - -$txt['login'] = 'Login'; -// Use numeric entities in the below string. -$txt['username'] = 'Username'; -$txt['password'] = 'Password'; - -$txt['username_no_exist'] = 'That username does not exist.'; -$txt['no_user_with_email'] = 'There are no usernames associated with that email.'; - -$txt['board_moderator'] = 'Board Moderator'; -$txt['remove_topic'] = 'Remove Topic'; -$txt['topics'] = 'Topics'; -$txt['modify_msg'] = 'Modify message'; -$txt['name'] = 'Name'; -$txt['email'] = 'Email'; -$txt['subject'] = 'Subject'; -$txt['message'] = 'Message'; -$txt['redirects'] = 'Redirects'; -$txt['quick_modify'] = 'Modify Inline'; - -$txt['choose_pass'] = 'Choose password'; -$txt['verify_pass'] = 'Verify password'; -$txt['position'] = 'Position'; - -$txt['profile_of'] = 'View the profile of'; -$txt['total'] = 'Total'; -$txt['posts_made'] = 'Posts'; -$txt['website'] = 'Website'; -$txt['register'] = 'Register'; -$txt['warning_status'] = 'Warning Status'; -$txt['user_warn_watch'] = 'User is on moderator watch list'; -$txt['user_warn_moderate'] = 'User posts join approval queue'; -$txt['user_warn_mute'] = 'User is banned from posting'; -$txt['warn_watch'] = 'Watched'; -$txt['warn_moderate'] = 'Moderated'; -$txt['warn_mute'] = 'Muted'; - -$txt['message_index'] = 'Message Index'; -$txt['news'] = 'News'; -$txt['home'] = 'Home'; - -$txt['lock_unlock'] = 'Lock/Unlock Topic'; -$txt['post'] = 'Post'; -$txt['error_occured'] = 'An Error Has Occurred!'; -$txt['at'] = 'at'; -$txt['logout'] = 'Logout'; -$txt['started_by'] = 'Started by'; -$txt['replies'] = 'Replies'; -$txt['last_post'] = 'Last post'; -$txt['admin_login'] = 'Administration Login'; -// Use numeric entities in the below string. -$txt['topic'] = 'Topic'; -$txt['help'] = 'Help'; -$txt['notify'] = 'Notify'; -$txt['unnotify'] = 'Unnotify'; -$txt['notify_request'] = 'Do you want a notification email if someone replies to this topic?'; -// Use numeric entities in the below string. -$txt['regards_team'] = 'Regards,' . "\n" . 'The ' . $context['forum_name'] . ' Team.'; -$txt['notify_replies'] = 'Notify of replies'; -$txt['move_topic'] = 'Move Topic'; -$txt['move_to'] = 'Move to'; -$txt['pages'] = 'Pages'; -$txt['users_active'] = 'Users active in past %1$d minutes'; -$txt['personal_messages'] = 'Personal Messages'; -$txt['reply_quote'] = 'Reply with quote'; -$txt['reply'] = 'Reply'; -$txt['reply_noun'] = 'Reply'; -$txt['approve'] = 'Approve'; -$txt['approve_all'] = 'approve all'; -$txt['awaiting_approval'] = 'Awaiting Approval'; -$txt['attach_awaiting_approve'] = 'Attachments awaiting approval'; -$txt['post_awaiting_approval'] = 'Note: This message is awaiting approval by a moderator.'; -$txt['there_are_unapproved_topics'] = 'There are %1$s topics and %2$s posts awaiting approval in this board. Click here to view them all.'; - -$txt['msg_alert_none'] = 'No messages...'; -$txt['msg_alert_you_have'] = 'you have'; -$txt['msg_alert_messages'] = 'messages'; -$txt['remove_message'] = 'Remove this message'; - -$txt['online_users'] = 'Users Online'; -$txt['personal_message'] = 'Personal Message'; -$txt['jump_to'] = 'Jump to'; -$txt['go'] = 'go'; -$txt['are_sure_remove_topic'] = 'Are you sure you want to remove this topic?'; -$txt['yes'] = 'Yes'; -$txt['no'] = 'No'; - -$txt['search_end_results'] = 'End of results'; -$txt['search_on'] = 'on'; - -$txt['search'] = 'Search'; -$txt['all'] = 'All'; - -$txt['back'] = 'Back'; -$txt['password_reminder'] = 'Password reminder'; -$txt['topic_started'] = 'Topic started by'; -$txt['title'] = 'Title'; -$txt['post_by'] = 'Post by'; -$txt['memberlist_searchable'] = 'Searchable list of all registered members.'; -$txt['welcome_member'] = 'Please welcome'; -$txt['admin_center'] = 'Administration Center'; -$txt['last_edit'] = 'Last Edit'; -$txt['notify_deactivate'] = 'Would you like to deactivate notification on this topic?'; - -$txt['recent_posts'] = 'Recent Posts'; - -$txt['location'] = 'Location'; -$txt['gender'] = 'Gender'; -$txt['date_registered'] = 'Date Registered'; - -$txt['recent_view'] = 'View the most recent posts on the forum.'; -$txt['recent_updated'] = 'is the most recently updated topic'; - -$txt['male'] = 'Male'; -$txt['female'] = 'Female'; - -$txt['error_invalid_characters_username'] = 'Invalid character used in Username.'; - -$txt['welcome_guest'] = 'Welcome, %1$s. Please login or register.'; -$txt['login_or_register'] = 'Please login or register.'; -$txt['welcome_guest_activate'] = '
    Did you miss your activation email?'; -$txt['hello_member'] = 'Hey,'; -// Use numeric entities in the below string. -$txt['hello_guest'] = 'Welcome,'; -$txt['welmsg_hey'] = 'Hey,'; -$txt['welmsg_welcome'] = 'Welcome,'; -$txt['welmsg_please'] = 'Please'; -$txt['select_destination'] = 'Please select a destination'; - -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['posted_by'] = 'Posted by'; - -$txt['icon_smiley'] = 'Smiley'; -$txt['icon_angry'] = 'Angry'; -$txt['icon_cheesy'] = 'Cheesy'; -$txt['icon_laugh'] = 'Laugh'; -$txt['icon_sad'] = 'Sad'; -$txt['icon_wink'] = 'Wink'; -$txt['icon_grin'] = 'Grin'; -$txt['icon_shocked'] = 'Shocked'; -$txt['icon_cool'] = 'Cool'; -$txt['icon_huh'] = 'Huh'; -$txt['icon_rolleyes'] = 'Roll Eyes'; -$txt['icon_tongue'] = 'Tongue'; -$txt['icon_embarrassed'] = 'Embarrassed'; -$txt['icon_lips'] = 'Lips sealed'; -$txt['icon_undecided'] = 'Undecided'; -$txt['icon_kiss'] = 'Kiss'; -$txt['icon_cry'] = 'Cry'; - -$txt['moderator'] = 'Moderator'; -$txt['moderators'] = 'Moderators'; - -$txt['mark_board_read'] = 'Mark Topics as Read for this Board'; -$txt['views'] = 'Views'; -$txt['new'] = 'New'; - -$txt['view_all_members'] = 'View All Members'; -$txt['view'] = 'View'; - -$txt['viewing_members'] = 'Viewing Members %1$s to %2$s'; -$txt['of_total_members'] = 'of %1$s total members'; - -$txt['forgot_your_password'] = 'Forgot your password?'; - -$txt['date'] = 'Date'; -// Use numeric entities in the below string. -$txt['from'] = 'From'; -$txt['check_new_messages'] = 'Check for new messages'; -$txt['to'] = 'To'; - -$txt['board_topics'] = 'Topics'; -$txt['members_title'] = 'Members'; -$txt['members_list'] = 'Members List'; -$txt['new_posts'] = 'New Posts'; -$txt['old_posts'] = 'No New Posts'; -$txt['redirect_board'] = 'Redirect Board'; - -$txt['sendtopic_send'] = 'Send'; -$txt['report_sent'] = 'Your report has been sent successfully.'; - -$txt['time_offset'] = 'Time Offset'; -$txt['or'] = 'or'; - -$txt['no_matches'] = 'Sorry, no matches were found'; - -$txt['notification'] = 'Notification'; - -$txt['your_ban'] = 'Sorry %1$s, you are banned from using this forum!'; -$txt['your_ban_expires'] = 'This ban is set to expire %1$s.'; -$txt['your_ban_expires_never'] = 'This ban is not set to expire.'; -$txt['ban_continue_browse'] = 'You may continue to browse the forum as a guest.'; - -$txt['mark_as_read'] = 'Mark ALL messages as read'; - -$txt['hot_topics'] = 'Hot Topic (More than %1$d replies)'; -$txt['very_hot_topics'] = 'Very Hot Topic (More than %1$d replies)'; -$txt['locked_topic'] = 'Locked Topic'; -$txt['normal_topic'] = 'Normal Topic'; -$txt['participation_caption'] = 'Topic you have posted in'; - -$txt['go_caps'] = 'GO'; - -$txt['print'] = 'Print'; -$txt['profile'] = 'Profile'; -$txt['topic_summary'] = 'Topic Summary'; -$txt['not_applicable'] = 'N/A'; -$txt['message_lowercase'] = 'message'; -$txt['name_in_use'] = 'This name is already in use by another member.'; - -$txt['total_members'] = 'Total Members'; -$txt['total_posts'] = 'Total Posts'; -$txt['total_topics'] = 'Total Topics'; - -$txt['mins_logged_in'] = 'Minutes to stay logged in'; - -$txt['preview'] = 'Preview'; -$txt['always_logged_in'] = 'Always stay logged in'; - -$txt['logged'] = 'Logged'; -// Use numeric entities in the below string. -$txt['ip'] = 'IP'; - -$txt['www'] = 'WWW'; - -$txt['by'] = 'by'; - -$txt['hours'] = 'hours'; -$txt['days_word'] = 'days'; - -$txt['newest_member'] = ', our newest member.'; - -$txt['search_for'] = 'Search for'; - -$txt['aim'] = 'AIM'; -// In this string, please use +'s for spaces. -$txt['aim_default_message'] = 'Hi.+Are+you+there?'; -$txt['aim_title'] = 'AOL Instant Messenger'; -$txt['icq'] = 'ICQ'; -$txt['icq_title'] = 'ICQ Messenger'; -$txt['msn'] = 'MSN'; -$txt['msn_title'] = 'MSN Messenger'; -$txt['yim'] = 'YIM'; -$txt['yim_title'] = 'Yahoo Instant Messenger'; - -$txt['maintain_mode_on'] = 'Remember, this forum is in \'Maintenance Mode\'.'; - -$txt['read'] = 'Read'; -$txt['times'] = 'times'; - -$txt['forum_stats'] = 'Forum Stats'; -$txt['latest_member'] = 'Latest Member'; -$txt['total_cats'] = 'Total Categories'; -$txt['latest_post'] = 'Latest Post'; - -$txt['you_have'] = 'You\'ve got'; -$txt['click'] = 'Click'; -$txt['here'] = 'here'; -$txt['to_view'] = 'to view them.'; - -$txt['total_boards'] = 'Total Boards'; - -$txt['print_page'] = 'Print Page'; - -$txt['valid_email'] = 'This must be a valid email address.'; - -$txt['geek'] = 'I am a geek!!'; -$txt['info_center_title'] = '%1$s - Info Center'; - -$txt['send_topic'] = 'Send this topic'; - -$txt['sendtopic_title'] = 'Send the topic "%1$s" to a friend.'; -$txt['sendtopic_sender_name'] = 'Your name'; -$txt['sendtopic_sender_email'] = 'Your email address'; -$txt['sendtopic_receiver_name'] = 'Recipient\'s name'; -$txt['sendtopic_receiver_email'] = 'Recipient\'s email address'; -$txt['sendtopic_comment'] = 'Add a comment'; - -$txt['allow_user_email'] = 'Allow users to email me'; - -$txt['check_all'] = 'Check all'; - -// Use numeric entities in the below string. -$txt['database_error'] = 'Database Error'; -$txt['try_again'] = 'Please try again. If you come back to this error screen, report the error to an administrator.'; -$txt['file'] = 'File'; -$txt['line'] = 'Line'; -// Use numeric entities in the below string. -$txt['tried_to_repair'] = 'SMF has detected and automatically tried to repair an error in your database. If you continue to have problems, or continue to receive these emails, please contact your host.'; -$txt['database_error_versions'] = 'Note: It appears that your database may require an upgrade. Your forum\'s files are currently at version %1$s, while your database is at version %2$s. The above error might possibly go away if you execute the latest version of upgrade.php.'; -$txt['template_parse_error'] = 'Template Parse Error!'; -$txt['template_parse_error_message'] = 'It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

    You can also try refreshing this page.'; -$txt['template_parse_error_details'] = 'There was a problem loading the %1$s template or language file. Please check the syntax and try again - remember, single quotes (\') often have to be escaped with a slash (\\). To see more specific error information from PHP, try accessing the file directly.

    You may want to try to refresh this page or use the default theme.'; - -$txt['today'] = 'Today at '; -$txt['yesterday'] = 'Yesterday at '; -$txt['new_poll'] = 'New poll'; -$txt['poll_question'] = 'Question'; -$txt['poll_vote'] = 'Submit Vote'; -$txt['poll_total_voters'] = 'Total Members Voted'; -$txt['shortcuts'] = 'shortcuts: hit alt+s to submit/post or alt+p to preview'; -$txt['shortcuts_firefox'] = 'shortcuts: hit shift+alt+s to submit/post or shift+alt+p to preview'; -$txt['poll_results'] = 'View results'; -$txt['poll_lock'] = 'Lock Voting'; -$txt['poll_unlock'] = 'Unlock Voting'; -$txt['poll_edit'] = 'Edit Poll'; -$txt['poll'] = 'Poll'; -$txt['one_day'] = '1 Day'; -$txt['one_week'] = '1 Week'; -$txt['one_month'] = '1 Month'; -$txt['forever'] = 'Forever'; -$txt['quick_login_dec'] = 'Login with username, password and session length'; -$txt['one_hour'] = '1 Hour'; -$txt['moved'] = 'MOVED'; -$txt['moved_why'] = 'Please enter a brief description as to
    why this topic is being moved.'; -$txt['board'] = 'Board'; -$txt['in'] = 'in'; -$txt['sticky_topic'] = 'Sticky Topic'; - -$txt['delete'] = 'Delete'; - -$txt['your_pms'] = 'Your Personal Messages'; - -$txt['kilobyte'] = 'kB'; - -$txt['more_stats'] = '[More Stats]'; - -// Use numeric entities in the below three strings. -$txt['code'] = 'Code'; -$txt['code_select'] = '[Select]'; -$txt['quote_from'] = 'Quote from'; -$txt['quote'] = 'Quote'; - -$txt['merge_to_topic_id'] = 'ID of target topic'; -$txt['split'] = 'Split Topic'; -$txt['merge'] = 'Merge Topics'; -$txt['subject_new_topic'] = 'Subject For New Topic'; -$txt['split_this_post'] = 'Only split this post.'; -$txt['split_after_and_this_post'] = 'Split topic after and including this post.'; -$txt['select_split_posts'] = 'Select posts to split.'; -$txt['new_topic'] = 'New Topic'; -$txt['split_successful'] = 'Topic successfully split into two topics.'; -$txt['origin_topic'] = 'Origin Topic'; -$txt['please_select_split'] = 'Please select which posts you wish to split.'; -$txt['merge_successful'] = 'Topics successfully merged.'; -$txt['new_merged_topic'] = 'Newly Merged Topic'; -$txt['topic_to_merge'] = 'Topic to be merged'; -$txt['target_board'] = 'Target board'; -$txt['target_topic'] = 'Target topic'; -$txt['merge_confirm'] = 'Are you sure you want to merge'; -$txt['with'] = 'with'; -$txt['merge_desc'] = 'This function will merge the messages of two topics into one topic. The messages will be sorted according to the time of posting. Therefore the earliest posted message will be the first message of the merged topic.'; - -$txt['set_sticky'] = 'Set topic sticky'; -$txt['set_nonsticky'] = 'Set topic non-sticky'; -$txt['set_lock'] = 'Lock topic'; -$txt['set_unlock'] = 'Unlock topic'; - -$txt['search_advanced'] = 'Advanced search'; - -$txt['security_risk'] = 'MAJOR SECURITY RISK:'; -$txt['not_removed'] = 'You have not removed '; -$txt['not_removed_extra'] ='%1$s is a backup of %2$s that was not generated by SMF. It can be accessed directly and used to gain unauthorised access to your forum. You should delete it immediately.'; - -$txt['cache_writable_head'] = 'Performance Warning'; -$txt['cache_writable'] = 'The cache directory is not writable - this will adversely affect the performance of your forum.'; - -$txt['page_created'] = 'Page created in '; -$txt['seconds_with'] = ' seconds with '; -$txt['queries'] = ' queries.'; - -$txt['report_to_mod_func'] = 'Use this function to inform the moderators and administrators of an abusive or wrongly posted message.
    Please note that your email address will be revealed to the moderators if you use this.'; - -$txt['online'] = 'Online'; -$txt['offline'] = 'Offline'; -$txt['pm_online'] = 'Personal Message (Online)'; -$txt['pm_offline'] = 'Personal Message (Offline)'; -$txt['status'] = 'Status'; - -$txt['go_up'] = 'Go Up'; -$txt['go_down'] = 'Go Down'; - -$forum_copyright = '%1$s | - SMF © 2016, Simple Machines'; - -$txt['birthdays'] = 'Birthdays:'; -$txt['events'] = 'Events:'; -$txt['birthdays_upcoming'] = 'Upcoming Birthdays:'; -$txt['events_upcoming'] = 'Upcoming Events:'; -// Prompt for holidays in the calendar, leave blank to just display the holiday's name. -$txt['calendar_prompt'] = ''; -$txt['calendar_month'] = 'Month:'; -$txt['calendar_year'] = 'Year:'; -$txt['calendar_day'] = 'Day:'; -$txt['calendar_event_title'] = 'Event Title'; -$txt['calendar_event_options'] = 'Event Options'; -$txt['calendar_post_in'] = 'Post In:'; -$txt['calendar_edit'] = 'Edit Event'; -$txt['event_delete_confirm'] = 'Delete this event?'; -$txt['event_delete'] = 'Delete Event'; -$txt['calendar_post_event'] = 'Post Event'; -$txt['calendar'] = 'Calendar'; -$txt['calendar_link'] = 'Link to Calendar'; -$txt['calendar_upcoming'] = 'Upcoming Calendar'; -$txt['calendar_today'] = 'Today\'s Calendar'; -$txt['calendar_week'] = 'Week'; -$txt['calendar_week_title'] = 'Week %1$d of %2$d'; -$txt['calendar_numb_days'] = 'Number of Days:'; -$txt['calendar_how_edit'] = 'how do you edit these events?'; -$txt['calendar_link_event'] = 'Link Event To Post:'; -$txt['calendar_confirm_delete'] = 'Are you sure you want to delete this event?'; -$txt['calendar_linked_events'] = 'Linked Events'; -$txt['calendar_click_all'] = 'click to see all %1$s'; - -$txt['moveTopic1'] = 'Post a redirection topic'; -$txt['moveTopic2'] = 'Change the topic\'s subject'; -$txt['moveTopic3'] = 'New subject'; -$txt['moveTopic4'] = 'Change every message\'s subject'; -$txt['move_topic_unapproved_js'] = 'Warning! This topic has not yet been approved.\\n\\nIt is not recommended that you create a redirection topic unless you intend to approve the post immediately following the move.'; - -$txt['theme_template_error'] = 'Unable to load the \'%1$s\' template.'; -$txt['theme_language_error'] = 'Unable to load the \'%1$s\' language file.'; - -$txt['parent_boards'] = 'Child Boards'; - -$txt['smtp_no_connect'] = 'Could not connect to SMTP host'; -$txt['smtp_port_ssl'] = 'SMTP port setting incorrect; it should be 465 for SSL servers.'; -$txt['smtp_bad_response'] = 'Couldn\'t get mail server response codes'; -$txt['smtp_error'] = 'Ran into problems sending Mail. Error: '; -$txt['mail_send_unable'] = 'Unable to send mail to the email address \'%1$s\''; - -$txt['mlist_search'] = 'Search For Members'; -$txt['mlist_search_again'] = 'Search again'; -$txt['mlist_search_email'] = 'Search by email address'; -$txt['mlist_search_messenger'] = 'Search by messenger nickname'; -$txt['mlist_search_group'] = 'Search by position'; -$txt['mlist_search_name'] = 'Search by name'; -$txt['mlist_search_website'] = 'Search by website'; -$txt['mlist_search_results'] = 'Search results for'; -$txt['mlist_search_by'] = 'Search by %1$s'; -$txt['mlist_menu_view'] = 'View the memberlist'; - -$txt['attach_downloaded'] = 'downloaded'; -$txt['attach_viewed'] = 'viewed'; -$txt['attach_times'] = 'times'; - -$txt['settings'] = 'Settings'; -$txt['never'] = 'Never'; -$txt['more'] = 'more'; - -$txt['hostname'] = 'Hostname'; -$txt['you_are_post_banned'] = 'Sorry %1$s, you are banned from posting and sending personal messages on this forum.'; -$txt['ban_reason'] = 'Reason'; - -$txt['tables_optimized'] = 'Database tables optimized'; - -$txt['add_poll'] = 'Add poll'; -$txt['poll_options6'] = 'You may only select up to %1$s options.'; -$txt['poll_remove'] = 'Remove Poll'; -$txt['poll_remove_warn'] = 'Are you sure you want to remove this poll from the topic?'; -$txt['poll_results_expire'] = 'Results will be shown when voting has closed'; -$txt['poll_expires_on'] = 'Voting closes'; -$txt['poll_expired_on'] = 'Voting closed'; -$txt['poll_change_vote'] = 'Remove Vote'; -$txt['poll_return_vote'] = 'Voting options'; -$txt['poll_cannot_see'] = 'You cannot see the results of this poll at the moment.'; - -$txt['quick_mod_approve'] = 'Approve selected'; -$txt['quick_mod_remove'] = 'Remove selected'; -$txt['quick_mod_lock'] = 'Lock/Unlock selected'; -$txt['quick_mod_sticky'] = 'Sticky/Unsticky selected'; -$txt['quick_mod_move'] = 'Move selected to'; -$txt['quick_mod_merge'] = 'Merge selected'; -$txt['quick_mod_markread'] = 'Mark selected read'; -$txt['quick_mod_go'] = 'Go!'; -$txt['quickmod_confirm'] = 'Are you sure you want to do this?'; - -$txt['spell_check'] = 'Spell Check'; - -$txt['quick_reply'] = 'Quick Reply'; -$txt['quick_reply_desc'] = 'With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.'; -$txt['quick_reply_warning'] = 'Warning: this topic is currently locked! Only admins and moderators can reply.'; -$txt['quick_reply_verification'] = 'After submitting your post you will be directed to the regular post page to verify your post %1$s.'; -$txt['quick_reply_verification_guests'] = '(required for all guests)'; -$txt['quick_reply_verification_posts'] = '(required for all users with less than %1$d posts)'; -$txt['wait_for_approval'] = 'Note: this post will not display until it\'s been approved by a moderator.'; - -$txt['notification_enable_board'] = 'Are you sure you wish to enable notification of new topics for this board?'; -$txt['notification_disable_board'] = 'Are you sure you wish to disable notification of new topics for this board?'; -$txt['notification_enable_topic'] = 'Are you sure you wish to enable notification of new replies for this topic?'; -$txt['notification_disable_topic'] = 'Are you sure you wish to disable notification of new replies for this topic?'; - -$txt['report_to_mod'] = 'Report to moderator'; -$txt['issue_warning_post'] = 'Issue a warning because of this message'; - -$txt['unread_topics_visit'] = 'Recent Unread Topics'; -$txt['unread_topics_visit_none'] = 'No unread topics found since your last visit. Click here to try all unread topics.'; -$txt['unread_topics_all'] = 'All Unread Topics'; -$txt['unread_replies'] = 'Updated Topics'; - -$txt['who_title'] = 'Who\'s Online'; -$txt['who_and'] = ' and '; -$txt['who_viewing_topic'] = ' are viewing this topic.'; -$txt['who_viewing_board'] = ' are viewing this board.'; -$txt['who_member'] = 'Member'; - -// No longer used by default theme, but for backwards compat -$txt['powered_by_php'] = 'Powered by PHP'; -$txt['powered_by_mysql'] = 'Powered by MySQL'; -$txt['valid_css'] = 'Valid CSS!'; - -// Current footer strings -$txt['valid_html'] = 'Valid HTML 4.01!'; -$txt['valid_xhtml'] = 'Valid XHTML 1.0!'; -$txt['wap2'] = 'WAP2'; -$txt['rss'] = 'RSS'; -$txt['xhtml'] = 'XHTML'; -$txt['html'] = 'HTML'; - -$txt['guest'] = 'Guest'; -$txt['guests'] = 'Guests'; -$txt['user'] = 'User'; -$txt['users'] = 'Users'; -$txt['hidden'] = 'Hidden'; -$txt['buddy'] = 'Buddy'; -$txt['buddies'] = 'Buddies'; -$txt['most_online_ever'] = 'Most Online Ever'; -$txt['most_online_today'] = 'Most Online Today'; - -$txt['merge_select_target_board'] = 'Select the target board of the merged topic'; -$txt['merge_select_poll'] = 'Select which poll the merged topic should have'; -$txt['merge_topic_list'] = 'Select topics to be merged'; -$txt['merge_select_subject'] = 'Select subject of merged topic'; -$txt['merge_custom_subject'] = 'Custom subject'; -$txt['merge_enforce_subject'] = 'Change the subject of all the messages'; -$txt['merge_include_notifications'] = 'Include notifications?'; -$txt['merge_check'] = 'Merge?'; -$txt['merge_no_poll'] = 'No poll'; - -$txt['response_prefix'] = 'Re: '; -$txt['current_icon'] = 'Current Icon'; -$txt['message_icon'] = 'Message Icon'; - -$txt['smileys_current'] = 'Current Smiley Set'; -$txt['smileys_none'] = 'No Smileys'; -$txt['smileys_forum_board_default'] = 'Forum/Board Default'; - -$txt['search_results'] = 'Search Results'; -$txt['search_no_results'] = 'Sorry, no matches were found'; - -$txt['totalTimeLogged1'] = 'Total time logged in: '; -$txt['totalTimeLogged2'] = ' days, '; -$txt['totalTimeLogged3'] = ' hours and '; -$txt['totalTimeLogged4'] = ' minutes.'; -$txt['totalTimeLogged5'] = 'd '; -$txt['totalTimeLogged6'] = 'h '; -$txt['totalTimeLogged7'] = 'm'; - -$txt['approve_thereis'] = 'There is'; -$txt['approve_thereare'] = 'There are'; -$txt['approve_member'] = 'one member'; -$txt['approve_members'] = 'members'; -$txt['approve_members_waiting'] = 'awaiting approval.'; - -$txt['notifyboard_turnon'] = 'Do you want a notification email when someone posts a new topic in this board?'; -$txt['notifyboard_turnoff'] = 'Are you sure you do not want to receive new topic notifications for this board?'; - -$txt['activate_code'] = 'Your activation code is'; - -$txt['find_members'] = 'Find Members'; -$txt['find_username'] = 'Name, username, or email address'; -$txt['find_buddies'] = 'Show Buddies Only?'; -$txt['find_wildcards'] = 'Allowed Wildcards: *, ?'; -$txt['find_no_results'] = 'No results found'; -$txt['find_results'] = 'Results'; -$txt['find_close'] = 'Close'; - -$txt['unread_since_visit'] = 'Show unread posts since last visit.'; -$txt['show_unread_replies'] = 'Show new replies to your posts.'; - -$txt['change_color'] = 'Change Color'; - -$txt['quickmod_delete_selected'] = 'Remove Selected'; - -// In this string, don't use entities. (&, etc.) -$txt['show_personal_messages'] = 'You have received one or more new personal messages.\\nWould you like to open a new window to view them?'; - -$txt['previous_next_back'] = '« previous'; -$txt['previous_next_forward'] = 'next »'; - -$txt['movetopic_auto_board'] = '[BOARD]'; -$txt['movetopic_auto_topic'] = '[TOPIC LINK]'; -$txt['movetopic_default'] = 'This topic has been moved to ' . $txt['movetopic_auto_board'] . ".\n\n" . $txt['movetopic_auto_topic']; - -$txt['upshrink_description'] = 'Shrink or expand the header.'; - -$txt['mark_unread'] = 'Mark unread'; - -$txt['ssi_not_direct'] = 'Please don\'t access SSI.php by URL directly; you may want to use the path (%1$s) or add ?ssi_function=something.'; -$txt['ssi_session_broken'] = 'SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts!'; - -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['preview_title'] = 'Preview post'; -$txt['preview_fetch'] = 'Fetching preview...'; -$txt['preview_new'] = 'New message'; -$txt['error_while_submitting'] = 'The following error or errors occurred while posting this message:'; -$txt['error_old_topic'] = 'Warning: this topic has not been posted in for at least %1$d days.
    Unless you\'re sure you want to reply, please consider starting a new topic.'; - -$txt['split_selected_posts'] = 'Selected posts'; -$txt['split_selected_posts_desc'] = 'The posts below will form a new topic after splitting.'; -$txt['split_reset_selection'] = 'reset selection'; - -$txt['modify_cancel'] = 'Cancel'; -$txt['mark_read_short'] = 'Mark Read'; - -$txt['pm_short'] = 'My Messages'; -$txt['pm_menu_read'] = 'Read your messages'; -$txt['pm_menu_send'] = 'Send a message'; - -$txt['hello_member_ndt'] = 'Hello'; - -$txt['unapproved_posts'] = 'Unapproved Posts (Topics: %1$d, Posts: %2$d)'; - -$txt['ajax_in_progress'] = 'Loading...'; - -$txt['mod_reports_waiting'] = 'There are currently %1$d moderator reports open.'; - -$txt['view_unread_category'] = 'Unread Posts'; -$txt['verification'] = 'Verification'; -$txt['visual_verification_description'] = 'Type the letters shown in the picture'; -$txt['visual_verification_sound'] = 'Listen to the letters'; -$txt['visual_verification_request_new'] = 'Request another image'; - -// Sub menu labels -$txt['summary'] = 'Summary'; -$txt['account'] = 'Account Settings'; -$txt['forumprofile'] = 'Forum Profile'; - -$txt['modSettings_title'] = 'Features and Options'; -$txt['package'] = 'Package Manager'; -$txt['errlog'] = 'Error Log'; -$txt['edit_permissions'] = 'Permissions'; -$txt['mc_unapproved_attachments'] = 'Unapproved Attachments'; -$txt['mc_unapproved_poststopics'] = 'Unapproved Posts and Topics'; -$txt['mc_reported_posts'] = 'Reported Posts'; -$txt['modlog_view'] = 'Moderation Log'; -$txt['calendar_menu'] = 'View Calendar'; - -//!!! Send email strings - should move? -$txt['send_email'] = 'Send Email'; -$txt['send_email_disclosed'] = 'Note this will be visible to the recipient.'; -$txt['send_email_subject'] = 'Email Subject'; - -$txt['ignoring_user'] = 'You are ignoring this user.'; -$txt['show_ignore_user_post'] = 'Show me the post.'; - -$txt['spider'] = 'Spider'; -$txt['spiders'] = 'Spiders'; -$txt['openid'] = 'OpenID'; - -$txt['downloads'] = 'Downloads'; -$txt['filesize'] = 'Filesize'; -$txt['subscribe_webslice'] = 'Subscribe to Webslice'; - -// Restore topic -$txt['restore_topic'] = 'Restore Topic'; -$txt['restore_message'] = 'Restore'; -$txt['quick_mod_restore'] = 'Restore Selected'; - -// Editor prompt. -$txt['prompt_text_email'] = 'Please enter the email address.'; -$txt['prompt_text_ftp'] = 'Please enter the ftp address.'; -$txt['prompt_text_url'] = 'Please enter the URL you wish to link to.'; -$txt['prompt_text_img'] = 'Enter image location'; - -// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'. -$txt['autosuggest_delete_item'] = 'Delete Item'; - -// Debug related - when $db_show_debug is true. -$txt['debug_templates'] = 'Templates: '; -$txt['debug_subtemplates'] = 'Sub templates: '; -$txt['debug_language_files'] = 'Language files: '; -$txt['debug_stylesheets'] = 'Style sheets: '; -$txt['debug_files_included'] = 'Files included: '; -$txt['debug_kb'] = 'KB.'; -$txt['debug_show'] = 'show'; -$txt['debug_cache_hits'] = 'Cache hits: '; -$txt['debug_cache_seconds_bytes'] = '%1$ss - %2$s bytes'; -$txt['debug_cache_seconds_bytes_total'] = '%1$ss for %2$s bytes'; -$txt['debug_queries_used'] = 'Queries used: %1$d.'; -$txt['debug_queries_used_and_warnings'] = 'Queries used: %1$d, %2$d warnings.'; -$txt['debug_query_in_line'] = 'in %1$s line %2$s, '; -$txt['debug_query_which_took'] = 'which took %1$s seconds.'; -$txt['debug_query_which_took_at'] = 'which took %1$s seconds at %2$s into request.'; -$txt['debug_show_queries'] = '[Show Queries]'; -$txt['debug_hide_queries'] = '[Hide Queries]'; - -?> \ No newline at end of file diff --git a/config/themes/default/languages/index.php b/config/themes/default/languages/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/languages/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/license.txt b/config/themes/default/license.txt deleted file mode 100755 index 7e09434..0000000 --- a/config/themes/default/license.txt +++ /dev/null @@ -1,27 +0,0 @@ -Copyright © 2011 Simple Machines. All rights reserved. - -Developed by: Simple Machines Forum Project - Simple Machines - http://www.simplemachines.org - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimers. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimers in the - documentation and/or other materials provided with the distribution. - 3. Neither the names of Simple Machines Forum, Simple Machines, nor - the names of its contributors may be used to endorse or promote - products derived from this Software without specific prior written - permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -WITH THE SOFTWARE. - -This license may be viewed online at http://www.simplemachines.org/about/smf/license.php \ No newline at end of file diff --git a/config/themes/default/scripts/PersonalMessage.js b/config/themes/default/scripts/PersonalMessage.js deleted file mode 100755 index 099c063..0000000 --- a/config/themes/default/scripts/PersonalMessage.js +++ /dev/null @@ -1,88 +0,0 @@ - -// Handle the JavaScript surrounding personal messages send form. -function smf_PersonalMessageSend(oOptions) -{ - this.opt = oOptions; - this.oBccDiv = null; - this.oBccDiv2 = null; - this.oToAutoSuggest = null; - this.oBccAutoSuggest = null; - this.oToListContainer = null; - this.init(); -} - -smf_PersonalMessageSend.prototype.init = function() -{ - if (!this.opt.bBccShowByDefault) - { - // Hide the BCC control. - this.oBccDiv = document.getElementById(this.opt.sBccDivId); - this.oBccDiv.style.display = 'none'; - this.oBccDiv2 = document.getElementById(this.opt.sBccDivId2); - this.oBccDiv2.style.display = 'none'; - - // Show the link to bet the BCC control back. - var oBccLinkContainer = document.getElementById(this.opt.sBccLinkContainerId); - oBccLinkContainer.style.display = ''; - setInnerHTML(oBccLinkContainer, this.opt.sShowBccLinkTemplate); - - // Make the link show the BCC control. - var oBccLink = document.getElementById(this.opt.sBccLinkId); - oBccLink.instanceRef = this; - oBccLink.onclick = function () { - this.instanceRef.showBcc(); - return false; - }; - } - - var oToControl = document.getElementById(this.opt.sToControlId); - this.oToAutoSuggest = new smc_AutoSuggest({ - sSelf: this.opt.sSelf + '.oToAutoSuggest', - sSessionId: this.opt.sSessionId, - sSessionVar: this.opt.sSessionVar, - sSuggestId: 'to_suggest', - sControlId: this.opt.sToControlId, - sSearchType: 'member', - sPostName: 'recipient_to', - sURLMask: 'action=profile;u=%item_id%', - sTextDeleteItem: this.opt.sTextDeleteItem, - bItemList: true, - sItemListContainerId: 'to_item_list_container', - aListItems: this.opt.aToRecipients - }); - this.oToAutoSuggest.registerCallback('onBeforeAddItem', this.opt.sSelf + '.callbackAddItem'); - - this.oBccAutoSuggest = new smc_AutoSuggest({ - sSelf: this.opt.sSelf + '.oBccAutoSuggest', - sSessionId: this.opt.sSessionId, - sSessionVar: this.opt.sSessionVar, - sSuggestId: 'bcc_suggest', - sControlId: this.opt.sBccControlId, - sSearchType: 'member', - sPostName: 'recipient_bcc', - sURLMask: 'action=profile;u=%item_id%', - sTextDeleteItem: this.opt.sTextDeleteItem, - bItemList: true, - sItemListContainerId: 'bcc_item_list_container', - aListItems: this.opt.aBccRecipients - }); - this.oBccAutoSuggest.registerCallback('onBeforeAddItem', this.opt.sSelf + '.callbackAddItem'); - -} - -smf_PersonalMessageSend.prototype.showBcc = function() -{ - // No longer hide it, show it to the world! - this.oBccDiv.style.display = ''; - this.oBccDiv2.style.display = ''; -} - - -// Prevent items to be added twice or to both the 'To' and 'Bcc'. -smf_PersonalMessageSend.prototype.callbackAddItem = function(oAutoSuggestInstance, sSuggestId) -{ - this.oToAutoSuggest.deleteAddedItem(sSuggestId); - this.oBccAutoSuggest.deleteAddedItem(sSuggestId); - - return true; -} diff --git a/config/themes/default/scripts/admin.js b/config/themes/default/scripts/admin.js deleted file mode 100755 index e99e041..0000000 --- a/config/themes/default/scripts/admin.js +++ /dev/null @@ -1,330 +0,0 @@ -/* - smf_AdminIndex(oOptions) - { - public init() - public loadAdminIndex() - public setAnnouncements() - public showCurrentVersion() - public checkUpdateAvailable() - } - - smf_ViewVersions(oOptions) - { - public init() - public loadViewVersions - public swapOption(oSendingElement, sName) - public compareVersions(sCurrent, sTarget) - public determineVersions() - } -*/ - - - -// Handle the JavaScript surrounding the admin and moderation center. -function smf_AdminIndex(oOptions) -{ - this.opt = oOptions; - this.init(); -} - -smf_AdminIndex.prototype.init = function () -{ - window.adminIndexInstanceRef = this; - var fHandlePageLoaded = function () { - window.adminIndexInstanceRef.loadAdminIndex(); - } - addLoadEvent(fHandlePageLoaded); -} - -smf_AdminIndex.prototype.loadAdminIndex = function () -{ - // Load the text box containing the latest news items. - if (this.opt.bLoadAnnouncements) - this.setAnnouncements(); - - // Load the current SMF and your SMF version numbers. - if (this.opt.bLoadVersions) - this.showCurrentVersion(); - - // Load the text box that sais there's a new version available. - if (this.opt.bLoadUpdateNotification) - this.checkUpdateAvailable(); -} - - -smf_AdminIndex.prototype.setAnnouncements = function () -{ - if (!('smfAnnouncements' in window) || !('length' in window.smfAnnouncements)) - return; - - var sMessages = ''; - for (var i = 0; i < window.smfAnnouncements.length; i++) - sMessages += this.opt.sAnnouncementMessageTemplate.replace('%href%', window.smfAnnouncements[i].href).replace('%subject%', window.smfAnnouncements[i].subject).replace('%time%', window.smfAnnouncements[i].time).replace('%message%', window.smfAnnouncements[i].message); - - setInnerHTML(document.getElementById(this.opt.sAnnouncementContainerId), this.opt.sAnnouncementTemplate.replace('%content%', sMessages)); -} - -smf_AdminIndex.prototype.showCurrentVersion = function () -{ - if (!('smfVersion' in window)) - return; - - var oSmfVersionContainer = document.getElementById(this.opt.sSmfVersionContainerId); - var oYourVersionContainer = document.getElementById(this.opt.sYourVersionContainerId); - - setInnerHTML(oSmfVersionContainer, window.smfVersion); - - var sCurrentVersion = getInnerHTML(oYourVersionContainer); - if (sCurrentVersion != window.smfVersion) - setInnerHTML(oYourVersionContainer, this.opt.sVersionOutdatedTemplate.replace('%currentVersion%', sCurrentVersion)); -} - -smf_AdminIndex.prototype.checkUpdateAvailable = function () -{ - if (!('smfUpdatePackage' in window)) - return; - - var oContainer = document.getElementById(this.opt.sUpdateNotificationContainerId); - - // Are we setting a custom title and message? - var sTitle = 'smfUpdateTitle' in window ? window.smfUpdateTitle : this.opt.sUpdateNotificationDefaultTitle; - var sMessage = 'smfUpdateNotice' in window ? window.smfUpdateNotice : this.opt.sUpdateNotificationDefaultMessage; - - setInnerHTML(oContainer, this.opt.sUpdateNotificationTemplate.replace('%title%', sTitle).replace('%message%', sMessage)); - - // Parse in the package download URL if it exists in the string. - document.getElementById('update-link').href = this.opt.sUpdateNotificationLink.replace('%package%', window.smfUpdatePackage); - - // If we decide to override life into "red" mode, do it. - if ('smfUpdateCritical' in window) - { - document.getElementById('update_table').style.backgroundColor = '#aa2222'; - document.getElementById('update_title').style.backgroundColor = '#dd2222'; - document.getElementById('update_title').style.color = 'white'; - document.getElementById('update_message').style.backgroundColor = '#eebbbb'; - document.getElementById('update_message').style.color = 'black'; - } -} - - - -function smf_ViewVersions (oOptions) -{ - this.opt = oOptions; - this.oSwaps = {}; - this.init(); -} - -smf_ViewVersions.prototype.init = function () -{ - // Load this on loading of the page. - window.viewVersionsInstanceRef = this; - var fHandlePageLoaded = function () { - window.viewVersionsInstanceRef.loadViewVersions(); - } - addLoadEvent(fHandlePageLoaded); -} - -smf_ViewVersions.prototype.loadViewVersions = function () -{ - this.determineVersions(); -} - -smf_ViewVersions.prototype.swapOption = function (oSendingElement, sName) -{ - // If it is undefined, or currently off, turn it on - otherwise off. - this.oSwaps[sName] = !(sName in this.oSwaps) || !this.oSwaps[sName]; - document.getElementById(sName).style.display = this.oSwaps[sName] ? '' : 'none'; - - // Unselect the link and return false. - oSendingElement.blur(); - return false; -} - -smf_ViewVersions.prototype.compareVersions = function (sCurrent, sTarget) -{ - var aVersions = aParts = new Array(); - var aCompare = new Array(sCurrent, sTarget); - - for (var i = 0; i < 2; i++) - { - // Clean the version and extract the version parts. - var sClean = aCompare[i].toLowerCase().replace(/ /g, '').replace(/2.0rc1-1/, '2.0rc1.1'); - aParts = sClean.match(/(\d+)(?:\.(\d+|))?(?:\.)?(\d+|)(?:(alpha|beta|rc)(\d+|)(?:\.)?(\d+|))?(?:(dev))?(\d+|)/); - - // No matches? - if (aParts == null) - return false; - - // Build an array of parts. - aVersions[i] = [ - aParts[1] > 0 ? parseInt(aParts[1]) : 0, - aParts[2] > 0 ? parseInt(aParts[2]) : 0, - aParts[3] > 0 ? parseInt(aParts[3]) : 0, - typeof(aParts[4]) == 'undefined' ? 'stable' : aParts[4], - aParts[5] > 0 ? parseInt(aParts[5]) : 0, - aParts[6] > 0 ? parseInt(aParts[6]) : 0, - typeof(aParts[7]) != 'undefined', - ]; - } - - // Loop through each category. - for (i = 0; i < 7; i++) - { - // Is there something for us to calculate? - if (aVersions[0][i] != aVersions[1][i]) - { - // Dev builds are a problematic exception. - // (stable) dev < (stable) but (unstable) dev = (unstable) - if (i == 3) - return aVersions[0][i] < aVersions[1][i] ? !aVersions[1][6] : aVersions[0][6]; - else if (i == 6) - return aVersions[0][6] ? aVersions[1][3] == 'stable' : false; - // Otherwise a simple comparison. - else - return aVersions[0][i] < aVersions[1][i]; - } - } - - // They are the same! - return false; -} - -smf_ViewVersions.prototype.determineVersions = function () -{ - var oHighYour = { - Sources: '??', - Default: '??', - Languages: '??', - Templates: '??' - }; - var oHighCurrent = { - Sources: '??', - Default: '??', - Languages: '??', - Templates: '??' - }; - var oLowVersion = { - Sources: false, - Default: false, - Languages: false, - Templates: false - }; - - var sSections = [ - 'Sources', - 'Default', - 'Languages', - 'Templates' - ]; - - for (var i = 0, n = sSections.length; i < n; i++) - { - // Collapse all sections. - var oSection = document.getElementById(sSections[i]); - if (typeof(oSection) == 'object' && oSection != null) - oSection.style.display = 'none'; - - // Make all section links clickable. - var oSectionLink = document.getElementById(sSections[i] + '-link'); - if (typeof(oSectionLink) == 'object' && oSectionLink != null) - { - oSectionLink.instanceRef = this; - oSectionLink.sSection = sSections[i]; - oSectionLink.onclick = function () { - this.instanceRef.swapOption(this, this.sSection); - return false; - }; - } - } - - if (!('smfVersions' in window)) - window.smfVersions = {}; - - for (var sFilename in window.smfVersions) - { - if (!document.getElementById('current' + sFilename)) - continue; - - var sYourVersion = getInnerHTML(document.getElementById('your' + sFilename)); - - var sCurVersionType; - for (var sVersionType in oLowVersion) - if (sFilename.substr(0, sVersionType.length) == sVersionType) - { - sCurVersionType = sVersionType; - break; - } - - if (typeof(sCurVersionType) != 'undefined') - { - if ((this.compareVersions(oHighYour[sCurVersionType], sYourVersion) || oHighYour[sCurVersionType] == '??') && !oLowVersion[sCurVersionType]) - oHighYour[sCurVersionType] = sYourVersion; - if (this.compareVersions(oHighCurrent[sCurVersionType], smfVersions[sFilename]) || oHighCurrent[sCurVersionType] == '??') - oHighCurrent[sCurVersionType] = smfVersions[sFilename]; - - if (this.compareVersions(sYourVersion, smfVersions[sFilename])) - { - oLowVersion[sCurVersionType] = sYourVersion; - document.getElementById('your' + sFilename).style.color = 'red'; - } - } - else if (this.compareVersions(sYourVersion, smfVersions[sFilename])) - oLowVersion[sCurVersionType] = sYourVersion; - - setInnerHTML(document.getElementById('current' + sFilename), smfVersions[sFilename]); - setInnerHTML(document.getElementById('your' + sFilename), sYourVersion); - } - - if (!('smfLanguageVersions' in window)) - window.smfLanguageVersions = {}; - - for (sFilename in window.smfLanguageVersions) - { - for (var i = 0; i < this.opt.aKnownLanguages.length; i++) - { - if (!document.getElementById('current' + sFilename + this.opt.aKnownLanguages[i])) - continue; - - setInnerHTML(document.getElementById('current' + sFilename + this.opt.aKnownLanguages[i]), smfLanguageVersions[sFilename]); - - sYourVersion = getInnerHTML(document.getElementById('your' + sFilename + this.opt.aKnownLanguages[i])); - setInnerHTML(document.getElementById('your' + sFilename + this.opt.aKnownLanguages[i]), sYourVersion); - - if ((this.compareVersions(oHighYour.Languages, sYourVersion) || oHighYour.Languages == '??') && !oLowVersion.Languages) - oHighYour.Languages = sYourVersion; - if (this.compareVersions(oHighCurrent.Languages, smfLanguageVersions[sFilename]) || oHighCurrent.Languages == '??') - oHighCurrent.Languages = smfLanguageVersions[sFilename]; - - if (this.compareVersions(sYourVersion, smfLanguageVersions[sFilename])) - { - oLowVersion.Languages = sYourVersion; - document.getElementById('your' + sFilename + this.opt.aKnownLanguages[i]).style.color = 'red'; - } - } - } - - setInnerHTML(document.getElementById('yourSources'), oLowVersion.Sources ? oLowVersion.Sources : oHighYour.Sources); - setInnerHTML(document.getElementById('currentSources'), oHighCurrent.Sources); - if (oLowVersion.Sources) - document.getElementById('yourSources').style.color = 'red'; - - setInnerHTML(document.getElementById('yourDefault'), oLowVersion.Default ? oLowVersion.Default : oHighYour.Default); - setInnerHTML(document.getElementById('currentDefault'), oHighCurrent.Default); - if (oLowVersion.Default) - document.getElementById('yourDefault').style.color = 'red'; - - if (document.getElementById('Templates')) - { - setInnerHTML(document.getElementById('yourTemplates'), oLowVersion.Templates ? oLowVersion.Templates : oHighYour.Templates); - setInnerHTML(document.getElementById('currentTemplates'), oHighCurrent.Templates); - - if (oLowVersion.Templates) - document.getElementById('yourTemplates').style.color = 'red'; - } - - setInnerHTML(document.getElementById('yourLanguages'), oLowVersion.Languages ? oLowVersion.Languages : oHighYour.Languages); - setInnerHTML(document.getElementById('currentLanguages'), oHighCurrent.Languages); - if (oLowVersion.Languages) - document.getElementById('yourLanguages').style.color = 'red'; -} \ No newline at end of file diff --git a/config/themes/default/scripts/captcha.js b/config/themes/default/scripts/captcha.js deleted file mode 100755 index f74a544..0000000 --- a/config/themes/default/scripts/captcha.js +++ /dev/null @@ -1,79 +0,0 @@ -// This file contains javascript associated with the captcha visual verification stuffs. - -function smfCaptcha(imageURL, uniqueID, useLibrary, letterCount) -{ - // By default the letter count is five. - if (!letterCount) - letterCount = 5; - - uniqueID = uniqueID ? '_' + uniqueID : ''; - autoCreate(); - - // Automatically get the captcha event handlers in place and the like. - function autoCreate() - { - // Is there anything to cycle images with - if so attach the refresh image function? - var cycleHandle = document.getElementById('visual_verification' + uniqueID + '_refresh'); - if (cycleHandle) - { - createEventListener(cycleHandle); - cycleHandle.addEventListener('click', refreshImages, false); - } - - // Maybe a voice is here to spread light? - var soundHandle = document.getElementById('visual_verification' + uniqueID + '_sound'); - if (soundHandle) - { - createEventListener(soundHandle); - soundHandle.addEventListener('click', playSound, false); - } - } - - // Change the images. - function refreshImages() - { - // Make sure we are using a new rand code. - var new_url = new String(imageURL); - new_url = new_url.substr(0, new_url.indexOf("rand=") + 5); - - // Quick and dirty way of converting decimal to hex - var hexstr = "0123456789abcdef"; - for(var i=0; i < 32; i++) - new_url = new_url + hexstr.substr(Math.floor(Math.random() * 16), 1); - - if (useLibrary && document.getElementById("verification_image" + uniqueID)) - { - document.getElementById("verification_image" + uniqueID).src = new_url; - } - else if (document.getElementById("verification_image" + uniqueID)) - { - for (i = 1; i <= letterCount; i++) - if (document.getElementById("verification_image" + uniqueID + "_" + i)) - document.getElementById("verification_image" + uniqueID + "_" + i).src = new_url + ";letter=" + i; - } - - return false; - } - - // Request a sound... play it Mr Soundman... - function playSound(ev) - { - if (!ev) - ev = window.event; - - popupFailed = reqWin(imageURL + ";sound", 400, 120); - // Don't follow the link if the popup worked, which it would have done! - if (!popupFailed) - { - if (is_ie && ev.cancelBubble) - ev.cancelBubble = true; - else if (ev.stopPropagation) - { - ev.stopPropagation(); - ev.preventDefault(); - } - } - - return popupFailed; - } -} \ No newline at end of file diff --git a/config/themes/default/scripts/editor.js b/config/themes/default/scripts/editor.js deleted file mode 100755 index a4766e6..0000000 --- a/config/themes/default/scripts/editor.js +++ /dev/null @@ -1,1746 +0,0 @@ -// *** smc_Editor class. -function smc_Editor(oOptions) -{ - this.opt = oOptions; - - // Create some links to the editor object. - this.oTextHandle = null; - this.sCurrentText = 'sText' in this.opt ? this.opt.sText : ''; - - // How big? - this.sEditWidth = 'sEditWidth' in this.opt ? this.opt.sEditWidth : '70%'; - this.sEditHeight = 'sEditHeight' in this.opt ? this.opt.sEditHeight : '150px'; - - this.showDebug = false; - this.bRichTextEnabled = 'bWysiwyg' in this.opt && this.opt.bWysiwyg; - // This doesn't work on Opera as they cannot restore focus after clicking a BBC button. - this.bRichTextPossible = !this.opt.bRichEditOff && ((is_ie5up && !is_ie50) || is_ff || is_opera95up || is_safari || is_chrome); - - this.oFrameHandle = null; - this.oFrameDocument = null; - this.oFrameWindow = null; - - // These hold the breadcrumb. - this.oBreadHandle = null; - this.oResizerElement = null; - - // Kinda holds all the useful stuff. - this.aKeyboardShortcuts = new Array(); - - // This tracks the cursor position on IE to avoid refocus problems. - this.cursorX = 0; - this.cursorY = 0; - - // This is all the elements that can have a simple execCommand. - this.oSimpleExec = { - b: 'bold', - u: 'underline', - i: 'italic', - s: 'strikethrough', - left: 'justifyleft', - center: 'justifycenter', - right: 'justifyright', - hr: 'inserthorizontalrule', - list: 'insertunorderedlist', - orderlist: 'insertorderedlist', - sub: 'subscript', - sup: 'superscript', - indent: 'indent', - outdent: 'outdent' - } - - // Codes to call a private function - this.oSmfExec = { - unformat: 'removeFormatting', - toggle: 'toggleView' - } - - // Any special breadcrumb mappings to ensure we show a consistant tag name. - this.breadCrumbNameTags = { - strike: 's', - strong: 'b', - em: 'i' - } - - this.aBreadCrumbNameStyles = [ - { - sStyleType: 'text-decoration', - sStyleValue: 'underline', - sBbcTag: 'u' - }, - { - sStyleType: 'text-decoration', - sStyleValue: 'line-through', - sBbcTag: 's' - }, - { - sStyleType: 'text-align', - sStyleValue: 'left', - sBbcTag: 'left' - }, - { - sStyleType: 'text-align', - sStyleValue: 'center', - sBbcTag: 'center' - }, - { - sStyleType: 'text-align', - sStyleValue: 'right', - sBbcTag: 'right' - }, - { - sStyleType: 'font-weight', - sStyleValue: 'bold', - sBbcTag: 'b' - }, - { - sStyleType: 'font-style', - sStyleValue: 'italic', - sBbcTag: 'i' - } - ]; - - // All the fonts in the world. - this.aFontFaces = [ - 'Arial', - 'Arial Black', - 'Impact', - 'Verdana', - 'Times New Roman', - 'Georgia', - 'Andale Mono', - 'Trebuchet MS', - 'Comic Sans MS' - ]; - // Font maps (HTML => CSS size) - this.aFontSizes = [ - 0, - 8, - 10, - 12, - 14, - 18, - 24, - 36 - ]; - // Color maps! (hex => name) - this.oFontColors = { - black: '#000000', - red: '#ff0000', - yellow: '#ffff00', - pink: '#ffc0cb', - green: '#008000', - orange: '#ffa500', - purple: '#800080', - blue: '#0000ff', - beige: '#f5f5dc', - brown: '#a52a2a', - teal: '#008080', - navy: '#000080', - maroon: '#800000', - limegreen: '#32cd32' - } - - this.sFormId = 'sFormId' in this.opt ? this.opt.sFormId : 'postmodify'; - this.iArrayPosition = smf_editorArray.length; - - // Current resize state. - this.osmc_EditorCurrentResize = {}; - - this.init(); -} - -smc_Editor.prototype.init = function() -{ - // Define the event wrapper functions. - var oCaller = this; - this.aEventWrappers = { - editorKeyUp: function(oEvent) {return oCaller.editorKeyUp(oEvent);}, - shortcutCheck: function(oEvent) {return oCaller.shortcutCheck(oEvent);}, - editorBlur: function(oEvent) {return oCaller.editorBlur(oEvent);}, - editorFocus: function(oEvent) {return oCaller.editorFocus(oEvent);}, - startResize: function(oEvent) {return oCaller.startResize(oEvent);}, - resizeOverDocument: function(oEvent) {return oCaller.resizeOverDocument(oEvent);}, - endResize: function(oEvent) {return oCaller.endResize(oEvent);}, - resizeOverIframe: function(oEvent) {return oCaller.resizeOverIframe(oEvent);} - }; - - // Set the textHandle. - this.oTextHandle = document.getElementById(this.opt.sUniqueId); - - // Ensure the currentText is set correctly depending on the mode. - if (this.sCurrentText == '' && !this.bRichTextEnabled) - this.sCurrentText = getInnerHTML(this.oTextHandle).php_unhtmlspecialchars(); - - // Only try to do this if rich text is supported. - if (this.bRichTextPossible) - { - // Make the iframe itself, stick it next to the current text area, and give it an ID. - this.oFrameHandle = document.createElement('iframe'); - this.oFrameHandle.src = 'about:blank'; - this.oFrameHandle.id = 'html_' + this.opt.sUniqueId; - this.oFrameHandle.className = 'rich_editor_frame'; - this.oFrameHandle.style.display = 'none'; - this.oFrameHandle.style.margin = '0px'; - this.oFrameHandle.tabIndex = this.oTextHandle.tabIndex; - this.oTextHandle.parentNode.appendChild(this.oFrameHandle); - - // Create some handy shortcuts. - this.oFrameDocument = this.oFrameHandle.contentDocument ? this.oFrameHandle.contentDocument : ('contentWindow' in this.oFrameHandle ? this.oFrameHandle.contentWindow.document : this.oFrameHandle.document); - this.oFrameWindow = 'contentWindow' in this.oFrameHandle ? this.oFrameHandle.contentWindow : this.oFrameHandle.document.parentWindow; - - // Create the debug window... and stick this under the main frame - make it invisible by default. - this.oBreadHandle = document.createElement('div'); - this.oBreadHandle.id = 'bread_' . uid; - this.oBreadHandle.style.visibility = 'visible'; - this.oBreadHandle.style.display = 'none'; - this.oFrameHandle.parentNode.appendChild(this.oBreadHandle); - - // Size the iframe dimensions to something sensible. - this.oFrameHandle.style.width = this.sEditWidth; - this.oFrameHandle.style.height = this.sEditHeight; - this.oFrameHandle.style.visibility = 'visible'; - - // Only bother formatting the debug window if debug is enabled. - if (this.showDebug) - { - this.oBreadHandle.style.width = this.sEditWidth; - this.oBreadHandle.style.height = '20px'; - this.oBreadHandle.className = 'windowbg2'; - this.oBreadHandle.style.border = '1px black solid'; - this.oBreadHandle.style.display = ''; - } - - // Populate the editor with nothing by default. - if (!is_opera95up) - { - this.oFrameDocument.open(); - this.oFrameDocument.write(''); - this.oFrameDocument.close(); - } - - // Right to left mode? - if (this.opt.bRTL) - { - this.oFrameDocument.dir = "rtl"; - this.oFrameDocument.body.dir = "rtl"; - } - - // Mark it as editable... - if (this.oFrameDocument.body.contentEditable) - this.oFrameDocument.body.contentEditable = true; - else - { - this.oFrameHandle.style.display = ''; - this.oFrameDocument.designMode = 'on'; - this.oFrameHandle.style.display = 'none'; - } - - // Now we need to try and style the editor - internet explorer allows us to do the whole lot. - if (document.styleSheets['editor_css'] || document.styleSheets['editor_ie_css']) - { - var oMyStyle = this.oFrameDocument.createElement('style'); - this.oFrameDocument.documentElement.firstChild.appendChild(oMyStyle); - - if (oMyStyle.styleSheet) - oMyStyle.styleSheet.cssText = document.styleSheets['editor_ie_css'] ? document.styleSheets['editor_ie_css'].cssText : document.styleSheets['editor_css'].cssText; - else - oMyStyle.sheet.cssText = document.styleSheets['editor_ie_css'] ? document.styleSheets['editor_ie_css'].cssText : document.styleSheets['editor_css'].cssText; - } - // Otherwise we seem to have to try to rip out each of the styles one by one! - else if (document.styleSheets.length) - { - var bFoundSomething = false; - // First we need to find the right style sheet. - for (var i = 0, iNumStyleSheets = document.styleSheets.length; i < iNumStyleSheets; i++) - { - // Start off looking for the right style sheet. - if (!document.styleSheets[i].href || document.styleSheets[i].href.indexOf('editor') < 1) - continue; - - // Firefox won't allow us to get a CSS file which ain't in the right URL. - try - { - if (document.styleSheets[i].cssRules.length < 1) - continue; - } - catch (e) - { - continue; - } - - // Manually try to find the rich_editor class. - for (var r = 0, iNumRules = document.styleSheets[i].cssRules.length; r < iNumRules; r++) - { - // Got the main editor? - if (document.styleSheets[i].cssRules[r].selectorText == '.rich_editor') - { - // Set some possible styles. - if (document.styleSheets[i].cssRules[r].style.color) - this.oFrameDocument.body.style.color = document.styleSheets[i].cssRules[r].style.color; - if (document.styleSheets[i].cssRules[r].style.backgroundColor) - this.oFrameDocument.body.style.backgroundColor = document.styleSheets[i].cssRules[r].style.backgroundColor; - if (document.styleSheets[i].cssRules[r].style.fontSize) - this.oFrameDocument.body.style.fontSize = document.styleSheets[i].cssRules[r].style.fontSize; - if (document.styleSheets[i].cssRules[r].style.fontFamily) - this.oFrameDocument.body.style.fontFamily = document.styleSheets[i].cssRules[r].style.fontFamily; - if (document.styleSheets[i].cssRules[r].style.border) - this.oFrameDocument.body.style.border = document.styleSheets[i].cssRules[r].style.border; - bFoundSomething = true; - } - // The frame? - else if (document.styleSheets[i].cssRules[r].selectorText == '.rich_editor_frame') - { - if (document.styleSheets[i].cssRules[r].style.border) - this.oFrameHandle.style.border = document.styleSheets[i].cssRules[r].style.border; - } - } - } - - // Didn't find it? - if (!bFoundSomething) - { - // Do something that is better than nothing. - this.oFrameDocument.body.style.color = 'black'; - this.oFrameDocument.body.style.backgroundColor = 'white'; - this.oFrameDocument.body.style.fontSize = '78%'; - this.oFrameDocument.body.style.fontFamily = '"Verdana", "Arial", "Helvetica", "sans-serif"'; - this.oFrameDocument.body.style.border = 'none'; - this.oFrameHandle.style.border = '1px solid #808080'; - if (is_opera) - this.oFrameDocument.body.style.height = '99%'; - } - } - - // Apply the class... - this.oFrameDocument.body.className = 'rich_editor'; - - // Set the frame padding/margin inside the editor. - this.oFrameDocument.body.style.padding = '1px'; - this.oFrameDocument.body.style.margin = '0'; - - // Listen for input. - this.oFrameDocument.instanceRef = this; - this.oFrameHandle.instanceRef = this; - this.oTextHandle.instanceRef = this; - - // Attach addEventListener for those browsers that don't support it. - createEventListener(this.oFrameHandle); - createEventListener(this.oFrameDocument); - createEventListener(this.oTextHandle); - createEventListener(window); - createEventListener(document); - - // Attach functions to the key and mouse events. - this.oFrameDocument.addEventListener('keyup', this.aEventWrappers.editorKeyUp, true); - this.oFrameDocument.addEventListener('mouseup', this.aEventWrappers.editorKeyUp, true); - this.oFrameDocument.addEventListener('keydown', this.aEventWrappers.shortcutCheck, true); - this.oTextHandle.addEventListener('keydown', this.aEventWrappers.shortcutCheck, true); - - if (is_ie) - { - this.oFrameDocument.addEventListener('blur', this.aEventWrappers.editorBlur, true); - this.oFrameDocument.addEventListener('focus', this.aEventWrappers.editorFocus, true); - } - - // Show the iframe only if wysiwyrg is on - and hide the text area. - this.oTextHandle.style.display = this.bRichTextEnabled ? 'none' : ''; - this.oFrameHandle.style.display = this.bRichTextEnabled ? '' : 'none'; - this.oBreadHandle.style.display = this.bRichTextEnabled ? '' : 'none'; - } - // If we can't do advanced stuff then just do the basics. - else - { - // Cannot have WYSIWYG anyway! - this.bRichTextEnabled = false; - - // We need some of the event handlers. - createEventListener(this.oTextHandle); - createEventListener(window); - createEventListener(document); - } - - // Make sure we set the message mode correctly. - document.getElementById(this.opt.sUniqueId + '_mode').value = this.bRichTextEnabled ? 1 : 0; - - // Show the resizer. - if (document.getElementById(this.opt.sUniqueId + '_resizer') && (!is_opera || is_opera95up) && !(is_chrome && !this.bRichTextEnabled)) - { - // Currently nothing is being resized...I assume! - window.smf_oCurrentResizeEditor = null; - - this.oResizerElement = document.getElementById(this.opt.sUniqueId + '_resizer'); - this.oResizerElement.style.display = ''; - - createEventListener(this.oResizerElement); - this.oResizerElement.addEventListener('mousedown', this.aEventWrappers.startResize, false); - } - - // Set the text - if WYSIWYG is enabled that is. - if (this.bRichTextEnabled) - { - this.insertText(this.sCurrentText, true); - - // Better make us the focus! - this.setFocus(); - } - - // Finally, register shortcuts. - this.registerDefaultShortcuts(); - this.updateEditorControls(); -} - -// Return the current text. -smc_Editor.prototype.getText = function(bPrepareEntities, bModeOverride) -{ - var bCurMode = typeof(bModeOverride) != 'undefined' ? bModeOverride : this.bRichTextEnabled; - - if (!bCurMode || this.oFrameDocument == null) - { - var sText = this.oTextHandle.value; - if (bPrepareEntities) - sText = sText.replace(//g, '#smgt#').replace(/&/g, '#smamp#'); - } - else - { - var sText = this.oFrameDocument.body.innerHTML; - if (bPrepareEntities) - sText = sText.replace(/</g, '#smlt#').replace(/>/g, '#smgt#').replace(/&/g, '#smamp#'); - } - - // Clean it up - including removing semi-colons. - if (bPrepareEntities) - sText = sText.replace(/ /g, ' ').replace(/;/g, '#smcol#'); - - // Return it. - return sText; -} - -// Return the current text. -smc_Editor.prototype.unprotectText = function(sText) -{ - var bCurMode = typeof(bModeOverride) != 'undefined' ? bModeOverride : this.bRichTextEnabled; - - // This restores smlt, smgt and smamp into boring entities, to unprotect against XML'd information like quotes. - sText = sText.replace(/#smlt#/g, '<').replace(/#smgt#/g, '>').replace(/#smamp#/g, '&'); - - // Return it. - return sText; -} - -smc_Editor.prototype.editorKeyUp = function() -{ - // Rebuild the breadcrumb. - this.updateEditorControls(); -} - -smc_Editor.prototype.editorBlur = function() -{ - if (!is_ie) - return; - - // Need to do something here. -} - -smc_Editor.prototype.editorFocus = function() -{ - if (!is_ie) - return; - - // Need to do something here. -} - -// Rebuild the breadcrumb etc - and set things to the correct context. -smc_Editor.prototype.updateEditorControls = function() -{ - // Everything else is specific to HTML mode. - if (!this.bRichTextEnabled) - { - // Set none of the buttons active. - if (this.opt.oBBCBox) - this.opt.oBBCBox.setActive([]); - return; - } - - var aCrumb = new Array(); - var aAllCrumbs = new Array(); - var iMaxLength = 6; - - // What is the current element? - var oCurTag = this.getCurElement(); - - var i = 0; - while (typeof(oCurTag) == 'object' && oCurTag != null && oCurTag.nodeName.toLowerCase() != 'body' && i < iMaxLength) - { - aCrumb[i++] = oCurTag; - oCurTag = oCurTag.parentNode; - } - - // Now print out the tree. - var sTree = ''; - var sCurFontName = ''; - var sCurFontSize = ''; - var sCurFontColor = ''; - for (var i = 0, iNumCrumbs = aCrumb.length; i < iNumCrumbs; i++) - { - var sCrumbName = aCrumb[i].nodeName.toLowerCase(); - - // Does it have an alternative name? - if (sCrumbName in this.breadCrumbNameTags) - sCrumbName = this.breadCrumbNameTags[sCrumbName]; - // Don't bother with this... - else if (sCrumbName == 'p') - continue; - // A link? - else if (sCrumbName == 'a') - { - var sUrlInfo = aCrumb[i].getAttribute('href'); - sCrumbName = 'url'; - if (typeof(sUrlInfo) == 'string') - { - if (sUrlInfo.substr(0, 3) == 'ftp') - sCrumbName = 'ftp'; - else if (sUrlInfo.substr(0, 6) == 'mailto') - sCrumbName = 'email'; - } - } - else if (sCrumbName == 'span' || sCrumbName == 'div') - { - if (aCrumb[i].style) - { - for (var j = 0, iNumStyles = this.aBreadCrumbNameStyles.length; j < iNumStyles; j++) - { - // Do we have a font? - if (aCrumb[i].style.fontFamily && aCrumb[i].style.fontFamily != '' && sCurFontName == '') - { - sCurFontName = aCrumb[i].style.fontFamily; - sCrumbName = 'face'; - } - // ... or a font size? - if (aCrumb[i].style.fontSize && aCrumb[i].style.fontSize != '' && sCurFontSize == '') - { - sCurFontSize = aCrumb[i].style.fontSize; - sCrumbName = 'size'; - } - // ... even color? - if (aCrumb[i].style.color && aCrumb[i].style.color != '' && sCurFontColor == '') - { - sCurFontColor = aCrumb[i].style.color; - if (in_array(sCurFontColor, this.oFontColors)) - sCurFontColor = array_search(sCurFontColor, this.oFontColors); - sCrumbName = 'color'; - } - - if (this.aBreadCrumbNameStyles[j].sStyleType == 'text-align' && aCrumb[i].style.textAlign && aCrumb[i].style.textAlign == this.aBreadCrumbNameStyles[j].sStyleValue) - sCrumbName = this.aBreadCrumbNameStyles[j].sBbcTag; - else if (this.aBreadCrumbNameStyles[j].sStyleType == 'text-decoration' && aCrumb[i].style.textDecoration && aCrumb[i].style.textDecoration == this.aBreadCrumbNameStyles[j].sStyleValue) - sCrumbName = this.aBreadCrumbNameStyles[j].sBbcTag; - else if (this.aBreadCrumbNameStyles[j].sStyleType == 'font-weight' && aCrumb[i].style.fontWeight && aCrumb[i].style.fontWeight == this.aBreadCrumbNameStyles[j].sStyleValue) - sCrumbName = this.aBreadCrumbNameStyles[j].sBbcTag; - else if (this.aBreadCrumbNameStyles[j].sStyleType == 'font-style' && aCrumb[i].style.fontStyle && aCrumb[i].style.fontStyle == this.aBreadCrumbNameStyles[j].sStyleValue) - sCrumbName = this.aBreadCrumbNameStyles[j].sBbcTag; - } - } - } - // Do we have a font? - else if (sCrumbName == 'font') - { - if (aCrumb[i].getAttribute('face') && sCurFontName == '') - { - sCurFontName = aCrumb[i].getAttribute('face').toLowerCase(); - sCrumbName = 'face'; - } - if (aCrumb[i].getAttribute('size') && sCurFontSize == '') - { - sCurFontSize = aCrumb[i].getAttribute('size'); - sCrumbName = 'size'; - } - if (aCrumb[i].getAttribute('color') && sCurFontColor == '') - { - sCurFontColor = aCrumb[i].getAttribute('color'); - if (in_array(sCurFontColor, this.oFontColors)) - sCurFontColor = array_search(sCurFontColor, this.oFontColors); - sCrumbName = 'color'; - } - // Something else - ignore. - if (sCrumbName == 'font') - continue; - } - - sTree += (i != 0 ? ' >' : '') + ' ' + sCrumbName; - aAllCrumbs[aAllCrumbs.length] = sCrumbName; - } - - // Since we're in WYSIWYG state, show the toggle button as active. - aAllCrumbs[aAllCrumbs.length] = 'toggle'; - - this.opt.oBBCBox.setActive(aAllCrumbs); - - // Try set the font boxes correct. - this.opt.oBBCBox.setSelect('sel_face', sCurFontName); - this.opt.oBBCBox.setSelect('sel_size', sCurFontSize); - this.opt.oBBCBox.setSelect('sel_color', sCurFontColor); - - if (this.showDebug) - setInnerHTML(this.oBreadHandle, sTree); -} - -// Set the HTML content to be that of the text box - if we are in wysiwyg mode. -smc_Editor.prototype.doSubmit = function() -{ - if (this.bRichTextEnabled) - this.oTextHandle.value = this.oFrameDocument.body.innerHTML; -} - -// Populate the box with text. -smc_Editor.prototype.insertText = function(sText, bClear, bForceEntityReverse, iMoveCursorBack) -{ - if (bForceEntityReverse) - sText = this.unprotectText(sText); - - // Erase it all? - if (bClear) - { - if (this.bRichTextEnabled) - { - // This includes a work around for FF to get the cursor to show! - this.oFrameDocument.body.innerHTML = sText; - - // This used to be the home of a slightly ugly bug in Firefox (but it's long gone) - } - else - this.oTextHandle.value = sText; - } - else - { - this.setFocus(); - if (this.bRichTextEnabled) - { - // IE croaks if you have an image selected and try to insert! - if ('selection' in this.oFrameDocument && this.oFrameDocument.selection.type != 'Text' && this.oFrameDocument.selection.type != 'None' && this.oFrameDocument.selection.clear) - this.oFrameDocument.selection.clear(); - - var oRange = this.getRange(); - - if (oRange.pasteHTML) - { - oRange.pasteHTML(sText); - - // Do we want to move the cursor back at all? - if (iMoveCursorBack) - oRange.moveEnd('character', -iMoveCursorBack); - - oRange.select(); - } - else - { - // If the cursor needs to be positioned, insert the last fragment first. - if (typeof(iMoveCursorBack) != 'undefined' && iMoveCursorBack > 0 && sText.length > iMoveCursorBack) - { - var oSelection = this.getSelect(false, false); - var oRange = oSelection.getRangeAt(0); - oRange.insertNode(this.oFrameDocument.createTextNode(sText.substr(sText.length - iMoveCursorBack))); - } - - this.smf_execCommand('inserthtml', false, typeof(iMoveCursorBack) == 'undefined' ? sText : sText.substr(0, sText.length - iMoveCursorBack)); - } - } - else - { - replaceText(sText, this.oTextHandle); - } - } -} - - -// Special handler for WYSIWYG. -smc_Editor.prototype.smf_execCommand = function(sCommand, bUi, sValue) -{ - return this.oFrameDocument.execCommand(sCommand, bUi, sValue); -} - -smc_Editor.prototype.insertSmiley = function(oSmileyProperties) -{ - // In text mode we just add it in as we always did. - if (!this.bRichTextEnabled) - this.insertText(' ' + oSmileyProperties.sCode); - - // Otherwise we need to do a whole image... - else - { - var iUniqueSmileyId = 1000 + Math.floor(Math.random() * 100000); - this.insertText(''); - } -} - -smc_Editor.prototype.handleButtonClick = function (oButtonProperties) -{ - this.setFocus(); - - // A special SMF function? - if (oButtonProperties.sCode in this.oSmfExec) - this[this.oSmfExec[oButtonProperties.sCode]](); - - else - { - // In text this is easy... - if (!this.bRichTextEnabled) - { - // Replace? - if (!('sAfter' in oButtonProperties) || oButtonProperties.sAfter == null) - replaceText(oButtonProperties.sBefore.replace(/\\n/g, '\n'), this.oTextHandle) - - // Surround! - else - surroundText(oButtonProperties.sBefore.replace(/\\n/g, '\n'), oButtonProperties.sAfter.replace(/\\n/g, '\n'), this.oTextHandle) - } - else - { - // Is it easy? - if (oButtonProperties.sCode in this.oSimpleExec) - this.smf_execCommand(this.oSimpleExec[oButtonProperties.sCode], false, null); - - // A link? - else if (oButtonProperties.sCode == 'url' || oButtonProperties.sCode == 'email' || oButtonProperties.sCode == 'ftp') - this.insertLink(oButtonProperties.sCode); - - // Maybe an image? - else if (oButtonProperties.sCode == 'img') - this.insertImage(); - - // Everything else means doing something ourselves. - else if ('sBefore' in oButtonProperties) - this.insertCustomHTML(oButtonProperties.sBefore.replace(/\\n/g, '\n'), oButtonProperties.sAfter.replace(/\\n/g, '\n')); - - } - } - - this.updateEditorControls(); - - // Finally set the focus. - this.setFocus(); -} - -// Changing a select box? -smc_Editor.prototype.handleSelectChange = function (oSelectProperties) -{ - this.setFocus(); - - var sValue = oSelectProperties.oSelect.value; - if (sValue == '') - return true; - - // Changing font face? - if (oSelectProperties.sName == 'sel_face') - { - // Not in HTML mode? - if (!this.bRichTextEnabled) - { - sValue = sValue.replace(/"/, ''); - surroundText('[font=' + sValue + ']', '[/font]', this.oTextHandle); - oSelectProperties.oSelect.selectedIndex = 0; - } - else - { - if (is_webkit) - this.smf_execCommand('styleWithCSS', false, true); - this.smf_execCommand('fontname', false, sValue); - } - } - - // Font size? - else if (oSelectProperties.sName == 'sel_size') - { - // Are we in boring mode? - if (!this.bRichTextEnabled) - { - surroundText('[size=' + this.aFontSizes[sValue] + 'pt]', '[/size]', this.oTextHandle); - oSelectProperties.oSelect.selectedIndex = 0; - } - - else - this.smf_execCommand('fontsize', false, sValue); - } - // Or color even? - else if (oSelectProperties.sName == 'sel_color') - { - // Are we in boring mode? - if (!this.bRichTextEnabled) - { - surroundText('[color=' + sValue + ']', '[/color]', this.oTextHandle); - oSelectProperties.oSelect.selectedIndex = 0; - } - - else - this.smf_execCommand('forecolor', false, sValue); - } - - this.updateEditorControls(); - - return true; -} - -// Put in some custom HTML. -smc_Editor.prototype.insertCustomHTML = function(sLeftTag, sRightTag) -{ - var sSelection = this.getSelect(true, true); - if (sSelection.length == 0) - sSelection = ''; - - // Are we overwriting? - if (sRightTag == '') - this.insertText(sLeftTag); - // If something was selected, replace and position cursor at the end of it. - else if (sSelection.length > 0) - this.insertText(sLeftTag + sSelection + sRightTag, false, false, 0); - // Wrap the tags around the cursor position. - else - this.insertText(sLeftTag + sRightTag, false, false, sRightTag.length); - -} - -// Insert a URL link. -smc_Editor.prototype.insertLink = function(sType) -{ - if (sType == 'email') - var sPromptText = oEditorStrings['prompt_text_email']; - else if (sType == 'ftp') - var sPromptText = oEditorStrings['prompt_text_ftp']; - else - var sPromptText = oEditorStrings['prompt_text_url']; - - // IE has a nice prompt for this - others don't. - if (sType != 'email' && sType != 'ftp' && is_ie) - this.smf_execCommand('createlink', true, 'http://'); - - else - { - // Ask them where to link to. - var sText = prompt(sPromptText, sType == 'email' ? '' : (sType == 'ftp' ? 'ftp://' : 'http://')); - if (!sText) - return; - - if (sType == 'email' && sText.indexOf('mailto:') != 0) - sText = 'mailto:' + sText; - - // Check if we have text selected and if not force us to have some. - var oCurText = this.getSelect(true, true); - - if (oCurText.toString().length != 0) - { - this.smf_execCommand('unlink'); - this.smf_execCommand('createlink', false, sText); - } - else - this.insertText('' + sText + ''); - } -} - -smc_Editor.prototype.insertImage = function(sSrc) -{ - if (!sSrc) - { - sSrc = prompt(oEditorStrings['prompt_text_img'], 'http://'); - if (!sSrc || sSrc.length < 10) - return; - } - this.smf_execCommand('insertimage', false, sSrc); -} - -smc_Editor.prototype.getSelect = function(bWantText, bWantHTMLText) -{ - if (is_ie && 'selection' in this.oFrameDocument) - { - // Just want plain text? - if (bWantText && !bWantHTMLText) - return this.oFrameDocument.selection.createRange().text; - // We want the HTML flavoured variety? - else if (bWantHTMLText) - return this.oFrameDocument.selection.createRange().htmlText; - - return this.oFrameDocument.selection; - } - - // This is mainly Firefox. - if ('getSelection' in this.oFrameWindow) - { - // Plain text? - if (bWantText && !bWantHTMLText) - return this.oFrameWindow.getSelection().toString(); - - // HTML is harder - currently using: http://www.faqts.com/knowledge_base/view.phtml/aid/32427 - else if (bWantHTMLText) - { - var oSelection = this.oFrameWindow.getSelection(); - if (oSelection.rangeCount > 0) - { - var oRange = oSelection.getRangeAt(0); - var oClonedSelection = oRange.cloneContents(); - var oDiv = this.oFrameDocument.createElement('div'); - oDiv.appendChild(oClonedSelection); - return oDiv.innerHTML; - } - else - return ''; - } - - // Want the whole object then. - return this.oFrameWindow.getSelection(); - } - - // If we're here it's not good. - return this.oFrameDocument.getSelection(); -} - -smc_Editor.prototype.getRange = function() -{ - // Get the current selection. - var oSelection = this.getSelect(); - - if (!oSelection) - return null; - - if (is_ie && oSelection.createRange) - return oSelection.createRange(); - - return oSelection.rangeCount == 0 ? null : oSelection.getRangeAt(0); -} - -// Get the current element. -smc_Editor.prototype.getCurElement = function() -{ - var oRange = this.getRange(); - - if (!oRange) - return null; - - if (is_ie) - { - if (oRange.item) - return oRange.item(0); - else - return oRange.parentElement(); - } - else - { - var oElement = oRange.commonAncestorContainer; - return this.getParentElement(oElement); - } -} - -smc_Editor.prototype.getParentElement = function(oNode) -{ - if (oNode.nodeType == 1) - return oNode; - - for (var i = 0; i < 50; i++) - { - if (!oNode.parentNode) - break; - - oNode = oNode.parentNode; - if (oNode.nodeType == 1) - return oNode; - } - return null; -} - -// Remove formatting for the selected text. -smc_Editor.prototype.removeFormatting = function() -{ - // Do both at once. - if (this.bRichTextEnabled) - { - this.smf_execCommand('removeformat'); - this.smf_execCommand('unlink'); - } - // Otherwise do a crude move indeed. - else - { - // Get the current selection first. - if (this.oTextHandle.caretPos) - var sCurrentText = this.oTextHandle.caretPos.text; - - else if ('selectionStart' in this.oTextHandle) - var sCurrentText = this.oTextHandle.value.substr(this.oTextHandle.selectionStart, (this.oTextHandle.selectionEnd - this.oTextHandle.selectionStart)); - - else - return; - - // Do bits that are likely to have attributes. - sCurrentText = sCurrentText.replace(RegExp("\\[/?(url|img|iurl|ftp|email|img|color|font|size|list|bdo).*?\\]", "g"), ''); - // Then just anything that looks like BBC. - sCurrentText = sCurrentText.replace(RegExp("\\[/?[A-Za-z]+\\]", "g"), ''); - - replaceText(sCurrentText, this.oTextHandle); - } -} - -// Toggle wysiwyg/normal mode. -smc_Editor.prototype.toggleView = function(bView) -{ - if (!this.bRichTextPossible) - { - alert(oEditorStrings['wont_work']); - return false; - } - - // Overriding or alternating? - if (typeof(bView) == 'undefined') - bView = !this.bRichTextEnabled; - - this.requestParsedMessage(bView); - - return true; -} - -// Request the message in a different form. -smc_Editor.prototype.requestParsedMessage = function(bView) -{ - // Replace with a force reload. - if (!window.XMLHttpRequest) - { - alert(oEditorStrings['func_disabled']); - return; - } - - // Get the text. - var sText = this.getText(true, !bView).replace(/&#/g, "&#").php_to8bit().php_urlencode(); - - this.tmpMethod = sendXMLDocument; - this.tmpMethod(smf_prepareScriptUrl(smf_scripturl) + 'action=jseditor;view=' + (bView ? 1 : 0) + ';' + this.opt.sSessionVar + '=' + this.opt.sSessionId + ';xml', 'message=' + sText, this.onToggleDataReceived); - delete tmpMethod; -} - -smc_Editor.prototype.onToggleDataReceived = function(oXMLDoc) -{ - var sText = ''; - for (var i = 0; i < oXMLDoc.getElementsByTagName('message')[0].childNodes.length; i++) - sText += oXMLDoc.getElementsByTagName('message')[0].childNodes[i].nodeValue; - - // What is this new view we have? - this.bRichTextEnabled = oXMLDoc.getElementsByTagName('message')[0].getAttribute('view') != '0'; - - if (this.bRichTextEnabled) - { - this.oFrameHandle.style.display = ''; - if (this.showDebug) - this.oBreadHandle.style.display = ''; - this.oTextHandle.style.display = 'none'; - } - else - { - sText = sText.replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&'); - this.oFrameHandle.style.display = 'none'; - this.oBreadHandle.style.display = 'none'; - this.oTextHandle.style.display = ''; - } - - // First we focus. - this.setFocus(); - - this.insertText(sText, true); - - // Record the new status. - document.getElementById(this.opt.sUniqueId + '_mode').value = this.bRichTextEnabled ? '1' : '0'; - - // Rebuild the bread crumb! - this.updateEditorControls(); -} - -// Set the focus for the editing window. -smc_Editor.prototype.setFocus = function(force_both) -{ - if (!this.bRichTextEnabled) - this.oTextHandle.focus(); - else if (is_ff || is_opera) - this.oFrameHandle.focus(); - else - this.oFrameWindow.focus(); -} - -// Start up the spellchecker! -smc_Editor.prototype.spellCheckStart = function() -{ - if (!spellCheck) - return false; - - // If we're in HTML mode we need to get the non-HTML text. - if (this.bRichTextEnabled) - { - var sText = escape(this.getText(true, 1).php_to8bit()); - - this.tmpMethod = sendXMLDocument; - this.tmpMethod(smf_prepareScriptUrl(smf_scripturl) + 'action=jseditor;view=0;' + this.opt.sSessionVar + '=' + this.opt.sSessionId + ';xml', 'message=' + sText, this.onSpellCheckDataReceived); - delete tmpMethod; - } - // Otherwise start spellchecking right away. - else - spellCheck(this.sFormId, this.opt.sUniqueId); - - return true; -} - -// This contains the spellcheckable text. -smc_Editor.prototype.onSpellCheckDataReceived = function(oXMLDoc) -{ - var sText = ''; - for (var i = 0; i < oXMLDoc.getElementsByTagName('message')[0].childNodes.length; i++) - sText += oXMLDoc.getElementsByTagName('message')[0].childNodes[i].nodeValue; - - sText = sText.replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&'); - - this.oTextHandle.value = sText; - spellCheck(this.sFormId, this.opt.sUniqueId); -} - -// Function called when the Spellchecker is finished and ready to pass back. -smc_Editor.prototype.spellCheckEnd = function() -{ - // If HTML edit put the text back! - if (this.bRichTextEnabled) - { - var sText = escape(this.getText(true, 0).php_to8bit()); - - this.tmpMethod = sendXMLDocument; - this.tmpMethod(smf_prepareScriptUrl(smf_scripturl) + 'action=jseditor;view=1;' + this.opt.sSessionVar + '=' + this.opt.sSessionId + ';xml', 'message=' + sText, smf_editorArray[this.iArrayPosition].onSpellCheckCompleteDataReceived); - delete tmpMethod; - } - else - this.setFocus(); -} - -// The corrected text. -smc_Editor.prototype.onSpellCheckCompleteDataReceived = function(oXMLDoc) -{ - var sText = ''; - for (var i = 0; i < oXMLDoc.getElementsByTagName('message')[0].childNodes.length; i++) - sText += oXMLDoc.getElementsByTagName('message')[0].childNodes[i].nodeValue; - - this.insertText(sText, true); - this.setFocus(); -} - -smc_Editor.prototype.resizeTextArea = function(newHeight, newWidth, is_change) -{ - // Work out what the new height is. - if (is_change) - { - // We'll assume pixels but may not be. - newHeight = this._calculateNewDimension(this.oTextHandle.style.height, newHeight); - if (newWidth) - newWidth = this._calculateNewDimension(this.oTextHandle.style.width, newWidth); - } - - // Do the HTML editor - but only if it's enabled! - if (this.bRichTextPossible) - { - this.oFrameHandle.style.height = newHeight; - if (newWidth) - this.oFrameHandle.style.width = newWidth; - } - // Do the text box regardless! - this.oTextHandle.style.height = newHeight; - if (newWidth) - this.oTextHandle.style.width = newWidth; -} - -// A utility instruction to save repetition when trying to work out what to change on a height/width. -smc_Editor.prototype._calculateNewDimension = function(old_size, change_size) -{ - // We'll assume pixels but may not be. - changeReg = change_size.toString().match(/(-)?(\d+)(\D*)/); - curReg = old_size.toString().match(/(\d+)(\D*)/); - - if (!changeReg[3]) - changeReg[3] = 'px'; - - if (changeReg[1] == '-') - changeReg[2] = 0 - changeReg[2]; - - // Both the same type? - if (changeReg[3] == curReg[2]) - { - new_size = parseInt(changeReg[2]) + parseInt(curReg[1]); - if (new_size < 50) - new_size = 50; - new_size = new_size.toString() + changeReg[3]; - } - // Is the change a percentage? - else if (changeReg[3] == '%') - new_size = (parseInt(curReg[1]) + parseInt((parseInt(changeReg[2]) * parseInt(curReg[1])) / 100)).toString() + 'px'; - // Otherwise just guess! - else - new_size = (parseInt(curReg[1]) + (parseInt(changeReg[2]) / 10)).toString() + '%'; - - return new_size; -} - -// Register default keyboard shortcuts. -smc_Editor.prototype.registerDefaultShortcuts = function() -{ - if (is_ff) - { - this.registerShortcut('b', 'ctrl', 'b'); - this.registerShortcut('u', 'ctrl', 'u'); - this.registerShortcut('i', 'ctrl', 'i'); - this.registerShortcut('p', 'alt', 'preview'); - this.registerShortcut('s', 'alt', 'submit'); - } -} - -// Register a keyboard shortcut. -smc_Editor.prototype.registerShortcut = function(sLetter, sModifiers, sCodeName) -{ - if (!sCodeName) - return; - - var oNewShortcut = { - code : sCodeName, - key: sLetter.toUpperCase().charCodeAt(0), - alt : false, - ctrl : false - }; - - var aSplitModifiers = sModifiers.split(','); - for(var i = 0, n = aSplitModifiers.length; i < n; i++) - if (aSplitModifiers[i] in oNewShortcut) - oNewShortcut[aSplitModifiers[i]] = true; - - this.aKeyboardShortcuts[this.aKeyboardShortcuts.length] = oNewShortcut; -} - -// Check whether the key has triggered a shortcut? -smc_Editor.prototype.checkShortcut = function(oEvent) -{ - // To be a shortcut it needs to be one of these, duh! - if (!oEvent.altKey && !oEvent.ctrlKey) - return false; - - var sReturnCode = false; - - // Let's take a look at each of our shortcuts shall we? - for (var i = 0, n = this.aKeyboardShortcuts.length; i < n; i++) - { - // Found something? - if (oEvent.altKey == this.aKeyboardShortcuts[i].alt && oEvent.ctrlKey == this.aKeyboardShortcuts[i].ctrl && oEvent.keyCode == this.aKeyboardShortcuts[i].key) - sReturnCode = this.aKeyboardShortcuts[i].code; - } - - return sReturnCode; -} - -// The actual event check for the above! -smc_Editor.prototype.shortcutCheck = function(oEvent) -{ - var sFoundCode = this.checkShortcut(oEvent); - - // Run it and exit. - if (typeof(sFoundCode) == 'string' && sFoundCode != '') - { - var bCancelEvent = false; - if (sFoundCode == 'submit') - { - // So much to do! - var oForm = document.getElementById(this.sFormId); - submitThisOnce(oForm); - submitonce(oForm); - smc_saveEntities(oForm.name, ['subject', this.opt.sUniqueId, 'guestname', 'evtitle', 'question']); - oForm.submit(); - - bCancelEvent = true; - } - else if (sFoundCode == 'preview') - { - previewPost(); - bCancelEvent = true; - } - else - bCancelEvent = this.opt.oBBCBox.emulateClick(sFoundCode); - - if (bCancelEvent) - { - if (is_ie && oEvent.cancelBubble) - oEvent.cancelBubble = true; - - else if (oEvent.stopPropagation) - { - oEvent.stopPropagation(); - oEvent.preventDefault(); - } - - return false; - } - } - - return true; -} - -// This is the method called after clicking the resize bar. -smc_Editor.prototype.startResize = function(oEvent) -{ - if ('event' in window) - oEvent = window.event; - - if (!oEvent || window.smf_oCurrentResizeEditor != null) - return true; - - window.smf_oCurrentResizeEditor = this.iArrayPosition; - - var aCurCoordinates = smf_mousePose(oEvent); - this.osmc_EditorCurrentResize.old_y = aCurCoordinates[1]; - this.osmc_EditorCurrentResize.old_rel_y = null; - this.osmc_EditorCurrentResize.cur_height = parseInt(this.oTextHandle.style.height); - - // Set the necessary events for resizing. - var oResizeEntity = is_ie ? document : window; - oResizeEntity.addEventListener('mousemove', this.aEventWrappers.resizeOverDocument, false); - - if (this.bRichTextPossible) - this.oFrameDocument.addEventListener('mousemove', this.aEventWrappers.resizeOverIframe, false); - - document.addEventListener('mouseup', this.aEventWrappers.endResize, true); - - if (this.bRichTextPossible) - this.oFrameDocument.addEventListener('mouseup', this.aEventWrappers.endResize, true); - - return false; -} - -// This is kind of a cheat, as it only works over the IFRAME. -smc_Editor.prototype.resizeOverIframe = function(oEvent) -{ - if ('event' in window) - oEvent = window.event; - - if (!oEvent || window.smf_oCurrentResizeEditor == null) - return true; - - var newCords = smf_mousePose(oEvent); - - if (this.osmc_EditorCurrentResize.old_rel_y == null) - this.osmc_EditorCurrentResize.old_rel_y = newCords[1]; - else - { - var iNewHeight = newCords[1] - this.osmc_EditorCurrentResize.old_rel_y + this.osmc_EditorCurrentResize.cur_height; - if (iNewHeight < 0) - this.endResize(); - else - this.resizeTextArea(iNewHeight + 'px', 0, false); - } - - return false; -} - -// This resizes an editor. -smc_Editor.prototype.resizeOverDocument = function (oEvent) -{ - if ('event' in window) - oEvent = window.event; - - if (!oEvent || window.smf_oCurrentResizeEditor == null) - return true; - - var newCords = smf_mousePose(oEvent); - - var iNewHeight = newCords[1] - this.osmc_EditorCurrentResize.old_y + this.osmc_EditorCurrentResize.cur_height; - if (iNewHeight < 0) - this.endResize(); - else - this.resizeTextArea(iNewHeight + 'px', 0, false); - - return false; -} - -smc_Editor.prototype.endResize = function (oEvent) -{ - if ('event' in window) - oEvent = window.event; - - if (window.smf_oCurrentResizeEditor == null) - return true; - - window.smf_oCurrentResizeEditor = null; - - // Remove the event... - var oResizeEntity = is_ie ? document : window; - oResizeEntity.removeEventListener('mousemove', this.aEventWrappers.resizeOverDocument, false); - - if (this.bRichTextPossible) - this.oFrameDocument.removeEventListener('mousemove', this.aEventWrappers.resizeOverIframe, false); - - document.removeEventListener('mouseup', this.aEventWrappers.endResize, true); - - if (this.bRichTextPossible) - this.oFrameDocument.removeEventListener('mouseup', this.aEventWrappers.endResize, true); - - return false; -} - -// *** smc_SmileyBox class. -function smc_SmileyBox(oOptions) -{ - this.opt = oOptions; - this.oSmileyRowsContent = {}; - this.oSmileyPopupWindow = null; - this.init(); -} - -smc_SmileyBox.prototype.init = function () -{ - // Get the HTML content of the smileys visible on the post screen. - this.getSmileyRowsContent('postform'); - - // Inject the HTML. - setInnerHTML(document.getElementById(this.opt.sContainerDiv), this.opt.sSmileyBoxTemplate.easyReplace({ - smileyRows: this.oSmileyRowsContent.postform, - moreSmileys: this.opt.oSmileyLocations.popup.length == 0 ? '' : this.opt.sMoreSmileysTemplate.easyReplace({ - moreSmileysId: this.opt.sUniqueId + '_addMoreSmileys' - }) - })); - - // Initialize the smileys. - this.initSmileys('postform', document); - - // Initialize the [more] button. - if (this.opt.oSmileyLocations.popup.length > 0) - { - var oMoreLink = document.getElementById(this.opt.sUniqueId + '_addMoreSmileys'); - oMoreLink.instanceRef = this; - oMoreLink.onclick = function () { - this.instanceRef.handleShowMoreSmileys(); - return false; - } - } -} - -// Loop through the smileys to setup the HTML. -smc_SmileyBox.prototype.getSmileyRowsContent = function (sLocation) -{ - // If it's already defined, don't bother. - if (sLocation in this.oSmileyRowsContent) - return; - - this.oSmileyRowsContent[sLocation] = ''; - - for (var iSmileyRowIndex = 0, iSmileyRowCount = this.opt.oSmileyLocations[sLocation].length; iSmileyRowIndex < iSmileyRowCount; iSmileyRowIndex++) - { - var sSmileyRowContent = ''; - for (var iSmileyIndex = 0, iSmileyCount = this.opt.oSmileyLocations[sLocation][iSmileyRowIndex].length; iSmileyIndex < iSmileyCount; iSmileyIndex++) - sSmileyRowContent += this.opt.sSmileyTemplate.easyReplace({ - smileySource: this.opt.oSmileyLocations[sLocation][iSmileyRowIndex][iSmileyIndex].sSrc.php_htmlspecialchars(), - smileyDescription: this.opt.oSmileyLocations[sLocation][iSmileyRowIndex][iSmileyIndex].sDescription.php_htmlspecialchars(), - smileyCode: this.opt.oSmileyLocations[sLocation][iSmileyRowIndex][iSmileyIndex].sCode.php_htmlspecialchars(), - smileyId: this.opt.sUniqueId + '_' + sLocation + '_' + iSmileyRowIndex.toString() + '_' + iSmileyIndex.toString() - }); - - this.oSmileyRowsContent[sLocation] += this.opt.sSmileyRowTemplate.easyReplace({ - smileyRow: sSmileyRowContent - }); - } -} - -smc_SmileyBox.prototype.initSmileys = function (sLocation, oDocument) -{ - for (var iSmileyRowIndex = 0, iSmileyRowCount = this.opt.oSmileyLocations[sLocation].length; iSmileyRowIndex < iSmileyRowCount; iSmileyRowIndex++) - { - for (var iSmileyIndex = 0, iSmileyCount = this.opt.oSmileyLocations[sLocation][iSmileyRowIndex].length; iSmileyIndex < iSmileyCount; iSmileyIndex++) - { - var oSmiley = oDocument.getElementById(this.opt.sUniqueId + '_' + sLocation + '_' + iSmileyRowIndex.toString() + '_' + iSmileyIndex.toString()); - oSmiley.instanceRef = this; - oSmiley.style.cursor = 'pointer'; - oSmiley.onclick = function () { - this.instanceRef.clickHandler(this); - return false; - } - } - } -} - -smc_SmileyBox.prototype.clickHandler = function (oSmileyImg) -{ - // Dissect the id... - var aMatches = oSmileyImg.id.match(/([^_]+)_(\d+)_(\d+)$/); - if (aMatches.length != 4) - return false; - - // ...to determine its exact smiley properties. - var sLocation = aMatches[1]; - var iSmileyRowIndex = aMatches[2]; - var iSmileyIndex = aMatches[3]; - var oProperties = this.opt.oSmileyLocations[sLocation][iSmileyRowIndex][iSmileyIndex]; - - if ('sClickHandler' in this.opt) - eval(this.opt.sClickHandler + '(oProperties)'); - - return false; -} - -smc_SmileyBox.prototype.handleShowMoreSmileys = function () -{ - // Focus the window if it's already opened. - if (this.oSmileyPopupWindow != null && 'closed' in this.oSmileyPopupWindow && !this.oSmileyPopupWindow.closed) - { - this.oSmileyPopupWindow.focus(); - return; - } - - // Get the smiley HTML. - this.getSmileyRowsContent('popup'); - - // Open the popup. - this.oSmileyPopupWindow = window.open('', this.opt.sUniqueId + '_addMoreSmileysPopup', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=480,height=220,resizable=yes'); - - // Paste the template in the popup. - this.oSmileyPopupWindow.document.open('text/html', 'replace'); - this.oSmileyPopupWindow.document.write(this.opt.sMoreSmileysPopupTemplate.easyReplace({ - smileyRows: this.oSmileyRowsContent.popup, - moreSmileysCloseLinkId: this.opt.sUniqueId + '_closeMoreSmileys' - })); - this.oSmileyPopupWindow.document.close(); - - // Initialize the smileys that are in the popup window. - this.initSmileys('popup', this.oSmileyPopupWindow.document); - - // Add a function to the close window button. - var aCloseLink = this.oSmileyPopupWindow.document.getElementById(this.opt.sUniqueId + '_closeMoreSmileys'); - aCloseLink.instanceRef = this; - aCloseLink.onclick = function () { - this.instanceRef.oSmileyPopupWindow.close(); - return false; - } -} - - -// *** smc_BBCButtonBox class. -function smc_BBCButtonBox(oOptions) -{ - this.opt = oOptions; - this.init(); - - var items = ['sActiveButtonBackgroundImageHover', 'sActiveButtonBackgroundImage', 'sButtonBackgroundImageHover', 'sButtonBackgroundImage']; - for (var i = 0; i < items.length; i++) - { - if (items[i] in this.opt) - this.opt[items[i]] = this.opt[items[i]].replace(' ', '%20'); - } -} - -smc_BBCButtonBox.prototype.init = function () -{ - var sBbcContent = ''; - for (var iButtonRowIndex = 0, iRowCount = this.opt.aButtonRows.length; iButtonRowIndex < iRowCount; iButtonRowIndex++) - { - var sRowContent = ''; - var bPreviousWasDivider = false; - for (var iButtonIndex = 0, iButtonCount = this.opt.aButtonRows[iButtonRowIndex].length; iButtonIndex < iButtonCount; iButtonIndex++) - { - var oCurButton = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - switch (oCurButton.sType) - { - case 'button': - if (oCurButton.bEnabled) - { - sRowContent += this.opt.sButtonTemplate.easyReplace({ - buttonId: this.opt.sUniqueId.php_htmlspecialchars() + '_button_' + iButtonRowIndex.toString() + '_' + iButtonIndex.toString(), - buttonSrc: oCurButton.sImage.php_htmlspecialchars(), - buttonDescription: oCurButton.sDescription.php_htmlspecialchars() - }); - - bPreviousWasDivider = false; - } - break; - - case 'divider': - if (!bPreviousWasDivider) - sRowContent += this.opt.sDividerTemplate; - - bPreviousWasDivider = true; - break; - - case 'select': - var sOptions = ''; - - // Fighting javascript's idea of order in a for loop... :P - if ('' in oCurButton.oOptions) - sOptions = ''; - for (var sSelectValue in oCurButton.oOptions) - // we've been through this before - if (sSelectValue != '') - sOptions += ''; - - sRowContent += this.opt.sSelectTemplate.easyReplace({ - selectName: oCurButton.sName, - selectId: this.opt.sUniqueId.php_htmlspecialchars() + '_select_' + iButtonRowIndex.toString() + '_' + iButtonIndex.toString(), - selectOptions: sOptions - }); - - bPreviousWasDivider = false; - break; - } - } - sBbcContent += this.opt.sButtonRowTemplate.easyReplace({ - buttonRow: sRowContent - }); - } - - var oBbcContainer = document.getElementById(this.opt.sContainerDiv); - setInnerHTML(oBbcContainer, sBbcContent); - - for (var iButtonRowIndex = 0, iRowCount = this.opt.aButtonRows.length; iButtonRowIndex < iRowCount; iButtonRowIndex++) - { - for (var iButtonIndex = 0, iButtonCount = this.opt.aButtonRows[iButtonRowIndex].length; iButtonIndex < iButtonCount; iButtonIndex++) - { - var oCurControl = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - switch (oCurControl.sType) - { - case 'button': - if (!oCurControl.bEnabled) - break; - - oCurControl.oImg = document.getElementById(this.opt.sUniqueId.php_htmlspecialchars() + '_button_' + iButtonRowIndex.toString() + '_' + iButtonIndex.toString()); - oCurControl.oImg.style.cursor = 'pointer'; - if ('sButtonBackgroundImage' in this.opt) - oCurControl.oImg.style.backgroundImage = 'url(' + this.opt.sButtonBackgroundImage + ')'; - - oCurControl.oImg.instanceRef = this; - oCurControl.oImg.onmouseover = function () { - this.instanceRef.handleButtonMouseOver(this); - }; - oCurControl.oImg.onmouseout = function () { - this.instanceRef.handleButtonMouseOut(this); - }; - oCurControl.oImg.onclick = function () { - this.instanceRef.handleButtonClick(this); - }; - - oCurControl.oImg.bIsActive = false; - oCurControl.oImg.bHover = false; - break; - - case 'select': - oCurControl.oSelect = document.getElementById(this.opt.sUniqueId.php_htmlspecialchars() + '_select_' + iButtonRowIndex.toString() + '_' + iButtonIndex.toString()); - - oCurControl.oSelect.instanceRef = this; - oCurControl.oSelect.onchange = oCurControl.onchange = function () { - this.instanceRef.handleSelectChange(this); - } - break; - } - } - } -} - -smc_BBCButtonBox.prototype.handleButtonMouseOver = function (oButtonImg) -{ - oButtonImg.bHover = true; - this.updateButtonStatus(oButtonImg); -} - -smc_BBCButtonBox.prototype.handleButtonMouseOut = function (oButtonImg) -{ - oButtonImg.bHover = false; - this.updateButtonStatus(oButtonImg); -} - -smc_BBCButtonBox.prototype.updateButtonStatus = function (oButtonImg) -{ - var sNewURL = ''; - if (oButtonImg.bHover && oButtonImg.bIsActive && 'sActiveButtonBackgroundImageHover' in this.opt) - sNewURL = 'url(' + this.opt.sActiveButtonBackgroundImageHover + ')'; - else if (!oButtonImg.bHover && oButtonImg.bIsActive && 'sActiveButtonBackgroundImage' in this.opt) - sNewURL = 'url(' + this.opt.sActiveButtonBackgroundImage + ')'; - else if (oButtonImg.bHover && 'sButtonBackgroundImageHover' in this.opt) - sNewURL = 'url(' + this.opt.sButtonBackgroundImageHover + ')'; - else if ('sButtonBackgroundImage' in this.opt) - sNewURL = 'url(' + this.opt.sButtonBackgroundImage + ')'; - - if (oButtonImg.style.backgroundImage != sNewURL) - oButtonImg.style.backgroundImage = sNewURL; -} - -smc_BBCButtonBox.prototype.handleButtonClick = function (oButtonImg) -{ - // Dissect the id attribute... - var aMatches = oButtonImg.id.match(/(\d+)_(\d+)$/); - if (aMatches.length != 3) - return false; - - // ...so that we can point to the exact button. - var iButtonRowIndex = aMatches[1]; - var iButtonIndex = aMatches[2]; - var oProperties = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - oProperties.bIsActive = oButtonImg.bIsActive; - - if ('sButtonClickHandler' in this.opt) - eval(this.opt.sButtonClickHandler + '(oProperties)'); - - return false; -} - -smc_BBCButtonBox.prototype.handleSelectChange = function (oSelectControl) -{ - // Dissect the id attribute... - var aMatches = oSelectControl.id.match(/(\d+)_(\d+)$/); - if (aMatches.length != 3) - return false; - - // ...so that we can point to the exact button. - var iButtonRowIndex = aMatches[1]; - var iButtonIndex = aMatches[2]; - var oProperties = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - - if ('sSelectChangeHandler' in this.opt) - eval(this.opt.sSelectChangeHandler + '(oProperties)'); - - return true; -} - -smc_BBCButtonBox.prototype.setActive = function (aButtons) -{ - for (var iButtonRowIndex = 0, iRowCount = this.opt.aButtonRows.length; iButtonRowIndex < iRowCount; iButtonRowIndex++) - { - for (var iButtonIndex = 0, iButtonCount = this.opt.aButtonRows[iButtonRowIndex].length; iButtonIndex < iButtonCount; iButtonIndex++) - { - var oCurControl = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - if (oCurControl.sType == 'button' && oCurControl.bEnabled) - { - oCurControl.oImg.bIsActive = in_array(oCurControl.sCode, aButtons); - this.updateButtonStatus(oCurControl.oImg); - } - } - } -} - -smc_BBCButtonBox.prototype.emulateClick = function (sCode) -{ - for (var iButtonRowIndex = 0, iRowCount = this.opt.aButtonRows.length; iButtonRowIndex < iRowCount; iButtonRowIndex++) - { - for (var iButtonIndex = 0, iButtonCount = this.opt.aButtonRows[iButtonRowIndex].length; iButtonIndex < iButtonCount; iButtonIndex++) - { - var oCurControl = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - if (oCurControl.sType == 'button' && oCurControl.sCode == sCode) - { - eval(this.opt.sButtonClickHandler + '(oCurControl)'); - return true; - } - } - } - return false; -} - -smc_BBCButtonBox.prototype.setSelect = function (sSelectName, sValue) -{ - if (!('sButtonClickHandler' in this.opt)) - return; - - for (var iButtonRowIndex = 0, iRowCount = this.opt.aButtonRows.length; iButtonRowIndex < iRowCount; iButtonRowIndex++) - { - for (var iButtonIndex = 0, iButtonCount = this.opt.aButtonRows[iButtonRowIndex].length; iButtonIndex < iButtonCount; iButtonIndex++) - { - var oCurControl = this.opt.aButtonRows[iButtonRowIndex][iButtonIndex]; - if (oCurControl.sType == 'select' && oCurControl.sName == sSelectName) - oCurControl.oSelect.value = sValue; - } - } -} diff --git a/config/themes/default/scripts/fader.js b/config/themes/default/scripts/fader.js deleted file mode 100755 index 671ba4d..0000000 --- a/config/themes/default/scripts/fader.js +++ /dev/null @@ -1,218 +0,0 @@ -function smf_NewsFader(oOptions) -{ - this.opt = oOptions; - - this.oFaderHandle = document.getElementById(this.opt.sFaderControlId); - - // Fade from... what text color? Default to black. - this.oFadeFrom = 'oFadeFrom' in this.opt ? this.opt.oFadeFrom : { - r: 0, - g: 0, - b: 0 - }; - - // To which background color? Default to white. - this.oFadeTo = 'oFadeTo' in this.opt ? this.opt.oFadeTo : { - r: 255, - g: 255, - b: 255 - }; - - // Surround each item with... anything special? - this.sItemTemplate = 'sItemTemplate' in this.opt ? this.opt.sItemTemplate : '%1$s'; - - // Fade delay (in milliseconds). - this.iFadeDelay = 'iFadeDelay' in this.opt ? this.opt.iFadeDelay : 5000; - - // The array that contains all the lines of the news for display. - this.aFaderItems = 'aFaderItems' in this.opt ? this.opt.aFaderItems : []; - - // Should we look for fader data, still? - this.bReceivedItemsOnConstruction = 'aFaderItems' in this.opt; - - // The current item in smfFadeContent. - this.iFadeIndex = -1; - - // Percent of fade (-64 to 510). - this.iFadePercent = 510 - - // Direction (in or out). - this.bFadeSwitch = false; - - // Just make sure the page is loaded before calling the init. - setTimeout(this.opt.sSelf + '.init();', 1); -} - -smf_NewsFader.prototype.init = function init() -{ - var oForeEl, oForeColor, oBackEl, oBackColor; - - // Try to find the fore- and background colors. - var modern_browser = 'MozOpacity' in this.oFaderHandle.style || 'Opacity' in this.oFaderHandle.style || 'filter' in this.oFaderHandle.style; - if ('currentStyle' in this.oFaderHandle && !modern_browser) - { - oForeColor = this.oFaderHandle.currentStyle.color.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/); - this.oFadeFrom = { - r: parseInt(oForeColor[1]), - g: parseInt(oForeColor[2]), - b: parseInt(oForeColor[3]) - }; - - oBackEl = this.oFaderHandle; - while (oBackEl.currentStyle.backgroundColor == 'transparent' && 'parentNode' in oBackEl) - oBackEl = oBackEl.parentNode; - - oBackColor = oBackEl.currentStyle.backgroundColor.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/); - this.oFadeTo = { - r: eval('0x' + oBackColor[1]), - g: eval('0x' + oBackColor[2]), - b: eval('0x' + oBackColor[3]) - }; - } - else if (!('opera' in window) && 'defaultView' in document && !modern_browser) - { - oForeEl = this.oFaderHandle; - while (document.defaultView.getComputedStyle(oForeEl, null).getPropertyCSSValue('color') == null && 'parentNode' in oForeEl && 'tagName' in oForeEl.parentNode) - oForeEl = oForeEl.parentNode; - - oForeColor = document.defaultView.getComputedStyle(oForeEl, null).getPropertyValue('color').match(/rgb\((\d+), (\d+), (\d+)\)/); - this.oFadeFrom = { - r: parseInt(oForeColor[1]), - g: parseInt(oForeColor[2]), - b: parseInt(oForeColor[3]) - }; - - oBackEl = this.oFaderHandle; - while (document.defaultView.getComputedStyle(oBackEl, null).getPropertyCSSValue('background-color') == null && 'parentNode' in oBackEl && 'tagName' in oBackEl.parentNode) - oBackEl = oBackEl.parentNode; - - oBackColor = document.defaultView.getComputedStyle(oBackEl, null).getPropertyValue('background-color'); - this.oFadeTo = { - r: parseInt(oBackColor[1]), - g: parseInt(oBackColor[2]), - b: parseInt(oBackColor[3]) - }; - } - - // Did we get our fader items on construction, or should we be gathering them instead? - if (!this.bReceivedItemsOnConstruction) - { - // Get the news from the list in boardindex - var oNewsItems = this.oFaderHandle.getElementsByTagName('li'); - - // Fill the array that has previously been created - for (var i = 0, n = oNewsItems.length; i < n; i ++) - this.aFaderItems[i] = oNewsItems[i].innerHTML; - } - - // The ranges to fade from for R, G, and B. (how far apart they are.) - this.oFadeRange = { - 'r': this.oFadeFrom.r - this.oFadeTo.r, - 'g': this.oFadeFrom.g - this.oFadeTo.g, - 'b': this.oFadeFrom.b - this.oFadeTo.b - }; - - // Divide by 20 because we are doing it 20 times per one ms. - this.iFadeDelay /= 20; - - // Start the fader! - window.setTimeout(this.opt.sSelf + '.fade();', 20); -} - -// Main fading function... called 50 times every second. -smf_NewsFader.prototype.fade = function fade() -{ - if (this.aFaderItems.length <= 1) - return; - - // A fix for Internet Explorer 4: wait until the document is loaded so we can use setInnerHTML(). - if ('readyState' in document && document.readyState != 'complete') - { - window.setTimeout(this.opt.sSelf + '.fade();', 20); - return; - } - - // Starting out? Set up the first item. - if (this.iFadeIndex == -1) - { - setInnerHTML(this.oFaderHandle, this.sItemTemplate.replace('%1$s', this.aFaderItems[0])); - this.iFadeIndex = 1; - - // In Mozilla, text jumps around from this when 1 or 0.5, etc... - if ('MozOpacity' in this.oFaderHandle.style) - this.oFaderHandle.style.MozOpacity = '0.90'; - else if ('opacity' in this.oFaderHandle.style) - this.oFaderHandle.style.opacity = '0.90'; - // In Internet Explorer, we have to define this to use it. - else if ('filter' in this.oFaderHandle.style) - this.oFaderHandle.style.filter = 'alpha(opacity=100)'; - } - - // Are we already done fading in? If so, fade out. - if (this.iFadePercent >= 510) - this.bFadeSwitch = !this.bFadeSwitch; - - // All the way faded out? - else if (this.iFadePercent <= -64) - { - this.bFadeSwitch = !this.bFadeSwitch; - - // Go to the next item, or first if we're out of items. - setInnerHTML(this.oFaderHandle, this.sItemTemplate.replace('%1$s', this.aFaderItems[this.iFadeIndex ++])); - if (this.iFadeIndex >= this.aFaderItems.length) - this.iFadeIndex = 0; - } - - // Increment or decrement the fade percentage. - if (this.bFadeSwitch) - this.iFadePercent -= 255 / this.iFadeDelay * 2; - else - this.iFadePercent += 255 / this.iFadeDelay * 2; - - // If it's not outside 0 and 256... (otherwise it's just delay time.) - if (this.iFadePercent < 256 && this.iFadePercent > 0) - { - // Easier... also faster... - var tempPercent = this.iFadePercent / 255, rounded; - - if ('MozOpacity' in this.oFaderHandle.style) - { - rounded = Math.round(tempPercent * 100) / 100; - this.oFaderHandle.style.MozOpacity = rounded == 1 ? '0.99' : rounded; - } - else if ('opacity' in this.oFaderHandle.style) - { - rounded = Math.round(tempPercent * 100) / 100; - this.oFaderHandle.style.opacity = rounded == 1 ? '0.99' : rounded; - } - else - { - var done = false; - if ('alpha' in this.oFaderHandle.filters) - { - try - { - this.oFaderHandle.filters.alpha.opacity = Math.round(tempPercent * 100); - done = true; - } - catch (err) - { - } - } - - if (!done) - { - // Get the new R, G, and B. (it should be bottom + (range of color * percent)...) - var r = Math.ceil(this.oFadeTo.r + this.oFadeRange.r * tempPercent); - var g = Math.ceil(this.oFadeTo.g + this.oFadeRange.g * tempPercent); - var b = Math.ceil(this.oFadeTo.b + this.oFadeRange.b * tempPercent); - - // Set the color in the style, thereby fading it. - this.oFaderHandle.style.color = 'rgb(' + r + ', ' + g + ', ' + b + ')'; - } - } - } - - // Keep going. - window.setTimeout(this.opt.sSelf + '.fade();', 20); -} \ No newline at end of file diff --git a/config/themes/default/scripts/index.php b/config/themes/default/scripts/index.php deleted file mode 100755 index 69278ce..0000000 --- a/config/themes/default/scripts/index.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/config/themes/default/scripts/inventory.js b/config/themes/default/scripts/inventory.js deleted file mode 100755 index fddb659..0000000 --- a/config/themes/default/scripts/inventory.js +++ /dev/null @@ -1,129 +0,0 @@ -// TODO this whole function needs to be optimized and moved to the server. -// Why is the inventory an assoc array? would a numeric array improve performance in general? -function loadAvatar($inventory, $canvasId, $imgId) -{ - var inv = JSON.parse($inventory); - var equipped = new Array(); - - var canvas =document.getElementById($canvasId); - var context =canvas.getContext("2d"); - - - // convert the assoc array into a numeric array and sort it - for (var id in inv) - { - var item = inv[id]; - if(item['is_equipped'] == false) - { - continue; - } - - for (var imgIndex in item['imgs']) - { - if(item['imgs'][imgIndex]['url'] !== '') - { - equipped.push( item['imgs'][imgIndex] ); - } - - } - - } - - // sort the inventory by layer - equipped.sort( - function(x, y) - { - return x['layer'] - y['layer']; - } - ); - - var numLoaded = 0; - var allImages = new Array(); - - for (var i = 0; i < equipped.length; i++) { - var item = equipped[i]; - var image = new Image(); - - allImages.push( image ); - - image.onload = function() { - numLoaded++; - - if(numLoaded === equipped.length) - { - // all of the images are finished loading. merge them - context.clearRect(0, 0, canvas.width, canvas.height); - - for(j = 0; j < allImages.length; j++) - { - if(allImages[j]) - { - context.drawImage(allImages[j], 0, 0, canvas.width, canvas.height); - } - } - - var dataURL = canvas.toDataURL(); - document.getElementById($imgId).src = dataURL; - } - }; - - image.src = '/forum/' + item['url']; - } -} - -function refreshAvatar() -{ - loadAvatar($displayedInventory, "fishcanvas", "fish_avatar_img"); -} - - -function isSlotRequired($slot) -{ - return $slot == 0 || $slot == 1; // body or face -} - -function setItemEquipped(clickedItemId) -{ - var inv = JSON.parse($displayedInventory); - var item = inv[clickedItemId]; - - var wasEquipped = item['is_equipped']; - - // unequip the thing in this slot - for (var key in inv) { - var otherItem = inv[key]; - - if(otherItem['equip_slot'] === item['equip_slot']) - { - otherItem['is_equipped'] = false; - - var otherIcon = document.getElementById("item_" + otherItem['id'] + "_img"); - if(otherIcon) - { - otherIcon.setAttribute("class", "item-icon-button"); - } - - var otherIconInput = document.getElementById("item_" + otherItem['id']); - if(otherIconInput) - { - otherIconInput.setAttribute("value", 0); - } - } - } - - // equip/unequip the selected thing - if(wasEquipped == false || isSlotRequired(item['equip_slot'])) // if this is in slot 0, it is the body base and cannot be unequipped - { - item['is_equipped'] = true; - - var clickedItemIcon = document.getElementById("item_" + clickedItemId + "_img"); - clickedItemIcon.setAttribute("class", "item-icon-button-equipped"); - - var clickedItemIconInput = document.getElementById("item_" + clickedItemId); - clickedItemIconInput.setAttribute("value", 1); - } - - $displayedInventory = JSON.stringify(inv); - refreshAvatar(); -} - diff --git a/config/themes/default/scripts/profile.js b/config/themes/default/scripts/profile.js deleted file mode 100755 index f240fdc..0000000 --- a/config/themes/default/scripts/profile.js +++ /dev/null @@ -1,40 +0,0 @@ -var localTime = new Date(); -function autoDetectTimeOffset(currentTime) -{ - if (typeof(currentTime) != 'string') - var serverTime = currentTime; - else - var serverTime = new Date(currentTime); - - // Something wrong? - if (!localTime.getTime() || !serverTime.getTime()) - return 0; - - // Get the difference between the two, set it up so that the sign will tell us who is ahead of who. - var diff = Math.round((localTime.getTime() - serverTime.getTime())/3600000); - - // Make sure we are limiting this to one day's difference. - diff %= 24; - - return diff; -} - -// Prevent Chrome from auto completing fields when viewing/editing other members profiles -function disableAutoComplete() -{ - if (is_chrome && document.addEventListener) - document.addEventListener("DOMContentLoaded", disableAutoCompleteNow, false); -} - -// Once DOMContentLoaded is triggered, call the function -function disableAutoCompleteNow() -{ - for (var i = 0, n = document.forms.length; i < n; i++) - { - var die = document.forms[i].elements; - for (var j = 0, m = die.length; j < m; j++) - // Only bother with text/password fields? - if (die[j].type == "text" || die[j].type == "password") - die[j].setAttribute("autocomplete", "off"); - } -} \ No newline at end of file diff --git a/config/themes/default/scripts/register.js b/config/themes/default/scripts/register.js deleted file mode 100755 index 1a3b9fb..0000000 --- a/config/themes/default/scripts/register.js +++ /dev/null @@ -1,266 +0,0 @@ -function smfRegister(formID, passwordDifficultyLevel, regTextStrings) -{ - this.addVerify = addVerificationField; - this.autoSetup = autoSetup; - this.refreshMainPassword = refreshMainPassword; - this.refreshVerifyPassword = refreshVerifyPassword; - - var verificationFields = new Array(); - var verificationFieldLength = 0; - var textStrings = regTextStrings ? regTextStrings : new Array(); - var passwordLevel = passwordDifficultyLevel ? passwordDifficultyLevel : 0; - - // Setup all the fields! - autoSetup(formID); - - // This is a field which requires some form of verification check. - function addVerificationField(fieldType, fieldID) - { - // Check the field exists. - if (!document.getElementById(fieldID)) - return; - - // Get the handles. - var inputHandle = document.getElementById(fieldID); - var imageHandle = document.getElementById(fieldID + '_img') ? document.getElementById(fieldID + '_img') : false; - var divHandle = document.getElementById(fieldID + '_div') ? document.getElementById(fieldID + '_div') : false; - - // What is the event handler? - var eventHandler = false; - if (fieldType == 'pwmain') - eventHandler = refreshMainPassword; - else if (fieldType == 'pwverify') - eventHandler = refreshVerifyPassword; - else if (fieldType == 'username') - eventHandler = refreshUsername; - else if (fieldType == 'reserved') - eventHandler = refreshMainPassword; - - // Store this field. - var vFieldIndex = fieldType == 'reserved' ? fieldType + verificationFieldLength : fieldType; - verificationFields[vFieldIndex] = Array(6); - verificationFields[vFieldIndex][0] = fieldID; - verificationFields[vFieldIndex][1] = inputHandle; - verificationFields[vFieldIndex][2] = imageHandle; - verificationFields[vFieldIndex][3] = divHandle; - verificationFields[vFieldIndex][4] = fieldType; - verificationFields[vFieldIndex][5] = inputHandle.className; - - // Keep a count to it! - verificationFieldLength++; - - // Step to it! - if (eventHandler) - { - createEventListener(inputHandle); - inputHandle.addEventListener('keyup', eventHandler, false); - eventHandler(); - - // Username will auto check on blur! - inputHandle.addEventListener('blur', autoCheckUsername, false); - } - - // Make the div visible! - if (divHandle) - divHandle.style.display = ''; - } - - // A button to trigger a username search? - function addUsernameSearchTrigger(elementID) - { - var buttonHandle = document.getElementById(elementID); - - // Attach the event to this element. - createEventListener(buttonHandle); - buttonHandle.addEventListener('click', checkUsername, false); - } - - // This function will automatically pick up all the necessary verification fields and initialise their visual status. - function autoSetup(formID) - { - if (!document.getElementById(formID)) - return false; - - var curElement, curType; - for (var i = 0, n = document.getElementById(formID).elements.length; i < n; i++) - { - curElement = document.getElementById(formID).elements[i]; - - // Does the ID contain the keyword 'autov'? - if (curElement.id.indexOf('autov') != -1 && (curElement.type == 'text' || curElement.type == 'password')) - { - // This is probably it - but does it contain a field type? - curType = 0; - // Username can only be done with XML. - if (curElement.id.indexOf('username') != -1 && window.XMLHttpRequest) - curType = 'username'; - else if (curElement.id.indexOf('pwmain') != -1) - curType = 'pwmain'; - else if (curElement.id.indexOf('pwverify') != -1) - curType = 'pwverify'; - // This means this field is reserved and cannot be contained in the password! - else if (curElement.id.indexOf('reserve') != -1) - curType = 'reserved'; - - // If we're happy let's add this element! - if (curType) - addVerificationField(curType, curElement.id); - - // If this is the username do we also have a button to find the user? - if (curType == 'username' && document.getElementById(curElement.id + '_link')) - { - addUsernameSearchTrigger(curElement.id + '_link'); - } - } - } - - return true; - } - - // What is the password state? - function refreshMainPassword(called_from_verify) - { - if (!verificationFields['pwmain']) - return false; - - var curPass = verificationFields['pwmain'][1].value; - var stringIndex = ''; - - // Is it a valid length? - if ((curPass.length < 8 && passwordLevel >= 1) || curPass.length < 4) - stringIndex = 'password_short'; - - // More than basic? - if (passwordLevel >= 1) - { - // If there is a username check it's not in the password! - if (verificationFields['username'] && verificationFields['username'][1].value && curPass.indexOf(verificationFields['username'][1].value) != -1) - stringIndex = 'password_reserved'; - - // Any reserved fields? - for (var i in verificationFields) - { - if (verificationFields[i][4] == 'reserved' && verificationFields[i][1].value && curPass.indexOf(verificationFields[i][1].value) != -1) - stringIndex = 'password_reserved'; - } - - // Finally - is it hard and as such requiring mixed cases and numbers? - if (passwordLevel > 1) - { - if (curPass == curPass.toLowerCase()) - stringIndex = 'password_numbercase'; - if (!curPass.match(/(\D\d|\d\D)/)) - stringIndex = 'password_numbercase'; - } - } - - var isValid = stringIndex == '' ? true : false; - if (stringIndex == '') - stringIndex = 'password_valid'; - - // Set the image. - setVerificationImage(verificationFields['pwmain'][2], isValid, textStrings[stringIndex] ? textStrings[stringIndex] : ''); - verificationFields['pwmain'][1].className = verificationFields['pwmain'][5] + ' ' + (isValid ? 'valid_input' : 'invalid_input'); - - // As this has changed the verification one may have too! - if (verificationFields['pwverify'] && !called_from_verify) - refreshVerifyPassword(); - - return isValid; - } - - // Check that the verification password matches the main one! - function refreshVerifyPassword() - { - // Can't do anything without something to check again! - if (!verificationFields['pwmain']) - return false; - - // Check and set valid status! - var isValid = verificationFields['pwmain'][1].value == verificationFields['pwverify'][1].value && refreshMainPassword(true); - var alt = textStrings[isValid == 1 ? 'password_valid' : 'password_no_match'] ? textStrings[isValid == 1 ? 'password_valid' : 'password_no_match'] : ''; - setVerificationImage(verificationFields['pwverify'][2], isValid, alt); - verificationFields['pwverify'][1].className = verificationFields['pwverify'][5] + ' ' + (isValid ? 'valid_input' : 'invalid_input'); - - return true; - } - - // If the username is changed just revert the status of whether it's valid! - function refreshUsername() - { - if (!verificationFields['username']) - return false; - - // Restore the class name. - if (verificationFields['username'][1].className) - verificationFields['username'][1].className = verificationFields['username'][5]; - // Check the image is correct. - var alt = textStrings['username_check'] ? textStrings['username_check'] : ''; - setVerificationImage(verificationFields['username'][2], 'check', alt); - - // Check the password is still OK. - refreshMainPassword(); - - return true; - } - - // This is a pass through function that ensures we don't do any of the AJAX notification stuff. - function autoCheckUsername() - { - checkUsername(true); - } - - // Check whether the username exists? - function checkUsername(is_auto) - { - if (!verificationFields['username']) - return false; - - // Get the username and do nothing without one! - var curUsername = verificationFields['username'][1].value; - if (!curUsername) - return false; - - if (!is_auto) - ajax_indicator(true); - - // Request a search on that username. - checkName = curUsername.php_to8bit().php_urlencode(); - getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + 'action=register;sa=usernamecheck;xml;username=' + checkName, checkUsernameCallback); - - return true; - } - - // Callback for getting the username data. - function checkUsernameCallback(XMLDoc) - { - if (XMLDoc.getElementsByTagName("username")) - isValid = XMLDoc.getElementsByTagName("username")[0].getAttribute("valid"); - else - isValid = true; - - // What to alt? - var alt = textStrings[isValid == 1 ? 'username_valid' : 'username_invalid'] ? textStrings[isValid == 1 ? 'username_valid' : 'username_invalid'] : ''; - - verificationFields['username'][1].className = verificationFields['username'][5] + ' ' + (isValid == 1 ? 'valid_input' : 'invalid_input'); - setVerificationImage(verificationFields['username'][2], isValid == 1, alt); - - ajax_indicator(false); - } - - // Set the image to be the correct type. - function setVerificationImage(imageHandle, imageIcon, alt) - { - if (!imageHandle) - return false; - if (!alt) - alt = '*'; - - var curImage = imageIcon ? (imageIcon == 'check' ? 'field_check.gif' : 'field_valid.gif') : 'field_invalid.gif'; - imageHandle.src = smf_images_url + '/icons/' + curImage; - imageHandle.alt = alt; - imageHandle.title = alt; - - return true; - } -} \ No newline at end of file diff --git a/config/themes/default/scripts/script.js b/config/themes/default/scripts/script.js deleted file mode 100755 index 4c4349f..0000000 --- a/config/themes/default/scripts/script.js +++ /dev/null @@ -1,1412 +0,0 @@ -var smf_formSubmitted = false; -var lastKeepAliveCheck = new Date().getTime(); -var smf_editorArray = new Array(); - -// Some very basic browser detection - from Mozilla's sniffer page. -var ua = navigator.userAgent.toLowerCase(); - -var is_opera = ua.indexOf('opera') != -1; -var is_opera5 = ua.indexOf('opera/5') != -1 || ua.indexOf('opera 5') != -1; -var is_opera6 = ua.indexOf('opera/6') != -1 || ua.indexOf('opera 6') != -1; -var is_opera7 = ua.indexOf('opera/7') != -1 || ua.indexOf('opera 7') != -1; -var is_opera8 = ua.indexOf('opera/8') != -1 || ua.indexOf('opera 8') != -1; -var is_opera9 = ua.indexOf('opera/9') != -1 || ua.indexOf('opera 9') != -1; -var is_opera95 = ua.indexOf('opera/9.5') != -1 || ua.indexOf('opera 9.5') != -1; -var is_opera96 = ua.indexOf('opera/9.6') != -1 || ua.indexOf('opera 9.6') != -1; -var is_opera10 = (ua.indexOf('opera/9.8') != -1 || ua.indexOf('opera 9.8') != -1 || ua.indexOf('opera/10.') != -1 || ua.indexOf('opera 10.') != -1) || ua.indexOf('version/10.') != -1; -var is_opera95up = is_opera95 || is_opera96 || is_opera10; - -var is_ff = (ua.indexOf('firefox') != -1 || ua.indexOf('iceweasel') != -1 || ua.indexOf('icecat') != -1 || ua.indexOf('shiretoko') != -1 || ua.indexOf('minefield') != -1 || ua.indexOf('PaleMoon') != -1) && !is_opera; -var is_gecko = ua.indexOf('gecko') != -1 && !is_opera; - -var is_chrome = ua.indexOf('chrome') != -1; -var is_safari = ua.indexOf('applewebkit') != -1 && !is_chrome; -var is_webkit = ua.indexOf('applewebkit') != -1; - -var is_ie = ua.indexOf('msie') != -1 && !is_opera; -var is_ie4 = is_ie && ua.indexOf('msie 4') != -1; -var is_ie5 = is_ie && ua.indexOf('msie 5') != -1; -var is_ie50 = is_ie && ua.indexOf('msie 5.0') != -1; -var is_ie55 = is_ie && ua.indexOf('msie 5.5') != -1; -var is_ie5up = is_ie && !is_ie4; -var is_ie6 = is_ie && ua.indexOf('msie 6') != -1; -var is_ie6up = is_ie5up && !is_ie55 && !is_ie5; -var is_ie6down = is_ie6 || is_ie5 || is_ie4; -var is_ie7 = is_ie && ua.indexOf('msie 7') != -1; -var is_ie7up = is_ie6up && !is_ie6; -var is_ie7down = is_ie7 || is_ie6 || is_ie5 || is_ie4; - -var is_ie8 = is_ie && ua.indexOf('msie 8') != -1; -var is_ie8up = is_ie8 && !is_ie7down; - -var is_iphone = ua.indexOf('iphone') != -1 || ua.indexOf('ipod') != -1; -var is_android = ua.indexOf('android') != -1; - -var ajax_indicator_ele = null; - -// Define document.getElementById for Internet Explorer 4. -if (!('getElementById' in document) && 'all' in document) - document.getElementById = function (sId) { - return document.all[sId]; - } - -// Define XMLHttpRequest for IE 5 and above. (don't bother for IE 4 :/.... works in Opera 7.6 and Safari 1.2!) -else if (!('XMLHttpRequest' in window) && 'ActiveXObject' in window) - window.XMLHttpRequest = function () { - return new ActiveXObject(is_ie5 ? 'Microsoft.XMLHTTP' : 'MSXML2.XMLHTTP'); - }; - -// Ensure the getElementsByTagName exists. -if (!'getElementsByTagName' in document && 'all' in document) - document.getElementsByTagName = function (sName) { - return document.all.tags[sName]; - } - -// Some older versions of Mozilla don't have this, for some reason. -if (!('forms' in document)) - document.forms = document.getElementsByTagName('form'); - -// Load an XML document using XMLHttpRequest. -function getXMLDocument(sUrl, funcCallback) -{ - if (!window.XMLHttpRequest) - return null; - - var oMyDoc = new XMLHttpRequest(); - var bAsync = typeof(funcCallback) != 'undefined'; - var oCaller = this; - if (bAsync) - { - oMyDoc.onreadystatechange = function () { - if (oMyDoc.readyState != 4) - return; - - if (oMyDoc.responseXML != null && oMyDoc.status == 200) - { - if (funcCallback.call) - { - funcCallback.call(oCaller, oMyDoc.responseXML); - } - // A primitive substitute for the call method to support IE 5.0. - else - { - oCaller.tmpMethod = funcCallback; - oCaller.tmpMethod(oMyDoc.responseXML); - delete oCaller.tmpMethod; - } - } - }; - } - oMyDoc.open('GET', sUrl, bAsync); - oMyDoc.send(null); - - return oMyDoc; -} - -// Send a post form to the server using XMLHttpRequest. -function sendXMLDocument(sUrl, sContent, funcCallback) -{ - if (!window.XMLHttpRequest) - return false; - - var oSendDoc = new window.XMLHttpRequest(); - var oCaller = this; - if (typeof(funcCallback) != 'undefined') - { - oSendDoc.onreadystatechange = function () { - if (oSendDoc.readyState != 4) - return; - - if (oSendDoc.responseXML != null && oSendDoc.status == 200) - funcCallback.call(oCaller, oSendDoc.responseXML); - else - funcCallback.call(oCaller, false); - }; - } - oSendDoc.open('POST', sUrl, true); - if ('setRequestHeader' in oSendDoc) - oSendDoc.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); - oSendDoc.send(sContent); - - return true; -} - -// A property we'll be needing for php_to8bit. -String.prototype.oCharsetConversion = { - from: '', - to: '' -}; - -// Convert a string to an 8 bit representation (like in PHP). -String.prototype.php_to8bit = function () -{ - if (smf_charset == 'UTF-8') - { - var n, sReturn = ''; - - for (var i = 0, iTextLen = this.length; i < iTextLen; i++) - { - n = this.charCodeAt(i); - if (n < 128) - sReturn += String.fromCharCode(n) - else if (n < 2048) - sReturn += String.fromCharCode(192 | n >> 6) + String.fromCharCode(128 | n & 63); - else if (n < 65536) - sReturn += String.fromCharCode(224 | n >> 12) + String.fromCharCode(128 | n >> 6 & 63) + String.fromCharCode(128 | n & 63); - else - sReturn += String.fromCharCode(240 | n >> 18) + String.fromCharCode(128 | n >> 12 & 63) + String.fromCharCode(128 | n >> 6 & 63) + String.fromCharCode(128 | n & 63); - } - - return sReturn; - } - - else if (this.oCharsetConversion.from.length == 0) - { - switch (smf_charset) - { - case 'ISO-8859-1': - this.oCharsetConversion = { - from: '\xa0-\xff', - to: '\xa0-\xff' - }; - break; - - case 'ISO-8859-2': - this.oCharsetConversion = { - from: '\xa0\u0104\u02d8\u0141\xa4\u013d\u015a\xa7\xa8\u0160\u015e\u0164\u0179\xad\u017d\u017b\xb0\u0105\u02db\u0142\xb4\u013e\u015b\u02c7\xb8\u0161\u015f\u0165\u017a\u02dd\u017e\u017c\u0154\xc1\xc2\u0102\xc4\u0139\u0106\xc7\u010c\xc9\u0118\xcb\u011a\xcd\xce\u010e\u0110\u0143\u0147\xd3\xd4\u0150\xd6\xd7\u0158\u016e\xda\u0170\xdc\xdd\u0162\xdf\u0155\xe1\xe2\u0103\xe4\u013a\u0107\xe7\u010d\xe9\u0119\xeb\u011b\xed\xee\u010f\u0111\u0144\u0148\xf3\xf4\u0151\xf6\xf7\u0159\u016f\xfa\u0171\xfc\xfd\u0163\u02d9', - to: '\xa0-\xff' - }; - break; - - case 'ISO-8859-5': - this.oCharsetConversion = { - from: '\xa0\u0401-\u040c\xad\u040e-\u044f\u2116\u0451-\u045c\xa7\u045e\u045f', - to: '\xa0-\xff' - }; - break; - - case 'ISO-8859-9': - this.oCharsetConversion = { - from: '\xa0-\xcf\u011e\xd1-\xdc\u0130\u015e\xdf-\xef\u011f\xf1-\xfc\u0131\u015f\xff', - to: '\xa0-\xff' - }; - break; - - case 'ISO-8859-15': - this.oCharsetConversion = { - from: '\xa0-\xa3\u20ac\xa5\u0160\xa7\u0161\xa9-\xb3\u017d\xb5-\xb7\u017e\xb9-\xbb\u0152\u0153\u0178\xbf-\xff', - to: '\xa0-\xff' - }; - break; - - case 'tis-620': - this.oCharsetConversion = { - from: '\u20ac\u2026\u2018\u2019\u201c\u201d\u2022\u2013\u2014\xa0\u0e01-\u0e3a\u0e3f-\u0e5b', - to: '\x80\x85\x91-\x97\xa0-\xda\xdf-\xfb' - }; - break; - - case 'windows-1251': - this.oCharsetConversion = { - from: '\u0402\u0403\u201a\u0453\u201e\u2026\u2020\u2021\u20ac\u2030\u0409\u2039\u040a\u040c\u040b\u040f\u0452\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u2122\u0459\u203a\u045a\u045c\u045b\u045f\xa0\u040e\u045e\u0408\xa4\u0490\xa6\xa7\u0401\xa9\u0404\xab-\xae\u0407\xb0\xb1\u0406\u0456\u0491\xb5-\xb7\u0451\u2116\u0454\xbb\u0458\u0405\u0455\u0457\u0410-\u044f', - to: '\x80-\x97\x99-\xff' - }; - break; - - case 'windows-1253': - this.oCharsetConversion = { - from: '\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u2030\u2039\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u2122\u203a\xa0\u0385\u0386\xa3-\xa9\xab-\xae\u2015\xb0-\xb3\u0384\xb5-\xb7\u0388-\u038a\xbb\u038c\xbd\u038e-\u03a1\u03a3-\u03ce', - to: '\x80\x82-\x87\x89\x8b\x91-\x97\x99\x9b\xa0-\xa9\xab-\xd1\xd3-\xfe' - }; - break; - - case 'windows-1255': - this.oCharsetConversion = { - from: '\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u2039\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u203a\xa0-\xa3\u20aa\xa5-\xa9\xd7\xab-\xb9\xf7\xbb-\xbf\u05b0-\u05b9\u05bb-\u05c3\u05f0-\u05f4\u05d0-\u05ea\u200e\u200f', - to: '\x80\x82-\x89\x8b\x91-\x99\x9b\xa0-\xc9\xcb-\xd8\xe0-\xfa\xfd\xfe' - }; - break; - - case 'windows-1256': - this.oCharsetConversion = { - from: '\u20ac\u067e\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06af\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u06a9\u2122\u0691\u203a\u0153\u200c\u200d\u06ba\xa0\u060c\xa2-\xa9\u06be\xab-\xb9\u061b\xbb-\xbe\u061f\u06c1\u0621-\u0636\xd7\u0637-\u063a\u0640-\u0643\xe0\u0644\xe2\u0645-\u0648\xe7-\xeb\u0649\u064a\xee\xef\u064b-\u064e\xf4\u064f\u0650\xf7\u0651\xf9\u0652\xfb\xfc\u200e\u200f\u06d2', - to: '\x80-\xff' - }; - break; - - default: - this.oCharsetConversion = { - from: '', - to: '' - }; - break; - } - var funcExpandString = function (sSearch) { - var sInsert = ''; - for (var i = sSearch.charCodeAt(0), n = sSearch.charCodeAt(2); i <= n; i++) - sInsert += String.fromCharCode(i); - return sInsert; - }; - this.oCharsetConversion.from = this.oCharsetConversion.from.replace(/.\-./g, funcExpandString); - this.oCharsetConversion.to = this.oCharsetConversion.to.replace(/.\-./g, funcExpandString); - } - - var sReturn = '', iOffsetFrom = 0; - for (var i = 0, n = this.length; i < n; i++) - { - iOffsetFrom = this.oCharsetConversion.from.indexOf(this.charAt(i)); - sReturn += iOffsetFrom > -1 ? this.oCharsetConversion.to.charAt(iOffsetFrom) : (this.charCodeAt(i) > 127 ? '&#' + this.charCodeAt(i) + ';' : this.charAt(i)); - } - - return sReturn -} - -// Character-level replacement function. -String.prototype.php_strtr = function (sFrom, sTo) -{ - return this.replace(new RegExp('[' + sFrom + ']', 'g'), function (sMatch) { - return sTo.charAt(sFrom.indexOf(sMatch)); - }); -} - -// Simulate PHP's strtolower (in SOME cases PHP uses ISO-8859-1 case folding). -String.prototype.php_strtolower = function () -{ - return typeof(smf_iso_case_folding) == 'boolean' && smf_iso_case_folding == true ? this.php_strtr( - 'ABCDEFGHIJKLMNOPQRSTUVWXYZ\x8a\x8c\x8e\x9f\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde', - 'abcdefghijklmnopqrstuvwxyz\x9a\x9c\x9e\xff\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe' - ) : this.php_strtr('ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'); -} - -String.prototype.php_urlencode = function() -{ - return escape(this).replace(/\+/g, '%2b').replace('*', '%2a').replace('/', '%2f').replace('@', '%40'); -} - -String.prototype.php_htmlspecialchars = function() -{ - return this.replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"'); -} - -String.prototype.php_unhtmlspecialchars = function() -{ - return this.replace(/"/g, '"').replace(/>/g, '>').replace(/</g, '<').replace(/&/g, '&'); -} - -String.prototype.php_addslashes = function() -{ - return this.replace(/\\/g, '\\\\').replace(/'/g, '\\\''); -} - -String.prototype._replaceEntities = function(sInput, sDummy, sNum) -{ - return String.fromCharCode(parseInt(sNum)); -} - -String.prototype.removeEntities = function() -{ - return this.replace(/&(amp;)?#(\d+);/g, this._replaceEntities); -} - -String.prototype.easyReplace = function (oReplacements) -{ - var sResult = this; - for (var sSearch in oReplacements) - sResult = sResult.replace(new RegExp('%' + sSearch + '%', 'g'), oReplacements[sSearch]); - - return sResult; -} - - -// Open a new window. -function reqWin(desktopURL, alternateWidth, alternateHeight, noScrollbars) -{ - if ((alternateWidth && self.screen.availWidth * 0.8 < alternateWidth) || (alternateHeight && self.screen.availHeight * 0.8 < alternateHeight)) - { - noScrollbars = false; - alternateWidth = Math.min(alternateWidth, self.screen.availWidth * 0.8); - alternateHeight = Math.min(alternateHeight, self.screen.availHeight * 0.8); - } - else - noScrollbars = typeof(noScrollbars) == 'boolean' && noScrollbars == true; - - window.open(desktopURL, 'requested_popup', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=' + (noScrollbars ? 'no' : 'yes') + ',width=' + (alternateWidth ? alternateWidth : 480) + ',height=' + (alternateHeight ? alternateHeight : 220) + ',resizable=no'); - - // Return false so the click won't follow the link ;). - return false; -} - -// Remember the current position. -function storeCaret(oTextHandle) -{ - // Only bother if it will be useful. - if ('createTextRange' in oTextHandle) - oTextHandle.caretPos = document.selection.createRange().duplicate(); -} - -// Replaces the currently selected text with the passed text. -function replaceText(text, oTextHandle) -{ - // Attempt to create a text range (IE). - if ('caretPos' in oTextHandle && 'createTextRange' in oTextHandle) - { - var caretPos = oTextHandle.caretPos; - - caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; - caretPos.select(); - } - // Mozilla text range replace. - else if ('selectionStart' in oTextHandle) - { - var begin = oTextHandle.value.substr(0, oTextHandle.selectionStart); - var end = oTextHandle.value.substr(oTextHandle.selectionEnd); - var scrollPos = oTextHandle.scrollTop; - - oTextHandle.value = begin + text + end; - - if (oTextHandle.setSelectionRange) - { - oTextHandle.focus(); - var goForward = is_opera ? text.match(/\n/g).length : 0; - oTextHandle.setSelectionRange(begin.length + text.length + goForward, begin.length + text.length + goForward); - } - oTextHandle.scrollTop = scrollPos; - } - // Just put it on the end. - else - { - oTextHandle.value += text; - oTextHandle.focus(oTextHandle.value.length - 1); - } -} - -// Surrounds the selected text with text1 and text2. -function surroundText(text1, text2, oTextHandle) -{ - // Can a text range be created? - if ('caretPos' in oTextHandle && 'createTextRange' in oTextHandle) - { - var caretPos = oTextHandle.caretPos, temp_length = caretPos.text.length; - - caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text1 + caretPos.text + text2 + ' ' : text1 + caretPos.text + text2; - - if (temp_length == 0) - { - caretPos.moveStart('character', -text2.length); - caretPos.moveEnd('character', -text2.length); - caretPos.select(); - } - else - oTextHandle.focus(caretPos); - } - // Mozilla text range wrap. - else if ('selectionStart' in oTextHandle) - { - var begin = oTextHandle.value.substr(0, oTextHandle.selectionStart); - var selection = oTextHandle.value.substr(oTextHandle.selectionStart, oTextHandle.selectionEnd - oTextHandle.selectionStart); - var end = oTextHandle.value.substr(oTextHandle.selectionEnd); - var newCursorPos = oTextHandle.selectionStart; - var scrollPos = oTextHandle.scrollTop; - - oTextHandle.value = begin + text1 + selection + text2 + end; - - if (oTextHandle.setSelectionRange) - { - var goForward = is_opera ? text1.match(/\n/g).length : 0, goForwardAll = is_opera ? (text1 + text2).match(/\n/g).length : 0; - if (selection.length == 0) - oTextHandle.setSelectionRange(newCursorPos + text1.length + goForward, newCursorPos + text1.length + goForward); - else - oTextHandle.setSelectionRange(newCursorPos, newCursorPos + text1.length + selection.length + text2.length + goForwardAll); - oTextHandle.focus(); - } - oTextHandle.scrollTop = scrollPos; - } - // Just put them on the end, then. - else - { - oTextHandle.value += text1 + text2; - oTextHandle.focus(oTextHandle.value.length - 1); - } -} - -// Checks if the passed input's value is nothing. -function isEmptyText(theField) -{ - // Copy the value so changes can be made.. - var theValue = theField.value; - - // Strip whitespace off the left side. - while (theValue.length > 0 && (theValue.charAt(0) == ' ' || theValue.charAt(0) == '\t')) - theValue = theValue.substring(1, theValue.length); - // Strip whitespace off the right side. - while (theValue.length > 0 && (theValue.charAt(theValue.length - 1) == ' ' || theValue.charAt(theValue.length - 1) == '\t')) - theValue = theValue.substring(0, theValue.length - 1); - - if (theValue == '') - return true; - else - return false; -} - -// Only allow form submission ONCE. -function submitonce(theform) -{ - smf_formSubmitted = true; - - // If there are any editors warn them submit is coming! - for (var i = 0; i < smf_editorArray.length; i++) - smf_editorArray[i].doSubmit(); -} -function submitThisOnce(oControl) -{ - // Hateful, hateful fix for Safari 1.3 beta. - if (is_safari) - return !smf_formSubmitted; - - // oControl might also be a form. - var oForm = 'form' in oControl ? oControl.form : oControl; - - var aTextareas = oForm.getElementsByTagName('textarea'); - for (var i = 0, n = aTextareas.length; i < n; i++) - aTextareas[i].readOnly = true; - - return !smf_formSubmitted; -} - -// Deprecated, as innerHTML is supported everywhere. -function setInnerHTML(oElement, sToValue) -{ - oElement.innerHTML = sToValue; -} - -function getInnerHTML(oElement) -{ - return oElement.innerHTML; -} - -// Set the "outer" HTML of an element. -function setOuterHTML(oElement, sToValue) -{ - if ('outerHTML' in oElement) - oElement.outerHTML = sToValue; - else - { - var range = document.createRange(); - range.setStartBefore(oElement); - oElement.parentNode.replaceChild(range.createContextualFragment(sToValue), oElement); - } -} - -// Checks for variable in theArray. -function in_array(variable, theArray) -{ - for (var i in theArray) - if (theArray[i] == variable) - return true; - - return false; -} - -// Checks for variable in theArray. -function array_search(variable, theArray) -{ - for (var i in theArray) - if (theArray[i] == variable) - return i; - - return null; -} - -// Find a specific radio button in its group and select it. -function selectRadioByName(oRadioGroup, sName) -{ - if (!('length' in oRadioGroup)) - return oRadioGroup.checked = true; - - for (var i = 0, n = oRadioGroup.length; i < n; i++) - if (oRadioGroup[i].value == sName) - return oRadioGroup[i].checked = true; - - return false; -} - -// Invert all checkboxes at once by clicking a single checkbox. -function invertAll(oInvertCheckbox, oForm, sMask, bIgnoreDisabled) -{ - for (var i = 0; i < oForm.length; i++) - { - if (!('name' in oForm[i]) || (typeof(sMask) == 'string' && oForm[i].name.substr(0, sMask.length) != sMask && oForm[i].id.substr(0, sMask.length) != sMask)) - continue; - - if (!oForm[i].disabled || (typeof(bIgnoreDisabled) == 'boolean' && bIgnoreDisabled)) - oForm[i].checked = oInvertCheckbox.checked; - } -} - -// Keep the session alive - always! -var lastKeepAliveCheck = new Date().getTime(); -function smf_sessionKeepAlive() -{ - var curTime = new Date().getTime(); - - // Prevent a Firefox bug from hammering the server. - if (smf_scripturl && curTime - lastKeepAliveCheck > 900000) - { - var tempImage = new Image(); - tempImage.src = smf_prepareScriptUrl(smf_scripturl) + 'action=keepalive;time=' + curTime; - lastKeepAliveCheck = curTime; - } - - window.setTimeout('smf_sessionKeepAlive();', 1200000); -} -window.setTimeout('smf_sessionKeepAlive();', 1200000); - -// Set a theme option through javascript. -function smf_setThemeOption(option, value, theme, cur_session_id, cur_session_var, additional_vars) -{ - // Compatibility. - if (cur_session_id == null) - cur_session_id = smf_session_id; - if (typeof(cur_session_var) == 'undefined') - cur_session_var = 'sesc'; - - if (additional_vars == null) - additional_vars = ''; - - var tempImage = new Image(); - tempImage.src = smf_prepareScriptUrl(smf_scripturl) + 'action=jsoption;var=' + option + ';val=' + value + ';' + cur_session_var + '=' + cur_session_id + additional_vars + (theme == null ? '' : '&th=' + theme) + ';time=' + (new Date().getTime()); -} - -function smf_avatarResize() -{ - var possibleAvatars = document.getElementsByTagName('img'); - - for (var i = 0; i < possibleAvatars.length; i++) - { - var tempAvatars = []; j = 0; - if (possibleAvatars[i].className != 'avatar') - continue; - - // Image.prototype.avatar = possibleAvatars[i]; - tempAvatars[j] = new Image(); - tempAvatars[j].avatar = possibleAvatars[i]; - - tempAvatars[j].onload = function() - { - this.avatar.width = this.width; - this.avatar.height = this.height; - if (smf_avatarMaxWidth != 0 && this.width > smf_avatarMaxWidth) - { - this.avatar.height = (smf_avatarMaxWidth * this.height) / this.width; - this.avatar.width = smf_avatarMaxWidth; - } - if (smf_avatarMaxHeight != 0 && this.avatar.height > smf_avatarMaxHeight) - { - this.avatar.width = (smf_avatarMaxHeight * this.avatar.width) / this.avatar.height; - this.avatar.height = smf_avatarMaxHeight; - } - } - tempAvatars[j].src = possibleAvatars[i].src; - j++; - } - - if (typeof(window_oldAvatarOnload) != 'undefined' && window_oldAvatarOnload) - { - window_oldAvatarOnload(); - window_oldAvatarOnload = null; - } -} - - -function hashLoginPassword(doForm, cur_session_id) -{ - // Compatibility. - if (cur_session_id == null) - cur_session_id = smf_session_id; - - if (typeof(hex_sha1) == 'undefined') - return; - // Are they using an email address? - if (doForm.user.value.indexOf('@') != -1) - return; - - // Unless the browser is Opera, the password will not save properly. - if (!('opera' in window)) - doForm.passwrd.autocomplete = 'off'; - - doForm.hash_passwrd.value = hex_sha1(hex_sha1(doForm.user.value.php_to8bit().php_strtolower() + doForm.passwrd.value.php_to8bit()) + cur_session_id); - - // It looks nicer to fill it with asterisks, but Firefox will try to save that. - if (is_ff != -1) - doForm.passwrd.value = ''; - else - doForm.passwrd.value = doForm.passwrd.value.replace(/./g, '*'); -} - -function hashAdminPassword(doForm, username, cur_session_id) -{ - // Compatibility. - if (cur_session_id == null) - cur_session_id = smf_session_id; - - if (typeof(hex_sha1) == 'undefined') - return; - - doForm.admin_hash_pass.value = hex_sha1(hex_sha1(username.php_to8bit().php_strtolower() + doForm.admin_pass.value.php_to8bit()) + cur_session_id); - doForm.admin_pass.value = doForm.admin_pass.value.replace(/./g, '*'); -} - -// Shows the page numbers by clicking the dots (in compact view). -function expandPages(spanNode, baseURL, firstPage, lastPage, perPage) -{ - var replacement = '', i, oldLastPage = 0; - var perPageLimit = 50; - - // The dots were bold, the page numbers are not (in most cases). - spanNode.style.fontWeight = 'normal'; - spanNode.onclick = ''; - - // Prevent too many pages to be loaded at once. - if ((lastPage - firstPage) / perPage > perPageLimit) - { - oldLastPage = lastPage; - lastPage = firstPage + perPageLimit * perPage; - } - - // Calculate the new pages. - for (i = firstPage; i < lastPage; i += perPage) - replacement += '' + (1 + i / perPage) + ' '; - - if (oldLastPage > 0) - replacement += ' ... '; - - // Replace the dots by the new page links. - setInnerHTML(spanNode, replacement); -} - -function smc_preCacheImage(sSrc) -{ - if (!('smc_aCachedImages' in window)) - window.smc_aCachedImages = []; - - if (!in_array(sSrc, window.smc_aCachedImages)) - { - var oImage = new Image(); - oImage.src = sSrc; - } -} - - -// *** smc_Cookie class. -function smc_Cookie(oOptions) -{ - this.opt = oOptions; - this.oCookies = {}; - this.init(); -} - -smc_Cookie.prototype.init = function() -{ - if ('cookie' in document && document.cookie != '') - { - var aCookieList = document.cookie.split(';'); - for (var i = 0, n = aCookieList.length; i < n; i++) - { - var aNameValuePair = aCookieList[i].split('='); - this.oCookies[aNameValuePair[0].replace(/^\s+|\s+$/g, '')] = decodeURIComponent(aNameValuePair[1]); - } - } -} - -smc_Cookie.prototype.get = function(sKey) -{ - return sKey in this.oCookies ? this.oCookies[sKey] : null; -} - -smc_Cookie.prototype.set = function(sKey, sValue) -{ - document.cookie = sKey + '=' + encodeURIComponent(sValue); -} - - -// *** smc_Toggle class. -function smc_Toggle(oOptions) -{ - this.opt = oOptions; - this.bCollapsed = false; - this.oCookie = null; - this.init(); -} - -smc_Toggle.prototype.init = function () -{ - // The master switch can disable this toggle fully. - if ('bToggleEnabled' in this.opt && !this.opt.bToggleEnabled) - return; - - // If cookies are enabled and they were set, override the initial state. - if ('oCookieOptions' in this.opt && this.opt.oCookieOptions.bUseCookie) - { - // Initialize the cookie handler. - this.oCookie = new smc_Cookie({}); - - // Check if the cookie is set. - var cookieValue = this.oCookie.get(this.opt.oCookieOptions.sCookieName) - if (cookieValue != null) - this.opt.bCurrentlyCollapsed = cookieValue == '1'; - } - - // If the init state is set to be collapsed, collapse it. - if (this.opt.bCurrentlyCollapsed) - this.changeState(true, true); - - // Initialize the images to be clickable. - if ('aSwapImages' in this.opt) - { - for (var i = 0, n = this.opt.aSwapImages.length; i < n; i++) - { - var oImage = document.getElementById(this.opt.aSwapImages[i].sId); - if (typeof(oImage) == 'object' && oImage != null) - { - // Display the image in case it was hidden. - if (oImage.style.display == 'none') - oImage.style.display = ''; - - oImage.instanceRef = this; - oImage.onclick = function () { - this.instanceRef.toggle(); - this.blur(); - } - oImage.style.cursor = 'pointer'; - - // Preload the collapsed image. - smc_preCacheImage(this.opt.aSwapImages[i].srcCollapsed); - } - } - } - - // Initialize links. - if ('aSwapLinks' in this.opt) - { - for (var i = 0, n = this.opt.aSwapLinks.length; i < n; i++) - { - var oLink = document.getElementById(this.opt.aSwapLinks[i].sId); - if (typeof(oLink) == 'object' && oLink != null) - { - // Display the link in case it was hidden. - if (oLink.style.display == 'none') - oLink.style.display = ''; - - oLink.instanceRef = this; - oLink.onclick = function () { - this.instanceRef.toggle(); - this.blur(); - return false; - } - } - } - } -} - -// Collapse or expand the section. -smc_Toggle.prototype.changeState = function(bCollapse, bInit) -{ - // Default bInit to false. - bInit = typeof(bInit) == 'undefined' ? false : true; - - // Handle custom function hook before collapse. - if (!bInit && bCollapse && 'funcOnBeforeCollapse' in this.opt) - { - this.tmpMethod = this.opt.funcOnBeforeCollapse; - this.tmpMethod(); - delete this.tmpMethod; - } - - // Handle custom function hook before expand. - else if (!bInit && !bCollapse && 'funcOnBeforeExpand' in this.opt) - { - this.tmpMethod = this.opt.funcOnBeforeExpand; - this.tmpMethod(); - delete this.tmpMethod; - } - - // Loop through all the images that need to be toggled. - if ('aSwapImages' in this.opt) - { - for (var i = 0, n = this.opt.aSwapImages.length; i < n; i++) - { - var oImage = document.getElementById(this.opt.aSwapImages[i].sId); - if (typeof(oImage) == 'object' && oImage != null) - { - // Only (re)load the image if it's changed. - var sTargetSource = bCollapse ? this.opt.aSwapImages[i].srcCollapsed : this.opt.aSwapImages[i].srcExpanded; - if (oImage.src != sTargetSource) - oImage.src = sTargetSource; - - oImage.alt = oImage.title = bCollapse ? this.opt.aSwapImages[i].altCollapsed : this.opt.aSwapImages[i].altExpanded; - } - } - } - - // Loop through all the links that need to be toggled. - if ('aSwapLinks' in this.opt) - { - for (var i = 0, n = this.opt.aSwapLinks.length; i < n; i++) - { - var oLink = document.getElementById(this.opt.aSwapLinks[i].sId); - if (typeof(oLink) == 'object' && oLink != null) - setInnerHTML(oLink, bCollapse ? this.opt.aSwapLinks[i].msgCollapsed : this.opt.aSwapLinks[i].msgExpanded); - } - } - - // Now go through all the sections to be collapsed. - for (var i = 0, n = this.opt.aSwappableContainers.length; i < n; i++) - { - if (this.opt.aSwappableContainers[i] == null) - continue; - - var oContainer = document.getElementById(this.opt.aSwappableContainers[i]); - if (typeof(oContainer) == 'object' && oContainer != null) - oContainer.style.display = bCollapse ? 'none' : ''; - } - - // Update the new state. - this.bCollapsed = bCollapse; - - // Update the cookie, if desired. - if ('oCookieOptions' in this.opt && this.opt.oCookieOptions.bUseCookie) - this.oCookie.set(this.opt.oCookieOptions.sCookieName, this.bCollapsed ? '1' : '0'); - - if (!bInit && 'oThemeOptions' in this.opt && this.opt.oThemeOptions.bUseThemeSettings) - smf_setThemeOption(this.opt.oThemeOptions.sOptionName, this.bCollapsed ? '1' : '0', 'sThemeId' in this.opt.oThemeOptions ? this.opt.oThemeOptions.sThemeId : null, this.opt.oThemeOptions.sSessionId, this.opt.oThemeOptions.sSessionVar, 'sAdditionalVars' in this.opt.oThemeOptions ? this.opt.oThemeOptions.sAdditionalVars : null); -} - -smc_Toggle.prototype.toggle = function() -{ - // Change the state by reversing the current state. - this.changeState(!this.bCollapsed); -} - - -function ajax_indicator(turn_on) -{ - if (ajax_indicator_ele == null) - { - ajax_indicator_ele = document.getElementById('ajax_in_progress'); - - if (ajax_indicator_ele == null && typeof(ajax_notification_text) != null) - { - create_ajax_indicator_ele(); - } - } - - if (ajax_indicator_ele != null) - { - if (navigator.appName == 'Microsoft Internet Explorer' && !is_ie7up) - { - ajax_indicator_ele.style.position = 'absolute'; - ajax_indicator_ele.style.top = document.documentElement.scrollTop; - } - - ajax_indicator_ele.style.display = turn_on ? 'block' : 'none'; - } -} - -function create_ajax_indicator_ele() -{ - // Create the div for the indicator. - ajax_indicator_ele = document.createElement('div'); - - // Set the id so it'll load the style properly. - ajax_indicator_ele.id = 'ajax_in_progress'; - - // Add the image in and link to turn it off. - var cancel_link = document.createElement('a'); - cancel_link.href = 'javascript:ajax_indicator(false)'; - var cancel_img = document.createElement('img'); - cancel_img.src = smf_images_url + '/icons/quick_remove.gif'; - - if (typeof(ajax_notification_cancel_text) != 'undefined') - { - cancel_img.alt = ajax_notification_cancel_text; - cancel_img.title = ajax_notification_cancel_text; - } - - // Add the cancel link and image to the indicator. - cancel_link.appendChild(cancel_img); - ajax_indicator_ele.appendChild(cancel_link); - - // Set the text. (Note: You MUST append here and not overwrite.) - ajax_indicator_ele.innerHTML += ajax_notification_text; - - // Finally attach the element to the body. - document.body.appendChild(ajax_indicator_ele); -} - -function createEventListener(oTarget) -{ - if (!('addEventListener' in oTarget)) - { - if (oTarget.attachEvent) - { - oTarget.addEventListener = function (sEvent, funcHandler, bCapture) { - oTarget.attachEvent('on' + sEvent, funcHandler); - } - oTarget.removeEventListener = function (sEvent, funcHandler, bCapture) { - oTarget.detachEvent('on' + sEvent, funcHandler); - } - } - else - { - oTarget.addEventListener = function (sEvent, funcHandler, bCapture) { - oTarget['on' + sEvent] = funcHandler; - } - oTarget.removeEventListener = function (sEvent, funcHandler, bCapture) { - oTarget['on' + sEvent] = null; - } - } - } -} - -// This function will retrieve the contents needed for the jump to boxes. -function grabJumpToContent() -{ - var oXMLDoc = getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + 'action=xmlhttp;sa=jumpto;xml'); - var aBoardsAndCategories = new Array(); - - ajax_indicator(true); - - if (oXMLDoc.responseXML) - { - var items = oXMLDoc.responseXML.getElementsByTagName('smf')[0].getElementsByTagName('item'); - for (var i = 0, n = items.length; i < n; i++) - { - aBoardsAndCategories[aBoardsAndCategories.length] = { - id: parseInt(items[i].getAttribute('id')), - isCategory: items[i].getAttribute('type') == 'category', - name: items[i].firstChild.nodeValue.removeEntities(), - is_current: false, - childLevel: parseInt(items[i].getAttribute('childlevel')) - } - } - } - - ajax_indicator(false); - - for (var i = 0, n = aJumpTo.length; i < n; i++) - aJumpTo[i].fillSelect(aBoardsAndCategories); -} - -// This'll contain all JumpTo objects on the page. -var aJumpTo = new Array(); - -// *** JumpTo class. -function JumpTo(oJumpToOptions) -{ - this.opt = oJumpToOptions; - this.dropdownList = null; - this.showSelect(); -} - -// Show the initial select box (onload). Method of the JumpTo class. -JumpTo.prototype.showSelect = function () -{ - var sChildLevelPrefix = ''; - for (var i = this.opt.iCurBoardChildLevel; i > 0; i--) - sChildLevelPrefix += this.opt.sBoardChildLevelIndicator; - setInnerHTML(document.getElementById(this.opt.sContainerId), this.opt.sJumpToTemplate.replace(/%select_id%/, this.opt.sContainerId + '_select').replace(/%dropdown_list%/, ' ')); - this.dropdownList = document.getElementById(this.opt.sContainerId + '_select'); -} - -// Fill the jump to box with entries. Method of the JumpTo class. -JumpTo.prototype.fillSelect = function (aBoardsAndCategories) -{ - var bIE5x = !('implementation' in document); - var iIndexPointer = 0; - - // Create an option that'll be above and below the category. - var oDashOption = document.createElement('option'); - oDashOption.appendChild(document.createTextNode(this.opt.sCatSeparator)); - oDashOption.disabled = 'disabled'; - oDashOption.value = ''; - - // Reset the events and clear the list (IE5.x only). - if (bIE5x) - { - this.dropdownList.onmouseover = null; - this.dropdownList.remove(0); - } - if ('onbeforeactivate' in document) - this.dropdownList.onbeforeactivate = null; - else - this.dropdownList.onfocus = null; - - // Create a document fragment that'll allowing inserting big parts at once. - var oListFragment = bIE5x ? this.dropdownList : document.createDocumentFragment(); - - // Loop through all items to be added. - for (var i = 0, n = aBoardsAndCategories.length; i < n; i++) - { - var j, sChildLevelPrefix, oOption; - - // If we've reached the currently selected board add all items so far. - if (!aBoardsAndCategories[i].isCategory && aBoardsAndCategories[i].id == this.opt.iCurBoardId) - { - if (bIE5x) - iIndexPointer = this.dropdownList.options.length; - else - { - this.dropdownList.insertBefore(oListFragment, this.dropdownList.options[0]); - oListFragment = document.createDocumentFragment(); - continue; - } - } - - if (aBoardsAndCategories[i].isCategory) - oListFragment.appendChild(oDashOption.cloneNode(true)); - else - for (j = aBoardsAndCategories[i].childLevel, sChildLevelPrefix = ''; j > 0; j--) - sChildLevelPrefix += this.opt.sBoardChildLevelIndicator; - - oOption = document.createElement('option'); - oOption.appendChild(document.createTextNode((aBoardsAndCategories[i].isCategory ? this.opt.sCatPrefix : sChildLevelPrefix + this.opt.sBoardPrefix) + aBoardsAndCategories[i].name)); - oOption.value = aBoardsAndCategories[i].isCategory ? '#c' + aBoardsAndCategories[i].id : '?board=' + aBoardsAndCategories[i].id + '.0'; - oListFragment.appendChild(oOption); - - if (aBoardsAndCategories[i].isCategory) - oListFragment.appendChild(oDashOption.cloneNode(true)); - } - - // Add the remaining items after the currently selected item. - this.dropdownList.appendChild(oListFragment); - - if (bIE5x) - this.dropdownList.options[iIndexPointer].selected = true; - - // Internet Explorer needs this to keep the box dropped down. - this.dropdownList.style.width = 'auto'; - this.dropdownList.focus(); - - // Add an onchange action - this.dropdownList.onchange = function() { - if (this.selectedIndex > 0 && this.options[this.selectedIndex].value) - window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf('?') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != '?' ? 0 : 1); - } -} - -// A global array containing all IconList objects. -var aIconLists = new Array(); - -// *** IconList object. -function IconList(oOptions) -{ - if (!window.XMLHttpRequest) - return; - - this.opt = oOptions; - this.bListLoaded = false; - this.oContainerDiv = null; - this.funcMousedownHandler = null; - this.funcParent = this; - this.iCurMessageId = 0; - this.iCurTimeout = 0; - - // Add backwards compatibility with old themes. - if (!('sSessionVar' in this.opt)) - this.opt.sSessionVar = 'sesc'; - - this.initIcons(); -} - -// Replace all message icons by icons with hoverable and clickable div's. -IconList.prototype.initIcons = function () -{ - for (var i = document.images.length - 1, iPrefixLength = this.opt.sIconIdPrefix.length; i >= 0; i--) - if (document.images[i].id.substr(0, iPrefixLength) == this.opt.sIconIdPrefix) - setOuterHTML(document.images[i], '
    ' + document.images[i].alt + '
    '); -} - -// Event for the mouse hovering over the original icon. -IconList.prototype.onBoxHover = function (oDiv, bMouseOver) -{ - oDiv.style.border = bMouseOver ? this.opt.iBoxBorderWidthHover + 'px solid ' + this.opt.sBoxBorderColorHover : ''; - oDiv.style.background = bMouseOver ? this.opt.sBoxBackgroundHover : this.opt.sBoxBackground; - oDiv.style.padding = bMouseOver ? (3 - this.opt.iBoxBorderWidthHover) + 'px' : '3px' -} - -// Show the list of icons after the user clicked the original icon. -IconList.prototype.openPopup = function (oDiv, iMessageId) -{ - this.iCurMessageId = iMessageId; - - if (!this.bListLoaded && this.oContainerDiv == null) - { - // Create a container div. - this.oContainerDiv = document.createElement('div'); - this.oContainerDiv.id = 'iconList'; - this.oContainerDiv.style.display = 'none'; - this.oContainerDiv.style.cursor = is_ie && !is_ie6up ? 'hand' : 'pointer'; - this.oContainerDiv.style.position = 'absolute'; - this.oContainerDiv.style.width = oDiv.offsetWidth + 'px'; - this.oContainerDiv.style.background = this.opt.sContainerBackground; - this.oContainerDiv.style.border = this.opt.sContainerBorder; - this.oContainerDiv.style.padding = '1px'; - this.oContainerDiv.style.textAlign = 'center'; - document.body.appendChild(this.oContainerDiv); - - // Start to fetch its contents. - ajax_indicator(true); - this.tmpMethod = getXMLDocument; - this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=xmlhttp;sa=messageicons;board=' + this.opt.iBoardId + ';xml', this.onIconsReceived); - delete this.tmpMethod; - - createEventListener(document.body); - } - - // Set the position of the container. - var aPos = smf_itemPos(oDiv); - if (is_ie50) - aPos[1] += 4; - - this.oContainerDiv.style.top = (aPos[1] + oDiv.offsetHeight) + 'px'; - this.oContainerDiv.style.left = (aPos[0] - 1) + 'px'; - this.oClickedIcon = oDiv; - - if (this.bListLoaded) - this.oContainerDiv.style.display = 'block'; - - document.body.addEventListener('mousedown', this.onWindowMouseDown, false); -} - -// Setup the list of icons once it is received through xmlHTTP. -IconList.prototype.onIconsReceived = function (oXMLDoc) -{ - var icons = oXMLDoc.getElementsByTagName('smf')[0].getElementsByTagName('icon'); - var sItems = ''; - - for (var i = 0, n = icons.length; i < n; i++) - sItems += '
    ' + icons[i].getAttribute('name') + '
    '; - - setInnerHTML(this.oContainerDiv, sItems); - this.oContainerDiv.style.display = 'block'; - this.bListLoaded = true; - - if (is_ie) - this.oContainerDiv.style.width = this.oContainerDiv.clientWidth + 'px'; - - ajax_indicator(false); -} - -// Event handler for hovering over the icons. -IconList.prototype.onItemHover = function (oDiv, bMouseOver) -{ - oDiv.style.background = bMouseOver ? this.opt.sItemBackgroundHover : this.opt.sItemBackground; - oDiv.style.border = bMouseOver ? this.opt.sItemBorderHover : this.opt.sItemBorder; - if (this.iCurTimeout != 0) - window.clearTimeout(this.iCurTimeout); - if (bMouseOver) - this.onBoxHover(this.oClickedIcon, true); - else - this.iCurTimeout = window.setTimeout(this.opt.sBackReference + '.collapseList();', 500); -} - -// Event handler for clicking on one of the icons. -IconList.prototype.onItemMouseDown = function (oDiv, sNewIcon) -{ - if (this.iCurMessageId != 0) - { - ajax_indicator(true); - this.tmpMethod = getXMLDocument; - var oXMLDoc = this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=jsmodify;topic=' + this.opt.iTopicId + ';msg=' + this.iCurMessageId + ';' + this.opt.sSessionVar + '=' + this.opt.sSessionId + ';icon=' + sNewIcon + ';xml'); - delete this.tmpMethod; - ajax_indicator(false); - - var oMessage = oXMLDoc.responseXML.getElementsByTagName('smf')[0].getElementsByTagName('message')[0]; - if (oMessage.getElementsByTagName('error').length == 0) - { - if (this.opt.bShowModify && oMessage.getElementsByTagName('modified').length != 0) - setInnerHTML(document.getElementById('modified_' + this.iCurMessageId), oMessage.getElementsByTagName('modified')[0].childNodes[0].nodeValue); - this.oClickedIcon.getElementsByTagName('img')[0].src = oDiv.getElementsByTagName('img')[0].src; - } - } -} - -// Event handler for clicking outside the list (will make the list disappear). -IconList.prototype.onWindowMouseDown = function () -{ - for (var i = aIconLists.length - 1; i >= 0; i--) - { - aIconLists[i].funcParent.tmpMethod = aIconLists[i].collapseList; - aIconLists[i].funcParent.tmpMethod(); - delete aIconLists[i].funcParent.tmpMethod; - } -} - -// Collapse the list of icons. -IconList.prototype.collapseList = function() -{ - this.onBoxHover(this.oClickedIcon, false); - this.oContainerDiv.style.display = 'none'; - this.iCurMessageId = 0; - document.body.removeEventListener('mousedown', this.onWindowMouseDown, false); -} - -// Handy shortcuts for getting the mouse position on the screen - only used for IE at the moment. -function smf_mousePose(oEvent) -{ - var x = 0; - var y = 0; - - if (oEvent.pageX) - { - y = oEvent.pageY; - x = oEvent.pageX; - } - else if (oEvent.clientX) - { - x = oEvent.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); - y = oEvent.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); - } - - return [x, y]; -} - -// Short function for finding the actual position of an item. -function smf_itemPos(itemHandle) -{ - var itemX = 0; - var itemY = 0; - - if ('offsetParent' in itemHandle) - { - itemX = itemHandle.offsetLeft; - itemY = itemHandle.offsetTop; - while (itemHandle.offsetParent && typeof(itemHandle.offsetParent) == 'object') - { - itemHandle = itemHandle.offsetParent; - itemX += itemHandle.offsetLeft; - itemY += itemHandle.offsetTop; - } - } - else if ('x' in itemHandle) - { - itemX = itemHandle.x; - itemY = itemHandle.y; - } - - return [itemX, itemY]; -} - -// This function takes the script URL and prepares it to allow the query string to be appended to it. -function smf_prepareScriptUrl(sUrl) -{ - return sUrl.indexOf('?') == -1 ? sUrl + '?' : sUrl + (sUrl.charAt(sUrl.length - 1) == '?' || sUrl.charAt(sUrl.length - 1) == '&' || sUrl.charAt(sUrl.length - 1) == ';' ? '' : ';'); -} - -var aOnloadEvents = new Array(); -function addLoadEvent(fNewOnload) -{ - // If there's no event set, just set this one - if (typeof(fNewOnload) == 'function' && (!('onload' in window) || typeof(window.onload) != 'function')) - window.onload = fNewOnload; - - // If there's just one event, setup the array. - else if (aOnloadEvents.length == 0) - { - aOnloadEvents[0] = window.onload; - aOnloadEvents[1] = fNewOnload; - window.onload = function() { - for (var i = 0, n = aOnloadEvents.length; i < n; i++) - { - if (typeof(aOnloadEvents[i]) == 'function') - aOnloadEvents[i](); - else if (typeof(aOnloadEvents[i]) == 'string') - eval(aOnloadEvents[i]); - } - } - } - - // This isn't the first event function, add it to the list. - else - aOnloadEvents[aOnloadEvents.length] = fNewOnload; -} - -function smfFooterHighlight(element, value) -{ - element.src = smf_images_url + '/' + (value ? 'h_' : '') + element.id + '.gif'; -} - -// Get the text in a code tag. -function smfSelectText(oCurElement, bActOnElement) -{ - // The place we're looking for is one div up, and next door - if it's auto detect. - if (typeof(bActOnElement) == 'boolean' && bActOnElement) - var oCodeArea = document.getElementById(oCurElement); - else - var oCodeArea = oCurElement.parentNode.nextSibling; - - if (typeof(oCodeArea) != 'object' || oCodeArea == null) - return false; - - // Start off with my favourite, internet explorer. - if ('createTextRange' in document.body) - { - var oCurRange = document.body.createTextRange(); - oCurRange.moveToElementText(oCodeArea); - oCurRange.select(); - } - // Firefox at el. - else if (window.getSelection) - { - var oCurSelection = window.getSelection(); - // Safari is special! - if (oCurSelection.setBaseAndExtent) - { - var oLastChild = oCodeArea.lastChild; - oCurSelection.setBaseAndExtent(oCodeArea, 0, oLastChild, 'innerText' in oLastChild ? oLastChild.innerText.length : oLastChild.textContent.length); - } - else - { - var curRange = document.createRange(); - curRange.selectNodeContents(oCodeArea); - - oCurSelection.removeAllRanges(); - oCurSelection.addRange(curRange); - } - } - - return false; -} - -// A function needed to discern HTML entities from non-western characters. -function smc_saveEntities(sFormName, aElementNames, sMask) -{ - if (typeof(sMask) == 'string') - { - for (var i = 0, n = document.forms[sFormName].elements.length; i < n; i++) - if (document.forms[sFormName].elements[i].id.substr(0, sMask.length) == sMask) - aElementNames[aElementNames.length] = document.forms[sFormName].elements[i].name; - } - - for (var i = 0, n = aElementNames.length; i < n; i++) - { - if (aElementNames[i] in document.forms[sFormName]) - document.forms[sFormName][aElementNames[i]].value = document.forms[sFormName][aElementNames[i]].value.replace(/&#/g, '&#'); - } -} - -// A function used to clean the attachments on post page -function cleanFileInput(idElement) -{ - // Simpler solutions work in Opera, IE, Safari and Chrome. - if (is_opera || is_ie || is_safari || is_chrome) - { - document.getElementById(idElement).outerHTML = document.getElementById(idElement).outerHTML; - } - // What else can we do? By the way, this doesn't work in Chrome and Mac's Safari. - else - { - document.getElementById(idElement).type = 'input'; - document.getElementById(idElement).type = 'file'; - } -} diff --git a/config/themes/default/scripts/sha1.js b/config/themes/default/scripts/sha1.js deleted file mode 100755 index 62dd8dd..0000000 --- a/config/themes/default/scripts/sha1.js +++ /dev/null @@ -1,205 +0,0 @@ -/* - * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined - * in FIPS PUB 180-1 - * Version 2.1 Copyright Paul Johnston 2000 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for details. - */ - -/* - * Configurable variables. You may need to tweak these to be compatible with - * the server-side, but the defaults work in most cases. - */ -var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */ -var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */ -var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ - -/* - * These are the functions you'll usually want to call - * They take string arguments and return either hex or base-64 encoded strings - */ -function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));} -function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));} -function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));} -function hex_hmac_sha1(key, data){ return binb2hex(core_hmac_sha1(key, data));} -function b64_hmac_sha1(key, data){ return binb2b64(core_hmac_sha1(key, data));} -function str_hmac_sha1(key, data){ return binb2str(core_hmac_sha1(key, data));} - -/* - * Perform a simple self-test to see if the VM is working - */ -function sha1_vm_test() -{ - return hex_sha1("abc") == "a9993e364706816aba3e25717850c26c9cd0d89d"; -} - -/* - * Calculate the SHA-1 of an array of big-endian words, and a bit length - */ -function core_sha1(x, len) -{ - /* append padding */ - x[len >> 5] |= 0x80 << (24 - len % 32); - x[((len + 64 >> 9) << 4) + 15] = len; - - var w = Array(80); - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - var d = 271733878; - var e = -1009589776; - - for (var i = 0; i < x.length; i += 16) - { - var olda = a; - var oldb = b; - var oldc = c; - var oldd = d; - var olde = e; - - for (var j = 0; j < 80; j++) - { - if (j < 16) w[j] = x[i + j]; - else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); - var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), safe_add(safe_add(e, w[j]), sha1_kt(j))); - e = d; - d = c; - c = rol(b, 30); - b = a; - a = t; - } - - a = safe_add(a, olda); - b = safe_add(b, oldb); - c = safe_add(c, oldc); - d = safe_add(d, oldd); - e = safe_add(e, olde); - } - return Array(a, b, c, d, e); -} - -/* - * Perform the appropriate triplet combination function for the current - * iteration - */ -function sha1_ft(t, b, c, d) -{ - if (t < 20) return (b & c) | ((~b) & d); - if (t < 40) return b ^ c ^ d; - if (t < 60) return (b & c) | (b & d) | (c & d); - return b ^ c ^ d; -} - -/* - * Determine the appropriate additive constant for the current iteration - */ -function sha1_kt(t) -{ - return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : - (t < 60) ? -1894007588 : -899497514; -} - -/* - * Calculate the HMAC-SHA1 of a key and some data - */ -function core_hmac_sha1(key, data) -{ - var bkey = str2binb(key); - if (bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz); - - var ipad = Array(16), opad = Array(16); - for (var i = 0; i < 16; i++) - { - ipad[i] = bkey[i] ^ 0x36363636; - opad[i] = bkey[i] ^ 0x5C5C5C5C; - } - - var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); - return core_sha1(opad.concat(hash), 512 + 160); -} - -/* - * Add integers, wrapping at 2^32. This uses 16-bit operations internally - * to work around bugs in some JS interpreters. - */ -function safe_add(x, y) -{ - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - -/* - * Bitwise rotate a 32-bit number to the left. - */ -function rol(num, cnt) -{ - return (num << cnt) | (num >>> (32 - cnt)); -} - -/* - * Convert an 8-bit or 16-bit string to an array of big-endian words - * In 8-bit function, characters >255 have their hi-byte silently ignored. - */ -function str2binb(str) -{ - var bin = Array(); - - for (var i = 0, n = 1 + ((str.length * chrsz) >> 5); i < n; i++) - bin[i] = 0; - - var mask = (1 << chrsz) - 1; - for (var i = 0; i < str.length * chrsz; i += chrsz) - bin[i >> 5] |= (str.charCodeAt(i / chrsz) & mask) << (24 - i % 32); - return bin; -} - -/* - * Convert an array of big-endian words to a string - */ -function binb2str(bin) -{ - var str = ""; - var mask = (1 << chrsz) - 1; - for (var i = 0; i < bin.length * 32; i += chrsz) - str += String.fromCharCode((bin[i>>5] >>> (24 - i%32)) & mask); - return str; -} - -/* - * Convert an array of big-endian words to a hex string. - */ -function binb2hex(binarray) -{ - var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef"; - var str = ""; - for (var i = 0; i < binarray.length * 4; i++) - { - str += hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8+4)) & 0xF) + - hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8 )) & 0xF); - } - return str; -} - -/* - * Convert an array of big-endian words to a base-64 string - */ -function binb2b64(binarray) -{ - var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - var str = ""; - for (var i = 0; i < binarray.length * 4; i += 3) - { - var triplet = (((binarray[i >> 2] >> 8 * (3 - i %4)) & 0xFF) << 16) - | (((binarray[i+1 >> 2] >> 8 * (3 - (i+1)%4)) & 0xFF) << 8 ) - | ((binarray[i+2 >> 2] >> 8 * (3 - (i+2)%4)) & 0xFF); - for (var j = 0; j < 4; j++) - { - if (i * 8 + j * 6 > binarray.length * 32) str += b64pad; - else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F); - } - } - return str; -} - diff --git a/config/themes/default/scripts/spellcheck.js b/config/themes/default/scripts/spellcheck.js deleted file mode 100755 index a258ee9..0000000 --- a/config/themes/default/scripts/spellcheck.js +++ /dev/null @@ -1,297 +0,0 @@ -// These are variables the popup is going to want to access... -var spell_formname, spell_fieldname; - -// Spell check the specified field in the specified form. -function spellCheck(formName, fieldName) -{ - // Grab the (hidden) spell checking form. - var spellform = document.forms.spell_form; - - // Register the name of the editing form for future reference. - spell_formname = formName; - spell_fieldname = fieldName; - - // This should match a word (most of the time). - var regexpWordMatch = /(?:<[^>]+>)|(?:\[[^ ][^\]]*\])|(?:&[^; ]+;)|(?:[^0-9\s\]\[{};:"\\|,<.>\/?`~!@#$%^&*()_+=]+)/g; - - // These characters can appear within words. - var aWordCharacters = ['-', '\'']; - - var aWords = new Array(), aResult = new Array(); - var sText = document.forms[formName][fieldName].value; - var bInCode = false; - var iOffset1, iOffset2; - - // Loop through all words. - while ((aResult = regexpWordMatch.exec(sText)) && typeof(aResult) != 'undefined') - { - iOffset1 = 0; - iOffset2 = aResult[0].length - 1; - - // Strip the dashes and hyphens from the begin of the word. - while (in_array(aResult[0].charAt(iOffset1), aWordCharacters) && iOffset1 < iOffset2) - iOffset1++; - - // Strip the dashes and hyphens from the end of the word. - while (in_array(aResult[0].charAt(iOffset2), aWordCharacters) && iOffset1 < iOffset2) - iOffset2--; - - // I guess there's only dashes and hyphens in this word... - if (iOffset1 == iOffset2) - continue; - - // Ignore code blocks. - if (aResult[0].substr(0, 5).toLowerCase() == '[code') - bInCode = true; - - // Glad we're out of that code block! - else if (bInCode && aResult[0].substr(0, 7).toLowerCase() == '[/code]') - bInCode = false; - - // Now let's get to business. - else if (!bInCode && !in_array(aResult[0].charAt(0), ['[', '<']) && aResult[0].toUpperCase() != aResult[0]) - aWords[aWords.length] = aResult[0].substr(iOffset1, iOffset2 - iOffset1 + 1) + '|' + (iOffset1 + sText.substr(0, aResult.index).length) + '|' + (iOffset2 + sText.substr(0, aResult.index).length); - } - - // Open the window... - openSpellWin(640, 480); - - // Pass the data to a form... - spellform.spellstring.value = aWords.join('\n'); - - // and go! - spellform.submit(); - - return true; -} - -// Private functions ------------------------------- - -// Globals... -var wordindex = -1, offsetindex = 0; -var ignoredWords = []; - -// A "misspelled word" object. -function misp(word, start, end, suggestions) -{ - // The word, start index, end index, and array of suggestions. - this.word = word; - this.start = start; - this.end = end; - this.suggestions = suggestions; -} - -// Replace the word in the misps array at the "wordindex" index. The -// misps array is generated by a PHP script after the string to be spell -// checked is evaluated with pspell. -function replaceWord() -{ - var strstart = ""; - var strend; - - // If this isn't the beginning of the string then get all of the string - // that is before the word we are replacing. - if (misps[wordindex].start != 0) - strstart = mispstr.slice(0, misps[wordindex].start + offsetindex); - - // Get the end of the string after the word we are replacing. - strend = mispstr.slice(misps[wordindex].end + 1 + offsetindex); - - // Rebuild the string with the new word. - mispstr = strstart + document.forms.spellingForm.changeto.value + strend; - - // Update offsetindex to compensate for replacing a word with a word - // of a different length. - offsetindex += document.forms.spellingForm.changeto.value.length - misps[wordindex].word.length; - - // Update the word so future replaceAll calls don't change it. - misps[wordindex].word = document.forms.spellingForm.changeto.value; - - nextWord(false); -} - -// Replaces all instances of currently selected word with contents chosen by user. -// Note: currently only replaces words after highlighted word. I think we can re-index -// all words at replacement or ignore time to have it wrap to the beginning if we want -// to. -function replaceAll() -{ - var strend; - var idx; - var origword; - var localoffsetindex = offsetindex; - - origword = misps[wordindex].word; - - // Re-index everything past the current word. - for (idx = wordindex; idx < misps.length; idx++) - { - misps[idx].start += localoffsetindex; - misps[idx].end += localoffsetindex; - } - - localoffsetindex = 0; - - for (idx = 0; idx < misps.length; idx++) - { - if (misps[idx].word == origword) - { - var strstart = ""; - if (misps[idx].start != 0) - strstart = mispstr.slice(0, misps[idx].start + localoffsetindex); - - // Get the end of the string after the word we are replacing. - strend = mispstr.slice(misps[idx].end + 1 + localoffsetindex); - - // Rebuild the string with the new word. - mispstr = strstart + document.forms.spellingForm.changeto.value + strend; - - // Update offsetindex to compensate for replacing a word with a word - // of a different length. - localoffsetindex += document.forms.spellingForm.changeto.value.length - misps[idx].word.length; - } - - // We have to re-index everything after replacements. - misps[idx].start += localoffsetindex; - misps[idx].end += localoffsetindex; - } - - // Add the word to the ignore array. - ignoredWords[origword] = true; - - // Reset offsetindex since we re-indexed. - offsetindex = 0; - - nextWord(false); -} - -// Highlight the word that was selected using the nextWord function. -function highlightWord() -{ - var strstart = ""; - var strend; - - // If this isn't the beginning of the string then get all of the string - // that is before the word we are replacing. - if (misps[wordindex].start != 0) - strstart = mispstr.slice(0, misps[wordindex].start + offsetindex); - - // Get the end of the string after the word we are replacing. - strend = mispstr.slice(misps[wordindex].end + 1 + offsetindex); - - // Rebuild the string with a span wrapped around the misspelled word - // so we can highlight it in the div the user is viewing the string in. - var divptr, newValue; - divptr = document.getElementById("spellview"); - - newValue = htmlspecialchars(strstart) + '' + misps[wordindex].word + '' + htmlspecialchars(strend); - setInnerHTML(divptr, newValue.replace(/_\|_/g, '
    ')); - - // We could use scrollIntoView, but it's just not that great anyway. - var spellview_height = typeof(document.getElementById("spellview").currentStyle) != "undefined" ? parseInt(document.getElementById("spellview").currentStyle.height) : document.getElementById("spellview").offsetHeight; - var word_position = document.getElementById("h1").offsetTop; - var current_position = document.getElementById("spellview").scrollTop; - - // The spellview is not tall enough! Scroll down! - if (spellview_height <= (word_position + current_position)) - document.getElementById("spellview").scrollTop = word_position + current_position - spellview_height + 32; -} - -// Display the next misspelled word to the user and populate the suggested spellings box. -function nextWord(ignoreall) -{ - // Push ignored word onto ignoredWords array. - if (ignoreall) - ignoredWords[misps[wordindex].word] = true; - - // Update the index of all words we have processed... - // This must be done to accomodate the replaceAll function. - if (wordindex >= 0) - { - misps[wordindex].start += offsetindex; - misps[wordindex].end += offsetindex; - } - - // Increment the counter for the array of misspelled words. - wordindex++; - - // Draw it and quit if there are no more misspelled words to evaluate. - if (misps.length <= wordindex) - { - var divptr; - divptr = document.getElementById("spellview"); - setInnerHTML(divptr, htmlspecialchars(mispstr).replace(/_\|_/g, "
    ")); - - while (document.forms.spellingForm.suggestions.options.length > 0) - document.forms.spellingForm.suggestions.options[0] = null; - - alert(txt['done']); - document.forms.spellingForm.change.disabled = true; - document.forms.spellingForm.changeall.disabled = true; - document.forms.spellingForm.ignore.disabled = true; - document.forms.spellingForm.ignoreall.disabled = true; - - // Put line feeds back... - mispstr = mispstr.replace(/_\|_/g, "\n"); - - // Get a handle to the field we need to re-populate. - window.opener.document.forms[spell_formname][spell_fieldname].value = mispstr; - if (!window.opener.spellCheckDone) - window.opener.document.forms[spell_formname][spell_fieldname].focus(); - else - window.opener.spellCheckDone(); - - window.close(); - return true; - } - - // Check to see if word is supposed to be ignored. - if (typeof(ignoredWords[misps[wordindex].word]) != "undefined") - { - nextWord(false); - return false; - } - - // Clear out the suggestions box! - while (document.forms.spellingForm.suggestions.options.length > 0) - document.forms.spellingForm.suggestions.options[0] = null; - - // Re-populate the suggestions box if there are any suggested spellings for the word. - if (misps[wordindex].suggestions.length) - { - for (var sugidx = 0; sugidx < misps[wordindex].suggestions.length; sugidx++) - { - var newopt = new Option(misps[wordindex].suggestions[sugidx], misps[wordindex].suggestions[sugidx]); - document.forms.spellingForm.suggestions.options[sugidx] = newopt; - - if (sugidx == 0) - { - newopt.selected = true; - document.forms.spellingForm.changeto.value = newopt.value; - document.forms.spellingForm.changeto.select(); - } - } - } - - if (document.forms.spellingForm.suggestions.options.length == 0) - document.forms.spellingForm.changeto.value = ""; - - highlightWord(); - - return false; -} - -function htmlspecialchars(thetext) -{ - thetext = thetext.replace(/\/g, ">"); - thetext = thetext.replace(/\n/g, "
    "); - thetext = thetext.replace(/\ \ /g, "  "); - - return thetext; -} - -function openSpellWin(width, height) -{ - window.open("", "spellWindow", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + width + ",height=" + height); -} \ No newline at end of file diff --git a/config/themes/default/scripts/stats.js b/config/themes/default/scripts/stats.js deleted file mode 100755 index 077e8cc..0000000 --- a/config/themes/default/scripts/stats.js +++ /dev/null @@ -1,239 +0,0 @@ -function smf_StatsCenter(oOptions) -{ - this.opt = oOptions; - - this.oTable = null; - this.oYears = {}; - - this.bIsLoading = false; - - this.init(); -} - -smf_StatsCenter.prototype.init = function () -{ - this.oTable = document.getElementById(this.opt.sTableId); - - // Is the table actually present? - if (typeof(this.oTable) != 'object') - return; - - // Find all months and years defined in the table. - var aRows = this.oTable.getElementsByTagName('tr'); - var aResults = []; - - var sYearId = null; - var oCurYear = null; - - var sMonthId = null; - var oCurMonth = null; - for (var i = 0, n = aRows.length; i < n; i++) - { - // Check if the current row represents a year. - if ((aResults = this.opt.reYearPattern.exec(aRows[i].id)) != null) - { - // The id is part of the pattern match. - sYearId = aResults[1]; - - // Setup the object that'll have the state information of the year. - this.oYears[sYearId] = { - oCollapseImage: document.getElementById(this.opt.sYearImageIdPrefix + sYearId), - oMonths: {} - }; - - // Create a shortcut, makes things more readable. - oCurYear = this.oYears[sYearId]; - - // Use the collapse image to determine the current state. - oCurYear.bIsCollapsed = oCurYear.oCollapseImage.src.indexOf(this.opt.sYearImageCollapsed) >= 0; - - // Setup the toggle element for the year. - oCurYear.oToggle = new smc_Toggle({ - bToggleEnabled: true, - bCurrentlyCollapsed: oCurYear.bIsCollapsed, - instanceRef: this, - sYearId: sYearId, - funcOnBeforeCollapse: function () { - this.opt.instanceRef.onBeforeCollapseYear(this); - }, - aSwappableContainers: [ - ], - aSwapImages: [ - { - sId: this.opt.sYearImageIdPrefix + sYearId, - srcExpanded: smf_images_url + '/' + this.opt.sYearImageExpanded, - altExpanded: '-', - srcCollapsed: smf_images_url + '/' + this.opt.sYearImageCollapsed, - altCollapsed: '+' - } - ], - aSwapLinks: [ - { - sId: this.opt.sYearLinkIdPrefix + sYearId, - msgExpanded: sYearId, - msgCollapsed: sYearId - } - ] - }); - } - - // Or maybe the current row represents a month. - else if ((aResults = this.opt.reMonthPattern.exec(aRows[i].id)) != null) - { - // Set the id to the matched pattern. - sMonthId = aResults[1]; - - // Initialize the month as a child object of the year. - oCurYear.oMonths[sMonthId] = { - oCollapseImage: document.getElementById(this.opt.sMonthImageIdPrefix + sMonthId) - }; - - // Create a shortcut to the current month. - oCurMonth = oCurYear.oMonths[sMonthId]; - - // Determine whether the month is currently collapsed or expanded.. - oCurMonth.bIsCollapsed = oCurMonth.oCollapseImage.src.indexOf(this.opt.sMonthImageCollapsed) >= 0; - - var sLinkText = getInnerHTML(document.getElementById(this.opt.sMonthLinkIdPrefix + sMonthId)); - - // Setup the toggle element for the month. - oCurMonth.oToggle = new smc_Toggle({ - bToggleEnabled: true, - bCurrentlyCollapsed: oCurMonth.bIsCollapsed, - instanceRef: this, - sMonthId: sMonthId, - funcOnBeforeCollapse: function () { - this.opt.instanceRef.onBeforeCollapseMonth(this); - }, - funcOnBeforeExpand: function () { - this.opt.instanceRef.onBeforeExpandMonth(this); - }, - aSwappableContainers: [ - ], - aSwapImages: [ - { - sId: this.opt.sMonthImageIdPrefix + sMonthId, - srcExpanded: smf_images_url + '/' + this.opt.sMonthImageExpanded, - altExpanded: '-', - srcCollapsed: smf_images_url + '/' + this.opt.sMonthImageCollapsed, - altCollapsed: '+' - } - ], - aSwapLinks: [ - { - sId: this.opt.sMonthLinkIdPrefix + sMonthId, - msgExpanded: sLinkText, - msgCollapsed: sLinkText - } - ] - }); - - oCurYear.oToggle.opt.aSwappableContainers[oCurYear.oToggle.opt.aSwappableContainers.length] = aRows[i].id; - } - - else if((aResults = this.opt.reDayPattern.exec(aRows[i].id)) != null) - { - oCurMonth.oToggle.opt.aSwappableContainers[oCurMonth.oToggle.opt.aSwappableContainers.length] = aRows[i].id; - oCurYear.oToggle.opt.aSwappableContainers[oCurYear.oToggle.opt.aSwappableContainers.length] = aRows[i].id; - } - } - - // Collapse all collapsed years! - for (i = 0; i < this.opt.aCollapsedYears.length; i++) - this.oYears[this.opt.aCollapsedYears[i]].oToggle.toggle(); -} - -smf_StatsCenter.prototype.onBeforeCollapseYear = function (oToggle) -{ - // Tell SMF that all underlying months have disappeared. - for (var sMonth in this.oYears[oToggle.opt.sYearId].oMonths) - if (this.oYears[oToggle.opt.sYearId].oMonths[sMonth].oToggle.opt.aSwappableContainers.length > 0) - this.oYears[oToggle.opt.sYearId].oMonths[sMonth].oToggle.changeState(true); -} - - -smf_StatsCenter.prototype.onBeforeCollapseMonth = function (oToggle) -{ - if (!oToggle.bCollapsed) - { - // Tell SMF that it the state has changed. - getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + 'action=stats;collapse=' + oToggle.opt.sMonthId + ';xml'); - - // Remove the month rows from the year toggle. - var aNewContainers = []; - var oYearToggle = this.oYears[oToggle.opt.sMonthId.substr(0, 4)].oToggle; - - for (var i = 0, n = oYearToggle.opt.aSwappableContainers.length; i < n; i++) - if (!in_array(oYearToggle.opt.aSwappableContainers[i], oToggle.opt.aSwappableContainers)) - aNewContainers[aNewContainers.length] = oYearToggle.opt.aSwappableContainers[i]; - - oYearToggle.opt.aSwappableContainers = aNewContainers; - } -} - - -smf_StatsCenter.prototype.onBeforeExpandMonth = function (oToggle) -{ - // Ignore if we're still loading the previous batch. - if (this.bIsLoading) - return; - - if (oToggle.opt.aSwappableContainers.length == 0) - { - // A complicated way to call getXMLDocument, but stay in scope. - this.tmpMethod = getXMLDocument; - this.oXmlRequestHandle = this.tmpMethod(smf_prepareScriptUrl(smf_scripturl) + 'action=stats;expand=' + oToggle.opt.sMonthId + ';xml', this.onDocReceived); - delete this.tmpMethod; - - if ('ajax_indicator' in window) - ajax_indicator(true); - - this.bIsLoading = true; - } - - // Silently let SMF know this one is expanded. - else - getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + 'action=stats;expand=' + oToggle.opt.sMonthId + ';xml'); -} - -smf_StatsCenter.prototype.onDocReceived = function (oXMLDoc) -{ - // Loop through all the months we got from the XML. - var aMonthNodes = oXMLDoc.getElementsByTagName('month'); - for (var iMonthIndex = 0, iNumMonths = aMonthNodes.length; iMonthIndex < iNumMonths; iMonthIndex++) - { - var sMonthId = aMonthNodes[iMonthIndex].getAttribute('id'); - var iStart = document.getElementById('tr_month_' + sMonthId).rowIndex + 1; - var sYearId = sMonthId.substr(0, 4); - - // Within the current months, check out all the days. - var aDayNodes = aMonthNodes[iMonthIndex].getElementsByTagName('day'); - for (var iDayIndex = 0, iNumDays = aDayNodes.length; iDayIndex < iNumDays; iDayIndex++) - { - var oCurRow = this.oTable.insertRow(iStart + iDayIndex); - oCurRow.className = this.opt.sDayRowClassname; - oCurRow.id = this.opt.sDayRowIdPrefix + aDayNodes[iDayIndex].getAttribute('date'); - - for (var iCellIndex = 0, iNumCells = this.opt.aDataCells.length; iCellIndex < iNumCells; iCellIndex++) - { - var oCurCell = oCurRow.insertCell(-1); - - if (this.opt.aDataCells[iCellIndex] == 'date') - oCurCell.style.paddingLeft = '6ex'; - else - oCurCell.style.textAlign = 'center'; - - var sCurData = aDayNodes[iDayIndex].getAttribute(this.opt.aDataCells[iCellIndex]); - oCurCell.appendChild(document.createTextNode(sCurData)); - } - - // Add these day rows to the toggle objects in case of collapse. - this.oYears[sYearId].oMonths[sMonthId].oToggle.opt.aSwappableContainers[this.oYears[sYearId].oMonths[sMonthId].oToggle.opt.aSwappableContainers.length] = oCurRow.id; - this.oYears[sYearId].oToggle.opt.aSwappableContainers[this.oYears[sYearId].oToggle.opt.aSwappableContainers.length] = oCurRow.id; - } - } - - this.bIsLoading = false; - if (typeof(window.ajax_indicator) == 'function') - ajax_indicator(false); -} \ No newline at end of file diff --git a/config/themes/default/scripts/suggest.js b/config/themes/default/scripts/suggest.js deleted file mode 100755 index feb7c0e..0000000 --- a/config/themes/default/scripts/suggest.js +++ /dev/null @@ -1,630 +0,0 @@ -// This file contains javascript associated with a autosuggest control -function smc_AutoSuggest(oOptions) -{ - this.opt = oOptions; - - // Store the handle to the text box. - this.oTextHandle = document.getElementById(this.opt.sControlId); - this.oRealTextHandle = null; - - this.oSuggestDivHandle = null; - this.sLastSearch = ''; - this.sLastDirtySearch = ''; - this.oSelectedDiv = null; - this.aCache = []; - this.aDisplayData = []; - - this.sRetrieveURL = 'sRetrieveURL' in this.opt ? this.opt.sRetrieveURL : '%scripturl%action=suggest;suggest_type=%suggest_type%;search=%search%;%sessionVar%=%sessionID%;xml;time=%time%'; - - // How many objects can we show at once? - this.iMaxDisplayQuantity = 'iMaxDisplayQuantity' in this.opt ? this.opt.iMaxDisplayQuantity : 15; - - // How many characters shall we start searching on? - this.iMinimumSearchChars = 'iMinimumSearchChars' in this.opt ? this.opt.iMinimumSearchChars : 3; - - // Should selected items be added to a list? - this.bItemList = 'bItemList' in this.opt ? this.opt.bItemList : false; - - // Are there any items that should be added in advance? - this.aListItems = 'aListItems' in this.opt ? this.opt.aListItems : []; - - this.sItemTemplate = 'sItemTemplate' in this.opt ? this.opt.sItemTemplate : '%item_name% %delete_text%'; - - this.sTextDeleteItem = 'sTextDeleteItem' in this.opt ? this.opt.sTextDeleteItem : ''; - - this.oCallback = {}; - this.bDoAutoAdd = false; - this.iItemCount = 0; - - this.oHideTimer = null; - this.bPositionComplete = false; - - this.oXmlRequestHandle = null; - - // Just make sure the page is loaded before calling the init. - addLoadEvent(this.opt.sSelf + '.init();'); -} - -smc_AutoSuggest.prototype.init = function() -{ - if (!window.XMLHttpRequest) - return false; - - // Create a div that'll contain the results later on. - this.oSuggestDivHandle = document.createElement('div'); - this.oSuggestDivHandle.className = 'auto_suggest_div'; - document.body.appendChild(this.oSuggestDivHandle); - - // Create a backup text input. - this.oRealTextHandle = document.createElement('input'); - this.oRealTextHandle.type = 'hidden'; - this.oRealTextHandle.name = this.oTextHandle.name; - this.oRealTextHandle.value = this.oTextHandle.value; - this.oTextHandle.form.appendChild(this.oRealTextHandle); - - // Disable autocomplete in any browser by obfuscating the name. - this.oTextHandle.name = 'dummy_' + Math.floor(Math.random() * 1000000); - this.oTextHandle.autocomplete = 'off'; - - this.oTextHandle.instanceRef = this; - - var fOnKeyDown = function (oEvent) { - return this.instanceRef.handleKey(oEvent); - }; - is_opera ? this.oTextHandle.onkeypress = fOnKeyDown : this.oTextHandle.onkeydown = fOnKeyDown; - - this.oTextHandle.onkeyup = function (oEvent) { - return this.instanceRef.autoSuggestUpdate(oEvent); - }; - - this.oTextHandle.onchange = function (oEvent) { - return this.instanceRef.autoSuggestUpdate(oEvent); - }; - - this.oTextHandle.onblur = function (oEvent) { - return this.instanceRef.autoSuggestHide(oEvent); - }; - - this.oTextHandle.onfocus = function (oEvent) { - return this.instanceRef.autoSuggestUpdate(oEvent); - }; - - if (this.bItemList) - { - if ('sItemListContainerId' in this.opt) - this.oItemList = document.getElementById(this.opt.sItemListContainerId); - else - { - this.oItemList = document.createElement('div'); - this.oTextHandle.parentNode.insertBefore(this.oItemList, this.oTextHandle.nextSibling); - } - } - - if (this.aListItems.length > 0) - for (var i = 0, n = this.aListItems.length; i < n; i++) - this.addItemLink(this.aListItems[i].sItemId, this.aListItems[i].sItemName); - - return true; -} - -// Was it an enter key - if so assume they are trying to select something. -smc_AutoSuggest.prototype.handleKey = function(oEvent) -{ - // Grab the event object, one way or the other - if (!oEvent) - oEvent = window.event; - - // Get the keycode of the key that was pressed. - var iKeyPress = 0; - if ('keyCode' in oEvent) - iKeyPress = oEvent.keyCode; - else if ('which' in oEvent) - iKeyPress = oEvent.which; - - switch (iKeyPress) - { - // Tab. - case 9: - if (this.aDisplayData.length > 0) - { - if (this.oSelectedDiv != null) - this.itemClicked(this.oSelectedDiv); - else - this.handleSubmit(); - } - - // Continue to the next control. - return true; - break; - - // Enter. - case 13: - if (this.aDisplayData.length > 0 && this.oSelectedDiv != null) - { - this.itemClicked(this.oSelectedDiv); - - // Do our best to stop it submitting the form! - return false; - } - else - return true; - - break; - - // Up/Down arrow? - case 38: - case 40: - if (this.aDisplayData.length && this.oSuggestDivHandle.style.visibility != 'hidden') - { - // Loop through the display data trying to find our entry. - var bPrevHandle = false; - var oToHighlight = null; - for (var i = 0; i < this.aDisplayData.length; i++) - { - // If we're going up and yet the top one was already selected don't go around. - if (this.oSelectedDiv != null && this.oSelectedDiv == this.aDisplayData[i] && i == 0 && iKeyPress == 38) - { - oToHighlight = this.oSelectedDiv; - break; - } - // If nothing is selected and we are going down then we select the first one. - if (this.oSelectedDiv == null && iKeyPress == 40) - { - oToHighlight = this.aDisplayData[i]; - break; - } - - // If the previous handle was the actual previously selected one and we're hitting down then this is the one we want. - if (bPrevHandle != false && bPrevHandle == this.oSelectedDiv && iKeyPress == 40) - { - oToHighlight = this.aDisplayData[i]; - break; - } - // If we're going up and this is the previously selected one then we want the one before, if there was one. - if (bPrevHandle != false && this.aDisplayData[i] == this.oSelectedDiv && iKeyPress == 38) - { - oToHighlight = bPrevHandle; - break; - } - // Make the previous handle this! - bPrevHandle = this.aDisplayData[i]; - } - - // If we don't have one to highlight by now then it must be the last one that we're after. - if (oToHighlight == null) - oToHighlight = bPrevHandle; - - // Remove any old highlighting. - if (this.oSelectedDiv != null) - this.itemMouseOut(this.oSelectedDiv); - // Mark what the selected div now is. - this.oSelectedDiv = oToHighlight; - this.itemMouseOver(this.oSelectedDiv); - } - break; - } - return true; -} - -// Functions for integration. -smc_AutoSuggest.prototype.registerCallback = function(sCallbackType, sCallback) -{ - switch (sCallbackType) - { - case 'onBeforeAddItem': - this.oCallback.onBeforeAddItem = sCallback; - break; - - case 'onAfterAddItem': - this.oCallback.onAfterAddItem = sCallback; - break; - - case 'onAfterDeleteItem': - this.oCallback.onAfterDeleteItem = sCallback; - break; - - case 'onBeforeUpdate': - this.oCallback.onBeforeUpdate = sCallback; - break; - } -} - -// User hit submit? -smc_AutoSuggest.prototype.handleSubmit = function() -{ - var bReturnValue = true; - var oFoundEntry = null; - - // Do we have something that matches the current text? - for (var i = 0; i < this.aCache.length; i++) - { - if (this.sLastSearch.toLowerCase() == this.aCache[i].sItemName.toLowerCase().substr(0, this.sLastSearch.length)) - { - // Exact match? - if (this.sLastSearch.length == this.aCache[i].sItemName.length) - { - // This is the one! - oFoundEntry = { - sItemId: this.aCache[i].sItemId, - sItemName: this.aCache[i].sItemName - }; - break; - } - - // Not an exact match, but it'll do for now. - else - { - // If we have two matches don't find anything. - if (oFoundEntry != null) - bReturnValue = false; - else - oFoundEntry = { - sItemId: this.aCache[i].sItemId, - sItemName: this.aCache[i].sItemName - }; - } - } - } - - if (oFoundEntry == null || bReturnValue == false) - return bReturnValue; - else - { - this.addItemLink(oFoundEntry.sItemId, oFoundEntry.sItemName, true); - return false; - } -} - -// Positions the box correctly on the window. -smc_AutoSuggest.prototype.positionDiv = function() -{ - // Only do it once. - if (this.bPositionComplete) - return true; - - this.bPositionComplete = true; - - // Put the div under the text box. - var aParentPos = smf_itemPos(this.oTextHandle); - - this.oSuggestDivHandle.style.left = aParentPos[0] + 'px'; - this.oSuggestDivHandle.style.top = (aParentPos[1] + this.oTextHandle.offsetHeight) + 'px'; - this.oSuggestDivHandle.style.width = this.oTextHandle.style.width; - - return true; -} - -// Do something after clicking an item. -smc_AutoSuggest.prototype.itemClicked = function(oCurElement) -{ - // Is there a div that we are populating? - if (this.bItemList) - this.addItemLink(oCurElement.sItemId, oCurElement.innerHTML); - - // Otherwise clear things down. - else - this.oTextHandle.value = oCurElement.innerHTML.php_unhtmlspecialchars(); - - this.oRealTextHandle.value = this.oTextHandle.value; - this.autoSuggestActualHide(); - this.oSelectedDiv = null; -} - -// Remove the last searched for name from the search box. -smc_AutoSuggest.prototype.removeLastSearchString = function () -{ - // Remove the text we searched for from the div. - var sTempText = this.oTextHandle.value.toLowerCase(); - var iStartString = sTempText.indexOf(this.sLastSearch.toLowerCase()); - // Just attempt to remove the bits we just searched for. - if (iStartString != -1) - { - while (iStartString > 0) - { - if (sTempText.charAt(iStartString - 1) == '"' || sTempText.charAt(iStartString - 1) == ',' || sTempText.charAt(iStartString - 1) == ' ') - { - iStartString--; - if (sTempText.charAt(iStartString - 1) == ',') - break; - } - else - break; - } - - // Now remove anything from iStartString upwards. - this.oTextHandle.value = this.oTextHandle.value.substr(0, iStartString); - } - // Just take it all. - else - this.oTextHandle.value = ''; -} - -// Add a result if not already done. -smc_AutoSuggest.prototype.addItemLink = function (sItemId, sItemName, bFromSubmit) -{ - // Increase the internal item count. - this.iItemCount ++; - - // If there's a callback then call it. - if ('oCallback' in this && 'onBeforeAddItem' in this.oCallback && typeof(this.oCallback.onBeforeAddItem) == 'string') - { - // If it returns false the item must not be added. - if (!eval(this.oCallback.onBeforeAddItem + '(' + this.opt.sSelf + ', \'' + sItemId + '\');')) - return; - } - - var oNewDiv = document.createElement('div'); - oNewDiv.id = 'suggest_' + this.opt.sSuggestId + '_' + sItemId; - setInnerHTML(oNewDiv, this.sItemTemplate.replace(/%post_name%/g, this.opt.sPostName).replace(/%item_id%/g, sItemId).replace(/%item_href%/g, smf_prepareScriptUrl(smf_scripturl) + this.opt.sURLMask.replace(/%item_id%/g, sItemId)).replace(/%item_name%/g, sItemName).replace(/%images_url%/g, smf_images_url).replace(/%self%/g, this.opt.sSelf).replace(/%delete_text%/g, this.sTextDeleteItem)); - this.oItemList.appendChild(oNewDiv); - - // If there's a registered callback, call it. - if ('oCallback' in this && 'onAfterAddItem' in this.oCallback && typeof(this.oCallback.onAfterAddItem) == 'string') - eval(this.oCallback.onAfterAddItem + '(' + this.opt.sSelf + ', \'' + oNewDiv.id + '\', ' + this.iItemCount + ');'); - - // Clear the div a bit. - this.removeLastSearchString(); - - // If we came from a submit, and there's still more to go, turn on auto add for all the other things. - this.bDoAutoAdd = this.oTextHandle.value != '' && bFromSubmit; - - // Update the fellow.. - this.autoSuggestUpdate(); -} - -// Delete an item that has been added, if at all? -smc_AutoSuggest.prototype.deleteAddedItem = function (sItemId) -{ - var oDiv = document.getElementById('suggest_' + this.opt.sSuggestId + '_' + sItemId); - - // Remove the div if it exists. - if (typeof(oDiv) == 'object' && oDiv != null) - { - oDiv.parentNode.removeChild(document.getElementById('suggest_' + this.opt.sSuggestId + '_' + sItemId)); - - // Decrease the internal item count. - this.iItemCount --; - - // If there's a registered callback, call it. - if ('oCallback' in this && 'onAfterDeleteItem' in this.oCallback && typeof(this.oCallback.onAfterDeleteItem) == 'string') - eval(this.oCallback.onAfterDeleteItem + '(' + this.opt.sSelf + ', ' + this.iItemCount + ');'); - } - - return false; -} - -// Hide the box. -smc_AutoSuggest.prototype.autoSuggestHide = function () -{ - // Delay to allow events to propogate through.... - this.oHideTimer = setTimeout(this.opt.sSelf + '.autoSuggestActualHide();', 250); -} - -// Do the actual hiding after a timeout. -smc_AutoSuggest.prototype.autoSuggestActualHide = function() -{ - this.oSuggestDivHandle.style.display = 'none'; - this.oSuggestDivHandle.style.visibility = 'hidden'; - this.oSelectedDiv = null; -} - -// Show the box. -smc_AutoSuggest.prototype.autoSuggestShow = function() -{ - if (this.oHideTimer) - { - clearTimeout(this.oHideTimer); - this.oHideTimer = false; - } - - this.positionDiv(); - - this.oSuggestDivHandle.style.visibility = 'visible'; - this.oSuggestDivHandle.style.display = ''; -} - -// Populate the actual div. -smc_AutoSuggest.prototype.populateDiv = function(aResults) -{ - // Cannot have any children yet. - while (this.oSuggestDivHandle.childNodes.length > 0) - { - // Tidy up the events etc too. - this.oSuggestDivHandle.childNodes[0].onmouseover = null; - this.oSuggestDivHandle.childNodes[0].onmouseout = null; - this.oSuggestDivHandle.childNodes[0].onclick = null; - - this.oSuggestDivHandle.removeChild(this.oSuggestDivHandle.childNodes[0]); - } - - // Something to display? - if (typeof(aResults) == 'undefined') - { - this.aDisplayData = []; - return false; - } - - var aNewDisplayData = []; - for (var i = 0; i < (aResults.length > this.iMaxDisplayQuantity ? this.iMaxDisplayQuantity : aResults.length); i++) - { - // Create the sub element - var oNewDivHandle = document.createElement('div'); - oNewDivHandle.sItemId = aResults[i].sItemId; - oNewDivHandle.className = 'auto_suggest_item'; - oNewDivHandle.innerHTML = aResults[i].sItemName; - //oNewDivHandle.style.width = this.oTextHandle.style.width; - - this.oSuggestDivHandle.appendChild(oNewDivHandle); - - // Attach some events to it so we can do stuff. - oNewDivHandle.instanceRef = this; - oNewDivHandle.onmouseover = function (oEvent) - { - this.instanceRef.itemMouseOver(this); - } - oNewDivHandle.onmouseout = function (oEvent) - { - this.instanceRef.itemMouseOut(this); - } - oNewDivHandle.onclick = function (oEvent) - { - this.instanceRef.itemClicked(this); - } - - - aNewDisplayData[i] = oNewDivHandle; - } - - this.aDisplayData = aNewDisplayData; - - return true; -} - -// Refocus the element. -smc_AutoSuggest.prototype.itemMouseOver = function (oCurElement) -{ - this.oSelectedDiv = oCurElement; - oCurElement.className = 'auto_suggest_item_hover'; -} - -// Onfocus the element -smc_AutoSuggest.prototype.itemMouseOut = function (oCurElement) -{ - oCurElement.className = 'auto_suggest_item'; -} - -smc_AutoSuggest.prototype.onSuggestionReceived = function (oXMLDoc) -{ - var sQuoteText = ''; - var aItems = oXMLDoc.getElementsByTagName('item'); - this.aCache = []; - for (var i = 0; i < aItems.length; i++) - { - this.aCache[i] = { - sItemId: aItems[i].getAttribute('id'), - sItemName: aItems[i].childNodes[0].nodeValue - }; - - // If we're doing auto add and we find the exact person, then add them! - if (this.bDoAutoAdd && this.sLastSearch == this.aCache[i].sItemName) - { - var oReturnValue = { - sItemId: this.aCache[i].sItemId, - sItemName: this.aCache[i].sItemName - }; - this.aCache = []; - return this.addItemLink(oReturnValue.sItemId, oReturnValue.sItemName, true); - } - } - - // Check we don't try to keep auto updating! - this.bDoAutoAdd = false; - - // Populate the div. - this.populateDiv(this.aCache); - - // Make sure we can see it - if we can. - if (aItems.length == 0) - this.autoSuggestHide(); - else - this.autoSuggestShow(); - - return true; -} - -// Get a new suggestion. -smc_AutoSuggest.prototype.autoSuggestUpdate = function () -{ - // If there's a callback then call it. - if ('onBeforeUpdate' in this.oCallback && typeof(this.oCallback.onBeforeUpdate) == 'string') - { - // If it returns false the item must not be added. - if (!eval(this.oCallback.onBeforeUpdate + '(' + this.opt.sSelf + ');')) - return false; - } - - this.oRealTextHandle.value = this.oTextHandle.value; - - if (isEmptyText(this.oTextHandle)) - { - this.aCache = []; - - this.populateDiv(); - - this.autoSuggestHide(); - - return true; - } - - // Nothing changed? - if (this.oTextHandle.value == this.sLastDirtySearch) - return true; - this.sLastDirtySearch = this.oTextHandle.value; - - // We're only actually interested in the last string. - var sSearchString = this.oTextHandle.value.replace(/^("[^"]+",[ ]*)+/, '').replace(/^([^,]+,[ ]*)+/, ''); - if (sSearchString.substr(0, 1) == '"') - sSearchString = sSearchString.substr(1); - - // Stop replication ASAP. - var sRealLastSearch = this.sLastSearch; - this.sLastSearch = sSearchString; - - // Either nothing or we've completed a sentance. - if (sSearchString == '' || sSearchString.substr(sSearchString.length - 1) == '"') - { - this.populateDiv(); - return true; - } - - // Nothing? - if (sRealLastSearch == sSearchString) - return true; - - // Too small? - else if (sSearchString.length < this.iMinimumSearchChars) - { - this.aCache = []; - this.autoSuggestHide(); - return true; - } - else if (sSearchString.substr(0, sRealLastSearch.length) == sRealLastSearch) - { - // Instead of hitting the server again, just narrow down the results... - var aNewCache = []; - var j = 0; - var sLowercaseSearch = sSearchString.toLowerCase(); - for (var k = 0; k < this.aCache.length; k++) - { - if (this.aCache[k].sItemName.substr(0, sSearchString.length).toLowerCase() == sLowercaseSearch) - aNewCache[j++] = this.aCache[k]; - } - - this.aCache = []; - if (aNewCache.length != 0) - { - this.aCache = aNewCache; - // Repopulate. - this.populateDiv(this.aCache); - - // Check it can be seen. - this.autoSuggestShow(); - - return true; - } - } - - // In progress means destroy! - if (typeof(this.oXmlRequestHandle) == 'object' && this.oXmlRequestHandle != null) - this.oXmlRequestHandle.abort(); - - // Clean the text handle. - sSearchString = sSearchString.php_to8bit().php_urlencode(); - - // Get the document. - this.tmpMethod = getXMLDocument; - this.oXmlRequestHandle = this.tmpMethod(this.sRetrieveURL.replace(/%scripturl%/g, smf_prepareScriptUrl(smf_scripturl)).replace(/%suggest_type%/g, this.opt.sSearchType).replace(/%search%/g, sSearchString).replace(/%sessionVar%/g, this.opt.sSessionVar).replace(/%sessionID%/g, this.opt.sSessionId).replace(/%time%/g, new Date().getTime()), this.onSuggestionReceived); - delete this.tmpMethod; - - return true; -} \ No newline at end of file diff --git a/config/themes/default/scripts/theme.js b/config/themes/default/scripts/theme.js deleted file mode 100755 index f9eb8c6..0000000 --- a/config/themes/default/scripts/theme.js +++ /dev/null @@ -1,96 +0,0 @@ -// The purpose of this code is to fix the height of overflow: auto blocks, because some browsers can't figure it out for themselves. -function smf_codeBoxFix() -{ - var codeFix = document.getElementsByTagName('code'); - for (var i = codeFix.length - 1; i >= 0; i--) - { - if (is_webkit && codeFix[i].offsetHeight < 20) - codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + 'px'; - - else if (is_ff && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) - codeFix[i].style.overflow = 'scroll'; - - else if ('currentStyle' in codeFix[i] && codeFix[i].currentStyle.overflow == 'auto' && (codeFix[i].currentStyle.height == '' || codeFix[i].currentStyle.height == 'auto') && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0)) - codeFix[i].style.height = (codeFix[i].offsetHeight + 24) + 'px'; - } -} - -// Add a fix for code stuff? -if ((is_ie && !is_ie4) || is_webkit || is_ff) - addLoadEvent(smf_codeBoxFix); - -// Toggles the element height and width styles of an image. -function smc_toggleImageDimensions() -{ - var oImages = document.getElementsByTagName('IMG'); - for (oImage in oImages) - { - // Not a resized image? Skip it. - if (oImages[oImage].className == undefined || oImages[oImage].className.indexOf('bbc_img resized') == -1) - continue; - - oImages[oImage].style.cursor = 'pointer'; - oImages[oImage].onclick = function() { - this.style.width = this.style.height = this.style.width == 'auto' ? null : 'auto'; - }; - } -} - -// Add a load event for the function above. -addLoadEvent(smc_toggleImageDimensions); - -// Adds a button to a certain button strip. -function smf_addButton(sButtonStripId, bUseImage, oOptions) -{ - var oButtonStrip = document.getElementById(sButtonStripId); - var aItems = oButtonStrip.getElementsByTagName('span'); - - // Remove the 'last' class from the last item. - if (aItems.length > 0) - { - var oLastSpan = aItems[aItems.length - 1]; - oLastSpan.className = oLastSpan.className.replace(/\s*last/, 'position_holder'); - } - - // Add the button. - var oButtonStripList = oButtonStrip.getElementsByTagName('ul')[0]; - var oNewButton = document.createElement('li'); - setInnerHTML(oNewButton, '' + oOptions.sText + ''); - - oButtonStripList.appendChild(oNewButton); -} - -// Adds hover events to list items. Used for a versions of IE that don't support this by default. -var smf_addListItemHoverEvents = function() -{ - var cssRule, newSelector; - - // Add a rule for the list item hover event to every stylesheet. - for (var iStyleSheet = 0; iStyleSheet < document.styleSheets.length; iStyleSheet ++) - for (var iRule = 0; iRule < document.styleSheets[iStyleSheet].rules.length; iRule ++) - { - oCssRule = document.styleSheets[iStyleSheet].rules[iRule]; - if (oCssRule.selectorText.indexOf('LI:hover') != -1) - { - sNewSelector = oCssRule.selectorText.replace(/LI:hover/gi, 'LI.iehover'); - document.styleSheets[iStyleSheet].addRule(sNewSelector, oCssRule.style.cssText); - } - } - - // Now add handling for these hover events. - var oListItems = document.getElementsByTagName('LI'); - for (oListItem in oListItems) - { - oListItems[oListItem].onmouseover = function() { - this.className += ' iehover'; - }; - - oListItems[oListItem].onmouseout = function() { - this.className = this.className.replace(new RegExp(' iehover\\b'), ''); - }; - } -} - -// Add hover events to list items if the browser requires it. -if (is_ie7down && 'attachEvent' in window) - window.attachEvent('onload', smf_addListItemHoverEvents); diff --git a/config/themes/default/scripts/topic.js b/config/themes/default/scripts/topic.js deleted file mode 100755 index 6efed38..0000000 --- a/config/themes/default/scripts/topic.js +++ /dev/null @@ -1,541 +0,0 @@ -var cur_topic_id, cur_msg_id, buff_subject, cur_subject_div, in_edit_mode = 0; -var hide_prefixes = Array(); - -function modify_topic(topic_id, first_msg_id) -{ - if (!('XMLHttpRequest' in window)) - return; - - if ('opera' in window) - { - var oTest = new XMLHttpRequest(); - if (!('setRequestHeader' in oTest)) - return; - } - - // Add backwards compatibility with old themes. - if (typeof(cur_session_var) == 'undefined') - cur_session_var = 'sesc'; - - if (in_edit_mode == 1) - { - if (cur_topic_id == topic_id) - return; - else - modify_topic_cancel(); - } - - in_edit_mode = 1; - mouse_on_div = 1; - cur_topic_id = topic_id; - - if (typeof window.ajax_indicator == "function") - ajax_indicator(true); - getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + "action=quotefast;quote=" + first_msg_id + ";modify;xml", onDocReceived_modify_topic); -} - -function onDocReceived_modify_topic(XMLDoc) -{ - cur_msg_id = XMLDoc.getElementsByTagName("message")[0].getAttribute("id"); - - cur_subject_div = document.getElementById('msg_' + cur_msg_id.substr(4)); - buff_subject = getInnerHTML(cur_subject_div); - - // Here we hide any other things they want hiding on edit. - set_hidden_topic_areas('none'); - - modify_topic_show_edit(XMLDoc.getElementsByTagName("subject")[0].childNodes[0].nodeValue); - if (typeof window.ajax_indicator == "function") - ajax_indicator(false); -} - -function modify_topic_cancel() -{ - setInnerHTML(cur_subject_div, buff_subject); - set_hidden_topic_areas(''); - - in_edit_mode = 0; - return false; -} - -function modify_topic_save(cur_session_id, cur_session_var) -{ - if (!in_edit_mode) - return true; - - // Add backwards compatibility with old themes. - if (typeof(cur_session_var) == 'undefined') - cur_session_var = 'sesc'; - - var i, x = new Array(); - x[x.length] = 'subject=' + document.forms.quickModForm['subject'].value.replace(/&#/g, "&#").php_to8bit().php_urlencode(); - x[x.length] = 'topic=' + parseInt(document.forms.quickModForm.elements['topic'].value); - x[x.length] = 'msg=' + parseInt(document.forms.quickModForm.elements['msg'].value); - - if (typeof window.ajax_indicator == "function") - ajax_indicator(true); - sendXMLDocument(smf_prepareScriptUrl(smf_scripturl) + "action=jsmodify;topic=" + parseInt(document.forms.quickModForm.elements['topic'].value) + ";" + cur_session_var + "=" + cur_session_id + ";xml", x.join("&"), modify_topic_done); - - return false; -} - -function modify_topic_done(XMLDoc) -{ - if (!XMLDoc) - { - modify_topic_cancel(); - return true; - } - - var message = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("message")[0]; - var subject = message.getElementsByTagName("subject")[0]; - var error = message.getElementsByTagName("error")[0]; - - if (typeof window.ajax_indicator == "function") - ajax_indicator(false); - - if (!subject || error) - return false; - - subjectText = subject.childNodes[0].nodeValue; - - modify_topic_hide_edit(subjectText); - - set_hidden_topic_areas(''); - - in_edit_mode = 0; - - return false; -} - -// Simply restore any hidden bits during topic editing. -function set_hidden_topic_areas(set_style) -{ - for (var i = 0; i < hide_prefixes.length; i++) - { - if (document.getElementById(hide_prefixes[i] + cur_msg_id.substr(4)) != null) - document.getElementById(hide_prefixes[i] + cur_msg_id.substr(4)).style.display = set_style; - } -} - -// *** QuickReply object. -function QuickReply(oOptions) -{ - this.opt = oOptions; - this.bCollapsed = this.opt.bDefaultCollapsed; -} - -// When a user presses quote, put it in the quick reply box (if expanded). -QuickReply.prototype.quote = function (iMessageId, xDeprecated) -{ - // Compatibility with older templates. - if (typeof(xDeprecated) != 'undefined') - return true; - - if (this.bCollapsed) - { - window.location.href = smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=post;quote=' + iMessageId + ';topic=' + this.opt.iTopicId + '.' + this.opt.iStart; - return false; - } - else - { - // Doing it the XMLhttp way? - if (window.XMLHttpRequest) - { - ajax_indicator(true); - getXMLDocument(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=quotefast;quote=' + iMessageId + ';xml', this.onQuoteReceived); - } - // Or with a smart popup! - else - reqWin(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=quotefast;quote=' + iMessageId, 240, 90); - - // Move the view to the quick reply box. - if (navigator.appName == 'Microsoft Internet Explorer') - window.location.hash = this.opt.sJumpAnchor; - else - window.location.hash = '#' + this.opt.sJumpAnchor; - - return false; - } -} - -// This is the callback function used after the XMLhttp request. -QuickReply.prototype.onQuoteReceived = function (oXMLDoc) -{ - var sQuoteText = ''; - - for (var i = 0; i < oXMLDoc.getElementsByTagName('quote')[0].childNodes.length; i++) - sQuoteText += oXMLDoc.getElementsByTagName('quote')[0].childNodes[i].nodeValue; - - replaceText(sQuoteText, document.forms.postmodify.message); - - ajax_indicator(false); -} - -// The function handling the swapping of the quick reply. -QuickReply.prototype.swap = function () -{ - document.getElementById(this.opt.sImageId).src = this.opt.sImagesUrl + "/" + (this.bCollapsed ? this.opt.sImageCollapsed : this.opt.sImageExpanded); - document.getElementById(this.opt.sContainerId).style.display = this.bCollapsed ? '' : 'none'; - - this.bCollapsed = !this.bCollapsed; -} - -// *** QuickModify object. -function QuickModify(oOptions) -{ - this.opt = oOptions; - this.bInEditMode = false; - this.sCurMessageId = ''; - this.oCurMessageDiv = null; - this.oCurSubjectDiv = null; - this.sMessageBuffer = ''; - this.sSubjectBuffer = ''; - this.bXmlHttpCapable = this.isXmlHttpCapable(); - - // Show the edit buttons - if (this.bXmlHttpCapable) - { - for (var i = document.images.length - 1; i >= 0; i--) - if (document.images[i].id.substr(0, 14) == 'modify_button_') - document.images[i].style.display = ''; - } -} - -// Determine whether the quick modify can actually be used. -QuickModify.prototype.isXmlHttpCapable = function () -{ - if (typeof(window.XMLHttpRequest) == 'undefined') - return false; - - // Opera didn't always support POST requests. So test it first. - if ('opera' in window) - { - var oTest = new XMLHttpRequest(); - if (!('setRequestHeader' in oTest)) - return false; - } - - return true; -} - -// Function called when a user presses the edit button. -QuickModify.prototype.modifyMsg = function (iMessageId) -{ - if (!this.bXmlHttpCapable) - return; - - // Add backwards compatibility with old themes. - if (typeof(sSessionVar) == 'undefined') - sSessionVar = 'sesc'; - - // First cancel if there's another message still being edited. - if (this.bInEditMode) - this.modifyCancel(); - - // At least NOW we're in edit mode - this.bInEditMode = true; - - // Send out the XMLhttp request to get more info - ajax_indicator(true); - - // For IE 5.0 support, 'call' is not yet used. - this.tmpMethod = getXMLDocument; - this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=quotefast;quote=' + iMessageId + ';modify;xml', this.onMessageReceived); - delete this.tmpMethod; -} - -// The callback function used for the XMLhttp request retrieving the message. -QuickModify.prototype.onMessageReceived = function (XMLDoc) -{ - var sBodyText = '', sSubjectText = ''; - - // No longer show the 'loading...' sign. - ajax_indicator(false); - - // Grab the message ID. - this.sCurMessageId = XMLDoc.getElementsByTagName('message')[0].getAttribute('id'); - - // If this is not valid then simply give up. - if (!document.getElementById(this.sCurMessageId)) - return this.modifyCancel(); - - // Replace the body part. - for (var i = 0; i < XMLDoc.getElementsByTagName("message")[0].childNodes.length; i++) - sBodyText += XMLDoc.getElementsByTagName("message")[0].childNodes[i].nodeValue; - this.oCurMessageDiv = document.getElementById(this.sCurMessageId); - this.sMessageBuffer = getInnerHTML(this.oCurMessageDiv); - - // We have to force the body to lose its dollar signs thanks to IE. - sBodyText = sBodyText.replace(/\$/g, '{&dollarfix;$}'); - - // Actually create the content, with a bodge for disappearing dollar signs. - setInnerHTML(this.oCurMessageDiv, this.opt.sTemplateBodyEdit.replace(/%msg_id%/g, this.sCurMessageId.substr(4)).replace(/%body%/, sBodyText).replace(/\{&dollarfix;\$\}/g, '$')); - - // Replace the subject part. - this.oCurSubjectDiv = document.getElementById('subject_' + this.sCurMessageId.substr(4)); - this.sSubjectBuffer = getInnerHTML(this.oCurSubjectDiv); - - sSubjectText = XMLDoc.getElementsByTagName('subject')[0].childNodes[0].nodeValue.replace(/\$/g, '{&dollarfix;$}'); - setInnerHTML(this.oCurSubjectDiv, this.opt.sTemplateSubjectEdit.replace(/%subject%/, sSubjectText).replace(/\{&dollarfix;\$\}/g, '$')); - - return true; -} - -// Function in case the user presses cancel (or other circumstances cause it). -QuickModify.prototype.modifyCancel = function () -{ - // Roll back the HTML to its original state. - if (this.oCurMessageDiv) - { - setInnerHTML(this.oCurMessageDiv, this.sMessageBuffer); - setInnerHTML(this.oCurSubjectDiv, this.sSubjectBuffer); - } - - // No longer in edit mode, that's right. - this.bInEditMode = false; - - return false; -} - -// The function called after a user wants to save his precious message. -QuickModify.prototype.modifySave = function (sSessionId, sSessionVar) -{ - // We cannot save if we weren't in edit mode. - if (!this.bInEditMode) - return true; - - // Add backwards compatibility with old themes. - if (typeof(sSessionVar) == 'undefined') - sSessionVar = 'sesc'; - - var i, x = new Array(); - x[x.length] = 'subject=' + escape(document.forms.quickModForm['subject'].value.replace(/&#/g, "&#").php_to8bit()).replace(/\+/g, "%2B"); - x[x.length] = 'message=' + escape(document.forms.quickModForm['message'].value.replace(/&#/g, "&#").php_to8bit()).replace(/\+/g, "%2B"); - x[x.length] = 'topic=' + parseInt(document.forms.quickModForm.elements['topic'].value); - x[x.length] = 'msg=' + parseInt(document.forms.quickModForm.elements['msg'].value); - - // Send in the XMLhttp request and let's hope for the best. - ajax_indicator(true); - sendXMLDocument.call(this, smf_prepareScriptUrl(this.opt.sScriptUrl) + "action=jsmodify;topic=" + this.opt.iTopicId + ";" + sSessionVar + "=" + sSessionId + ";xml", x.join("&"), this.onModifyDone); - - return false; -} - -// Callback function of the XMLhttp request sending the modified message. -QuickModify.prototype.onModifyDone = function (XMLDoc) -{ - // We've finished the loading stuff. - ajax_indicator(false); - - // If we didn't get a valid document, just cancel. - if (!XMLDoc || !XMLDoc.getElementsByTagName('smf')[0]) - { - // Mozilla will nicely tell us what's wrong. - if (XMLDoc.childNodes.length > 0 && XMLDoc.firstChild.nodeName == 'parsererror') - setInnerHTML(document.getElementById('error_box'), XMLDoc.firstChild.textContent); - else - this.modifyCancel(); - return; - } - - var message = XMLDoc.getElementsByTagName('smf')[0].getElementsByTagName('message')[0]; - var body = message.getElementsByTagName('body')[0]; - var error = message.getElementsByTagName('error')[0]; - - if (body) - { - // Show new body. - var bodyText = ''; - for (var i = 0; i < body.childNodes.length; i++) - bodyText += body.childNodes[i].nodeValue; - - this.sMessageBuffer = this.opt.sTemplateBodyNormal.replace(/%body%/, bodyText.replace(/\$/g, '{&dollarfix;$}')).replace(/\{&dollarfix;\$\}/g,'$'); - setInnerHTML(this.oCurMessageDiv, this.sMessageBuffer); - - // Show new subject. - var oSubject = message.getElementsByTagName('subject')[0]; - var sSubjectText = oSubject.childNodes[0].nodeValue.replace(/\$/g, '{&dollarfix;$}'); - this.sSubjectBuffer = this.opt.sTemplateSubjectNormal.replace(/%msg_id%/g, this.sCurMessageId.substr(4)).replace(/%subject%/, sSubjectText).replace(/\{&dollarfix;\$\}/g,'$'); - setInnerHTML(this.oCurSubjectDiv, this.sSubjectBuffer); - - // If this is the first message, also update the topic subject. - if (oSubject.getAttribute('is_first') == '1') - setInnerHTML(document.getElementById('top_subject'), this.opt.sTemplateTopSubject.replace(/%subject%/, sSubjectText).replace(/\{&dollarfix;\$\}/g, '$')); - - // Show this message as 'modified on x by y'. - if (this.opt.bShowModify) - setInnerHTML(document.getElementById('modified_' + this.sCurMessageId.substr(4)), message.getElementsByTagName('modified')[0].childNodes[0].nodeValue); - } - else if (error) - { - setInnerHTML(document.getElementById('error_box'), error.childNodes[0].nodeValue); - document.forms.quickModForm.message.style.border = error.getAttribute('in_body') == '1' ? this.opt.sErrorBorderStyle : ''; - document.forms.quickModForm.subject.style.border = error.getAttribute('in_subject') == '1' ? this.opt.sErrorBorderStyle : ''; - } -} - -function InTopicModeration(oOptions) -{ - this.opt = oOptions; - this.bButtonsShown = false; - this.iNumSelected = 0; - - // Add backwards compatibility with old themes. - if (typeof(this.opt.sSessionVar) == 'undefined') - this.opt.sSessionVar = 'sesc'; - - this.init(); -} - -InTopicModeration.prototype.init = function() -{ - // Add checkboxes to all the messages. - for (var i = 0, n = this.opt.aMessageIds.length; i < n; i++) - { - // Create the checkbox. - var oCheckbox = document.createElement('input'); - oCheckbox.type = 'checkbox'; - oCheckbox.className = 'input_check'; - oCheckbox.name = 'msgs[]'; - oCheckbox.value = this.opt.aMessageIds[i]; - oCheckbox.instanceRef = this; - oCheckbox.onclick = function () { - this.instanceRef.handleClick(this); - } - - // Append it to the container - var oCheckboxContainer = document.getElementById(this.opt.sCheckboxContainerMask + this.opt.aMessageIds[i]); - oCheckboxContainer.appendChild(oCheckbox); - oCheckboxContainer.style.display = ''; - } -} - -InTopicModeration.prototype.handleClick = function(oCheckbox) -{ - if (!this.bButtonsShown && this.opt.sButtonStripDisplay) - { - var oButtonStrip = document.getElementById(this.opt.sButtonStrip); - var oButtonStripDisplay = document.getElementById(this.opt.sButtonStripDisplay); - - // Make sure it can go somewhere. - if (typeof(oButtonStripDisplay) == 'object' && oButtonStripDisplay != null) - oButtonStripDisplay.style.display = ""; - else - { - var oNewDiv = document.createElement('div'); - var oNewList = document.createElement('ul'); - - oNewDiv.id = this.opt.sButtonStripDisplay; - oNewDiv.className = this.opt.sButtonStripClass ? this.opt.sButtonStripClass : 'buttonlist floatbottom'; - - oNewDiv.appendChild(oNewList); - oButtonStrip.appendChild(oNewDiv); - } - - // Add the 'remove selected items' button. - if (this.opt.bCanRemove) - smf_addButton(this.opt.sButtonStrip, this.opt.bUseImageButton, { - sId: this.opt.sSelf + '_remove_button', - sText: this.opt.sRemoveButtonLabel, - sImage: this.opt.sRemoveButtonImage, - sUrl: '#', - sCustom: ' onclick="return ' + this.opt.sSelf + '.handleSubmit(\'remove\')"' - }); - - // Add the 'restore selected items' button. - if (this.opt.bCanRestore) - smf_addButton(this.opt.sButtonStrip, this.opt.bUseImageButton, { - sId: this.opt.sSelf + '_restore_button', - sText: this.opt.sRestoreButtonLabel, - sImage: this.opt.sRestoreButtonImage, - sUrl: '#', - sCustom: ' onclick="return ' + this.opt.sSelf + '.handleSubmit(\'restore\')"' - }); - - // Adding these buttons once should be enough. - this.bButtonsShown = true; - } - - // Keep stats on how many items were selected. - this.iNumSelected += oCheckbox.checked ? 1 : -1; - - // Show the number of messages selected in the button. - if (this.opt.bCanRemove && !this.opt.bUseImageButton) - { - setInnerHTML(document.getElementById(this.opt.sSelf + '_remove_button'), this.opt.sRemoveButtonLabel + ' [' + this.iNumSelected + ']'); - document.getElementById(this.opt.sSelf + '_remove_button').style.display = this.iNumSelected < 1 ? "none" : ""; - } - - if (this.opt.bCanRestore && !this.opt.bUseImageButton) - { - setInnerHTML(document.getElementById(this.opt.sSelf + '_restore_button'), this.opt.sRestoreButtonLabel + ' [' + this.iNumSelected + ']'); - document.getElementById(this.opt.sSelf + '_restore_button').style.display = this.iNumSelected < 1 ? "none" : ""; - } - - // Try to restore the correct position. - var aItems = document.getElementById(this.opt.sButtonStrip).getElementsByTagName('span'); - if (aItems.length > 3) - { - if (this.iNumSelected < 1) - { - aItems[aItems.length - 3].className = aItems[aItems.length - 3].className.replace(/\s*position_holder/, 'last'); - aItems[aItems.length - 2].className = aItems[aItems.length - 2].className.replace(/\s*position_holder/, 'last'); - } - else - { - aItems[aItems.length - 2].className = aItems[aItems.length - 2].className.replace(/\s*last/, 'position_holder'); - aItems[aItems.length - 3].className = aItems[aItems.length - 3].className.replace(/\s*last/, 'position_holder'); - } - } -} - -InTopicModeration.prototype.handleSubmit = function (sSubmitType) -{ - var oForm = document.getElementById(this.opt.sFormId); - - // Make sure this form isn't submitted in another way than this function. - var oInput = document.createElement('input'); - oInput.type = 'hidden'; - oInput.name = this.opt.sSessionVar; - oInput.value = this.opt.sSessionId; - oForm.appendChild(oInput); - - switch (sSubmitType) - { - case 'remove': - if (!confirm(this.opt.sRemoveButtonConfirm)) - return false; - - oForm.action = oForm.action.replace(/;restore_selected=1/, ''); - break; - - case 'restore': - if (!confirm(this.opt.sRestoreButtonConfirm)) - return false; - - oForm.action = oForm.action + ';restore_selected=1'; - break; - - default: - return false; - break; - } - - oForm.submit(); - return true; -} - - -// *** Other functions... -function expandThumb(thumbID) -{ - var img = document.getElementById('thumb_' + thumbID); - var link = document.getElementById('link_' + thumbID); - var tmp = img.src; - img.src = link.href; - link.href = tmp; - img.style.width = ''; - img.style.height = ''; - return false; -} \ No newline at end of file diff --git a/config/themes/index.php b/config/themes/index.php deleted file mode 100755 index 2480ce0..0000000 --- a/config/themes/index.php +++ /dev/null @@ -1,16 +0,0 @@ - \ No newline at end of file diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 3f3719f..a117f28 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -14,7 +14,6 @@ services: - ./wwwroot:/var/www/forum - ./storage/fish:/var/www/forum/fish - ./storage/cache:/var/www/forum/cache:ro - - ./config/themes:/var/www/forum/Themes:ro - ./config/nginx.conf:/etc/nginx/conf.d/default.conf # normally behind centeral traefik defined in production-manifests/services/traefik ports: @@ -37,7 +36,6 @@ services: - ./wwwroot:/var/www/forum - ./storage/fish:/var/www/forum/fish:rw - ./storage/cache:/var/www/forum/cache:rw - - ./config/themes:/var/www/forum/Themes:ro # php-fpm configs - ./config/php-fpm.conf:/etc/php/5.6/fpm/php-fpm.conf:ro - ./config/php-fpm-pool.conf:/etc/php/5.6/fpm/pool.d/www.conf:ro diff --git a/docker-compose.yml b/docker-compose.yml index a4d0e93..341b3de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,6 @@ services: volumes: - ./storage/fish:/var/www/forum/fish:ro - ./storage/cache:/var/www/forum/cache:ro - - ./config/themes:/var/www/forum/Themes:ro - ./config/nginx.conf:/etc/nginx/conf.d/default.conf:ro # join online-internal and traefik-backend networks # comment out the traefik lines here and in the networks: stanza below @@ -33,7 +32,6 @@ services: volumes: - ./storage/fish:/var/www/forum/fish:rw - ./storage/cache:/var/www/forum/cache:rw - - ./config/themes:/var/www/forum/Themes:ro - ./config/php-fpm.conf:/etc/php/5.6/fpm/php-fpm.conf:ro - ./config/php-fpm-pool.conf:/etc/php/5.6/fpm/pool.d/www.conf:ro - ./config/php.ini:/etc/php/5.6/fpm/php.ini:ro