next up previous contents
Next: compose.php Up: 目錄 src Previous: 檔案比對   Contents

addressbook.php

  1. 編輯通訊錄,由修補程式補充由通訊錄加入。
    [root@mail src]# diff -wuN squirrelmail-1.4.8/src/addressbook.php /var/www/squirrelmail/src/addressbook.php
    --- squirrelmail-1.4.8/src/addressbook.php	2006-04-15 06:27:08.000000000 +0800
    +++ /var/www/squirrelmail/src/addressbook.php	2006-12-31 08:18:15.000000000 +0800
    @@ -361,10 +361,13 @@
         $headerprinted = false;
     
         echo html_tag( 'p', '<a href="#AddAddress">' . _("Add address") . '</a>', 'center' ) . "\n";
    +    /*added by select_range patch*/
    +    do_hook('addressbook_before_list');
     
         /* List addresses */
         if (count($alist) > 0) {
             echo addForm($form_url, 'post');
    +        echo addForm($form_url, 'post','FormAddrsAbook') . "\n";
             while(list($undef,$row) = each($alist)) {
    



2016-03-11