Location: PHPKode > projects > pMH > pmh/src/user/dspQLogin.php
<?php   
/*

$Header: /cvs/hol/src/user/dspQLogin.php,v 1.4 2005/05/24 15:27:51 jakuza Exp $

<fusedoc fuse="dspQLogin.php">

   <responsibilities>
      Shows quick login form

   </responsibilities>

   <properties>
      <history author="" date="2003 December 10" email="" type="create" />

      <note>
         Data Rules: XFA_RegistrationForm - (None)
		 Data Rules: XFA_Login - (None)
         Data Rules: fuseaction - (None)
      </note>
   </properties>

   <io>
      <in>
         <string name="self" optional="false" />
         <string name="XFA_RegistrationForm" scope="request" optional="false" comment="" />
		 <string name="XFA_Login" scope="request" optional="false" comment="" />
      </in>
      <out>
         <string name="fuseaction" scope="request" optional="true" comment="" />
      </out>
   </io>

</fusedoc>
*/
?>

<quicklogin>
<?php		

$focus = 'username';
	
$QLogin->AddInputPart('logit');
$QLogin->AddInputPart('returnFuseaction');
$QLogin->AddInputPart('returnParams');
$QLogin->AddInputPart('qlusername');
$QLogin->AddInputPart('qlpassword');
$QLogin->AddInputPart('qlsubmit');

# Output the form using the function named rawOutput.
$QLogin->Output(array(
	'Function' => 'rawOutput',
	'EndOfLine' => "\n"
));	
		
echo ':: <a class="loginout" href="'.fa($XFA[XFA_RegistrationForm]).'">Register now!</a>';

?>
</quicklogin>
Return current item: pMH