\n";
$sToRender .= "\n\n\n\n";
return $sToRender;
}
// gets the cancel button when a User is selected
function getCancelButton($oUser) {
global $default;
return "
\n";
}
// show the list box when no User selected
// then shows a text box with the User's name
function getUserDisplay($oUser) {
global $default;
$oPatternListBox = & new PatternListBox($default->users_table, "username", "id", "fWebMasterID");
if ($oUser) {
$oPatternListBox->setSelectedValue($oUser->getID());
}
return $oPatternListBox->render();
}
function getWebSiteName($oWebSite) {
return "getWebSiteName() . "\">\n";
}
// show the list box when no User selected
// then shows a text box with the User's name
function getWebSiteUrl($oWebSite) {
return "getWebSiteURL() . "\">\n";
}
function getSuccessPage() {
return statusPage("Edit Website", "Website update success!", "The website has been updated.", "listWebsites");
}
function getFailPage() {
return statusPage("Edit Website", "Website update failure!", "There was an error updating the website, please try again later.", "listWebsites");
return $sToRender;
}
function getUpdateButton($oUser) {
global $default;
if (isset($oUser)) {
return "