2012-12-10 Sancho Lerena <slerena@artica.es>
* datos_agente.php, snapshot.php: Seems some browsers doesnt like mono, added monospace to style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1bc4868132
commit
40a209bfee
|
@ -1,3 +1,8 @@
|
||||||
|
2012-12-10 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* datos_agente.php, snapshot.php: Seems some browsers
|
||||||
|
doesnt like mono, added monospace to style.
|
||||||
|
|
||||||
2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
|
2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/javascript/pandora.js: fixed lost var id_server.
|
* include/javascript/pandora.js: fixed lost var id_server.
|
||||||
|
|
|
@ -246,7 +246,7 @@ foreach ($result as $row) {
|
||||||
// Because this *SHIT* of print_table monster, I cannot format properly this cells
|
// Because this *SHIT* of print_table monster, I cannot format properly this cells
|
||||||
// so, eat this, motherfucker :))
|
// so, eat this, motherfucker :))
|
||||||
|
|
||||||
$datos = "<span style='font-family: mono;'>".$datos."</span>";
|
$datos = "<span style='font-family: mono,monospace;'>".$datos."</span>";
|
||||||
|
|
||||||
// I dont why, but using index (value) method, data is automatically converted to html entities ¿?
|
// I dont why, but using index (value) method, data is automatically converted to html entities ¿?
|
||||||
$data[$attr[1]]=$datos;
|
$data[$attr[1]]=$datos;
|
||||||
|
|
|
@ -65,7 +65,7 @@ echo "</h2>";
|
||||||
$datos = io_safe_output($row["datos"]);
|
$datos = io_safe_output($row["datos"]);
|
||||||
$datos = preg_replace ('/\n/i','<br>',$datos);
|
$datos = preg_replace ('/\n/i','<br>',$datos);
|
||||||
$datos = preg_replace ('/\s/i',' ',$datos);
|
$datos = preg_replace ('/\s/i',' ',$datos);
|
||||||
echo "<div style='padding: 10px; font-size: 14px; line-height: 16px; font-family: mono; text-align: left'>";
|
echo "<div style='padding: 10px; font-size: 14px; line-height: 16px; font-family: mono,monospace; text-align: left'>";
|
||||||
echo $datos;
|
echo $datos;
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue