BoxBilling -> FOSSBilling

This commit is contained in:
evrifaessa committed 2022-11-19 19:23:15 +03:00
1 parent 0032505f62
commit ca474ff52e
12 files changed
+20 -20

No files matched your search

@@ -59,11 +59,11 @@ export const buildThemeAdminJs = function buildThemeAdminJs() {
'assets/js/jquery-ui.js',
upath.joinSafe(nodeModulesPath, '@tabler/core/dist/js/tabler.js'),
upath.joinSafe(nodeModulesPath, 'apexcharts/dist/apexcharts.js'),
'assets/js/boxbilling.js',
'assets/js/fossbilling.js',
];
return gulp.src(files)
.pipe(concat('boxbilling-bundle.min.js'))
.pipe(concat('fossbilling-bundle.min.js'))
.pipe(uglify())
.pipe(gulp.dest('build/js'));
}
@@ -79,7 +79,7 @@ export const buildThemeAdminCSS = function buildThemeAdminCSS() {
];
return gulp.src(files)
.pipe(concat('boxbilling-bundle.min.css'))
.pipe(concat('fossbilling-bundle.min.css'))
.pipe(postcss([
autoprefixer()
]))
@@ -16,8 +16,8 @@
{% include 'partial_bb_meta.html.twig' %}
<link rel="stylesheet" href="build/css/boxbilling-bundle.min.css?v={{ guest.system_version }}">
<script src="build/js/boxbilling-bundle.min.js?v={{ guest.system_version }}"></script>
<link rel="stylesheet" href="build/css/fossbilling-bundle.min.css?v={{ guest.system_version }}">
<script src="build/js/fossbilling-bundle.min.js?v={{ guest.system_version }}"></script>
{% block head %}{% endblock %}
</head>
@@ -11,9 +11,9 @@
{% include "partial_bb_meta.html.twig" %}
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
<link rel="stylesheet" href="build/css/boxbilling-bundle.min.css">
<link rel="stylesheet" href="build/css/fossbilling-bundle.min.css">
<script src="build/js/boxbilling-bundle.min.js?v={{ guest.system_version }}"></script>
<script src="build/js/fossbilling-bundle.min.js?v={{ guest.system_version }}"></script>
</head>
<body class="border-top-wide border-primary d-flex flex-column theme-light">
@@ -289,7 +289,7 @@
$(function() {
$('#emailTest').click(function() {
bb.post('admin/email/send_test', null, function(result) {
boxbilling.message("{{ 'Email was successfully sent'|trans }}");
FOSSBilling.message("{{ 'Email was successfully sent'|trans }}");
});
return false;
@@ -55,7 +55,7 @@
<div>
<ul>
<li>{{ 'Check if your language translation file is available at'|trans }} <a href="https://www.transifex.com/projects/p/boxbilling/" target="_blank">{{ 'FOSSBilling translations repository'|trans }}</a></li>
<li>{{ 'Check if your language translation file is available at'|trans }} <a href="https://translate.fossbilling.org" target="_blank">{{ 'FOSSBilling translations repository'|trans }}</a></li>
<li>{{ 'Download language files and place them to'|trans }} <strong>{{ constant('BB_PATH_LANGS') }}</strong></li>
<li>{{ 'Language will be automatically available and can be changed in client area'|trans }}</li>
<li>{{ 'Read'|trans }} <a href="http://docs.fossbilling.org/en/latest/reference/language.html" title="Installing FOSSBilling in Your Language" target="_blank">{{ 'Installing FOSSBilling in Your Language'|trans }}</a> {{ 'to learn how to install files that will transform FOSSBilling so it displays in your language.'|trans }}</li>
@@ -88,7 +88,7 @@
<p class="text-muted">{{ 'Although FOSSBilling ships with most popular payment gateways, you can install other gateways.'|trans }}</p>
<p>{{ 'Follow these instructions to install new payment gateway.'|trans }}</p>
<ul>
<li>{{ 'Check for payment gateway at'|trans }} <a href="http://extensions.boxbilling.org/" target="_blank">FOSSBilling extensions site</a> {{ 'for more payment gateways'|trans }}</li>
<li>{{ 'Check for payment gateway at'|trans }} <a href="http://extensions.fossbilling.org/" target="_blank">FOSSBilling extensions site</a> {{ 'for more payment gateways'|trans }}</li>
<li>{{ 'Download payment gateway extension file and place it to'|trans }}<strong>{{ constant('BB_PATH_LIBRARY') }}/Payment/Adapter</strong></li>
<li>{{ 'After file is uploaded in place, reload this page.'|trans }}</li>
<li>{{ 'Select uploaded file name and click on install.'|trans }}</li>
@@ -231,7 +231,7 @@
<div class="">
<ul>
<li>{{ 'Check domain registrar you are looking for is available at'|trans }} <a href="http://extensions.boxbilling.org/" target="_blank">FOSSBilling extensions site</a></li>
<li>{{ 'Check domain registrar you are looking for is available at'|trans }} <a href="http://extensions.fossbilling.org/" target="_blank">FOSSBilling extensions site</a></li>
<li>{{ 'Download domain registrar file and place to'|trans }} <strong>{{ constant('BB_PATH_LIBRARY') }}/Registrar/Adapter</strong></li>
<li>{{ 'Reload this page to see newly detected domain registrar'|trans }}</li>
<li>{{ 'Click on install button. Now you will be able to create top level domains with new domain registrar'|trans }}</li>
@@ -257,7 +257,7 @@ $(function() {
'admin/servicedomain/lock',
{ order_id: {{ order.id }} },
function(result) {
boxbilling.message("{{ 'Domain locked'|trans }}");
FOSSBilling.message("{{ 'Domain locked'|trans }}");
document.getElementById('domain-lock').classList.remove('d-inline-block');
document.getElementById('domain-lock').style.display = 'none';
@@ -273,7 +273,7 @@ $(function() {
'admin/servicedomain/unlock',
{ order_id: {{ order.id }} },
function(result) {
boxbilling.message("{{ 'Domain unlocked'|trans }}");
FOSSBilling.message("{{ 'Domain unlocked'|trans }}");
document.getElementById('domain-lock').classList.add('d-inline-block');
document.getElementById('domain-unlock').classList.remove('d-inline-block');
@@ -301,7 +301,7 @@ $(function() {
'admin/servicedomain/enable_privacy_protection',
{ order_id: {{ order.id }} },
function(result) {
boxbilling.message("{{ 'Privacy protection enabled'|trans }}");
FOSSBilling.message("{{ 'Privacy protection enabled'|trans }}");
{# $('#domain-enable-pp').toggle(); #}
{# $('#domain-disable-pp').toggle(); #}
@@ -319,7 +319,7 @@ $(function() {
'admin/servicedomain/disable_privacy_protection',
{ order_id: {{ order.id }} },
function(result) {
boxbilling.message("{{ 'Privacy protection disabled'|trans }}");
FOSSBilling.message("{{ 'Privacy protection disabled'|trans }}");
{# $('#domain-enable-pp').toggle(); #}
{# $('#domain-disable-pp').toggle(); #}
@@ -337,7 +337,7 @@ $(function() {
'admin/servicedomain/get_transfer_code',
{ order_id: {{ order.id }} },
function(result) {
boxbilling.message("{{ 'Domain transfer code is: '|trans }}" + result);
FOSSBilling.message("{{ 'Domain transfer code is: '|trans }}" + result);
}
);
});
@@ -38,7 +38,7 @@ $(function() {
}
if (data.result) {
boxbilling.message("{{ 'File was uploaded'|trans }}");
FOSSBilling.message("{{ 'File was uploaded'|trans }}");
}
setTimeout(function() {
@@ -52,7 +52,7 @@ $(function() {
}
if (data.result) {
boxbilling.message("{{ 'File was uploaded'|trans }}");
FOSSBilling.message("{{ 'File was uploaded'|trans }}");
}
setTimeout(function (){ response.html(''); }, 1);
@@ -159,7 +159,7 @@
bb.post('admin/servicehosting/server_test_connection',
{ id: {{ server.id }} },
function(result) {
boxbilling.message("{{ 'Successfully connected to server'|trans }}");
FOSSBilling.message("{{ 'Successfully connected to server'|trans }}");
}
);
@@ -112,7 +112,7 @@
function onAfterKeyUpdate(result) {
bb.post('admin/profile/get', {}, function(result) {
$('#apikey').val(result.api_token);
boxbilling.message("{{ 'New API key generated. Applications using old key are now not working.'|trans }}");
FOSSBilling.message("{{ 'New API key generated. Applications using old key are now not working.'|trans }}");
})
}
</script>