From 2e9a4e866d428fcdd3eaad2ee86540d9888873bc Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 15 Jan 2007 07:46:53 +0000 Subject: [PATCH] Remove a spec of HTML from login.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12131 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/login.php | 9 ++++----- templates/default/login.tpl | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/login.php b/src/login.php index 88bb4a65..d3b137d4 100644 --- a/src/login.php +++ b/src/login.php @@ -144,9 +144,8 @@ if (isset($org_logo) && $org_logo) { $sm_attribute_str = ''; if (isset($hide_sm_attributions) && !$hide_sm_attributions) { -//FIXME: need to remove *ALL* HTML from this file! - $sm_attribute_str = _("SquirrelMail Webmail Application")."
\n" . - _("By the SquirrelMail Project Team")."
\n"; + $sm_attribute_str = _("SquirrelMail Webmail Application")."\n" . + _("By the SquirrelMail Project Team"); } if(sqgetGlobalVar('mailtodata', $mailtodata)) { @@ -162,12 +161,12 @@ $login_extra = addHidden('js_autodetect_results', SMPREF_JS_OFF). session_write_close(); -$oTemplate->assign('logo_str', $logo_str); +$oTemplate->assign('logo_str', $logo_str, FALSE); $oTemplate->assign('logo_path', $org_logo); $oTemplate->assign('sm_attribute_str', $sm_attribute_str); $oTemplate->assign('org_name_str', sprintf (_("%s Login"), $org_name)); $oTemplate->assign('login_field_value', $loginname_value); -$oTemplate->assign('login_extra', $login_extra); +$oTemplate->assign('login_extra', $login_extra, FALSE); //FIXME: need to remove *ALL* HTML from this file! echo ''."\n"; diff --git a/templates/default/login.tpl b/templates/default/login.tpl index ff1718ad..d0603057 100644 --- a/templates/default/login.tpl +++ b/templates/default/login.tpl @@ -34,7 +34,7 @@ extract($t); '; ?> - + -- 2.25.1