Just configured from Wine's GIT
svn path=/; revision=1
This commit is contained in:
42
include/form_edit.php
Normal file
42
include/form_edit.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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 = new TableRow();
|
||||
$oTableRow->AddTextCell(" Password");
|
||||
$oTableRow->AddTextCell('<input type="password" name="sUserPassword">');
|
||||
$aTableRows[] = $oTableRow;
|
||||
|
||||
$oTableRow = new TableRow();
|
||||
$oTableRow->AddTextCell(" Password (again)");
|
||||
$oTableRow->AddTextCell('<input type="password" name="sUserPassword2">');
|
||||
$aTableRows[] = $oTableRow;
|
||||
|
||||
$oTableRow = new TableRow();
|
||||
$oTableRow->AddTextCell(" Real Name");
|
||||
$oTableRow->AddTextCell('<input type="text" name="sUserRealname" value="'.$sUserRealname.'">');
|
||||
$aTableRows[] = $oTableRow;
|
||||
|
||||
$oTableRow = new TableRow();
|
||||
$oTableRow->AddTextCell(" ");
|
||||
$oTableRow->AddTextCell(" ");
|
||||
$aTableRows[] = $oTableRow;
|
||||
|
||||
return $aTableRows;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user