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


PHP forum_link函数代码示例

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


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

示例1: edit

 public function edit()
 {
     if (isset($_POST['update'])) {
         if ($_POST['fields_name'] == '') {
             message(App::$lang['Fields name error']);
         }
         $field['name'] = $_POST['fields_name'] != '' ? '\'' . App::$forum_db->escape($_POST['fields_name']) . '\'' : NULL;
         $field['desc'] = $_POST['fields_desc'] != '' ? '\'' . App::$forum_db->escape($_POST['fields_desc']) . '\'' : NULL;
         $field['url'] = $_POST['fields_url'] != '' ? '\'' . App::$forum_db->escape($_POST['fields_url']) . '\'' : '\'\'';
         if (!isset($_POST['fields_in_vt']) || $_POST['fields_in_vt'] != '1') {
             $field['vt'] = '0';
         } else {
             $field['vt'] = '1';
         }
         $this->_fields->set_fields_by_uid($field, $this->uid);
         if ($_POST['field'] != $_POST['fields_name']) {
             $this->_fields->change_field('users', $_POST['field'], $_POST['fields_name']);
         }
         K_Fields_Module_Cache::fields();
         App::$forum_flash->add_info(App::$lang['Fields updated']);
         redirect(forum_link(App::$forum_url['admin_fields_id'], array($this->uid)), App::$lang['Fields updated']);
     } elseif (isset($_POST['delete'])) {
         $this->_fields->delete_field($this->uid);
         K_Fields_Module_Cache::fields();
         App::$forum_flash->add_info(App::$lang['Fields removed']);
         redirect(forum_link(App::$forum_url['admin_fields'], array($this->uid)), App::$lang['Fields removed']);
     } else {
         View::$instance = View::factory(FORUM_ROOT . 'extensions/k_fields/view/field_edit', array('records' => $this->_fields->get_fields_by_uid($this->uid)));
     }
 }
开发者ID:xSTRIGx,项目名称:PunBB.Extensions,代码行数:30,代码来源:fields.php

示例2: check_redirect

function check_redirect(&$url, &$link, &$full_url)
{
    global $cur_post, $forum_url, $user;
    if (!is_reserved_url($full_url)) {
        if (isset($cur_post) && isset($cur_post['id']) && !isset($GLOBALS['hcs_sig_redirect'])) {
            $full_url = forum_link($forum_url['hcs_redirect'], array(forum_hash($full_url, ''), $cur_post['id'])) . '" target="_blank';
        } else {
            if (!isset($cur_post) && !isset($cur_post['id']) && isset($GLOBALS['hcs_sig_redirect'])) {
                $full_url = forum_link($forum_url['hcs_redirect_sig'], array(forum_hash($full_url, ''), $user['id'])) . '" target="_blank';
            } else {
                if (isset($cur_post) && isset($cur_post['id']) && isset($GLOBALS['hcs_sig_redirect'])) {
                    $full_url = forum_link($forum_url['hcs_redirect_sigpost'], array(forum_hash($full_url, ''), $cur_post['id'], $cur_post['poster_id'])) . '" target="_blank';
                }
            }
        }
        $link = str_replace('http://', '', $link);
    }
}
开发者ID:mdb-webdev,项目名称:punbb_extensions,代码行数:18,代码来源:parser.php

示例3: define

 */
if (!defined('FORUM_ROOT')) {
    define('FORUM_ROOT', './');
}
require FORUM_ROOT . 'include/common.php';
($hook = get_hook('he_start')) ? eval($hook) : null;
if ($forum_user['g_read_board'] == '0') {
    message($lang_common['No view']);
}
// Load the help.php language file
require FORUM_ROOT . 'lang/' . $forum_user['language'] . '/help.php';
$section = isset($_GET['section']) ? $_GET['section'] : null;
if (!$section) {
    message($lang_common['Bad request']);
}
$forum_page['crumbs'] = array(array($forum_config['o_board_title'], forum_link($forum_url['help'])), $lang_help['Help']);
define('FORUM_PAGE', 'help');
require FORUM_ROOT . 'header.php';
// START SUBST - <!-- forum_main -->
ob_start();
($hook = get_hook('he_main_output_start')) ? eval($hook) : null;
?>
<div id="brd-main" class="main">

<div class="main-head">
	<h1 class="hn"><span><?php 
echo $lang_help['Help'];
?>
</span></h1>
</div>
<?php 
开发者ID:torepublicStartpageCode,项目名称:torepublic2,代码行数:31,代码来源:help.php

示例4: array

			<p><?php 
echo $lang_admin_groups['Existing groups intro'];
?>
</p>
		</div>
		<div class="ct-group">
<?php 
$query = array('SELECT' => 'g.g_id, g.g_title', 'FROM' => 'groups AS g', 'ORDER BY' => 'g.g_title');
($hook = get_hook('agr_qr_get_group_list')) ? eval($hook) : null;
$result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
$forum_page['item_num'] = 0;
while ($cur_group = $forum_db->fetch_assoc($result)) {
    $forum_page['group_options'] = array('edit' => '<span class="first-item"><a href="' . forum_link($forum_url['admin_groups']) . '?edit_group=' . $cur_group['g_id'] . '">' . $lang_admin_groups['Edit group'] . '</a></span>');
    if ($cur_group['g_id'] > FORUM_GUEST) {
        if ($cur_group['g_id'] != $forum_config['o_default_user_group']) {
            $forum_page['group_options']['remove'] = '<span' . (empty($forum_page['group_options']) ? ' class="first-item"' : '') . '><a href="' . forum_link($forum_url['admin_groups']) . '?del_group=' . $cur_group['g_id'] . '">' . $lang_admin_groups['Remove group'] . '</a></span>';
        } else {
            $forum_page['group_options']['remove'] = '<span' . (empty($forum_page['group_options']) ? ' class="first-item"' : '') . '>' . $lang_admin_groups['Cannot remove default'] . '</span>';
        }
    } else {
        $forum_page['group_options']['remove'] = '<span' . (empty($forum_page['group_options']) ? ' class="first-item"' : '') . '>' . $lang_admin_groups['Cannot remove group'] . '</span>';
    }
    ($hook = get_hook('agr_edit_group_row_pre_output')) ? eval($hook) : null;
    ?>
			<div class="ct-set set<?php 
    echo ++$forum_page['item_count'];
    ?>
">
				<div class="ct-box">
					<h3 class="ct-legend hn"><span><?php 
    echo forum_htmlencode($cur_group['g_title']);
开发者ID:vebnz,项目名称:lifelitup,代码行数:31,代码来源:groups.php

示例5: array

            require FORUM_ROOT . 'lang/' . $forum_config['o_default_lang'] . '/index.php';
            // Collect some statistics from the database
            $query = array('SELECT' => 'COUNT(u.id) - 1', 'FROM' => 'users AS u', 'WHERE' => 'u.group_id != ' . FORUM_UNVERIFIED);
            ($hook = get_hook('ex_qr_get_user_count')) ? eval($hook) : null;
            $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
            $stats['total_users'] = $forum_db->result($result);
            $query = array('SELECT' => 'u.id, u.username', 'FROM' => 'users AS u', 'WHERE' => 'u.group_id != ' . FORUM_UNVERIFIED, 'ORDER BY' => 'u.registered DESC', 'LIMIT' => '1');
            ($hook = get_hook('ex_qr_get_newest_user')) ? eval($hook) : null;
            $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
            $stats['last_user'] = $forum_db->fetch_assoc($result);
            $query = array('SELECT' => 'SUM(f.num_topics), SUM(f.num_posts)', 'FROM' => 'forums AS f');
            ($hook = get_hook('ex_qr_get_post_stats')) ? eval($hook) : null;
            $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
            list($stats['total_topics'], $stats['total_posts']) = $forum_db->fetch_row($result);
            // Send the Content-type header in case the web server is setup to send something else
            header('Content-type: text/html; charset=utf-8');
            header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
            header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
            header('Pragma: public');
            ($hook = get_hook('ex_pre_stats_output')) ? eval($hook) : null;
            echo sprintf($lang_index['No of users'], forum_number_format($stats['total_users'])) . '<br />' . "\n";
            echo sprintf($lang_index['Newest user'], '<a href="' . forum_link($forum_url['user'], $stats['last_user']['id']) . '">' . forum_htmlencode($stats['last_user']['username']) . '</a>') . '<br />' . "\n";
            echo sprintf($lang_index['No of topics'], forum_number_format($stats['total_topics'])) . '<br />' . "\n";
            echo sprintf($lang_index['No of posts'], forum_number_format($stats['total_posts'])) . '<br />' . "\n";
            exit;
        }
    }
}
($hook = get_hook('ex_new_action')) ? eval($hook) : null;
// If we end up here, the script was called with some wacky parameters
exit($lang_common['Bad request']);
开发者ID:ZerGabriel,项目名称:punbb,代码行数:31,代码来源:extern.php

示例6: get_hook

($hook = get_hook('ark_add_rank_fieldset_end')) ? eval($hook) : null;
?>
			</fieldset>
		</form>
<?php 
if (!empty($forum_ranks)) {
    // Reset fieldset counter
    $forum_page['group_count'] = $forum_page['item_count'] = 0;
    ?>
		<form class="frm-form" method="post" accept-charset="utf-8" action="<?php 
    echo forum_link($forum_url['admin_ranks']);
    ?>
?action=foo">
			<div class="hidden">
				<input type="hidden" name="csrf_token" value="<?php 
    echo generate_form_token(forum_link($forum_url['admin_ranks']) . '?action=foo');
    ?>
" />
			</div>
			<fieldset class="frm-group group<?php 
    echo ++$forum_page['group_count'];
    ?>
">
				<legend class="group-legend"><span><?php 
    echo $lang_admin_ranks['Existing ranks legend'];
    ?>
</span></legend>
<?php 
    foreach ($forum_ranks as $rank_key => $cur_rank) {
        ($hook = get_hook('ark_pre_edit_cur_rank_fieldset')) ? eval($hook) : null;
        ?>
开发者ID:vebnz,项目名称:lifelitup,代码行数:31,代码来源:ranks.php

示例7: forum_link

<div class="main-subhead">
    <h2 class="hn"><span><?php 
echo App::$lang['First Post Head'];
?>
</span></h2>
</div>
<div class="main-content main-frm">
    <form method="post" class="frm-form" accept-charset="utf-8" action="<?php 
echo forum_link(App::$forum_url['admin_forums']);
?>
?addfp">
        <div class="hidden">
            <input type="hidden" name="csrf_token" value="<?php 
echo generate_form_token(forum_link(App::$forum_url['admin_forums']) . '?addfp');
?>
" />
        </div>
        <div class="sf-set set<?php 
echo ++App::$forum_page['item_count'];
?>
">
            <div class="sf-box select">
                <label for="fld<?php 
echo ++App::$forum_page['fld_count'];
?>
"><span><?php 
echo App::$lang['First Post Category'];
?>
</span></label><br />
                <span class="fld-input"><select id="fld<?php 
echo App::$forum_page['fld_count'];
开发者ID:xSTRIGx,项目名称:PunBB.Extensions,代码行数:31,代码来源:admin_forums.php

示例8: bb_forum_class

            ?>
</td>
</tr>
<?php 
            continue;
        }
        ?>
<tr<?php 
        bb_forum_class();
        ?>
>
	<td><?php 
        bb_forum_pad('<div class="nest">');
        ?>
<a href="<?php 
        forum_link();
        ?>
"><?php 
        forum_name();
        ?>
</a><?php 
        forum_description(array('before' => '<small> &#8211; ', 'after' => '</small>'));
        bb_forum_pad('</div>');
        ?>
</td>
	<td class="num"><?php 
        forum_topics();
        ?>
</td>
	<td class="num"><?php 
        forum_posts();
开发者ID:abc2mit,项目名称:abc2mit.github.io,代码行数:31,代码来源:forum.php

示例9: define

define('FORUM_PAGE', 'login');
require FORUM_ROOT . 'header.php';
// START SUBST - <!-- forum_main -->
ob_start();
($hook = get_hook('li_login_output_start')) ? eval($hook) : null;
?>
	<div class="main-head">
		<h2 class="hn"><span><?php 
echo sprintf($lang_login['Login info'], $forum_config['o_board_title']);
?>
</span></h2>
	</div>
	<div class="main-content main-frm">
		<div class="content-head">
			<p class="hn"><?php 
printf($lang_login['Login options'], '<a href="' . forum_link($forum_url['register']) . '">' . $lang_login['register'] . '</a>', '<a href="' . forum_link($forum_url['request_password']) . '">' . $lang_login['Obtain pass'] . '</a>');
?>
</p>
		</div>
<?php 
// If there were any errors, show them
if (!empty($errors)) {
    $_SESSION = array();
    $_SESSION['NOT_BOT'] = 1;
    $forum_page['errors'] = array();
    foreach ($errors as $cur_error) {
        $forum_page['errors'][] = '<li class="warn"><span>' . $cur_error . '</span></li>';
    }
    ($hook = get_hook('li_pre_login_errors')) ? eval($hook) : null;
    ?>
		<div class="ct-box error-box">
开发者ID:torepublicStartpageCode,项目名称:torepublic2,代码行数:31,代码来源:login.php

示例10: forum_link

echo $lang_om_warnings['Submit warning search'];
?>
" /></span>
			</div>
		</div>
		</form>
<?php 
if (!empty($warnings)) {
    ?>
		<form id="arp-new-report-form" class="frm-form" method="post" accept-charset="utf-8" action="<?php 
    echo forum_link($forum_url['om_warnings_list']);
    ?>
">
		<div class="hidden">
			<input type="hidden" name="csrf_token" value="<?php 
    echo generate_form_token(forum_link($forum_url['om_warnings_list']));
    ?>
" />
		</div>
<?php 
    $forum_page['item_num'] = $forum_page['start_from'];
    foreach ($warnings as $cur_warning) {
        om_warnings_display_warning($forum_page, $cur_warning);
    }
    ?>
		<div class="frm-buttons">
			<span class="submit primary"><input type="submit" name="delete_warn" value="<?php 
    echo $lang_om_warnings['Delete selected'];
    ?>
" /></span>
		</div>
开发者ID:keeshii,项目名称:punbb-extensions,代码行数:31,代码来源:list.php

示例11: array

<?php echo $avatars ?>

<?php echo '<i class="fa fa-comments"></i> <a href="/forum/pm.php?section=inbox#brd-crumbs-top" id="loginlink">Съобщения</a>'; ?><br />
<?php echo $links['userlist'] = '<i class="fa fa-users"></i> <a href="'.forum_link($forum_url['users']).'" id="loginlink">'.$lang_common['User list'].'</a>';?><br />
<?php echo $links['profile'] = '<i class="fa fa-user"></i><a href="'.forum_link($forum_url['user'], $forum_user['id']).'" id="loginlink">'.$lang_common['Profile'].'</a>';?><br />
<?php echo $links['logout'] = ' <i class="fa fa-sign-out"></i> <a href="'.forum_link($forum_url['logout'], array($forum_user['id'], generate_form_token('logout'.$forum_user['id']))).'">'.$lang_common['Logout'].'</a>';?>

</div>
<?php
}
else
{
$cur_panel['title'] = $lang_common['Login'];
require_once FORUM_ROOT.'lang/'.$forum_user['language'].'/login.php';
$form_action = forum_link($forum_url['login']);
$forum_page['redirect_url'] = 'https://flazy.us/index.php';
?>

<div class="blocks">

<form method="post" action="<?php echo $form_action ?>">

            <input type="hidden" name="form_sent" value="1" />
            <input type="hidden" name="redirect_url" value="<?php echo forum_htmlencode($forum_page['redirect_url']) ?>" /><?get_current_url()?>
            <input type="hidden" name="csrf_token" value="<?php echo generate_form_token($form_action) ?>" />

		<div align="center" class="logform">
			<ul class="reset">
				<label for="login_name"><?php echo $lang_login['Username'] ?>:</label><br /><input type="text" name="req_username" id="login_name" size="23" />
				<label for="login_password"><?php echo $lang_login['Password'] ?> (<a href="forum/login.php?action=forget">Forgoten password</a>)</label><br /><input type="password" name="req_password" id="login_password" size="23" />
开发者ID:arielrossanigo,项目名称:trabajo_final,代码行数:30,代码来源:752ssuAe.PHP

示例12: forum_link

    $forum_page['form_action'] = forum_link($forum_url['new_reply'], $id);
    $forum_page['form_attributes'] = array();
    $forum_page['hidden_fields'] = array('form_sent' => '<input type="hidden" name="form_sent" value="1" />', 'form_user' => '<input type="hidden" name="form_user" value="' . (!$forum_user['is_guest'] ? forum_htmlencode($forum_user['username']) : 'Guest') . '" />', 'csrf_token' => '<input type="hidden" name="csrf_token" value="' . generate_form_token($forum_page['form_action']) . '" />');
    if (!$forum_user['is_guest'] && $forum_config['o_subscriptions'] == '1' && ($forum_user['auto_notify'] == '1' || $cur_topic['is_subscribed'])) {
        $forum_page['hidden_fields']['subscribe'] = '<input type="hidden" name="subscribe" value="1" />';
    }
    // Setup help
    $forum_page['main_head_options'] = array();
    if ($forum_config['p_message_bbcode'] == '1') {
        $forum_page['text_options']['bbcode'] = '<span' . (empty($forum_page['text_options']) ? ' class="first-item"' : '') . '><a class="exthelp" href="' . forum_link($forum_url['help'], 'bbcode') . '" title="' . sprintf($lang_common['Help page'], $lang_common['BBCode']) . '">' . $lang_common['BBCode'] . '</a></span>';
    }
    if ($forum_config['p_message_img_tag'] == '1') {
        $forum_page['text_options']['img'] = '<span' . (empty($forum_page['text_options']) ? ' class="first-item"' : '') . '><a class="exthelp" href="' . forum_link($forum_url['help'], 'img') . '" title="' . sprintf($lang_common['Help page'], $lang_common['Images']) . '">' . $lang_common['Images'] . '</a></span>';
    }
    if ($forum_config['o_smilies'] == '1') {
        $forum_page['text_options']['smilies'] = '<span' . (empty($forum_page['text_options']) ? ' class="first-item"' : '') . '><a class="exthelp" href="' . forum_link($forum_url['help'], 'smilies') . '" title="' . sprintf($lang_common['Help page'], $lang_common['Smilies']) . '">' . $lang_common['Smilies'] . '</a></span>';
    }
    ($hook = get_hook('vt_quickpost_pre_display')) ? eval($hook) : null;
    ?>
<div class="main-subhead">
	<h2 class="hn"><span><?php 
    echo $lang_topic['Quick post'];
    ?>
</span></h2>
</div>
<div id="brd-qpost" class="main-content main-frm">
<?php 
    if (!empty($forum_page['text_options'])) {
        echo "\t" . '<p class="content-options options">' . sprintf($lang_common['You may use'], implode(' ', $forum_page['text_options'])) . '</p>' . "\n";
    }
    ?>
开发者ID:vebnz,项目名称:lifelitup,代码行数:31,代码来源:viewtopic.php

示例13: message

        message($lang_tracker['File not exists']);
    }
    $query = array('SELECT' => 't.name', 'FROM' => 'torrents AS t', 'WHERE' => 'UPPER(t.info_hash) = UPPER(\'' . $forum_db->escape($info_hash) . '\')');
    $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
    $name = $forum_db->result($result);
    if (is_null($name) || $name === false) {
        message($lang_common['Bad request']);
    }
    if (strlen($forum_user['passkey']) != 32) {
        $forum_user['passkey'] = md5($forum_user['salt'] . $forum_user['id'] . time() . $forum_user['username'] . $forum_user['password']);
        $query = array('UPDATE' => 'users', 'SET' => 'passkey=\'' . $forum_db->escape($forum_user['passkey']) . '\'', 'WHERE' => 'id=' . $forum_user['id']);
        $forum_db->query_build($query) or error(__FILE__, __LINE__);
    }
    $torrent = Fancy_Tracker::benc_decode(file_get_contents(FORUM_ROOT . 'extensions/fancy_tracker/torrents/' . $info_hash . '.torrent'));
    $torrent['announce'] = forum_link($forum_url['announce'], $forum_user['passkey']);
    // RETRACKER.LOCAL
    if ($forum_config['o_fancy_tracker_use_retracker'] == '1') {
        $torrent['announce-list'] = array(array(forum_link($forum_url['announce'], $forum_user['passkey']), 'http://retracker.local/announce'));
    }
    // End the transaction
    $forum_db->end_transaction();
    $forum_db->close();
    // SEND
    header('Content-Type: application/x-bittorrent');
    header("Pragma: public");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header('Content-Disposition: attachment; filename="' . htmlspecialchars($name, ENT_QUOTES) . '.torrent"');
    exit(Fancy_Tracker::benc_encode($torrent));
}
// If we end up here, the script was called with some wacky parameters
message($lang_common['Bad request']);
开发者ID:mdb-webdev,项目名称:Fancy-Extensions,代码行数:31,代码来源:index.php

示例14: while

	<div class="main-subhead">
		<h2 class="hn"><span><?php 
    echo $lang_admin_reports['Read reports heading'];
    echo $forum_db->num_rows($result) ? '' : ' ' . $lang_admin_reports['No new reports'];
    ?>
</span></h2>
	</div>
	<div class="main-content main-frm">
<?php 
    while ($cur_report = $forum_db->fetch_assoc($result)) {
        $reporter = $cur_report['reporter'] != '' ? '<a href="' . forum_link($forum_url['user'], $cur_report['reported_by']) . '">' . forum_htmlencode($cur_report['reporter']) . '</a>' : $lang_admin_reports['Deleted user'];
        $forum = $cur_report['forum_name'] != '' ? '<a href="' . forum_link($forum_url['forum'], array($cur_report['forum_id'], sef_friendly($cur_report['forum_name']))) . '">' . forum_htmlencode($cur_report['forum_name']) . '</a>' : $lang_admin_reports['Deleted forum'];
        $topic = $cur_report['subject'] != '' ? '<a href="' . forum_link($forum_url['topic'], array($cur_report['topic_id'], sef_friendly($cur_report['subject']))) . '">' . forum_htmlencode($cur_report['subject']) . '</a>' : $lang_admin_reports['Deleted topic'];
        $message = str_replace("\n", '<br />', forum_htmlencode($cur_report['message']));
        $post_id = $cur_report['pid'] != '' ? '<a href="' . forum_link($forum_url['post'], $cur_report['pid']) . '">Post #' . $cur_report['pid'] . '</a>' : $lang_admin_reports['Deleted post'];
        $zapped_by = $cur_report['zapped_by'] != '' ? '<a href="' . forum_link($forum_url['user'], $cur_report['zapped_by_id']) . '">' . forum_htmlencode($cur_report['zapped_by']) . '</a>' : $lang_admin_reports['Deleted user'];
        ($hook = get_hook('arp_report_pre_display')) ? eval($hook) : null;
        ?>
			<div class="ct-set report data-set set<?php 
        echo ++$forum_page['item_count'];
        ?>
">
				<div class="ct-box data-box">
					<h3 class="ct-legend hn"><strong><?php 
        echo ++$forum_page['item_num'];
        ?>
</strong> <cite class="username"><?php 
        printf($lang_admin_reports['Reported by'], $reporter);
        ?>
</cite> <span><?php 
        echo format_time($cur_report['created']);
开发者ID:vebnz,项目名称:lifelitup,代码行数:31,代码来源:reports.php

示例15: get_hook

                        ($hook = get_hook('aop_email_pre_header_load')) ? eval($hook) : null;
                        define('FORUM_PAGE_SECTION', 'settings');
                        define('FORUM_PAGE', 'admin-settings-email');
                        require FORUM_ROOT . 'header.php';
                        // START SUBST - <!-- forum_main -->
                        ob_start();
                        ($hook = get_hook('aop_email_output_start')) ? eval($hook) : null;
                        ?>
	<div class="main-content frm parted">
		<form class="frm-form" method="post" accept-charset="utf-8" action="<?php 
                        echo forum_link($forum_url['admin_settings_email']);
                        ?>
">
			<div class="hidden">
				<input type="hidden" name="csrf_token" value="<?php 
                        echo generate_form_token(forum_link($forum_url['admin_settings_email']));
                        ?>
" />
				<input type="hidden" name="form_sent" value="1" />
			</div>
			<div class="content-head">
				<h2 class="hn"><span><?php 
                        echo $lang_admin_settings['E-mail addresses'];
                        ?>
</span></h2>
			</div>
<?php 
                        ($hook = get_hook('aop_email_pre_addresses_fieldset')) ? eval($hook) : null;
                        ?>
				<fieldset class="frm-group group<?php 
                        echo ++$forum_page['group_count'];
开发者ID:ZerGabriel,项目名称:punbb,代码行数:31,代码来源:settings.php


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