echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\"><h2>", gettext("Admin"), "</h2></td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\">", form_checkbox("closed", "Y", gettext("Close for posting"), isset($closed) ? $closed == 'Y' : false), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\">", form_checkbox("sticky", "Y", gettext("Make sticky"), isset($sticky) ? $sticky == 'Y' : false), "</td>\n"; echo " </tr>\n"; } echo " </table>\n"; if (($user_emoticon_pack = session::get_value('EMOTICONS')) === false) { $user_emoticon_pack = forum_get_setting('default_emoticons', null, 'default'); } if ($emoticon_preview_html = emoticons_preview($user_emoticon_pack)) { echo " <br />\n"; echo " <table width=\"196\" class=\"messagefoot\" cellspacing=\"0\">\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"subhead\">", gettext("Emoticons"), "</td>\n"; if (($page_prefs & POST_EMOTICONS_DISPLAY) > 0) { echo " <td class=\"subhead\" align=\"right\">", form_submit_image('hide.png', 'emots_toggle', 'hide', '', 'button_image toggle_button', '', 'button_image toggle_button'), " </td>\n"; } else { echo " <td class=\"subhead\" align=\"right\">", form_submit_image('show.png', 'emots_toggle', 'show', '', 'button_image toggle_button', '', 'button_image toggle_button'), " </td>\n"; } echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" colspan=\"2\">\n"; if (($page_prefs & POST_EMOTICONS_DISPLAY) > 0) { echo " <div class=\"emots_toggle\">{$emoticon_preview_html}</div>\n"; } else {
echo " <td align=\"left\"><h2>", gettext("Admin"), "</h2></td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\">", form_checkbox("closed", "Y", gettext("Close for posting"), isset($closed) ? $closed == 'Y' : false), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\">", form_checkbox("sticky", "Y", gettext("Make sticky"), isset($sticky) ? $sticky == 'Y' : false), "</td>\n"; echo " </tr>\n"; } echo " </table>\n"; if (isset($_SESSION['EMOTICONS']) && strlen(trim($_SESSION['EMOTICONS'])) > 0) { $user_emoticon_pack = $_SESSION['EMOTICONS']; } else { $user_emoticon_pack = forum_get_setting('default_emoticons', 'strlen', 'default'); } if (($emoticon_preview_html = emoticons_preview($user_emoticon_pack)) !== false) { echo " <br />\n"; echo " <table width=\"196\" class=\"messagefoot\" cellspacing=\"0\">\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"subhead\">", gettext("Emoticons"), "</td>\n"; if (($page_prefs & POST_EMOTICONS_DISPLAY) > 0) { echo " <td class=\"subhead\" align=\"right\">", form_submit_image('hide', 'emots_toggle', 'hide', null, 'button_image toggle_button'), " </td>\n"; } else { echo " <td class=\"subhead\" align=\"right\">", form_submit_image('show', 'emots_toggle', 'show', null, 'button_image toggle_button'), " </td>\n"; } echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" colspan=\"2\">\n"; if (($page_prefs & POST_EMOTICONS_DISPLAY) > 0) { echo " <div class=\"emots_toggle\">{$emoticon_preview_html}</div>\n"; } else {