\n";
return $sToRender;
}
// show the list box when no Link selected
// then shows a text box with the Link's name
function getLinkDisplay($oLink) {
global $default;
if (!isset($oLink)) {
$oPatternListBox = & new PatternListBox($default->quicklinks_table, "name", "id", "fLinkID");
//$oPatternListBox->setIncludeDefaultValue(true);
$oPatternListBox->setPostBackOnChange(true);
return $oPatternListBox->render();
} else {
return "iId . "\">\n" .
"getName() . "\">";
}
}
// returns the checkbox ticked or unticked
function getURL($oLink) {
if (!isset($oLink)) {
return "";
} else {
return "getUrl() . "\">";
}
}
// returns the checkbox ticked or unticked
function getRank($oLink) {
if (!isset($oLink)) {
return "";
} else {
return "getRank() . "\">";
}
}
// gets the updatebutton when a Link is selected
function getUpdateButton($oLink) {
global $default;
if (isset($oLink)) {
return "
\n";
}
}
// gets the cancel button when a Link is selected
function getCancelButton($oLink) {
global $default;
if (!isset($oLink)) {
//return "