当前位置: 首页>>代码示例>>PHP>>正文


PHP htmlentities_array函数代码示例

本文整理汇总了PHP中htmlentities_array函数的典型用法代码示例。如果您正苦于以下问题:PHP htmlentities_array函数的具体用法?PHP htmlentities_array怎么用?PHP htmlentities_array使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了htmlentities_array函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: htmlentities_array

/**
 * Wrapper around htmlentities to handle arrays, with the advantage that you
 * can select which fields should be handled by htmlentities
 *
 * @param array The subject array
 * @param string The fields which should be checked for, separated by spaces
 * @param int See php documentation about this
 * @param string See php documentation about this
 * @return array The array with htmlentitie'd strings
 * @author Florian Lippert <flo@syscp.org>
 */
function htmlentities_array($subject, $fields = '', $quote_style = ENT_QUOTES, $charset = 'UTF-8')
{
    if (is_array($subject)) {
        if (!is_array($fields)) {
            $fields = array_trim(explode(' ', $fields));
        }
        foreach ($subject as $field => $value) {
            if (!is_array($fields) || empty($fields) || is_array($fields) && !empty($fields) && in_array($field, $fields)) {
                /**
                 * Just call ourselve to manage multi-dimensional arrays
                 */
                $subject[$field] = htmlentities_array($subject[$field], $fields, $quote_style, $charset);
            }
        }
    } else {
        $subject = htmlentities($subject, $quote_style, $charset);
    }
    return $subject;
}
开发者ID:cobrafast,项目名称:Froxlor,代码行数:30,代码来源:function.htmlentities_array.php

示例2: styles_get_available

function styles_get_available()
{
    // Array to store our styles in.
    $available_forum_styles = array();
    // Try and open the styles directory for reading.
    if (!@($dir = opendir("styles"))) {
        return false;
    }
    // Iterate over the entries in the directory.
    while (($file = readdir($dir)) !== false) {
        // Check the entry is a directory excluding . and ..
        if (!is_dir("styles/{$file}") || $file == '.' || $file == '..') {
            continue;
        }
        // Check a style.css exists in it.
        if (!file_exists("styles/{$file}/style.css")) {
            continue;
        }
        // Look for a desc.txt to use in place of the directory name.
        if (file_exists("styles/{$file}/desc.txt") && is_readable("styles/{$file}/desc.txt")) {
            // Add the style to the list with the contents of desc.txt as the name.
            $available_forum_styles[$file] = htmlentities_array(trim(file_get_contents("styles/{$file}/desc.txt")));
        } else {
            // Add the style to the list using the directory name
            $available_forum_styles[$file] = htmlentities_array(trim($file));
        }
    }
    // Close the directory handle.
    closedir($dir);
    // Check we have something to return.
    if (sizeof($available_forum_styles) < 1) {
        return false;
    }
    // Sort the styles alphabetically.
    asort($available_forum_styles);
    // Reset the array pointer.
    reset($available_forum_styles);
    // Return the styles.
    return $available_forum_styles;
}
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:40,代码来源:styles.inc.php

示例3: form_input_hidden

    echo "                </tr>\n";
} else {
    echo "                <tr>\n";
    echo "                  <td align=\"left\" colspan=\"6\">&nbsp;</td>\n";
    echo "                </tr>\n";
}
echo "              </table>\n";
echo "            </td>\n";
echo "          </tr>\n";
echo "        </table>\n";
echo "      </td>\n";
echo "    </tr>\n";
echo "  </table>\n";
echo "  <br />\n";
echo "  <form accept-charset=\"utf-8\" action=\"admin_post_stats.php\" method=\"post\" target=\"_self\">\n";
echo "  ", form_input_hidden("webtag", htmlentities_array($webtag)), "\n";
echo "  <table cellpadding=\"0\" cellspacing=\"0\" width=\"700\">\n";
echo "    <tr>\n";
echo "      <td align=\"left\">\n";
echo "        <table class=\"box\" width=\"100%\">\n";
echo "          <tr>\n";
echo "            <td align=\"left\" class=\"posthead\">\n";
echo "              <table class=\"posthead\" width=\"100%\">\n";
echo "                <tr>\n";
echo "                  <td align=\"left\" class=\"subhead\">", gettext("Options"), "</td>\n";
echo "                </tr>\n";
echo "                <tr>\n";
echo "                  <td align=\"center\">\n";
echo "                    <table class=\"posthead\" width=\"95%\">\n";
echo "                      <tr>\n";
echo "                        <td align=\"left\" width=\"100\">", gettext("Posted from"), ":</td>\n";
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:admin_post_stats.php

示例4: gettext

echo "  <table cellpadding=\"0\" cellspacing=\"0\" width=\"450\">\n";
echo "      <tr>\n";
echo "        <td align=\"center\">\n";
echo "          <table class=\"box\" width=\"450\">\n";
echo "            <tr>\n";
echo "              <td align=\"left\" class=\"posthead\">\n";
echo "                <table class=\"posthead\" width=\"100%\">\n";
echo "                  <tr>\n";
echo "                    <td align=\"left\" class=\"subhead\" colspan=\"2\">", gettext("Forgot password"), "</td>\n";
echo "                  </tr>\n";
echo "                  <tr>\n";
echo "                    <td align=\"center\">\n";
echo "                      <table class=\"posthead\" width=\"95%\">\n";
echo "                        <tr>\n";
echo "                          <td align=\"left\">", gettext("Username"), ":</td>\n";
echo "                          <td align=\"left\">", form_input_text("logon", isset($logon) ? htmlentities_array($logon) : '', 37, 15), "</td>\n";
echo "                        </tr>\n";
echo "                      </table>\n";
echo "                    </td>\n";
echo "                  </tr>\n";
echo "                  <tr>\n";
echo "                    <td align=\"left\">&nbsp;</td>\n";
echo "                    <td align=\"left\">&nbsp;</td>\n";
echo "                  </tr>\n";
echo "                </table>\n";
echo "              </td>\n";
echo "            </tr>\n";
echo "          </table>\n";
echo "        </td>\n";
echo "      </tr>\n";
echo "      <tr>\n";
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:forgot_pw.php

示例5: foreach

    foreach ($folder_mods_array as $folder_mod) {
        echo "                            <li><a href=\"user_profile.php?webtag={$webtag}&amp;uid={$folder_mod['UID']}\" target=\"_blank\" class=\"popup 650x500\">";
        echo word_filter_add_ob_tags(format_user_name($folder_mod['LOGON'], $folder_mod['NICKNAME']), true), "</a></li>\n";
    }
} else {
    echo "                            <li>", gettext("No moderators found"), "</li>\n";
}
echo "                          </ul>\n";
echo "                        </td>\n";
echo "                      </tr>\n";
echo "                    </table>\n";
echo "                  </td>\n";
echo "                </tr>\n";
echo "                <tr>\n";
echo "                  <td align=\"left\">&nbsp;</td>\n";
echo "                </tr>\n";
echo "              </table>\n";
echo "            </td>\n";
echo "          </tr>\n";
echo "        </table>\n";
echo "      </td>\n";
echo "    </tr>\n";
echo "  </table>\n";
echo "  <br />\n";
echo "  <form accept-charset=\"utf-8\" method=\"post\" action=\"mods_list.php\" target=\"_self\">\n";
echo "    ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n";
echo "    ", form_input_hidden('fid', htmlentities_array($fid)), "\n";
echo "    " . form_button('close_popup', gettext("Close")) . "\n";
echo "  </form>\n";
echo "</div>\n";
html_draw_bottom();
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:mods_list.php

示例6: light_html_display_error_array

echo "<div class=\"post_inner\">\n";
if (isset($error_msg_array) && sizeof($error_msg_array) > 0) {
    light_html_display_error_array($error_msg_array);
}
echo "<div class=\"post_thread_title\">", gettext("Subject"), ":", light_form_input_text("t_subject", isset($t_subject) ? htmlentities_array($t_subject) : "", 30, 64), "</div>\n";
echo "<div class=\"post_to\">", gettext("To"), ":\n";
echo "<div class=\"recipients\">\n";
if (isset($message_data['RECIPIENTS']) && sizeof($message_data['RECIPIENTS']) > 0) {
    foreach ($message_data['RECIPIENTS'] as $recipient) {
        echo word_filter_add_ob_tags(format_user_name($recipient['LOGON'], $recipient['NICKNAME']), true), "\n";
    }
} else {
    echo gettext('Unknown User');
}
echo "</div>\n";
echo "</div>\n";
echo "<div class=\"post_content\">", light_form_textarea("t_content", htmlentities_array(strip_paragraphs($t_content)), 10, 50, null, 'textarea'), "</div>\n";
echo "<div class=\"post_buttons\">";
echo light_form_submit("apply", gettext("Apply"));
echo light_form_submit("preview", gettext("Preview"));
echo light_form_submit("cancel", gettext("Cancel"));
echo "</div>";
if (attachments_check_dir()) {
    echo "<div class=\"attachments post_attachments\">", gettext('Attachments'), ":\n";
    echo "  ", attachments_form($_SESSION['UID'], $attachments), "\n";
    echo "</div>\n";
}
echo "</div>";
echo "</div>";
echo "</form>\n";
light_html_draw_bottom();
开发者ID:DeannaG65,项目名称:BeehiveForum,代码行数:31,代码来源:lpm_edit.php

示例7: form_dropdown_array

echo "                        <td align=\"left\">", form_dropdown_array('attachment_thumbnail_method', $attachment_thumbnail_methods, isset($forum_global_settings['attachment_thumbnail_method']) ? $forum_global_settings['attachment_thumbnail_method'] : ATTACHMENT_THUMBNAIL_PHPGD), "</td>\n";
echo "                      </tr>\n";
echo "                      <tr>\n";
echo "                        <td align=\"left\" width=\"270\">", gettext("Path to Imagemagick convert binary"), ":</td>\n";
echo "                        <td align=\"left\">", form_input_text("attachment_imagemagick_path", isset($forum_global_settings['attachment_imagemagick_path']) ? htmlentities_array($forum_global_settings['attachment_imagemagick_path']) : '', 35, 255), "</td>\n";
echo "                      </tr>\n";
echo "                      <tr>\n";
echo "                        <td align=\"left\" colspan=\"2\">&nbsp;</td>\n";
echo "                      </tr>\n";
echo "                      <tr>\n";
echo "                        <td align=\"left\" width=\"270\">", gettext("Attachment space per user"), ":</td>\n";
echo "                        <td align=\"left\">", form_input_text("attachments_max_user_space", isset($forum_global_settings['attachments_max_user_space']) ? htmlentities_array($forum_global_settings['attachments_max_user_space'] / 1024 / 1024) : "1", 10, 32), "&nbsp;(MB)</td>\n";
echo "                      </tr>\n";
echo "                      <tr>\n";
echo "                        <td align=\"left\" width=\"270\">", gettext("Attachment space per post"), ":</td>\n";
echo "                        <td align=\"left\">", form_input_text("attachments_max_post_space", isset($forum_global_settings['attachments_max_post_space']) ? htmlentities_array($forum_global_settings['attachments_max_post_space'] / 1024 / 1024) : "1", 10, 32), "&nbsp;(MB)</td>\n";
echo "                      </tr>\n";
if (isset($forum_global_settings['attachments_enabled']) && $forum_global_settings['attachments_enabled'] == "Y") {
    if (!attachments_check_dir()) {
        echo "                      <tr>\n";
        echo "                        <td align=\"left\" colspan=\"2\">&nbsp;</td>\n";
        echo "                      </tr>\n";
        echo "                      <tr>\n";
        echo "                        <td colspan=\"2\">\n";
        html_display_error_msg(gettext("Attachment directory and system temporary directory / php.ini 'upload_tmp_dir' must be writable by the web server / PHP process!"), '95%', 'center');
        echo "                        </td>\n";
        echo "                      </tr>\n";
    }
}
echo "                      <tr>\n";
echo "                        <td align=\"left\" colspan=\"2\">&nbsp;</td>\n";
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:admin_default_forum_settings.php

示例8: form_checkbox

         if ($admin_edit === false) {
             echo "                        <td align=\"right\" valign=\"top\">", form_checkbox("t_entry_private[{$profile_item['PIID']}]", "Y", '', isset($profile_item['PRIVACY']) && $profile_item['PRIVACY'] == PROFILE_ITEM_PRIVATE, sprintf("title=%s", gettext("Friends only?"))), "</td>\n";
         } else {
             echo "                        <td align=\"left\" valign=\"top\">&nbsp;</td>\n";
         }
     } else {
         if ($profile_item['TYPE'] == PROFILE_ITEM_MULTI_TEXT) {
             echo "                        <td align=\"left\" valign=\"top\">", form_textarea("t_entry[{$profile_item['PIID']}]", isset($t_entry_array[$profile_item['PIID']]) ? htmlentities_array($t_entry_array[$profile_item['PIID']]) : htmlentities_array($profile_item['ENTRY']), false, false, false, 'bhinputprofileitem'), "</td>\n";
             if ($admin_edit === false) {
                 echo "                        <td align=\"right\" valign=\"top\">", form_checkbox("t_entry_private[{$profile_item['PIID']}]", "Y", '', isset($profile_item['PRIVACY']) && $profile_item['PRIVACY'] == PROFILE_ITEM_PRIVATE, sprintf("title=%s", gettext("Friends only?"))), "</td>\n";
             } else {
                 echo "                        <td align=\"left\" valign=\"top\">&nbsp;</td>\n";
             }
             echo "                      </tr>\n";
         } else {
             echo "                        <td align=\"left\" valign=\"top\">", form_input_text("t_entry[{$profile_item['PIID']}]", isset($t_entry_array[$profile_item['PIID']]) ? htmlentities_array($t_entry_array[$profile_item['PIID']]) : htmlentities_array($profile_item['ENTRY']), false, false, false, 'bhinputprofileitem'), "</td>\n";
             if ($admin_edit === false) {
                 echo "                        <td align=\"right\" valign=\"top\">", form_checkbox("t_entry_private[{$profile_item['PIID']}]", "Y", '', isset($profile_item['PRIVACY']) && $profile_item['PRIVACY'] == PROFILE_ITEM_PRIVATE, sprintf("title=%s", gettext("Friends only?"))), "</td>\n";
             } else {
                 echo "                        <td align=\"left\" valign=\"top\">&nbsp;</td>\n";
             }
         }
     }
     echo "                      </tr>\n";
 }
 echo "                      <tr>\n";
 echo "                        <td align=\"left\">&nbsp;</td>\n";
 echo "                      </tr>\n";
 echo "                    </table>\n";
 echo "                  </td>\n";
 echo "                </tr>\n";
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:edit_profile.php

示例9: thread_list_draw_top

function thread_list_draw_top($mode, $folder = false)
{
    $webtag = get_webtag();
    forum_check_webtag_available($webtag);
    echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
    echo "  <tr>\n";
    echo "    <td align=\"left\" class=\"postbody\">", html_style_image('post', gettext("New Discussion")), "&nbsp;<a href=\"post.php?webtag={$webtag}\" target=\"", html_get_frame_name('main'), "\">", gettext("New Discussion"), "</a></td>\n";
    echo "  </tr>\n";
    if (forum_get_setting('allow_polls', 'Y')) {
        echo "  <tr>\n";
        echo "    <td align=\"left\" class=\"postbody\">", html_style_image('poll', gettext("Create Poll")), "&nbsp;<a href=\"create_poll.php?webtag={$webtag}\" target=\"", html_get_frame_name('main'), "\">", gettext("Create Poll"), "</a></td>\n";
        echo "  </tr>\n";
    }
    echo "  <tr>\n";
    echo "    <td align=\"left\" class=\"postbody\">", html_style_image('search', gettext("Search")), "&nbsp;<a href=\"search.php?webtag={$webtag}\" target=\"", html_get_frame_name('right'), "\">", gettext("Search"), "</a></td>\n";
    echo "  </tr>\n";
    echo "  <tr>\n";
    echo "    <td align=\"left\" class=\"postbody\">", html_style_image('pm_unread', gettext("Inbox")), "&nbsp;<a href=\"pm.php?webtag={$webtag}\" target=\"", html_get_frame_name('main'), "\">", gettext("Inbox"), "</a> <span class=\"pmnewcount\" id=\"pm_message_count\"></span></td>\n";
    echo "  </tr>\n";
    echo "</table>\n";
    echo "<br />\n";
    $available_views = thread_list_available_views();
    echo "<form accept-charset=\"utf-8\" name=\"f_mode\" method=\"get\" action=\"thread_list.php\">\n";
    echo "  ", form_input_hidden("webtag", htmlentities_array($webtag)), "\n";
    echo "  <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
    echo "    <tr>\n";
    echo "      <td align=\"left\" class=\"postbody\">\n";
    echo "        ", form_dropdown_array("mode", $available_views, htmlentities_array($mode)), "&nbsp;", form_submit("go", gettext("Go!")), "\n";
    if (is_numeric($folder) && in_array($folder, folder_get_available_array())) {
        echo "        ", form_input_hidden("folder", htmlentities_array($folder)), "\n";
    }
    echo "      </td>\n";
    echo "    </tr>\n";
    echo "  </table>\n";
    echo "</form>\n";
}
开发者ID:DeannaG65,项目名称:BeehiveForum,代码行数:36,代码来源:threads.inc.php

示例10: folder_draw_dropdown_all

function folder_draw_dropdown_all($default_fid, $field_name = "t_fid", $suffix = "", $custom_html = "", $class = "bhselect")
{
    if (!($db = db::get())) {
        return false;
    }
    if (!($table_prefix = get_table_prefix())) {
        return "";
    }
    $available_folders = array();
    $sql = "SELECT FID, TITLE, DESCRIPTION FROM `{$table_prefix}FOLDER` ";
    $sql .= "ORDER BY POSITION";
    if (!($result = $db->query($sql))) {
        return false;
    }
    if ($result->num_rows == 0) {
        return false;
    }
    while (($folder_data = $result->fetch_assoc()) !== null) {
        $available_folders[$folder_data['FID']] = htmlentities_array($folder_data['TITLE']);
    }
    if (sizeof($available_folders) == 0) {
        return false;
    }
    return form_dropdown_array($field_name . $suffix, $available_folders, $default_fid, $custom_html, $class);
}
开发者ID:DeannaG65,项目名称:BeehiveForum,代码行数:25,代码来源:folder.inc.php

示例11: form_quick_button

function form_quick_button($href, $label, $var_array = false, $target = "_self")
{
    $webtag = get_webtag();
    $html = "<form accept-charset=\"utf-8\" method=\"get\" action=\"{$href}\" target=\"{$target}\">";
    $html .= form_input_hidden("webtag", htmlentities_array($webtag));
    if (is_array($var_array)) {
        foreach ($var_array as $var_name => $var_value) {
            if (!is_array($var_value)) {
                $html .= form_input_hidden($var_name, htmlentities_array($var_value));
            }
        }
    }
    $html .= form_submit(form_unique_id('submit'), $label);
    $html .= "</form>";
    return $html;
}
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:16,代码来源:form.inc.php

示例12: substr

                     case 3:
                         $ticket['display'] = 'low';
                         break;
                     default:
                         $ticket['display'] = 'unknown';
                 }
                 $ticket['priority'] = ticket::getPriorityText($lng, $ticket['priority']);
                 if ($ticket['lastreplier'] == '1') {
                     $ticket['lastreplier'] = $lng['ticket']['staff'];
                 } else {
                     $ticket['lastreplier'] = $lng['ticket']['customer'];
                 }
                 if (strlen($ticket['subject']) > 20) {
                     $ticket['subject'] = substr($ticket['subject'], 0, 17) . '...';
                 }
                 $ticket = htmlentities_array($ticket);
                 eval("\$tickets.=\"" . getTemplate("tickets/archived_tickets") . "\";");
                 $count++;
                 $_cid = $ticket['customerid'];
             }
         }
         $i++;
     }
     eval("echo \"" . getTemplate("tickets/archivesearch") . "\";");
 } else {
     $archived = array();
     $archived = ticket::getLastArchived($db, 6, $userinfo['adminid']);
     $tickets = '';
     if ($archived !== false) {
         foreach ($archived as $id => $ticket) {
             $ticket['lastchange'] = date("d.m.y H:i", $ticket['lastchange']);
开发者ID:Alkyoneus,项目名称:Froxlor,代码行数:31,代码来源:admin_tickets.php

示例13: messages_interest_form

function messages_interest_form($tid, $pid, $interest)
{
    $webtag = get_webtag();
    $interest_levels_array = array(THREAD_IGNORED => gettext("Ignore"), THREAD_NOINTEREST => gettext("Normal"), THREAD_INTERESTED => gettext("Interested"), THREAD_SUBSCRIBED => gettext("Subscribed"));
    echo "<table class=\"posthead\" width=\"100%\">\n";
    echo "  <tr>\n";
    echo "    <td align=\"center\">\n";
    echo "      <form accept-charset=\"utf-8\" name=\"rate_interest\" target=\"_self\" action=\"thread_options.php?webtag={$webtag}&amp;msg={$tid}.{$pid}\" method=\"post\">\n";
    echo "        ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n";
    echo "        ", gettext("Rate my interest"), ": ", form_radio_array("setinterest", $interest_levels_array, htmlentities_array($interest));
    echo "        ", form_input_hidden("tid", htmlentities_array($tid));
    echo "        ", form_submit("apply", gettext("Apply")), "\n";
    echo "      </form>\n";
    echo "    </td>\n";
    echo "  </tr>\n";
    echo "</table>\n";
    echo "<br />\n";
}
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:18,代码来源:messages.inc.php

示例14: profile_section_dropdown

function profile_section_dropdown($default_psid, $field_name = 't_psid')
{
    if (!($db = db::get())) {
        return '';
    }
    if (!($table_prefix = get_table_prefix())) {
        return '';
    }
    $sql = "SELECT PSID, NAME FROM `{$table_prefix}PROFILE_SECTION`";
    if (!($result = $db->query($sql))) {
        return '';
    }
    if ($result->num_rows == 0) {
        return '';
    }
    while ($profile_section_data = $result->fetch_assoc()) {
        $profile_sections_array[$profile_section_data['PSID']] = htmlentities_array($profile_section_data['NAME']);
    }
    return form_dropdown_array($field_name, $profile_sections_array, $default_psid);
}
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:20,代码来源:profile.inc.php

示例15: gettext

}
if ($preview_message['TO_UID'] == 0) {
    $preview_message['TLOGON'] = gettext("ALL");
    $preview_message['TNICK'] = gettext("ALL");
} else {
    $preview_tuser = user_get($preview_message['TO_UID']);
    $preview_message['TLOGON'] = $preview_tuser['LOGON'];
    $preview_message['TNICK'] = $preview_tuser['NICKNAME'];
}
$preview_tuser = user_get($preview_message['FROM_UID']);
$preview_message['FLOGON'] = $preview_tuser['LOGON'];
$preview_message['FNICK'] = $preview_tuser['NICKNAME'];
echo "<br />\n";
echo "<form accept-charset=\"utf-8\" name=\"f_delete\" action=\"close_poll.php\" method=\"post\" target=\"_self\">\n";
echo "  ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n";
echo "  ", form_input_hidden('msg', htmlentities_array($msg)), "\n";
echo "  <table cellpadding=\"0\" cellspacing=\"0\" width=\"720\">\n";
echo "    <tr>\n";
echo "      <td align=\"left\">\n";
echo "        <table class=\"box\" width=\"100%\">\n";
echo "          <tr>\n";
echo "            <td align=\"left\" class=\"posthead\">\n";
echo "              <table class=\"posthead\" width=\"100%\">\n";
echo "                <tr>\n";
echo "                  <td align=\"left\" class=\"subhead\">", gettext("End Poll"), "</td>\n";
echo "                </tr>\n";
echo "                <tr>\n";
echo "                  <td align=\"left\"><br />";
poll_display($tid, $thread_data['LENGTH'], $pid, $thread_data['FID'], false, $thread_data['CLOSED'], false, $show_sigs, true);
echo "                  </td>\n";
echo "                </tr>\n";
开发者ID:richstokoe,项目名称:BeehiveForum,代码行数:31,代码来源:close_poll.php


注:本文中的htmlentities_array函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。