altAuthGetParams('otherdb');
$frm = new form;
$text = $frm -> form_open("post", e_SELF);
$tab1 = "
";
$tab2 = "
';
$tabs = array(
'tab1' => array('caption'=>'Database', 'text'=>$tab1),
'tab2' => array('caption'=>'Data', 'text'=>$tab2),
);
$text .= e107::getForm()->tabs($tabs);
$text .= "";
$text .= e107::getForm()->admin_button("update", LAN_UPDATE,'update');
$text .= '
';
$text .= $frm -> form_close();
$ns -> tablerender(OTHERDB_LAN_10, $text);
$ns->tablerender(LAN_ALT_40.LAN_ALT_41, $this->alt_auth_test_form('otherdb',$frm));
}
}
$otherdbAdmin = new alt_auth_otherdb();
if(!empty($_POST['update']))
{
$message = $otherdbAdmin->alt_auth_post_options('otherdb');
}
if(!empty($message))
{
echo e107::getMessage()->addSuccess($message)->render();
}
$otherdbAdmin->showForm($mes);
require_once(e_ADMIN.'footer.php');
function otherdb_conf_adminmenu()
{
alt_auth_adminmenu();
}