From db4e283a0d609d1bef3298157eebcede384befe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Sun, 1 Jun 2014 22:59:49 +0200 Subject: [PATCH 1/4] =?UTF-8?q?Arreglado=20que=20los=20cr=C3=A9ditos=20sal?= =?UTF-8?q?gan=20centrados=20en=20lugar=20de=20alineados=20a=20la=20derech?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AportaContenido.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AportaContenido.php b/AportaContenido.php index 4c7f96c..fe23ede 100644 --- a/AportaContenido.php +++ b/AportaContenido.php @@ -254,7 +254,7 @@ class AportaContenido { $rama_texto = trim(substr(file_get_contents('.git/HEAD'), 16)); $rama = ($rama_texto != 'master' ? '
':''); return $mensaje . '

' . PROGRAMA . '' . - '

' . $rama . CREDITOS_CABECERA . $tabla . CREDITOS_PIE; + '

' . $rama . '
' . CREDITOS_CABECERA . $tabla . CREDITOS_PIE; case 'articulos': case 'ubicaciones': case 'test': From 0ab3bf7eb3baa9b1aa078fcfdd869793692a1c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Sun, 1 Jun 2014 23:15:26 +0200 Subject: [PATCH 2/4] =?UTF-8?q?A=C3=B1adidos=20enlaces=20a=20manual=20y=20?= =?UTF-8?q?a=20aplicaci=C3=B3n=20de=20ejemplo=20en=20readme.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d8f9603..bb88173 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ Utiliza: *MySQL v. 5.1.x *Apache +[Manual de Usuario](http://rmontanana.gitbooks.io/inventario2/) + +[Instalación de ejemplo](http://inventario2.rmontanana.es) + ##Instalación Para instalar la aplicación basta con seguir estos pasos: ###1. Copiar los archivos en una ubicación a la que tenga acceso el usuario con el que se ejecuta el servidor Apache (apache, _www, etc.). From 77f766366de2e67dade10893c4f331ba7cb907b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Sun, 1 Jun 2014 23:55:13 +0200 Subject: [PATCH 3/4] =?UTF-8?q?A=C3=B1adido=20la=20v=20para=20indicar=20la?= =?UTF-8?q?=20versi=C3=B3n=20en=20la=20cabecera=20de=20los=20informes=20Ac?= =?UTF-8?q?ortado=20el=20nombre=20de=20la=20aplicaci=C3=B3n=20en=20la=20p?= =?UTF-8?q?=C3=A1gina=20principal=20para=20que=20en=20dispositivos=20peque?= =?UTF-8?q?=C3=B1os=20se=20visualice=20bien=20con=20el=20icono=20nuevo=20d?= =?UTF-8?q?el=20manual?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AportaContenido.php | 5 ++++- InformePDF.php | 2 +- Pdf_mysql_table.php | 2 +- inc/version.inc | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/AportaContenido.php b/AportaContenido.php index fe23ede..685bc40 100644 --- a/AportaContenido.php +++ b/AportaContenido.php @@ -194,7 +194,10 @@ class AportaContenido { $campo = ''; $etiqueta = ''; return $etiqueta . $campo . $script; - case 'aplicacion': return PROGRAMA . " v" . VERSION; + case 'aplicacion': + $nombre = explode(" ", PROGRAMA); + $nombre = $nombre[2]; + return $nombre . " v" . VERSION; case 'menu': // el menú if ($this->registrado) { return $this->miMenu->insertaMenu(); diff --git a/InformePDF.php b/InformePDF.php index ae76cd8..d56feaf 100644 --- a/InformePDF.php +++ b/InformePDF.php @@ -54,7 +54,7 @@ class InformePDF { //echo $def->Titulo.$def->Cabecera; $this->pdf->Open(); $this->pdf->setAuthor(AUTOR,true); - $creador = CENTRO . " " . PROGRAMA.VERSION; + $creador = CENTRO . " " . PROGRAMA . " v" . VERSION; $this->pdf->setCreator(html_entity_decode($creador),true); $this->pdf->setSubject($this->def->Titulo,true); $this->pdf->setAutoPageBreak(true, 10); diff --git a/Pdf_mysql_table.php b/Pdf_mysql_table.php index a523be5..a2f23ea 100644 --- a/Pdf_mysql_table.php +++ b/Pdf_mysql_table.php @@ -61,7 +61,7 @@ class Pdf_mysql_table extends FPDF //Titulo $fecha=strftime("%d-%b-%Y %H:%M"); $this->SetFont('Arial','',8); - $this->Cell(0,4,html_entity_decode(CENTRO . " " . PROGRAMA . VERSION,ENT_COMPAT | ENT_HTML401,'ISO-8859-1'),0,1,'L'); + $this->Cell(0,4,html_entity_decode(CENTRO . " " . PROGRAMA . " v" . VERSION,ENT_COMPAT | ENT_HTML401,'ISO-8859-1'),0,1,'L'); $this->SetFont('Arial','',18); $this->Cell(0,6,utf8_decode($this->titulo),0,1,'C'); $this->SetFont('Arial','',8); diff --git a/inc/version.inc b/inc/version.inc index db92f75..bdf28d8 100644 --- a/inc/version.inc +++ b/inc/version.inc @@ -23,5 +23,5 @@ */ define('AUTOR', 'Ricardo Montañana Gómez'); -define('VERSION', '1.14'); +define('VERSION', '1.14.1'); ?> From b89fcbd2ece9c2ad8b0fb8878e5fc0cd44c15583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Mon, 2 Jun 2014 19:44:33 +0200 Subject: [PATCH 4/4] Actualizado el CHANGELOG --- CHANGELOG | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 50f9eeb..a42d6a6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +Versión 1.14.1 02-06-2014 +-Añadidos enlaces a manual y a aplicación de ejemplo en readme.md +-Arreglado que los créditos salgan centrados en lugar de alineados a la derecha +-Añadido la 'v' para indicar la versión en la cabecera de los informes +-Acortado el nombre de la aplicación en la página principal para que en dispositivos pequeños se visualice bien con el icono nuevo del manual + Versión 1.14 01-06-2014 -Añadido icono de acceso a la documentación en la barra superior -Corregido cierre etiqueta h5 en pie de créditos