本文整理汇总了PHP中do_display_hook函数的典型用法代码示例。如果您正苦于以下问题:PHP do_display_hook函数的具体用法?PHP do_display_hook怎么用?PHP do_display_hook使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了do_display_hook函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: do_display_hook
<!-- outer compose page div -->
<div id="compose_page<?php
if ($pd->pd['new_window']) {
echo '_win';
}
?>
"><?php
echo do_display_hook('compose_top');
?>
<form enctype="multipart/form-data" method="post" action="?page=compose&compose_session=<?php
echo $pd->pd['compose_session'];
?>
&mailbox=<?php
echo urlencode($pd->pd['mailbox']) . $pd->pd['new_window_arg'];
?>
">
<!-- compose form -->
<?php
echo $pd->print_compose_form();
?>
</form>
<?php
echo do_display_hook('compose_bottom');
?>
</div>
示例2: do_display_hook
<?php
echo do_display_hook('existing_contacts_top');
?>
<table id="contacts_table" cellpadding="0" cellspacing="0">
<?php
echo $pd->print_contact_list();
?>
</table>
<?php
echo do_display_hook('existing_contacts_bottom');
?>
<!-- Import contacts form -->
<?php
echo $pd->print_import_contact();
?>
<!-- Add/edit contact form -->
<?php
echo $pd->print_vcard_form();
?>
<?php
echo do_display_hook('contacts_page_bottom');
?>
</div>
示例3: do_display_hook
<!-- search form -->
<?php
echo $pd->print_mailbox_search() . do_display_hook('mailbox_search');
?>
<div id="track_folder"><?php
echo $pd->print_track_mailbox_link();
?>
</div>
</div>
</div>
</div>
<?php
echo do_display_hook('mailbox_bottom');
?>
</form>
<!-- Links to Mailbox pages if any -->
<div id="page_links">
<?php
echo $pd->pd['page_links'];
?>
</div>
<?php
} else {
/* empty mailbox */
示例4: do_display_hook
<?php
if (!$pd->user->logged_in) {
echo '</td></tr></table>';
}
?>
</div>
<!-- page footer -->
<div id="footer">
<?php
echo '<div id="top_link">' . $pd->pd['top_link'] . '</div>';
?>
<?php
echo do_display_hook("footer");
?>
<complex-<?php
echo $page_id;
?>
>© Hastymail Development Group 2010</complex-<?php
echo $page_id;
?>
>
</div>
<?php
echo $pd->print_inline_js();
?>
</body>
</html>
示例5: do_display_hook
<?php
}
?>
<div id="search_res">
<?php
echo $pd->print_search_res();
?>
</div>
<?php
echo do_display_hook('search_result_bottom');
?>
</form>
<div id="search_form">
<form method="post" action="?page=search">
<?php
echo do_display_hook('search_form_top');
?>
<?php
echo $pd->print_search_form();
?>
<?php
echo do_display_hook('search_form_bottom');
?>
</form>
</div>
</div>
<?php
echo do_display_hook('search_page_bottom');
?>
</div>
示例6: do_display_hook
echo $pd->user->str[256];
?>
</th><th><?php
echo $pd->user->str[257];
?>
<a style="padding-left: 5px;" href="javascript:toggle_all(false, false, 'hidden_')">X</a></th>
<th><?php
echo $pd->user->str[258];
?>
<a style="padding-left: 5px;" href="javascript:toggle_all(false, false, 'check_for_new_')">X</a></th>
<th><?php
echo $pd->user->str[259];
?>
</th></tr>
<?php
echo $pd->print_folder_page_options();
?>
<tr><td colspan="4" align="right"><input type="submit" value="<?php
echo $pd->user->str[193];
?>
" name="update_folder_options" /></td></tr>
</table>
<?php
echo do_display_hook('folder_options_bottom');
?>
</form>
<?php
echo do_display_hook('folders_page_bottom');
?>
</div>
示例7: print_vcard_form
//.........这里部分代码省略.........
$name .= strtolower($atts['group']) . '_';
}
if (isset($atts['name'])) {
$name .= strtolower($atts['name']);
}
if ($name == 'b_tel' || $name == 'a_tel' || $name == 'c_tel') {
if (isset($atts['properties'][0]) && $atts['properties'][0]) {
${$name . '_type'} = $atts['properties'][0];
}
}
if ($atts['group'] == 'ADR') {
if (isset($atts['properties'][0]) && $atts['properties'][0]) {
$adr_type = $atts['properties'][0];
}
}
${$name} = $this->user->htmlsafe($atts['value']);
}
} elseif (isset($this->pd['message_contact'])) {
$a_email = $this->user->htmlsafe($this->pd['message_contact']);
} elseif (!empty($this->user->form_vals)) {
foreach ($this->user->form_vals as $i => $v) {
${$i} = $this->user->htmlsafe($v);
}
}
}
$data = '<a name="contactform"></a>';
if (strstr($this->user->page_anchor, 'contactform')) {
$data .= '<div class="notices">' . $this->print_notices() . '</div>';
}
$data .= '<h4>' . $label . '</h4><div id="contact_form">' . $form . '
<div class="edit_buttons">' . $button . '</div><h5>' . $this->user->str[16] . '</h5><table cellpadding="0" cellspacing="0">
<tr><td class="contacts_leftcol"><b>' . $this->user->str[162] . ' *</b></td><td><input type="text" size="32" name="a_email" value="' . $a_email . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[163] . '</td><td><input size="32" type="text" name="b_email" value="' . $b_email . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[164] . '</td><td><input size="32" type="text" name="c_email" value="' . $c_email . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[165] . '</td><td><input size="32" type="text" name="d_email" value="' . $d_email . '" /></td></tr>
' . do_display_hook('add_contact_email_table') . '</table><h5>' . $this->user->str[143] . '</h5><table cellpadding="0" cellspacing="0">
<tr><td class="contacts_leftcol">' . $this->user->str[166] . ':</td><td><input name="fn" type="text" size="32" maxlength="64" value="' . $fn . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[150] . ':</td><td><input name="n_family" type="text" size="32" maxlength="64" value="' . $n_family . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[151] . ':</td><td><input name="n_given" type="text" size="32" maxlength="64" value="' . $n_given . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[167] . ':</td><td><input name="n_middle" type="text" size="32" maxlength="64" value="' . $n_middle . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[168] . ':</td><td><input name="n_prefix" type="text" size="32" maxlength="64" value="' . $n_prefix . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[169] . ':</td><td><input name="n_suffix" type="text" size="32" maxlength="64" value="' . $n_suffix . '" /></td></tr>
' . do_display_hook('add_contact_name_table') . '</table><h5>' . $this->user->str[182] . '</h5><table cellpadding="0" cellspacing="0">
<tr><td class="contacts_leftcol">' . $this->user->str[170] . ':</td><td><input name="adr_poaddr" type="text" size="32" maxlength="64" value="' . $adr_poaddr . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[171] . ':</td><td><input name="adr_extaddr" type="text" size="32" maxlength="64" value="' . $adr_extaddr . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[172] . ':</td><td><input name="adr_street" type="text" size="62" maxlength="128" value="' . $adr_street . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[173] . ':</td><td><input name="adr_locality" type="text" size="16" maxlength="32" value="' . $adr_locality . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[174] . ':</td><td><input name="adr_region" type="text" size="16" maxlength="32" value="' . $adr_region . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[175] . ':</td><td><input name="adr_postalcode" type="text" size="16" maxlength="32" value="' . $adr_postalcode . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[176] . ':</td><td><input name="adr_countryname" type="text" size="16" maxlength="32" value="' . $adr_countryname . '" /></td></tr>
<tr><td class="contacts_leftcol">' . $this->user->str[177] . '</td><td><select name="adr_type">';
foreach ($address_types as $i => $v) {
$data .= '<option ';
if ($adr_type == $i || strtoupper($adr_type) == strtoupper($v)) {
$data .= 'selected="selected" ';
}
$data .= 'value="' . $i . '">' . $this->user->str[$address_dsp_types[$v]] . '</option>';
}
$data .= '</select></td></tr>' . do_display_hook('add_contact_address_table') . '</table><h5>' . $this->user->str[178] . '</h5><table cellpadding="0" cellspacing="0"><tr>';
$data .= '<td class="contacts_leftcol">' . $this->user->str[179] . '</td><td><select name="a_tel_type">';
foreach ($phone_types as $i => $v) {
$data .= '<option ';
if ($a_tel_type == $i || strtoupper($a_tel_type) == strtoupper($v)) {
$data .= 'selected="selected" ';
}
$data .= 'value="' . $i . '">' . $this->user->str[$phone_dsp_types[$v]] . '</option>';
}
$data .= '</select>  <input type="text" name="a_tel" size="20" maxlength="40" value="' . $a_tel . '" /></td></tr><tr><td class="contacts_leftcol">' . $this->user->str[180] . '</td><td>' . '<select name="b_tel_type">';
foreach ($phone_types as $i => $v) {
$data .= '<option ';
if ($b_tel_type == $i || strtoupper($b_tel_type) == strtoupper($v)) {
$data .= 'selected="selected" ';
}
$data .= 'value="' . $i . '">' . $this->user->str[$phone_dsp_types[$v]] . '</option>';
}
$data .= '</select>  <input type="text" name="b_tel" size="20" maxlength="40" value="' . $b_tel . '" /></td></tr><tr><td class="contacts_leftcol">' . $this->user->str[181] . '</td><td>
<select name="c_tel_type">';
foreach ($phone_types as $i => $v) {
$data .= '<option ';
if ($c_tel_type == $i || strtoupper($c_tel_type) == strtoupper($v)) {
$data .= 'selected="selected" ';
}
$data .= 'value="' . $i . '">' . $this->user->str[$phone_dsp_types[$v]] . '</option>';
}
$data .= '</select>  <input type="text" name="c_tel" size="20" maxlength="40" value="' . $c_tel . '" /></td></tr>';
$data .= do_display_hook('add_contact_phone_table') . '
</table><h5>' . $this->user->str[145] . '</h5><table cellpadding="0" cellspacing="0"><tr><td class="contacts_leftcol">' . $this->user->str[183] . ':</td><td><input name="org_name" type="text" ' . 'size="32" maxlength="64" value="' . $org_name . '" /></td></tr><tr><td class="contacts_leftcol">' . $this->user->str[184] . ':</td><td><input name="org_unit" type="text" size="32" ' . 'maxlength="64" value="' . $org_unit . '" /></td></tr><tr><td class="contacts_leftcol">' . $this->user->str[185] . ':</td><td><input name="org_title" type="text" size="32" maxlength="64" ' . 'value="' . $org_title . '" /></td></tr>' . do_display_hook('add_contact_org_table');
$data .= '</table><h5>' . $this->user->str[512] . '</h5><table cellpadding="0" cellspacing="0">';
$data .= '<tr><td class="contacts_leftcol"></td><td>';
$grp_cnt = count($groups) - 1;
foreach ($groups as $grp_i => $grp_v) {
$data .= '<a href="?page=contact_groups&mailbox=' . $this->user->htmlsafe($this->pd['mailbox']) . '&edit_group=' . $this->user->htmlsafe($grp_v) . '">' . $grp_v . '</a>';
if ($grp_cnt != $grp_i) {
$data .= ', ';
}
}
$data .= '</td></tr>';
$data .= '</table><div class="edit_buttons">' . $button . '</div></form></div>';
return $data;
}
示例8: print_part_headers
function print_part_headers()
{
global $page_id;
global $max_header_length;
global $sticky_url;
$data = '<simple-' . $page_id . '><tr><td><br /></td></tr></simple-' . $page_id . '>' . do_display_hook('message_part_headers_top') . '<complex-' . $page_id . '>';
$rows = '';
foreach ($this->pd['message_part_headers'] as $i => $vals) {
$name = $this->user->htmlsafe($vals[0], $this->pd['charset'], true);
$val = $this->user->htmlsafe($vals[1], $this->pd['charset'], true);
if ($this->pd['full_part_header'] == $i) {
$val .= '  <a href="' . preg_replace('/\\&full_part_header\\=\\d+/', '', $sticky_url) . '">' . $this->user->str[522] . '</a>';
} elseif (htmlstrlen($val) > $max_header_length) {
$val = trim_htmlstr($val, $max_header_length) . '  <a href="' . preg_replace('/\\&full_part_header\\=\\d+/', '', $sticky_url) . '&full_part_header=' . $i . '">' . $this->user->str[521] . '</a>';
}
$rows .= '<tr><th>' . $name . ': </th><td ';
if (strtolower($vals[0]) == 'subject') {
$rows .= 'class="subject_cell" ';
}
if (strtolower($vals[0]) == 'date' && $vals[1] && !$this->pd['show_full_headers']) {
$rows .= '>' . date('r', strtotime(trim($val)));
$rows .= '    (' . print_time(strtotime($vals[1]), $vals[1]) . ')';
} else {
$rows .= '>' . $val;
}
$rows .= '<br /></td></tr>';
}
if ($rows) {
$data .= '<table width="100%" cellpadding="0" cellspacing="0">' . $rows . '</table>';
}
if (isset($this->pd['part_nav_list']) && count($this->pd['part_nav_list']) > 1) {
$data .= '<div id="prev_next_part">' . $this->print_message_prev_next_part() . '</div>';
}
$data .= do_display_hook('message_part_headers_bottom') . '</complex-' . $page_id . '>';
return $data;
}
示例9: update_mailbox_page
function update_mailbox_page($pd, $mailbox_page, $mailbox, $page_id, $sort_by, $filter_by, $show_all, $force)
{
global $user;
global $conf;
if ($user->logged_in) {
if ($show_all && $show_all != 'false') {
$show_all_msg = 1;
} else {
$show_all_msg = 0;
}
$user->user_action->url_action_mailbox(array('show_all_msg' => $show_all_msg, 'mailbox' => $mailbox, 'mailbox_page' => $mailbox_page, 'sort_by' => $sort_by, 'filter_by' => $filter_by));
$meta = $pd->pd['mailbox_dsp'] . ' <span id="mailbox_meta">' . $pd->pd['frozen_dsp'] . ' ' . $pd->user->str[41] . ': ' . $pd->pd['mailbox_total'] . ', ' . $pd->user->str[40] . ': ' . $pd->pd['mailbox_page'] . ' (' . $pd->pd['mailbox_range'] . ')<span class="folder_unread"> ' . $pd->user->str[34] . ' ' . $pd->pd['folder_unread'] . '</span></span>' . do_display_hook('mailbox_meta');
$pre = '<table cellpadding="0" id="mbx_table" cellspacing="0" width="100%" >';
if (!isset($disable_list_heading) || $disable_list_heading == true) {
$pre .= '
<tr>' . $pd->print_mailbox_list_headers() . '</tr>';
}
return array($meta, $pre . $pd->print_mailbox_list() . '</table>');
}
}
示例10: do_display_hook
<!-- message parts section -->
<div id="message_parts">
<a name="parts"></a>
<h4 id="parts_heading">
Message Parts
</h4>
<table cellpadding="0" cellspacing="0">
<?php
echo $pd->print_message_parts();
?>
</table>
</div>
<!-- links to pages of the mailbox -->
<?php
if ($pd->pd['new_window']) {
echo '</div>';
}
?>
<?php
echo do_display_hook('message_bottom');
if (!$pd->pd['new_window']) {
echo '</div>';
}
?>
示例11: print_mailbox_options
function print_mailbox_options()
{
$vals = $this->pd['settings'];
$data = '<tr><td class="opt_leftcol">' . $this->user->str[222] . '</td><td><input name="mailbox_per_page_count" size="3" type="text" value="' . $vals['mailbox_per_page_count'] . '" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[223] . '</td><td><input name="mailbox_controls_bottom" type="checkbox" ';
if (isset($vals['mailbox_controls_bottom']) && $vals['mailbox_controls_bottom']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[224] . '</td><td><input name="mailbox_freeze" type="checkbox" ';
if (isset($vals['mailbox_freeze']) && $vals['mailbox_freeze']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[423] . '</td><td><input name="always_expunge" type="checkbox" ';
if (isset($vals['always_expunge']) && $vals['always_expunge']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[424] . '</td><td><input name="selective_expunge" type="checkbox" ';
if (isset($vals['selective_expunge']) && $vals['selective_expunge']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[435] . '</td><td><input name="top_page_links" type="checkbox" ';
if (isset($vals['top_page_links']) && $vals['top_page_links']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[461] . '</td><td><input name="full_mailbox_option" type="checkbox" ';
if (isset($vals['full_mailbox_option']) && $vals['full_mailbox_option']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[497] . ' <span class="js1">*</span>' . '</td><td><input name="mailbox_update" type="checkbox" ';
if (isset($vals['mailbox_update']) && $vals['mailbox_update']) {
$data .= 'checked="checked" ';
}
$data .= 'value="1" /></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[518] . '</td><td><input name="trim_from_fld" size="2" type="text" ';
if (isset($vals['trim_from_fld']) && intval($vals['trim_from_fld'])) {
$data .= 'value="' . intval($vals['trim_from_fld']) . '" ';
} else {
$data .= 'value="0" ';
}
$data .= '/></td></tr>';
$data .= '<tr><td class="opt_leftcol">' . $this->user->str[523] . '</td><td><input name="trim_subject_fld" size="2" type="text" ';
if (isset($vals['trim_subject_fld']) && intval($vals['trim_subject_fld'])) {
$data .= 'value="' . intval($vals['trim_subject_fld']) . '" ';
} else {
$data .= 'value="0" ';
}
$data .= '/></td></tr>';
$data .= do_display_hook('mailbox_options_table');
$data .= '<tr><td colspan="4" class="opt_leftcol"><br /><input type="submit" name="update_settings" value="' . $this->user->str[193] . '" /><br /><br /></td></tr>';
return $data;
}
示例12: print_mailbox_list_rows
//.........这里部分代码省略.........
}
if (stristr($vals['flags'], 'seen')) {
$class_prefix = 'mbx_';
} else {
$class_prefix = 'mbx_unseen_';
}
if ($n == $list_count) {
$xtra_class .= ' last_row ';
}
if (!trim($vals['subject'])) {
$vals['subject'] = $this->user->str[524];
}
$indicators = '  ';
if (stristr($vals['content-type'], 'multipart') && !stristr($vals['content-type'], 'alternative')) {
$indicators .= '<span class="multi_ind">+ </span>';
}
if (stristr($vals['flags'], 'answered')) {
$indicators .= '<span class="reply_ind">r  </span>';
}
if (stristr($vals['flags'], 'flagged')) {
$indicators .= '<span class="flag_ind">f  </span>';
$xtra_class .= ' flagged ';
}
if (trim($vals['x-priority']) == '1') {
$indicators .= '<span class="important_ind">!  </span>';
}
if (!empty($search_res) && in_array($vals['uid'], $search_res)) {
$indicators .= '<span class="search_ind">*  </span>';
}
if ($indicators) {
$indicators = '<span class="' . $xtra_class . 'indicators">' . $indicators . '</span>';
}
$subj_post = '';
$subj_pre = '';
if (isset($this->pd['thread_data'][$vals['uid']])) {
$ind = $this->pd['thread_data'][$vals['uid']]['level'] - 1;
$subj_pre = str_repeat(' ', 5 * $ind);
/*if (!$this->pd['thread_data'][$vals['uid']]['parent']) {
if (isset($this->pd['thread_data'][$vals['uid']]['reply_count'])) {
$subj_post .= ' <span class="reply_count">replies: <b>'.$this->pd['thread_data'][$vals['uid']]['reply_count'].'</b></span>';
}
else {
$subj_post .= ' <span class="reply_count">replies: 0</span>';
}
}*/
}
if (stristr($vals['flags'], 'deleted')) {
$subj_post .= '</div>';
$subj_pre .= '<div class="deleted_message">';
}
$indicators_cell = '';
$image_cell = '';
$subject_cell = '';
$from_cell = '';
$date_cell = '';
$size_cell = '';
$checkbox_cell = '';
$data .= $c_start . '<tr class="mbx_row">' . $c_end;
$indicators_cell = $c_start . '<td ' . $js . ' class="' . $xtra_class . $class_prefix . 'indicators">';
$indicators_cell .= $indicators . $c_end . $td_end;
$checkbox_cell = $c_start . '<td class="' . $xtra_class . $class_prefix . 'checkbox">';
$image_cell = $c_start . '<td class="' . $xtra_class . $class_prefix . 'image_cell">';
if (!isset($this->pd['settings']['disable_list_icons']) || !$this->pd['settings']['disable_list_icons']) {
$image_cell .= '<div></div>';
}
if (!isset($this->pd['settings']['message_window']) || !$this->pd['settings']['message_window']) {
if (isset($this->pd['settings']['new_window_icon']) && $this->pd['settings']['new_window_icon']) {
$image_cell .= '<a href="' . $message_url . '" onclick="open_window(\'' . $message_url . '&new_window=1&parent_refresh=1\', 1024, 900, ' . $vals['uid'] . '); return false;" ' . 'title="' . $this->user->str[530] . '"><span class="new_window_icon"></span></a> ';
}
}
$image_cell .= '</td>' . $c_end;
if (isset($this->pd['last_message_read'][$mailbox]) && $this->pd['last_message_read'][$mailbox] == $vals['uid']) {
$checkbox_cell .= '<span class="last_read">></span>';
} else {
$checkbox_cell .= '<span class="last_read_hidden">></span>';
}
$checkbox_cell .= $c_end . '<input type="hidden" id="mailboxes-' . $vals['uid'] . '" name="mailboxes[' . $vals['uid'] . ']" value="' . $this->user->htmlsafe($mailbox, false, false, true) . '" /><input type="checkbox" ';
if ($toggle_all && !in_array($vals['uid'], $toggle_uids) && isset($toggle_boxes[$vals['uid']]) && $toggle_boxes[$vals['uid']] == $mailbox) {
$checkbox_cell .= 'checked="checked" ';
} elseif (isset($_GET['toggle_folder']) && $_GET['toggle_folder'] == $mailbox) {
$checkbox_cell .= 'checked="checked" ';
}
$checkbox_cell .= 'id="message_' . $n . '" name="uids[]" value="' . $vals['uid'] . '" onclick="save_checked_state(' . $n . ');" /><input type="hidden" name="mailboxes[' . $vals['uid'] . ']" value="' . $this->user->htmlsafe($mailbox, false, false, true) . '" />' . $td_end;
$subject_cell = $c_start . '<td class="' . $xtra_class . $class_prefix . 'subject">';
$subject_cell .= '<div ' . $js . ' class="sub_div">' . $c_end . $subj_pre . '<a title="' . $this->user->htmlsafe($vals['subject'], $vals['charset'], true) . '" ' . $new_window . ' href="' . $message_url . '">' . trim_htmlstr($this->user->htmlsafe($vals['subject'], $vals['charset'], true), $subject_len) . '</a>' . $subj_post . $c_start . '</div>' . $c_end . $td_end . $s_start . '<br />' . $s_end;
$plugin_cell = $c_start . '<td class="' . $xtra_class . $class_prefix . 'plugin_cell">' . $c_end . '<div>' . do_display_hook('msglist_after_subject', $vals) . '</div>' . $c_start . '</td>' . $c_end;
$from_cell = $c_start . '<td ' . $js . ' class="' . $xtra_class . $class_prefix . 'from">' . $c_end . '<div title="' . $this->user->htmlsafe($full_from, $vals['charset'], true, false, false, false, true) . '" class="from_inner">' . trim_htmlstr($this->user->htmlsafe($from, $vals['charset'], true, false, false, false, true), $trim_len) . '</div>' . $td_end . $s_start . '<br />' . $s_end;
$date_cell = $c_start . '<td ' . $js . ' class="' . $xtra_class . $class_prefix . 'date" >' . $c_end . print_time2($vals['date'], $date_format, $date_format_2) . $td_end . $s_start . '<br /><br />' . $s_end;
$size_cell = $c_start . '<td ' . $js . ' class="' . $xtra_class . $class_prefix . 'size">' . format_size($vals['size'] / 1024) . '</td>' . $c_end;
$folder_cell = $c_start . '<td ' . $js . ' class="' . $xtra_class . $class_prefix . 'folder">' . $this->user->htmlsafe($mailbox) . '</td>' . $c_end;
foreach ($cols as $v) {
if (isset(${$v})) {
$data .= ${$v};
}
}
$data .= $c_start . '</tr>' . $c_end;
$n++;
}
return $data;
}
示例13: do_display_hook
</table>
<!-- compose page options -->
<h4><?php
echo $pd->user->str[192];
?>
</h4>
<table cellpadding="0" cellspacing="0" class="options_table">
<?php
echo $pd->print_compose_options();
?>
</table>
</form>
<div id="footnote">
<span class="js1">*</span>    <?php
echo $pd->user->str[194];
?>
<br />
<span class="js2">**</span> <?php
echo $pd->user->str[195];
?>
<br />
</div>
</div>
<?php
echo do_display_hook('options_page_bottom');
?>
</div>
示例14: do_display_hook
<!-- Message controls -->
<form method="post" id="msg_controls_form1" action="?page=new" >
<div id="new_page_controls">
<div class="message_controls">
<?php
echo do_display_hook('new_page_controls') . $pd->print_message_controls();
?>
</div>
</div>
<!-- main news page table of messages -->
<div id="new_page">
<div><div id="new_page_inner">
<div><?php
echo $pd->print_new_content();
?>
</div>
</div></div>
</div>
<?php
echo do_display_hook('new_page_bottom');
?>
</form>
</div>
</div>
示例15: do_display_hook
}
?>
<!-- Main contacts page div and heading -->
<div id="contacts_page"><?php
echo do_display_hook('contacts_page_top');
?>
<div id="contact_links">
<a href="?page=contacts&mailbox=<?php
echo urlencode($pd->pd['mailbox']);
?>
"><?php
echo 'Back to contacts';
?>
</a>
<?php
echo do_display_hook('contacts_quick_links');
?>
</div>
<!-- Existing contact groups -->
<?php
echo $pd->print_existing_contact_groups();
?>
<!-- Manage groups -->
<?php
echo $pd->print_manage_contact_groups();
?>
</div>