This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Renato Lazaro - Custom - Alerta para o menu "Criar Chamado"*/ | |
echo "<script type='text/javascript'> | |
$(document).ready(function(){ | |
$('#menu2').click(function(event){ | |
event.preventDefault(); | |
alert('Por favor, preencha nossa pesquisa de satisfação antes de abrir um novo chamado'); | |
}) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create ticket | |
if (Session::haveRight("ticket", CREATE)) { | |
$menu['create_ticket']['id'] = "menu2"; | |
/* Isaac Costa - Custom - Restrição de abertura de chamado (com a colaboração de Renato Lázaro e Ana Costa) */ | |
$usuarioIDString = Session::getLoginUserID(); | |
$usuarioID = (int)$usuarioIDString; | |
$conectaGLPI = mysqli_connect("localhost", "root", "Luk3Skyw@lk3r") or print (mysqli_error()); /* Isaac Costa - Custom - Substituir SERVIDOR, USUARIO e SENHA pelos dados de conexão ao banco do GLPI*/ | |
mysql_select_db("glpi", $conectaGLPI) or print(mysqli_error()); /* Isaac Costa - Custom - Substituir BANCO pelo banco de dados utilizado pelo GLPI*/ | |
$sql = "select count(*) from glpi_ticketsatisfactions S inner join glpi_tickets T on S.tickets_id = T.id inner join glpi_users U on T.users_id_lastupdater = U.id | |
where T.status = 6 and S.date_begin is not null and S.date_answered is null and U.id = {$usua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html><head><title>GLPI - Home</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><meta http-equiv='Expires' content='Fri, Jun 12 1981 08:20:00 GMT'> | |
<meta http-equiv='Pragma' content='no-cache'> | |
<meta http-equiv='Cache-Control' content='no-cache'> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name='viewport' content='width=device-width, initial-scale=1'><link rel="stylesheet" type="text/css" href="/jayme/lib/jquery/css/smoothness/jquery-ui-1.10.4.custom.min.css" media="screen"><link rel="stylesheet" type="text/css" href="/jayme/css/jstree/style.css" media="screen"><link rel="stylesheet" type="text/css" href="/jayme/lib/jqueryplugins/rateit/rateit.min.css" media="screen"><link rel="stylesheet" type="text/css" href="/jayme/lib/jqueryplugins/select2/select2.min.css" media="screen"><link rel="stylesheet" type="text/css" href="/jayme/lib/jqueryplugins/qtip2/jque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @version $Id$ | |
------------------------------------------------------------------------- | |
GLPI - Gestionnaire Libre de Parc Informatique | |
Copyright (C) 2015-2016 Teclib'. | |
http://glpi-project.org | |
based on GLPI - Gestionnaire Libre de Parc Informatique |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @version $Id$ | |
------------------------------------------------------------------------- | |
GLPI - Gestionnaire Libre de Parc Informatique | |
Copyright (C) 2015-2016 Teclib'. | |
http://glpi-project.org | |
based on GLPI - Gestionnaire Libre de Parc Informatique |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Renato Lazaro - Custom - Adicionado o campo Ramal de contato */ | |
echo "<tr class='tab_bg_1'>"; | |
echo "<th style='width:$colsize1%'>".$tt->getBeginHiddenFieldText('name'); | |
printf(__('%1$s%2$s'), __('Ramal'), $tt->getMandatoryMark('name')); | |
echo $tt->getEndHiddenFieldText('name')."</th>"; | |
echo "<td colspan='3'>"; | |
if (!$ID | |
|| $canupdate_descr) { | |
echo $tt->getBeginHiddenFieldValue('name'); | |
/* Renato Lazaro - Custom - Campo ramal obrigatório */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @version $Id$ | |
------------------------------------------------------------------------- | |
GLPI - Gestionnaire Libre de Parc Informatique | |
Copyright (C) 2015 Teclib'. | |
http://glpi-project.org | |
based on GLPI - Gestionnaire Libre de Parc Informatique |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Create Table 'alunos'*/ Table | |
CREATE TABLE alunos ( | |
id int(11) NOT NULL AUTO_INCREMENT, | |
nome varchar(100) DEFAULT NULL, | |
nota int(11) DEFAULT NULL, | |
PRIMARY KEY (id) | |
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; | |
/*Data for the table `alunos` */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DIV_1 { | |
color: rgb(17, 17, 17); | |
height: 92px; | |
text-rendering: optimizeLegibility; | |
text-size-adjust: 100%; | |
vertical-align: bottom; | |
width: 623.688px; | |
column-rule-color: rgb(17, 17, 17); | |
perspective-origin: 311.844px 46px; | |
transform-origin: 311.844px 46px; |
OlderNewer