cleanup
This commit is contained in:
parent
d849ff0ebd
commit
33a5a4e53d
|
@ -484,7 +484,7 @@ if (isset($login_failed)) {
|
|||
$nick = get_parameter_post('nick');
|
||||
$fails = db_get_value('failed_attempt', 'tusuario', 'id_user', $nick);
|
||||
$attemps = ($config['number_attempts'] - $fails);
|
||||
$icon = ui_get_stop_icon();
|
||||
$icon = 'images/icono_stop.png';
|
||||
echo '<div id="login_failed" title="'.__('Login failed').'">';
|
||||
echo '<div class="content_alert">';
|
||||
echo '<div class="icon_message_alert">';
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 391 KiB |
|
@ -839,21 +839,6 @@ function ui_print_os_icon(
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an stop icon.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function ui_get_stop_icon():string
|
||||
{
|
||||
if (date('md') === '0401') {
|
||||
return 'images/icono_stop.gif';
|
||||
}
|
||||
|
||||
return 'images/icono_stop.png';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Print type agent icon.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue