Skip to content

Commit

Permalink
Fixed Bug IP Rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
xpanel-cp committed Jul 14, 2024
1 parent 26c8dd7 commit f757ce6
Show file tree
Hide file tree
Showing 7 changed files with 558 additions and 553 deletions.
1,096 changes: 550 additions & 546 deletions Web Panel/app/app/Http/Controllers/ProController.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Web Panel/app/app/Http/Controllers/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function index(Request $request,$name)
if (!is_string($name)) {
abort(400, 'Not Valid Username');
}

$setting = Settings::all();
$ipadapter = Ipadapter::all();
$iplist = Adapterlist::all();
Expand Down
2 changes: 1 addition & 1 deletion Web Panel/app/resources/views/dashboard/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
$github='https://github.com/xpanel-cp/XPanel-SSH-User-Management/blob/master/README-RU.md#installation-guide';
@endphp
@endif
@if($obj->last_version>398)
@if($obj->last_version>399)
<div class="alert alert-success" role="alert" style="color: #2b2f32;">{{__('alert-update')}} <a href="{!! $github !!}" target="_blank">Github</a> </div>
@endif
<div class="col-6 col-md-3 col-xxl-2">
Expand Down
4 changes: 2 additions & 2 deletions Web Panel/app/resources/views/layouts/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<script src="/assets/js/fonts/custom-font.js"></script>
@php $selectedLanguage = env('APP_MODE', 'light'); @endphp
@if($selectedLanguage=='light')
<script src="/assets/js/config.js?v=3.9.8"></script>
<script src="/assets/js/config.js?v=3.9.9"></script>
@elseif($selectedLanguage=='night')
<script src="/assets/js/config-night.js?v=3.9.8"></script>
<script src="/assets/js/config-night.js?v=3.9.9"></script>
@endif
<script src="/assets/js/pcoded.js"></script>
<script src="/assets/js/plugins/feather.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions Web Panel/app/resources/views/users/singbox.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class="checkItem form-check-input"
<span class="badge bg-light-success rounded-pill f-12"><i class="ti ti-cloud-download"></i> {{$sent}}</span>
</td>

<td><span class="badge bg-light-secondary f-12" style="width: -webkit-fill-available;">Unlimit</span></td>
<td><span class="badge bg-light-secondary f-12" style="width: -webkit-fill-available;">{{$user->multiuser}}</span></td>
<td>{{$user->mobile}}<br>
<small>{{$user->email}}</small></td>
<td>
Expand Down Expand Up @@ -446,7 +446,7 @@ class="qrs2 qr-container re_user avtar avtar-xs btn-link-success btn-pc-default
<div class="col-sm-12">
<div class="form-group">
<div class="bg-body rounded fs-6 p-2 border text-body">
{{__('user-table-limit-user')}}: Unlimit
{{__('user-table-limit-user')}}: {{$user->multiuser}}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Web Panel/cp/assets/js/config-night.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var preset_theme = 'preset-1'; // [ preset-1 to preset-10 ]
var dark_layout = 'true'; // [ false , true , default ]
var rtl_layout = 'false'; // [ false , true ]
var box_container = 'false'; // [ false , true ]
var version = 'XPanel v3.9.8';
var version = 'XPanel v3.9.9';
2 changes: 1 addition & 1 deletion Web Panel/cp/assets/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var preset_theme = 'preset-1'; // [ preset-1 to preset-10 ]
var dark_layout = 'false'; // [ false , true , default ]
var rtl_layout = 'false'; // [ false , true ]
var box_container = 'false'; // [ false , true ]
var version = 'XPanel v3.9.8';
var version = 'XPanel v3.9.9';

0 comments on commit f757ce6

Please sign in to comment.