Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

@@ -119,6 +119,8 @@ function IPBUAgents()
IPB3UAgents.uAgentsData = json;
IPB3UAgents.buildUAgentsList();
ipb.global.showInlineNotification( ipb.lang['useragent_saved'], { showClose: true } );
if ( json['errors'] )
{
/* Something inline would be very nice here.. rather than this ugly alert */
@@ -132,11 +134,11 @@ function IPBUAgents()
}
else
{
alert( "Ошибка: " + t.responseText );
alert( ipb.lang['oops'] + t.responseText );
}
},
onException: function( f,e ){ alert( "Исключение: " + e ); },
onFailure: function( t ){ alert( "Ошибка: " + t.responseText ); }
onException: function( f,e ){ alert( ipb.lang['oops'] + e ); },
onFailure: function( t ){ alert( ipb.lang['oops'] + t.responseText ); }
} );
};
@@ -146,7 +148,7 @@ function IPBUAgents()
this.removeuAgent = function( uagent_id )
{
/* Make sure we're mean it... */
if ( ! confirm( "Удалить user agent?\\nОн будет удален полностью из системы" ) )
if ( ! confirm( ipb.lang['removeuseragent'] ) )
{
return false;
}
@@ -183,11 +185,11 @@ function IPBUAgents()
}
else
{
alert( "Ошибка: " + t.responseText );
alert( ipb.lang['oops'] + t.responseText );
}
},
onException: function( f,e ){ alert( "Исключение: " + e ); },
onFailure: function( t ){ alert( "Ошибка: " + t.responseText ); }
onException: function( f,e ){ alert( ipb.lang['oops'] + e ); },
onFailure: function( t ){ alert( ipb.lang['oops'] + t.responseText ); }
} );
};
@@ -235,7 +237,7 @@ function IPBUAgents()
/* Adjust title */
if ( ! uagent_id )
{
$('tplate_title_' + uagent_id ).update("Добавление User Agent");
$('tplate_title_' + uagent_id ).update( ipb.lang['adduagenttitle'] );
}
/* Select box type */
@@ -290,7 +292,7 @@ function IPBUAgents()
_groups.each( function( i )
{
json['uagents'][i]['_cssClass'] = IPB3UAgents.cssNames['uagentsRow'];
json['uagents'][i]['uagent_name'] = json['uagents'][i]['uagent_name'].replace("%20", " ");
_output += _tplate.evaluate( json['uagents'][i] );
} );