Changeset 410
- Timestamp:
- 05/03/08 23:20:49
- Arquivos:
-
- cacic/trunk/gerente/admin/patrimonio/nivel2/incluir_nivel2.php (modified) (1 diff)
- cacic/trunk/gerente/admin/patrimonio/nivel2/index.php (modified) (1 diff)
- cacic/trunk/gerente/include/cacic.css (modified) (1 diff)
- cacic/trunk/gerente/include/dyncalendar.css (modified) (1 diff)
- cacic/trunk/gerente/include/dyncalendar.js (modified) (1 diff)
- cacic/trunk/gerente/include/selecao_locais_inc.php (modified) (1 diff)
- cacic/trunk/gerente/include/selecao_so_inc.php (modified) (1 diff)
- cacic/trunk/gerente/instalador/templates/install_navbar.tmpl (modified) (5 diffs)
- cacic/trunk/gerente/instalador/templates/install_navbarftpverify.tmpl (modified) (1 diff)
- cacic/trunk/gerente/relatorios/alteracoes_hardware/index.php (modified) (2 diffs)
- cacic/trunk/gerente/relatorios/compartilhamentos/rel_compartilhamentos.php (modified) (1 diff)
- cacic/trunk/gerente/relatorios/hardware/index.php (modified) (3 diffs)
- cacic/trunk/gerente/relatorios/hardware/rel_hardware.php (modified) (4 diffs)
Legenda:
- Não modificado
- Adicionado
- Removido
- Modificado
- Copiado
- Movido
cacic/trunk/gerente/admin/patrimonio/nivel2/incluir_nivel2.php
r214 r410 43 43 nu_tel1_responsavel_uon2, 44 44 nu_tel2_responsavel_uon2, 45 id_unid_organizacional_nivel1 ,45 id_unid_organizacional_nivel1a, 46 46 id_local) 47 47 VALUES ('". cacic/trunk/gerente/admin/patrimonio/nivel2/index.php
r214 r410 82 82 unid_organizacional_nivel2 uo2, 83 83 locais loc 84 WHERE uo2.id_unid_organizacional_nivel1 = uo1.id_unid_organizacional_nivel1 '.$where.' and84 WHERE uo2.id_unid_organizacional_nivel1a = uo1.id_unid_organizacional_nivel1 '.$where.' and 85 85 uo2.id_local = loc.id_local 86 86 ORDER BY loc.sg_local, cacic/trunk/gerente/include/cacic.css
r371 r410 137 137 { 138 138 visibility:visible!important; 139 } 139 } 140 141 .necessario { 142 padding: 0px 02px 0px 0px; 143 color: red; 144 font-size: 10px; 145 } 146 147 140 148 </style> cacic/trunk/gerente/include/dyncalendar.css
r104 r410 44 44 font-size: 8pt; 45 45 } 46 47 .dynCalendarImg { 48 background: url(../imgs/dyncalendar.gif) no-repeat scroll 100% 0pt; 49 width: 16; 50 height: 16; 51 padding: 5px 26px 10px 0px; 52 cursor: pointer; 53 } cacic/trunk/gerente/include/dyncalendar.js
r215 r410 222 222 { 223 223 if (is_ie5up || is_nav6up || is_gecko) { 224 document.write(sprintf('<a href="javascript: %s.show()">< img src="%sdynCalendar.gif" border="0" width="16" height="16" /></a>', this.objName, this.imagesPath));224 document.write(sprintf('<a href="javascript: %s.show()"><span class="dynCalendarImg"> </span></a>', this.objName, this.imagesPath)); 225 225 document.write(sprintf('<div class="dynCalendar" id="%s" onmouseover="%s._mouseover(true)" onmouseout="%s._mouseover(false)"></div>', this.layerID, this.objName, this.objName)); 226 226 } cacic/trunk/gerente/include/selecao_locais_inc.php
r149 r410 44 44 <td width="40"> </td> 45 45 <td nowrap> </td> 46 <td nowrap class="cabecalho_tabela"> Selecionados:<br></td>46 <td nowrap class="cabecalho_tabela"><span class="necessario">*</span>Selecionados:<br></td> 47 47 <td nowrap> </td> 48 48 </tr> cacic/trunk/gerente/include/selecao_so_inc.php
r371 r410 28 28 <td width="40"> </td> 29 29 <td nowrap> </td> 30 <td nowrap class="cabecalho_tabela"> Selecionados:</td>30 <td nowrap class="cabecalho_tabela"><span class="necessario">*</span>Selecionados:</td> 31 31 <td nowrap> </td> 32 32 </tr> cacic/trunk/gerente/instalador/templates/install_navbar.tmpl
r406 r410 36 36 <td colspan=2> 37 37 <div class="navbar-btn"> 38 < div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'preinstall' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div>39 < div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_LICENSE_AGREE_MSG}">{KCIQ_LICENSE_AGREE}</a></div></div>38 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'preinstall' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></span></span> 39 <span class="navbar-btn-left"><span class="proximo"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_LICENSE_AGREE_MSG}">{KCIQ_LICENSE_AGREE}</a></span></span> 40 40 </div> 41 41 </td> … … 75 75 <td colspan=2> 76 76 <div class="navbar-btn"> 77 < div class="navbar-btn-left"><div class="verificar"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_CHECK}">{KCIQ_CHECK}</a></div></div>78 < div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'licenca' );" title="<cacicInstall:var name="copiedVar" copyFrom="tmplNavBarLicenca.KCIQ_PREVIOUS"/>"><cacicInstall:var name="copiedVar" copyFrom="tmplNavBarLicenca.KCIQ_PREVIOUS"/></a></div></div>77 <span class="navbar-btn-left"><span class="verificar"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_CHECK}">{KCIQ_CHECK}</a></span></span> 78 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'licenca' );" title="<cacicInstall:var name="copiedVar" copyFrom="tmplNavBarLicenca.KCIQ_PREVIOUS"/>"><cacicInstall:var name="copiedVar" copyFrom="tmplNavBarLicenca.KCIQ_PREVIOUS"/></a></span></span> 79 79 <cacicInstall:tmpl name="tmplNavBarCheckInstallContinue" type="condition" conditionvar="continuar"> 80 80 <cacicInstall:sub condition="1"> 81 < div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'configuration' );" title="<cacicInstall:var name="copiedVar" copyFrom="tmplNavBarPreInstall.KCIQ_NEXT"/>"><cacicInstall:var name="copiedVar" copyFrom="tmplNavBarPreInstall.KCIQ_NEXT"/></a></div></div>81 <span class="navbar-btn-left"><span class="proximo"><a onclick="submitForm( installForm, 'configuration' );" title="<cacicInstall:var name="copiedVar" copyFrom="tmplNavBarPreInstall.KCIQ_NEXT"/>"><cacicInstall:var name="copiedVar" copyFrom="tmplNavBarPreInstall.KCIQ_NEXT"/></a></span></span> 82 82 </cacicInstall:sub> 83 83 </cacicInstall:tmpl> … … 244 244 <td colspan=2> 245 245 <div class="navbar-btn"> 246 < div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div>247 < div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'adminSetup' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div>246 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></span></span> 247 <span class="navbar-btn-left"><span class="proximo"><a onclick="submitForm( installForm, 'adminSetup' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></span></span> 248 248 </div> 249 249 </td> … … 414 414 <td colspan=2> 415 415 <div class="navbar-btn"> 416 < div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'configuration' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div>417 < div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div>416 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'configuration' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></span></span> 417 <span class="navbar-btn-left"><span class="proximo"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></span></span> 418 418 </div> 419 419 </td> … … 520 520 <td colspan=2> 521 521 <div class="navbar-btn"> 522 < div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div>523 < div class="navbar-btn-left"><div class="proximo"><a onclick="javascript:document.location.href='{CACIC_URL}';" title="{KCIQ_FINISH_TITLE}">{KCIQ_FINISH}</a></div></div>522 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></span></span> 523 <span class="navbar-btn-left"><span class="proximo"><a onclick="javascript:document.location.href='{CACIC_URL}';" title="{KCIQ_FINISH_TITLE}">{KCIQ_FINISH}</a></span></span> 524 524 </div> 525 525 </td> cacic/trunk/gerente/instalador/templates/install_navbarftpverify.tmpl
r399 r410 20 20 <td colspan=2> 21 21 <div class="navbar-btn"> 22 <div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'adminSetup' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div>23 <div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'Finish' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div>22 <span class="navbar-btn-right"><span class="anterior"><a onclick="submitForm( installForm, 'adminSetup' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></span></span> 23 <span class="navbar-btn-left"><span class="proximo"><a onclick="submitForm( installForm, 'Finish' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></span></span> 24 24 </div> 25 25 </td> cacic/trunk/gerente/relatorios/alteracoes_hardware/index.php
r214 r410 28 28 require_once('../../include/inicio_relatorios_inc.php'); 29 29 ?> 30 <script src="../../ sniffer.js" type="text/javascript" language="javascript"></script>30 <script src="../../include/sniffer.js" type="text/javascript" language="javascript"></script> 31 31 <script src="../../include/dyncalendar.js" type="text/javascript" language="javascript"></script> 32 32 <link href="../../include/dyncalendar.css" media="screen" rel="stylesheet"> … … 49 49 </tr> 50 50 </table> 51 <form action="rel_alteracoes_hardware.php" target="_blank" method="post" ENCTYPE="multipart/form-data" name="form a" onsubmit="return valida_form()">51 <form action="rel_alteracoes_hardware.php" target="_blank" method="post" ENCTYPE="multipart/form-data" name="form1" onsubmit="return valida_form()"> 52 52 <table width="90%" border="0" align="center" cellpadding="5" cellspacing="1"> 53 53 <tr> cacic/trunk/gerente/relatorios/compartilhamentos/rel_compartilhamentos.php
r371 r410 138 138 compartilhamentos.id_so IN ($so_selecionados) AND 139 139 nm_dir_compart <> '' 140 $query_redes 140 $query_redes 141 GROUP BY compartilhamentos.id_so,compartilhamentos.te_node_address 141 142 ORDER BY computadores.te_nome_computador ASC "; 142 echo $query . '<br>';143 143 144 $resultado = mysql_query($query) or die('Erro no select '. mysql_error().' ou sua sessão expirou!'); 144 145 cacic/trunk/gerente/relatorios/hardware/index.php
r397 r410 34 34 <tr> 35 35 <td> 36 </td> 36 <span class="necessario">*</span> 37 Campos obrigatórios 38 </td> 37 39 </tr> 38 40 </table> … … 113 115 <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1"> 114 116 <tr> 115 <td class="label">Selecione 116 as configurações de hardware que deseja exibir:</td> 117 <td class="label"> 118 Selecione as configurações de hardware que deseja exibir: 119 </td> 117 120 </tr> 118 121 <tr> … … 127 130 <td width="40"> </td> 128 131 <td nowrap> </td> 129 <td nowrap class="cabecalho_tabela"> Selecionados:</td>132 <td nowrap class="cabecalho_tabela"><span class="necessario">*</span>Selecionados:</td> 130 133 <td nowrap> </td> 131 134 </tr> cacic/trunk/gerente/relatorios/hardware/rel_hardware.php
r397 r410 104 104 $locais_selecionados .= ",'" . $_SESSION["list12"][$i] . "'"; 105 105 } 106 $query_redes = ' AND a.id_ip_rede = redes.id_ip_rede AND107 redes.id_local IN ('. $locais_selecionados .') AND108 redes.id_local = locais.id_local ';106 $query_redes = ' AND a.id_ip_rede = redes.id_ip_rede '; 107 $query_redes .= ' AND redes.id_local IN ('. $locais_selecionados .')'; 108 $query_redes .= ' AND redes.id_local = locais.id_local '; 109 109 $select = ' ,sg_local as Local '; 110 110 $from = ' ,redes,locais '; … … 128 128 $campos_hardware = str_replace('\\', '', $campos_hardware); 129 129 130 echo $campos_hardware . '<br>';131 130 if ($_GET['orderby']) { $orderby = $_GET['orderby']; } 132 131 else { $orderby = '3'; } //por Nome Comp. … … 136 135 sg_so as "S.O.", 137 136 a.te_ip as "IP"' . 138 $select .' 137 $select . 138 ($campos_hardware?','.$campos_hardware:"") . 139 ' 139 140 FROM so LEFT JOIN computadores a ON (a.id_so = so.id_so) '. 140 141 $from . ' … … 143 144 $query_redes .' 144 145 ORDER BY ' . $orderby; 145 // $campos_hardware . 146 echo $query . '<br>'; 146 147 147 $result = mysql_query($query) or die('Erro no select ou sua sessão expirou!'); 148 148
