ref #3 Arreglado la ordenación en el mantenimiento y los caracteres raros en el selector de fechas.

This commit is contained in:
2014-02-22 03:30:31 +01:00
parent dcad69b84a
commit 06713701e5
5 changed files with 11 additions and 13 deletions

View File

@@ -414,11 +414,12 @@ class Mantenimiento {
$this->campoBusca = $dato[1];
}
}
$clave2 = $clave;
$clave = str_ireplace("descripcion", "Descripción", $clave);
$clave = str_ireplace("ubicacion", "Ubicación", $clave);
$clave = str_ireplace("articulo", "Artículo", $clave);
if ($ordenable) {
$salida.="<th><b><a title=\"Establece orden por $clave \" href=\"$this->url&orden=" . strtolower($clave) . "\"> " . ucfirst($clave) . " </a></b></th>\n";
$salida.="<th><b><a title=\"Establece orden por $clave \" href=\"$this->url&orden=" . strtolower($clave2) . "\"> " . ucfirst($clave) . " </a></b></th>\n";
} else {
$salida.='<th><b>' . ucfirst($clave) . '</b></th>' . "\n";
}