/**
* Creates fields on option pages according to option type
*
- * Function that calls other createWidget* functions.
- * @return string html formated option field
+ * This is the function that calls all other createWidget* functions.
+ *
+ * @return string The formated option field
+ *
*/
- function createHTMLWidget() {
+ function createWidget() {
global $color;
// Use new value if available
}
/* Now, return the created widget. */
- return ($result);
+ return $result;
}
/**
" ".$opt->caption."\n" .
" </td>\n" .
" <td class=\"optionValue\">\n" .
- " ".$opt->createHTMLWidget()."\n" .
+ " ".$opt->createWidget()."\n" .
" </td>\n" .
"</tr>\n";
} else {
- echo $opt->createHTMLWidget();
+ echo $opt->createWidget();
}
}