Chris@76: 'show_board_desc', Chris@76: 'label' => $txt['board_desc_inside'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_children', Chris@76: 'label' => $txt['show_children'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'use_sidebar_menu', Chris@76: 'label' => $txt['use_sidebar_menu'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_no_avatars', Chris@76: 'label' => $txt['show_no_avatars'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_no_signatures', Chris@76: 'label' => $txt['show_no_signatures'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_no_censored', Chris@76: 'label' => $txt['show_no_censored'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'return_to_post', Chris@76: 'label' => $txt['return_to_post'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'no_new_reply_warning', Chris@76: 'label' => $txt['no_new_reply_warning'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'view_newest_first', Chris@76: 'label' => $txt['recent_posts_at_top'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'view_newest_pm_first', Chris@76: 'label' => $txt['recent_pms_at_top'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'posts_apply_ignore_list', Chris@76: 'label' => $txt['posts_apply_ignore_list'], Chris@76: 'default' => false, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'wysiwyg_default', Chris@76: 'label' => $txt['wysiwyg_default'], Chris@76: 'default' => false, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'popup_messages', Chris@76: 'label' => $txt['popup_messages'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'copy_to_outbox', Chris@76: 'label' => $txt['copy_to_outbox'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'pm_remove_inbox_label', Chris@76: 'label' => $txt['pm_remove_inbox_label'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'auto_notify', Chris@76: 'label' => $txt['auto_notify'], Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'topics_per_page', Chris@76: 'label' => $txt['topics_per_page'], Chris@76: 'options' => array( Chris@76: 0 => $txt['per_page_default'], Chris@76: 5 => 5, Chris@76: 10 => 10, Chris@76: 25 => 25, Chris@76: 50 => 50, Chris@76: ), Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'messages_per_page', Chris@76: 'label' => $txt['messages_per_page'], Chris@76: 'options' => array( Chris@76: 0 => $txt['per_page_default'], Chris@76: 5 => 5, Chris@76: 10 => 10, Chris@76: 25 => 25, Chris@76: 50 => 50, Chris@76: ), Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'calendar_start_day', Chris@76: 'label' => $txt['calendar_start_day'], Chris@76: 'options' => array( Chris@76: 0 => $txt['days'][0], Chris@76: 1 => $txt['days'][1], Chris@76: 6 => $txt['days'][6], Chris@76: ), Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'display_quick_reply', Chris@76: 'label' => $txt['display_quick_reply'], Chris@76: 'options' => array( Chris@76: 0 => $txt['display_quick_reply1'], Chris@76: 1 => $txt['display_quick_reply2'], Chris@76: 2 => $txt['display_quick_reply3'] Chris@76: ), Chris@76: 'default' => true, Chris@76: ), Chris@76: array( Chris@76: 'id' => 'display_quick_mod', Chris@76: 'label' => $txt['display_quick_mod'], Chris@76: 'options' => array( Chris@76: 0 => $txt['display_quick_mod_none'], Chris@76: 1 => $txt['display_quick_mod_check'], Chris@76: 2 => $txt['display_quick_mod_image'], Chris@76: ), Chris@76: 'default' => true, Chris@76: ), Chris@76: ); Chris@76: } Chris@76: Chris@76: function template_settings() Chris@76: { Chris@76: global $context, $settings, $options, $scripturl, $txt; Chris@76: Chris@76: $context['theme_settings'] = array( Chris@76: array( Chris@76: 'id' => 'header_logo_url', Chris@76: 'label' => $txt['header_logo_url'], Chris@76: 'description' => $txt['header_logo_url_desc'], Chris@76: 'type' => 'text', Chris@76: ), Chris@76: array( Chris@76: 'id' => 'site_slogan', Chris@76: 'label' => $txt['site_slogan'], Chris@76: 'description' => $txt['site_slogan_desc'], Chris@76: 'type' => 'text', Chris@76: ), Chris@76: array( Chris@76: 'id' => 'smiley_sets_default', Chris@76: 'label' => $txt['smileys_default_set_for_theme'], Chris@76: 'options' => $context['smiley_sets'], Chris@76: 'type' => 'text', Chris@76: ), Chris@76: array( Chris@76: 'id' => 'forum_width', Chris@76: 'label' => $txt['forum_width'], Chris@76: 'description' => $txt['forum_width_desc'], Chris@76: 'type' => 'text', Chris@76: 'size' => 8, Chris@76: ), Chris@76: '', Chris@76: array( Chris@76: 'id' => 'linktree_link', Chris@76: 'label' => $txt['current_pos_text_img'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_mark_read', Chris@76: 'label' => $txt['enable_mark_as_read'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'allow_no_censored', Chris@76: 'label' => $txt['allow_no_censored'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'enable_news', Chris@76: 'label' => $txt['enable_random_news'], Chris@76: ), Chris@76: '', Chris@76: array( Chris@76: 'id' => 'show_newsfader', Chris@76: 'label' => $txt['news_fader'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'newsfader_time', Chris@76: 'label' => $txt['admin_fader_delay'], Chris@76: 'type' => 'number', Chris@76: ), Chris@76: array( Chris@76: 'id' => 'number_recent_posts', Chris@76: 'label' => $txt['number_recent_posts'], Chris@76: 'description' => $txt['number_recent_posts_desc'], Chris@76: 'type' => 'number', Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_stats_index', Chris@76: 'label' => $txt['show_stats_index'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_latest_member', Chris@76: 'label' => $txt['latest_members'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_group_key', Chris@76: 'label' => $txt['show_group_key'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'display_who_viewing', Chris@76: 'label' => $txt['who_display_viewing'], Chris@76: 'options' => array( Chris@76: 0 => $txt['who_display_viewing_off'], Chris@76: 1 => $txt['who_display_viewing_numbers'], Chris@76: 2 => $txt['who_display_viewing_names'], Chris@76: ), Chris@76: 'type' => 'number', Chris@76: ), Chris@76: '', Chris@76: array( Chris@76: 'id' => 'show_modify', Chris@76: 'label' => $txt['last_modification'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_profile_buttons', Chris@76: 'label' => $txt['show_view_profile_button'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_user_images', Chris@76: 'label' => $txt['user_avatars'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_blurb', Chris@76: 'label' => $txt['user_text'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'show_gender', Chris@76: 'label' => $txt['gender_images'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'hide_post_group', Chris@76: 'label' => $txt['hide_post_group'], Chris@76: 'description' => $txt['hide_post_group_desc'], Chris@76: ), Chris@76: '', Chris@76: array( Chris@76: 'id' => 'show_bbc', Chris@76: 'label' => $txt['admin_bbc'], Chris@76: ), Chris@76: array( Chris@76: 'id' => 'additional_options_collapsable', Chris@76: 'label' => $txt['additional_options_collapsable'], Chris@76: ), Chris@76: ); Chris@76: } Chris@76: Chris@76: ?>