[xoops-cvslog 6631] CVS update: xoops2jp/extras

Zurück zum Archiv-Index

NobuNobu nobun****@users*****
2007年 4月 30日 (月) 16:50:29 JST


Index: xoops2jp/extras/login.php
diff -u xoops2jp/extras/login.php:1.5 xoops2jp/extras/login.php:1.5.4.1
--- xoops2jp/extras/login.php:1.5	Tue Aug  1 11:55:25 2006
+++ xoops2jp/extras/login.php	Mon Apr 30 16:50:29 2007
@@ -17,8 +17,7 @@
     $op ='login';
 }
 
-echo '
-<html>
+$header = '<html>
   <head>
     <meta http-equiv="content-type" content="text/html; charset='._CHARSET.'" />
     <meta http-equiv="content-language" content="'._LANGCODE.'" />
@@ -30,9 +29,9 @@
     $style = xoops_getcss($xoopsConfig['theme_set']);
 }
 if ($style != '') {
-    echo '<link rel="stylesheet" type="text/css" media="all" href="'.$style.'" />';
+    $header .= '<link rel="stylesheet" type="text/css" media="all" href="'.$style.'" />';
 }
-echo '
+$header .= '
   </head>
   <body>
 ';
@@ -70,6 +69,7 @@
         if (!empty($xoopsConfig['use_ssl'])) {
             xoops_confirm(array($xoopsConfig['sslpost_name'] => session_id()), XOOPS_URL.'/misc.php?action=showpopups&amp;type=ssllogin', _US_PRESSLOGIN, _LOGIN);
         } else {
+			echo $header;
             echo sprintf(_US_LOGGINGU, $user->getVar('uname'));
             echo '<div style="text-align:center;"><input value="'._CLOSE.'" type="button" onclick="document.window.opener.location.reload();document.window.close();" /></div>';
         }
@@ -79,6 +79,7 @@
 }
 
 if ($op == 'login') {
+	echo $header;
     echo '
     <div style="text-align: center; padding: 5; margin: 0">
     <form action="login.php" method="post">


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index