7,7 → 7,7 |
<!DOCTYPE html> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<?php |
#choice of language |
$Language = 'en'; |
17,30 → 17,30 |
} |
if ($Language === 'fr') { |
$l_title = "Journal des connexions"; |
$l_attributes = "Attributs à afficher"; |
$l_select_attributes = "Sélectionnez les attributs à afficher"; |
$l_ordered = "Classé par :"; |
$l_max_return = "Nbr. max. de résultats retournés :"; |
$l_criteria = "Critère de sélection :"; |
$l_not_valid = "L'opération demandé n'est pas valide. Sortie anormale."; |
$l_delete = "Supprimer"; |
$l_not_valid = "L'opération demandé n'est pas valide. Sortie anormale."; |
$l_delete = "Supprimer"; |
$l_edit_user = "Éditer l'utilisateur :"; |
} else if($Language === 'es') { |
$l_title = "Registro de conexión"; |
$l_attributes = "Atributos a mostrar"; |
$l_title = "Registro de conexión"; |
$l_select_attributes = "Seleccione los atributos que desea mostrar"; |
$l_ordered = "ordenada por :"; |
$l_max_return = "Máximo número de resultados devueltos :"; |
$l_criteria = "Criterios de selección :"; |
$l_not_valid = "La operación solicitada no es válida. Salida anormal."; |
$il_delete = "Eliminar"; |
$l_not_valid = "La operación solicitada no es válida. Salida anormal."; |
$l_delete = "Eliminar"; |
$l_edit_user = "Editar usuario :"; |
} else { |
$l_title = "Connections log"; |
$l_attributes = "Attributes to display"; |
$l_select_attributes = "Select the attributes you want to display"; |
$l_ordered = "Ordered by :"; |
$l_max_return = "Max. no. of results returned :"; |
$l_criteria = "Selection Criteria :"; |
$l_not_valid = "The requested operation is not valid. Abnormal exit."; |
$l_delete = "Delete"; |
$l_not_valid = "The requested operation is not valid. Abnormal exit."; |
$l_delete = "Delete"; |
$l_edit_user = "Edit user :"; |
} |
|
59,7 → 59,6 |
EOM; |
exit(); |
} |
|
$operators=array( '=','<', '>', '<=', '>=', 'regexp', 'like' ); |
if ($config['sql_type'] == 'pg'){ |
$operators=array( '=','<', '>', '<=', '>=', '~', 'like', '~*', '~~*', '<<=' ); |
95,7 → 94,6 |
|
function show() { global $operators; |
global $items; |
global $l_delete; |
$nam = $this->item; |
echo <<<EOM |
<tr><td align=left> |
157,7 → 155,7 |
<table border=0 width=740 cellpadding=1 cellspacing=1> |
<tr> |
<td> |
<b>$l_attributes</b><br> |
<b>$l_select_attributes</b><br> |
<select name="accounting_show_attrs[]" size=5 multiple> |
EOM; |
foreach($items as $key => $val) |