bbb=bbb_("$aaa");是不是代码里面自定义的函数??猜

解决方案 »

  1.   

    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&amp;sort=0&amp;startMessage=1&amp;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(' ','&nbsp;',$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 .= "&nbsp;<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" .
                        "&nbsp;&nbsp;(<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(' ','&nbsp;',_("上次刷新")) .
             ": $clk</SMALL></CENTER>";应该比较详细了吧(上面不是全部文件)
      

  2.   

    _() 是他自定义的一个函数吧?
    你找找他的include文件