<?php
require_once(BASE."include/util.php");
/*********************/
/* Edit Account Form */
// returns an array of TableRow instances
function GetEditAccountFormRows($sUserEmail, $sUserRealname)
{
$aTableRows = array();
$oTableRow = new TableRow();
$oTableRow->AddTextCell(" Email Address");
$oTableRow->AddTextCell('<input type="text" name="sUserEmail" '.
'value="'.$sUserEmail.'">');
$aTableRows[] = $oTableRow;
$oTableRow->AddTextCell(" Password");
$oTableRow->AddTextCell('<input type="password" name="sUserPassword">');
$oTableRow->AddTextCell(" Password (again)");
$oTableRow->AddTextCell('<input type="password" name="sUserPassword2">');
$oTableRow->AddTextCell(" Real Name");
$oTableRow->AddTextCell('<input type="text" name="sUserRealname" value="'.$sUserRealname.'">');
$oTableRow->AddTextCell(" ");
return $aTableRows;
}
?>