~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to src/login.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst, Jeroen van Wolffelaar, Thijs Kinkhorst
  • Date: 2005-08-15 21:06:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050815210600-qxvat452exjqg64j
Tags: 2:1.4.5-2
[ Jeroen van Wolffelaar ]
* Restore squirrelmail-configure manpage, accidently dropped in -1
* Use debhelper compat level 4

[ Thijs Kinkhorst ]
* Drop obsolete symlink for attachment dir.
* Do not ship upstream README, which contains hardly any information
  relevant to Debian. Extend README.Debian a bit. Thanks W. Borgert.
* Add years to copyright statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 * This a simple login screen. Some housekeeping is done to clean
10
10
 * cookies and find language.
11
11
 *
12
 
 * @version $Id: login.php,v 1.98.2.5 2004/12/27 15:04:00 kink Exp $
 
12
 * @version $Id: login.php,v 1.98.2.8 2005/06/22 13:45:35 jangliss Exp $
13
13
 * @package squirrelmail
14
14
 */
15
15
 
55
55
 
56
56
do_hook('login_cookie');
57
57
 
 
58
$loginname_value = (sqGetGlobalVar('loginname', $loginname) ? htmlspecialchars($loginname) : '');
 
59
 
58
60
/* Output the javascript onload function. */
59
61
 
60
62
$header = "<script language=\"JavaScript\" type=\"text/javascript\">\n" .
84
86
$password_form_name = 'secretkey';
85
87
do_hook('login_top');
86
88
 
87
 
$loginname_value = (sqGetGlobalVar('loginname', $loginname) ? htmlspecialchars($loginname) : '');
 
89
 
 
90
if(sqgetGlobalVar('mailto', $mailto)) {
 
91
    $rcptaddress = addHidden('mailto', $mailto);
 
92
} else {
 
93
    $rcptaddress = '';
 
94
}
88
95
 
89
96
/* If they don't have a logo, don't bother.. */
90
97
if (isset($org_logo) && $org_logo) {
111
118
              : '' ).
112
119
            ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' :
113
120
            '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
114
 
            '  ' . _("By the SquirrelMail Development Team") . '<br /></small>' . "\n" ) .
 
121
            '  ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) .
115
122
            html_tag( 'table',
116
123
                html_tag( 'tr',
117
124
                    html_tag( 'td',
136
143
                                html_tag( 'td',
137
144
                                    addPwField($password_form_name).
138
145
                                    addHidden('js_autodetect_results', SMPREF_JS_OFF).
 
146
                    $rcptaddress . 
139
147
                                    addHidden('just_logged_in', '1'),
140
148
                                'left', '', 'width="*"' )
141
149
                            ) ,
156
164
 
157
165
do_hook('login_bottom');
158
166
?>
159
 
</body></html>
 
 
b'\\ No newline at end of file'
 
167
</body></html>