'; 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 ? sprintf($txt['smiley_set_import_single'], $context['current_set']['import_url']) : sprintf($txt['smiley_set_import_multiple'], $context['current_set']['can_import'], $context['current_set']['import_url']), '
'; } 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_png'], '
:
:
:
'; if (!$context['new_icon']) echo ' '; echo '
'; } ?>