X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Flogin.php;h=4c4c41c3f0fa3c3115ba34c69f3f97cdc997fea1;hb=c3ccfa1912b4ca47279d259bb587ceb293ce5d83;hp=684357e8d79950519d9387516d6993d03f94fd4f;hpb=e9c378fe30e5ab29cf397a24e91bae18c20292fd;p=squirrelmail.git
diff --git a/src/login.php b/src/login.php
index 684357e8..4c4c41c3 100644
--- a/src/login.php
+++ b/src/login.php
@@ -95,6 +95,11 @@ if (isset($org_logo) && $org_logo) {
}
}
+if(sqgetGlobalVar('mailto', $mailto)) {
+ $rcptaddress = '' . "\n";
+} else {
+ $rcptaddress = '';
+}
echo html_tag( 'table',
html_tag( 'tr',
html_tag( 'td',
@@ -104,7 +109,7 @@ echo html_tag( 'table',
sprintf(_("%s Logo"), $org_name) .'"' . $width_and_height .
' />
' . "\n"
: '' ).
- ( $hide_sm_attributions ? '' :
+ ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' :
'' . sprintf (_("SquirrelMail version %s"), $version) . '
' ."\n".
' ' . _("By the SquirrelMail Development Team") . '
' . "\n" ) .
html_tag( 'table',
@@ -131,6 +136,7 @@ echo html_tag( 'table',
html_tag( 'td',
'' . "\n" .
'' . "\n" .
+ $rcptaddress .
'' . "\n",
'left', '', 'width="*"' )
) ,