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";
}

View File

@@ -15,8 +15,8 @@
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
monthsShort : "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
weekdays : "domingo_lunes_martes_mi&eacute;rcoles_jueves_viernes_s&aacute;bado".split("_"),
weekdaysShort : "dom._lun._mar._mié._jue._vie._s&aacute;b.".split("_"),
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
weekdaysShort : "dom._lun._mar._mi&eacute;._jue._vie._s&aacute;b.".split("_"),
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_S&aacute;".split("_"),
longDateFormat : {
LT : "H:mm",
L : "DD/MM/YYYY",

File diff suppressed because one or more lines are too long

6
css/moment.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -66,7 +66,7 @@
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="./css/bootstrap/js/bootstrap.min.js"></script>
<!--<script src="./css/bootstrap/js/docs.min.js"></script>-->
<script type="text/javascript" src="./css/moment-with-langs.min.js"></script>
<script type="text/javascript" src="./css/moment.min.js"></script>
<script type="text/javascript" src="./css/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="./css/bootstrap-datetimepicker.es.js"></script>
</body>