', $txt['settings'], '
', $txt['smiley_set_select_default'], ':
:
:
', $txt['smileys_enable_note'], '
', $txt['smiley_sets_base_url'], ':
', $txt['smiley_sets_base_dir'], ':

:
', $txt['icons_enable_customized_note'], '
'; } // Editing the smiley sets. function template_editsets() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; foreach ($context['smiley_sets'] as $smiley_set) echo ' '; echo '
', $txt['smiley_sets_default'], ' ', $txt['smiley_sets_name'], ' ', $txt['smiley_sets_url'], ' ', $txt['smiley_set_modify'], '
', $smiley_set['selected'] ? '*' : '', ' ', $smiley_set['name'], ' ', $modSettings['smileys_url'], '/', $smiley_set['path'], '/... ', $txt['smiley_set_modify'], ' ', $smiley_set['id'] != 0 ? '' : '', '

', $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 '
'; // 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 ' '; } 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 '
', $context['current_set']['is_new'] ? $txt['smiley_set_new'] : $txt['smiley_set_modify_existing'], '
', $context['current_set']['can_import'] == 1 ? $txt['smiley_set_import_single'] : $txt['smiley_set_import_multiple'], ' ', $txt['662'], ' ', $context['current_set']['can_import'] == 1 ? $txt['smiley_set_to_import_single'] : $txt['smiley_set_to_import_multiple'], '
:
: ', $modSettings['smileys_url'], '/'; if ($context['current_set']['id'] == 'default') echo 'default'; elseif (empty($context['smiley_set_dirs'])) echo ' '; else { echo ' '; } echo '/..
:
:
'; } // Editing smileys themselves. function template_editsmileys() { global $context, $settings, $options, $scripturl, $txt, $modSettings; // Some javascript for making changes to the smileys. echo '
'; foreach ($context['smileys'] as $smiley) echo ' '; echo '
', $context['sort'] == 'code' ? '' . $txt['smileys_code'] . '' : '' . $txt['smileys_code'] . '', ' ', $context['sort'] == 'filename' ? '' . $txt['smileys_filename'] . '' : '' . $txt['smileys_filename'] . '', ' ', $context['sort'] == 'hidden' ? '' . $txt['smileys_location'] . '' : '' . $txt['smileys_location'] . '', ' ', $context['sort'] == 'description' ? '' . $txt['smileys_description'] . '' : '' . $txt['smileys_description'] . '', ' ', $txt['smileys_modify'], '
', $smiley['description'], ' ', $smiley['code'], ' ', $smiley['filename'], ' ', $smiley['location'], ' ', $smiley['description'], empty($smiley['sets_not_found']) ? '' : '
' . $txt['smileys_not_found_in_set'] . ': ' . implode(', ', $smiley['sets_not_found']) . '', '
', $txt['smileys_modify'], '
'; } // 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 ' '; } echo '
', $txt['smileys_add_upload_choose'], ':
', $txt['smileys_add_upload_choose_desc'], '

', $txt['smiley_new'], '
:
:
:
'; } // Ordering smileys. function template_setorder() { global $context, $settings, $options, $scripturl, $txt, $modSettings; 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 '
'; } } // Editing Message Icons function template_editicons() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; foreach ($context['icons'] as $icon) echo ' '; echo '
', $txt['smileys_filename'], ' ', $txt['smileys_description'], ' ', $txt['icons_board'], ' ', $txt['smileys_modify'], '
', $icon['title'], ' ', $icon['filename'], '.gif ', $icon['title'], ' ', $icon['board'], ' ', $txt['smileys_modify'], '

'; } // Editing an individual message icon function template_editicon() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; if (!$context['new_icon']) echo ' '; echo '
', $context['new_icon'] ? $txt['icons_new_icon'] : $txt['icons_edit_icon'], '
', $txt['smiley_preview'], ': ', $context['icon']['title'], '
:
', $txt['icons_filename_all_gif'], '
:
:
:
'; if (!$context['new_icon']) echo ' '; echo '
'; } ?>