Version 3.1.4
This commit is contained in:
1 parent
1d4720f3e2
commit
ae5c01cc78
2563 files changed
+283048
-240689
No files matched your search
@@ -52,7 +52,7 @@ function IPBUAgents()
|
||||
{
|
||||
/* Build uagents list */
|
||||
this.buildUAgentsList();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* INIT User Agent Form
|
||||
@@ -79,7 +79,7 @@ function IPBUAgents()
|
||||
|
||||
/* Build uagents list that are already in the group */
|
||||
this.buildGroupAgentsUsedList();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Save uagents
|
||||
@@ -122,23 +122,23 @@ function IPBUAgents()
|
||||
if ( json['errors'] )
|
||||
{
|
||||
/* Something inline would be very nice here.. rather than this ugly alert */
|
||||
alert("UGLY ALERT BOX SAYS: " + json['errors'] );
|
||||
alert("Ошибка: " + json['errors'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
alert("UGLY ALERT BOX SAYS: Saved!");
|
||||
alert("Сохранено!");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||
alert( "Ошибка: " + t.responseText );
|
||||
}
|
||||
},
|
||||
onException: function( f,e ){ alert( "Exception: " + e ) },
|
||||
onFailure: function( t ){ alert( "Failure: " + t.responseText ) }
|
||||
onException: function( f,e ){ alert( "Исключение: " + e ); },
|
||||
onFailure: function( t ){ alert( "Ошибка: " + t.responseText ); }
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Revert css
|
||||
@@ -146,7 +146,7 @@ function IPBUAgents()
|
||||
this.removeuAgent = function( uagent_id )
|
||||
{
|
||||
/* Make sure we're mean it... */
|
||||
if ( ! confirm( "Remove user agent?\\nThis will be removed permanently" ) )
|
||||
if ( ! confirm( "Удалить user agent?\\nОн будет удален полностью из системы" ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -177,19 +177,19 @@ function IPBUAgents()
|
||||
if ( json['errors'] )
|
||||
{
|
||||
/* Something inline would be very nice here.. rather than this ugly alert */
|
||||
alert("UGLY ALERT BOX SAYS: " + json['errors'] );
|
||||
alert("Ошибка: " + json['errors'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||
alert( "Ошибка: " + t.responseText );
|
||||
}
|
||||
},
|
||||
onException: function( f,e ){ alert( "Exception: " + e ) },
|
||||
onFailure: function( t ){ alert( "Failure: " + t.responseText ) }
|
||||
onException: function( f,e ){ alert( "Исключение: " + e ); },
|
||||
onFailure: function( t ){ alert( "Ошибка: " + t.responseText ); }
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Add uagents form
|
||||
@@ -197,7 +197,7 @@ function IPBUAgents()
|
||||
this.adduAgentForm = function()
|
||||
{
|
||||
IPB3UAgents.showuAgentsEditor( 0 );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Shows the template editor
|
||||
@@ -235,7 +235,7 @@ function IPBUAgents()
|
||||
/* Adjust title */
|
||||
if ( ! uagent_id )
|
||||
{
|
||||
$('tplate_title_' + uagent_id ).update("Adding User Agent");
|
||||
$('tplate_title_' + uagent_id ).update("Добавление User Agent");
|
||||
}
|
||||
|
||||
/* Select box type */
|
||||
@@ -250,7 +250,7 @@ function IPBUAgents()
|
||||
};
|
||||
|
||||
ipb.positionCenter( 'tplate_editor_' + uagent_id );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Close the editor
|
||||
@@ -269,7 +269,7 @@ function IPBUAgents()
|
||||
catch(e)
|
||||
{
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Build a list of uagents groups (files)
|
||||
@@ -304,7 +304,7 @@ function IPBUAgents()
|
||||
/* Image. Can't use #{...} inline as it parses as HTML entities. Most annoying */
|
||||
$('tplate_img_' + json['uagents'][i]['uagent_id'] ).src += 'type_' + json['uagents'][i]['uagent_type'] + '.png';
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Template Mouse Event
|
||||
@@ -337,7 +337,7 @@ function IPBUAgents()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Build a list of USED uagents
|
||||
@@ -395,7 +395,7 @@ function IPBUAgents()
|
||||
|
||||
/* Update hidden field */
|
||||
$('uAgentsData').value = Object.toJSON( _save );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Save user agent form
|
||||
@@ -403,7 +403,7 @@ function IPBUAgents()
|
||||
this.saveGroupForm = function()
|
||||
{
|
||||
$('uAgentsForm').submit();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Template Mouse Event
|
||||
@@ -436,7 +436,7 @@ function IPBUAgents()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Close the editor
|
||||
@@ -455,7 +455,7 @@ function IPBUAgents()
|
||||
catch(e)
|
||||
{
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Shows the versions editor
|
||||
@@ -483,7 +483,7 @@ function IPBUAgents()
|
||||
document.body.appendChild( _div );
|
||||
|
||||
ipb.positionCenter( 'tplate_versions_' + uagent_id );
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Save agent version info
|
||||
@@ -498,7 +498,7 @@ function IPBUAgents()
|
||||
|
||||
/* Close any open editors */
|
||||
IPB3UAgents.cancelAgentVersion();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Add user agent to the list
|
||||
@@ -516,7 +516,7 @@ function IPBUAgents()
|
||||
|
||||
/* Build uagents list that are already in the group */
|
||||
IPB3UAgents.buildGroupAgentsUsedList();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Add user agent to the list
|
||||
@@ -535,7 +535,7 @@ function IPBUAgents()
|
||||
|
||||
/* Build uagents list that are already in the group */
|
||||
IPB3UAgents.buildGroupAgentsUsedList();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Template Mouse Event
|
||||
@@ -559,7 +559,7 @@ function IPBUAgents()
|
||||
IPB3UAgents.groupAddToList( _uagent_id );
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Build a list of uagents
|
||||
@@ -599,6 +599,5 @@ function IPBUAgents()
|
||||
$('tplate_agentimg_' + json['uagents'][i]['uagent_id'] ).src += 'type_' + json['uagents'][i]['uagent_type'] + '.png';
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user