Esempio n. 1
0
<?php

include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
$usersmenus = new usersMenus();
if (!$usersmenus->AsArticaAdministrator) {
    echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}");
    die;
}
if (isset($_POST["LMSensorsEnable"])) {
    LMSensorsEnable();
    exit;
}
if (isset($_GET["parameters"])) {
    parameters();
    exit;
}
if (isset($_GET["lm-sensors-status"])) {
    status();
    exit;
}
tabs();
function tabs()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $users = new usersMenus();
    $array["parameters"] = '{parameters}';
    $usersmenus = new usersMenus();
    if (!$usersmenus->SENSORS_INSTALLED) {
Esempio n. 2
0
<?php
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
include_once('ressources/class.users.menus.inc');


$usersmenus=new usersMenus();
if(!$usersmenus->AsArticaAdministrator){
	echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}");
	die();
}
if(isset($_POST["LMSensorsEnable"])){LMSensorsEnable();exit;}
if(isset($_GET["parameters"])){parameters();exit;}
if(isset($_GET["lm-sensors-status"])){status();exit;}
tabs();


function tabs(){
	
	$page=CurrentPageName();
	$tpl=new templates();
	$users=new usersMenus();
	$array["parameters"]='{parameters}';
	
	$usersmenus=new usersMenus();
	if(!$usersmenus->SENSORS_INSTALLED){
		echo FATAL_ERROR_SHOW_128("{MODULES_NOT_INSTALLED}");
		die();
	}
	$tabsize="style='font-size:24px'";