'<div class="alert alert-warning"><p><strong>No Compatibility Infomation Found</strong></p><p>This plugin did not specify a specific version for installation given your NodeBB version. Full compatibility cannot be guaranteed, and may cause your NodeBB to no longer start properly.</p></div>'+
'<p>In the event that NodeBB cannot boot properly:</p>'+
'<p>Continue installation of latest version of this plugin?</p>'
,function(confirm){
if(err){
bootbox.confirm('<p>NodeBB could not reach the package manager, proceed with installation of latest version?</p><div class="alert alert-danger"><strong>Server returned ('+err.status+')</strong>: '+err.responseText+'</div>',function(confirm){
if(confirm){
Plugins.toggleInstall(pluginID,'latest');
}
});
return;
}
});
}else{
bootbox.confirm('<p>NodeBB could not reach the package manager, proceed with installation of latest version?</p><div class="alert alert-danger"><strong>Server returned ('+err.status+')</strong>: '+err.responseText+'</div>',function(confirm){
'<div class="alert alert-warning"><p><strong>No Compatibility Infomation Found</strong></p><p>This plugin did not specify a specific version for installation given your NodeBB version. Full compatibility cannot be guaranteed, and may cause your NodeBB to no longer start properly.</p></div>'+
'<p>In the event that NodeBB cannot boot properly:</p>'+
bootbox.alert('<p>Your version of NodeBB (v'+app.config.version+') is only cleared to upgrade to v'+payload.version+' of this plugin. Please update your NodeBB if you wish to install a newer version of this plugin.');
}
});
}else{
bootbox.alert('<p>NodeBB could not reach the package manager, an upgrade is not suggested at this time.</p>');
'<div class="alert alert-warning"><p><strong>No Compatibility Infomation Found</strong></p><p>This plugin did not specify a specific version for installation given your NodeBB version. Full compatibility cannot be guaranteed, and may cause your NodeBB to no longer start properly.</p></div>'+
'<p>In the event that NodeBB cannot boot properly:</p>'+