//
function ADMIN_DO_ACTION($wht)
{
- global $menuDesription, $menuTitle, $_CONFIG, $cacheArray, $link, $DATA, $DEPTH;
+ global $menuDesription, $menuTitle, $_CONFIG, $cacheArray, $DATA, $DEPTH;
//* DEBUG: */ echo __LINE__."*".$wht."/".$GLOBALS['module']."/".$GLOBALS['action']."/".$GLOBALS['what']."*<br />\n";
if (EXT_IS_ACTIVE("cache"))
{
//
function ADD_ADMIN_MENU($act, $wht,$return=false)
{
- global $menuDesription, $menuTitle, $link;
+ global $menuDesription, $menuTitle;
$SUB = false;
// Menu descriptions
}
}
//
-function ADD_MEMBER_SELECTION_BOX($add_all = false, $return = false, $none = false, $def = "0")
+function ADD_MEMBER_SELECTION_BOX ($def="0", $add_all=false, $return=false, $none=false)
{
// Output selection form with all confirmed user accounts listed
$result = SQL_QUERY("SELECT userid, surname, family FROM "._MYSQL_PREFIX."_user_data ORDER BY userid", __FILE__, __LINE__);
// Load template
LOAD_TEMPLATE("admin_member_selection_box", false, $GLOBALS['what']);
+ } else {
+ // Return content
+ return "<select name=\"userid\" size=\"1\">\n".$OUT."</select>\n";
}
}
//