2011-02-28 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_db.php: cleaned source code, and erased the deprecated
	functions "dame_nombre_real" and "show_alert_row_mini".
	
	* operation/incidents/incident_detail.php,
	operation/snmpconsole/snmp_view.php: replaced obsolete "dame_nombre_real"
	to "get_user_fullname". 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-02-28 17:47:22 +00:00
parent 768bc674b9
commit db09b5cf2f
4 changed files with 791 additions and 882 deletions

View File

@ -1,3 +1,11 @@
2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
functions "dame_nombre_real" and "show_alert_row_mini".
* operation/incidents/incident_detail.php,
operation/snmpconsole/snmp_view.php: replaced obsolete "dame_nombre_real"
to "get_user_fullname".
2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
function "dame_admin".

File diff suppressed because it is too large Load Diff

View File

@ -276,7 +276,7 @@ echo '</td><td class="datos"><b>'.__('Creator').'</b></td><td class="datos">';
if (empty ($id_creator)) {
echo 'SYSTEM';
} else {
echo $id_creator.' (<i>'.dame_nombre_real ($id_creator).'</i>)';
echo $id_creator.' (<i>'.get_user_fullname($id_creator).'</i>)';
}
echo '</td></tr><tr><td class="datos2" colspan="4">';

View File

@ -352,7 +352,7 @@ if ($traps !== false) {
//User
if (!empty ($trap["status"])) {
$data[5] = '<a href="index.php?sec=usuarios&sec2=operation/users/user_edit&ver='.$trap["id_usuario"].'">'.substr ($trap["id_usuario"], 0, 8).'</a>';
$data[5] .= '<a href="#" class="tip">&nbsp;<span>'.dame_nombre_real($trap["id_usuario"]).'</span></a>';
$data[5] .= '<a href="#" class="tip">&nbsp;<span>'.get_user_fullname($trap["id_usuario"]).'</span></a>';
} else {
$data[5] = '--';
}