<?php

include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.lvm.org.inc';
include_once 'ressources/class.os.system.inc';
include_once 'ressources/class.maincf.multi.inc';
include_once 'ressources/class.postfwd2.inc';
if (!Isright()) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text('{ERROR_NO_PRIVS}') . "');";
    die;
}
if (isset($_GET["objects-list-search"])) {
    objects_search();
    exit;
}
if (isset($_GET["ObjectID-js"])) {
    ObjectID_js();
    exit;
}
if (isset($_GET["ObjectID-popup"])) {
    ObjectID_popup();
    exit;
}
if (isset($_POST["ObjectName"])) {
    ObjectName_save();
    exit;
}
if (isset($_GET["object-datas-list"])) {
Exemple #2
0
<?php
session_start ();
include_once ('ressources/class.templates.inc');
include_once ('ressources/class.ldap.inc');
include_once ('ressources/class.users.menus.inc');



if(!Isright()){$tpl=new templates();echo "alert('".$tpl->javascript_parse_text('{ERROR_NO_PRIVS}')."');";die();}


js();



function js(){
	$uid=$_GET["uid"];
	
$html="	
var x_DeleteComputer= function (obj) {
	var results=obj.responseText;
	if (results.length>0){alert(results);}
	YahooUserHide();
	
	if(document.getElementById('computerlist')){
		BrowsComputersRefresh();
	}
	
	if(document.getElementById('DnsZoneName')){
		BindComputers(document.getElementById('DnsZoneName').value)
	}