javascript:alert('"._("Warning! Extension")." $account "._("is not allowed for your account.")."');";
} else {
//if submitting form, update database
switch ($action) {
case "add":
$conflict_url = array();
$usage_arr = framework_check_extension_usage($account);
if (!empty($usage_arr)) {
$conflict_url = framework_display_extension_usage_alert($usage_arr);
} elseif (conferences_add($account,$_REQUEST['name'],$_REQUEST['userpin'],$_REQUEST['adminpin'],$_REQUEST['options'],$_REQUEST['joinmsg_id']) !== false) {
needreload();
redirect_standard();
}
break;
case "delete":
conferences_del($extdisplay);
needreload();
redirect_standard();
break;
case "edit": //just delete and re-add
conferences_del($account);
conferences_add($account,$_REQUEST['name'],$_REQUEST['userpin'],$_REQUEST['adminpin'],$_REQUEST['options'],$_REQUEST['joinmsg_id']);
needreload();
redirect_standard('extdisplay');
break;
}
}
//get meetme rooms
//this function needs to be available to other modules (those that use goto destinations)
//therefore we put it in globalfunctions.php
$meetmes = conferences_list();
?>
'._("Conference").' '.$extdisplay.' '._("deleted").'!
';
} else {
if ($extdisplay != ""){
//get details for this meetme
$thisMeetme = conferences_get($extdisplay);
$options = $thisMeetme['options'];
$userpin = $thisMeetme['userpin'];
$adminpin = $thisMeetme['adminpin'];
$description = $thisMeetme['description'];
$joinmsg_id = $thisMeetme['joinmsg_id'];
} else {
$options = "";
$userpin = "";
$adminpin = "";
$description = "";
$joinmsg_id = "";
}
?>

'.$tlabel.'';
?>
:
"._("Conflicting Extensions")."";
echo implode('
',$conflict_url);
}
?>