2010-11-02 Raul Mateos <raulofpandora@gmail.com>

* extensions/pandora_logs.php: Fixed html typos.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-11-02 11:17:37 +00:00
parent 020cae959a
commit 3d16ae8149
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2010-11-02 Raúl Mateos <raulofpandora@gmail.com>
* extensions/pandora_logs.php: Fixed html typos.
2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "format_array_to_where_clause_sql"
@ -331,7 +335,6 @@
* godmode/setup/setup.php: Use added images.
>>>>>>> .r3474
2010-10-25 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_network.php: Added enterprise

View File

@ -16,12 +16,12 @@ function view_logfile ($file_name) {
global $config;
if (!file_exists($file_name)){
echo "<h2 class=error>".__("Cannot find file"). "(".$file_name;
echo ")</h1>";
echo "<h2 class='error'>".__("Cannot find file"). "(".$file_name;
echo ")</h2>";
} else {
if (filesize ($file_name) > 512000) {
echo "<h2 class=error>".__("File is too large (> 500KB)"). "(".$file_name;
echo ")</h1>";
echo "<h2 class='error'>".__("File is too large (> 500KB)"). "(".$file_name;
echo ")</h2>";
} else {
$data = file_get_contents ($file_name);
echo "<h2>$file_name (".format_numeric(filesize ($file_name)/1024)." KB) </h2>";