javascript:alert('"._("Warning! Extension")." $account "._("is not allowed for your account.")."');";
} else {
//if submitting form, update database
switch ($action) {
case "add":
conferences_add($_REQUEST['account'],$_REQUEST['name'],$_REQUEST['userpin'],$_REQUEST['adminpin'],$_REQUEST['options'],$_REQUEST['joinmsg']);
needreload();
redirect_standard();
break;
case "delete":
conferences_del($extdisplay);
needreload();
redirect_standard();
break;
case "edit": //just delete and re-add
conferences_del($_REQUEST['account']);
conferences_add($_REQUEST['account'],$_REQUEST['name'],$_REQUEST['userpin'],$_REQUEST['adminpin'],$_REQUEST['options'],$_REQUEST['joinmsg']);
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);
//create variables
extract($thisMeetme);
}
$delURL = $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'].'&action=delete';
?>