source: admin/WebConsole/varios/horario_ventana.php @ 9a2cda1e

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 9a2cda1e was b0dc2e4, checked in by alonso <alonso@…>, 16 years ago

git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<?
2include_once("../includes/ctrlacc.php");
3include_once("../idiomas/php/".$idioma."/clases/Almanaque_".$idioma.".php");
4$hora="";
5if (isset($_GET["hora"])) $hora=$_GET["hora"];
6if($hora=="") $hora="8:00";
7?>
8<HTML>
9<TITLE>Administración web de aulas</TITLE>
10<HEAD>
11        <LINK rel="stylesheet" type="text/css" href="../estilos.css">
12<SCRIPT language="JavaScript">
13
14var rojo="#cc3366"
15var negro="#ffffff"
16var verde="lightseagreen"
17var gris="#bbbcb9"
18var blanco="#eeeeee"
19var azul= "#0000cc"
20var fondooriginal="#EEEECC";
21var colororiginal="#003300";
22
23var currentHora=null;
24
25//-------------------------------------------------------------------
26function ItemSeleccionado(o){
27        return(o.style.backgroundColor==azul)
28}
29//-------------------------------------------------------------------
30function Resalta(o){
31        o.style.color=blanco
32        o.style.backgroundColor=azul
33}
34//-------------------------------------------------------------------
35function Desmarca(o){
36        o.style.color=colororiginal
37        o.style.backgroundColor=fondooriginal
38
39}
40//-------------------------------------------------------------------
41function sobre(o){
42        if (currentHora!=null)
43                Desmarca(currentHora)
44        Resalta(o);
45        currentHora=o;
46}
47//-------------------------------------------------------------------
48function fuera(o){
49                Desmarca(o);
50}
51//-------------------------------------------------------------------
52function clic(o){
53        window.opener.anade_hora(o.id)
54        self.close()
55}
56//_________________________________________________________
57function cerrar_ventana(){
58        self.close()
59}
60//_________________________________________________________
61function borrar_fecha(){
62        window.opener.anade_hora("")
63        self.close()
64}
65//_________________________________________________________
66</SCRIPT>
67</HEAD>
68<BODY>
69        <?
70$mialmanaque=new Almanaque("tabla_meses");
71echo '<DIV style="position:absolute;top:5px;left:10px">';
72echo '<img style="cursor:hand" SRC="../images/iconos/salir_on.gif" onclick="cerrar_ventana()">';
73echo '</DIV>';
74
75echo '<DIV style="position:absolute;top:25px;left:5px">';
76echo '<FORM action="calendario_ventana.php" name="fdatos" method="post">';
77echo '<table align=center border=0>';
78echo '<tr>';
79echo '<td colspan=2 valign=top width=100>'.$mialmanaque->Horas_Completas().'</td>';
80echo '</tr>';
81echo '</table>';
82echo '</FORM>';
83echo '</DIV>';
84
85echo '<SCRIPT language="JavaScript">';
86echo '  var o=document.getElementById("'.$hora.'");';
87echo '   if(o!=null) sobre(o);';
88echo '</SCRIPT>';
89?>
90
91</body>
92</html>
93
94
Note: See TracBrowser for help on using the repository browser.