diff --git a/css/style.css b/css/style.css
index c96437a..15e27b5 100644
--- a/css/style.css
+++ b/css/style.css
@@ -41,7 +41,7 @@ h1, h2, h3, h4, h5, h6 {
#contenedor_cabecera{
- padding-top: 22em;
+ padding-top: 17em;
}
diff --git a/index.php b/index.php
index 0faec6e..37d0cb5 100644
--- a/index.php
+++ b/index.php
@@ -1,33 +1,61 @@
processRequests();
+$xajax->processRequests();
$embebido =0;
if (isset($_REQUEST['form'])) {
- $form = $_REQUEST['form'];
- $opciones["formato"]= $_REQUEST['formato'];
- } else {$form = "";}
- if($form !='') {$embebido = 1;}
-if (isset($_REQUEST['identificador'])) {$identificador = $_REQUEST['identificador'];} else {$identificador = "";}
- if($identificador !='') {$embebido = 1;}
-if (isset($_REQUEST['id'])) {$id = $_REQUEST['id'];} else {$id = "";}
-if (isset($_REQUEST['campo'])) {$campo = $_REQUEST['campo'];} else {$campo = "";}
-if (isset($_REQUEST['consulta'])) {$consulta = $_REQUEST['consulta'];} else {$consulta = "";}
-if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
+ $form = $_REQUEST['form'];
+ $opciones["formato"]= $_REQUEST['formato'];
+} else {
+ $form = "";
+}
+ if ($form !='') {
+ $embebido = 1;
+ }
+if (isset($_REQUEST['identificador'])) {
+ $identificador = $_REQUEST['identificador'];
+} else {
+ $identificador = "";
+}
+ if ($identificador !='') {
+ $embebido = 1;
+ }
+if (isset($_REQUEST['id'])) {
+ $id = $_REQUEST['id'];
+} else {
+ $id = "";
+}
+if (isset($_REQUEST['campo'])) {
+ $campo = $_REQUEST['campo'];
+} else {
+ $campo = "";
+}
+if (isset($_REQUEST['consulta'])) {
+ $consulta = $_REQUEST['consulta'];
+} else {
+ $consulta = "";
+}
+if (isset($_REQUEST['t'])) {
+ $t = $_REQUEST['t'];
+} else {
+ $t = "";
+}
?>
@@ -37,20 +65,20 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
-
- printJavascript("xajax/");
+
+ printJavascript("xajax/");
// $xajax->debugOn();
- //$xajax->statusMessagesOn();
+ //$xajax->statusMessagesOn();
?>
- ";
- }else{
- //echo "";
- } ?>
+ ";
+ } else {
+ //echo "";
+ } ?>
@@ -59,7 +87,7 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
@@ -67,19 +95,25 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
xajax_formulario_listado('','contenido','$id')";}
- elseif($campo !=''){$onload ="";}
- elseif($consulta !=''){$onload ="";}
- else{}
-
- if( isset($_REQUEST['psi'])){$onload ="";}
+ if ($id !='') {
+ $onload ="";
+ } elseif ($campo !='') {
+ $onload ="";
+ } elseif ($consulta !='') {
+ $onload ="";
+ } else {
+ }
+
+ if (isset($_REQUEST['psi'])) {
+ $onload ="";
+ }
?>
-
+
@@ -89,7 +123,7 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
-
+
@@ -100,7 +134,7 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
-
+
@@ -109,7 +143,7 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
-
+
@@ -122,11 +156,11 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
+