page counter next up previous contents
Next: printer_friendly_bottom.php Up: 目錄 src Previous: left_main.php   Contents

login.php

  1. 登入頁面程式。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./src/login.php /var/www/squirrelmail/src/login.php
    --- ./src/login.php	2006-08-03 22:48:09.000000000 +0800
    +++ /var/www/squirrelmail/src/login.php	2014-05-12 08:50:24.823264302 +0800
    
  2. 修改設定檔位置。
    @@ -21,7 +21,7 @@
     /* SquirrelMail required files. */
     require_once(SM_PATH . 'functions/global.php');
     require_once(SM_PATH . 'functions/strings.php');
    -require_once(SM_PATH . 'config/config.php');
    +require_once('/etc/squirrelmail/config.php');
     require_once(SM_PATH . 'functions/i18n.php');
     require_once(SM_PATH . 'functions/plugin.php');
     require_once(SM_PATH . 'functions/constants.php');
    
  3. 在登入主頁中加入「朝陽資工 CSIE CYUT WebMail」,且字型由 "small" 改為 "normal"。
    @@ -143,8 +143,8 @@
                     ' /><br />' . "\n"
                   : '' ).
                 ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' :
    -            '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
    -            '  ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) .
    +            '<normal>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
    +            '  ' ._("By the SquirrelMail Project Team") . '<br />'. _("朝陽資工 CSIE CYUT WebMail") . '<br /></normal>' . "\n" ) .
                 html_tag( 'table',
                     html_tag( 'tr',
                         html_tag( 'td',
    
  4. 帳密輸入寬度由 100% 改為 90%。
    @@ -172,11 +172,11 @@
                                     'left', '', 'width="*"' )
                                 ) ,
    -                        'center', $color[4], 'border="0" width="100%"' ) ,
    +                        'center', $color[4], 'border="0" width="90%"' ) ,
                         'left',$color[4] )
                     ) . 
                     html_tag( 'tr',
    
  5. 登入頁面最下方加入系統維護的連結。
    @@ -189,5 +189,8 @@
     echo '</form>' . "\n";
     
     do_hook('login_bottom');
    +echo '<center>
    +<center><a href="http://dywang.csie.cyut.edu.tw" target="blank" ><img src="http://hitwebcounter.com/counter/counter.php?page=5300283&style=0006&nbdigits=9&type=page&initCount=211877"title=""Alt=""border="0"/>
    +<p><a style="text-decoration:none" href="http://dywang.csie.cyut.edu.tw">系統維護:資工王德譽 De-Yu Wang</a></center>';
     ?>
     </body></html>
    



2016-03-11