!!!一个简单问题,会者不难,关于php语法的 bbb=bbb_("$aaa");是不是代码里面自定义的函数??猜 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 function formatMailboxName($imapConnection, $box_array) { global $folder_prefix, $trash_folder, $sent_folder, $color, $move_to_sent, $move_to_trash, $unseen_notify, $unseen_type, $collapse_folders, $draft_folder, $save_as_draft, $use_special_folder_color; $real_box = $box_array['unformatted']; $mailbox = str_replace(' ','',$box_array['formatted']); $mailboxURL = urlencode($real_box); /* Strip down the mailbox name. */ if (ereg("^( *)([^ ]*)$", $mailbox, $regs)) { $mailbox = $regs[2]; } $unseen = 0; if (($unseen_notify == 2 && $real_box == 'INBOX') || $unseen_notify == 3) { $unseen = sqimap_unseen_messages($imapConnection, $real_box); if ($unseen_type == 1 && $unseen > 0) { $unseen_string = "($unseen)"; $unseen_found = TRUE; } else if ($unseen_type == 2) { $numMessages = sqimap_get_num_messages($imapConnection, $real_box); $unseen_string = "<font color=\"$color[11]\">($unseen/$numMessages)</font>"; $unseen_found = TRUE; } } $special_color = ($use_special_folder_color && isSpecialMailbox( $real_box ) ); /* Start off with a blank line. */ $line = ''; /* If there are unseen message, bold the line. */ if ($unseen > 0) { $line .= '<B>'; } /* Crate the link for this folder. */ $line .= "<A HREF=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" TARGET=\"right\" STYLE=\"text-decoration:none\">"; if ($special_color) { $line .= "<FONT COLOR=\"$color[11]\">"; } if ( $mailbox == 'INBOX' ) { $line .= _("INBOX"); //<--------这里 } else { $line .= str_replace(' ',' ',$mailbox); } if ($special_color == TRUE) $line .= "</FONT>"; $line .= '</A>'; /* If there are unseen message, close bolding. */ if ($unseen > 0) { $line .= "</B>"; } /* Print unseen information. */ if (isset($unseen_found) && $unseen_found) { $line .= " <SMALL>$unseen_string</SMALL>"; } if (($move_to_trash) && ($real_box == $trash_folder)) { if (! isset($numMessages)) { $numMessages = sqimap_get_num_messages($imapConnection, $real_box); } if ($numMessages > 0) { $urlMailbox = urlencode($real_box); $line .= "\n<small>\n" . " (<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" ."</small>";//<--------这里 } } /* Return the final product. */ return ($line);}函数外面还有echo '<CENTER><FONT SIZE=4><B>'. _("文件夹") . "</B><BR></FONT>\n\n";echo '<CENTER><SMALL>' . str_replace(' ',' ',_("上次刷新")) . ": $clk</SMALL></CENTER>";应该比较详细了吧(上面不是全部文件) _() 是他自定义的一个函数吧?你找找他的include文件 菜鸟问题?????php + oracel php 相关 招聘php深圳程序员,月薪6000-8000 这句代码怎么写!就一句! 关于学习 oa 系统 PHP新手上路 有点累,但挺有乐子--散分 参与讨论:php5与php4的不同之处 phplib的模板类里面,有没有办法补写数据? 关于在 Win2000 Server IIS 下安装 PHP的问题。 PHP可以确定主机吗? 怎样实现文章自动换行?50分
$color, $move_to_sent, $move_to_trash,
$unseen_notify, $unseen_type, $collapse_folders,
$draft_folder, $save_as_draft,
$use_special_folder_color; $real_box = $box_array['unformatted'];
$mailbox = str_replace(' ','',$box_array['formatted']);
$mailboxURL = urlencode($real_box); /* Strip down the mailbox name. */
if (ereg("^( *)([^ ]*)$", $mailbox, $regs)) {
$mailbox = $regs[2];
} $unseen = 0; if (($unseen_notify == 2 && $real_box == 'INBOX') ||
$unseen_notify == 3) {
$unseen = sqimap_unseen_messages($imapConnection, $real_box);
if ($unseen_type == 1 && $unseen > 0) {
$unseen_string = "($unseen)";
$unseen_found = TRUE;
} else if ($unseen_type == 2) {
$numMessages = sqimap_get_num_messages($imapConnection, $real_box);
$unseen_string = "<font color=\"$color[11]\">($unseen/$numMessages)</font>";
$unseen_found = TRUE;
}
} $special_color = ($use_special_folder_color && isSpecialMailbox( $real_box ) ); /* Start off with a blank line. */
$line = ''; /* If there are unseen message, bold the line. */
if ($unseen > 0) { $line .= '<B>'; } /* Crate the link for this folder. */
$line .= "<A HREF=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" TARGET=\"right\" STYLE=\"text-decoration:none\">";
if ($special_color) {
$line .= "<FONT COLOR=\"$color[11]\">";
}
if ( $mailbox == 'INBOX' ) {
$line .= _("INBOX"); //<--------这里
} else {
$line .= str_replace(' ',' ',$mailbox);
}
if ($special_color == TRUE)
$line .= "</FONT>";
$line .= '</A>'; /* If there are unseen message, close bolding. */
if ($unseen > 0) { $line .= "</B>"; } /* Print unseen information. */
if (isset($unseen_found) && $unseen_found) {
$line .= " <SMALL>$unseen_string</SMALL>";
} if (($move_to_trash) && ($real_box == $trash_folder)) {
if (! isset($numMessages)) {
$numMessages = sqimap_get_num_messages($imapConnection, $real_box);
} if ($numMessages > 0) {
$urlMailbox = urlencode($real_box);
$line .= "\n<small>\n" .
" (<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" ."</small>";//<--------这里
}
} /* Return the final product. */
return ($line);
}函数外面还有
echo '<CENTER><FONT SIZE=4><B>'. _("文件夹") . "</B><BR></FONT>\n\n";
echo '<CENTER><SMALL>' . str_replace(' ',' ',_("上次刷新")) .
": $clk</SMALL></CENTER>";应该比较详细了吧(上面不是全部文件)
你找找他的include文件