changes-2

This commit is contained in:
KNaveenraj-ladybird
2023-10-12 13:05:01 +05:30
parent 431dd05bf2
commit d2a8c828a8
42 changed files with 1046 additions and 1000 deletions

View File

@@ -2,6 +2,6 @@
return[
'logs' => 'مؤلف',
'system_logs '=> 'سجلات النظام',
'system_logs'=> 'سجلات النظام',
];

View File

@@ -2,4 +2,5 @@
return [
'logs' => 'Logs',
'system_logs' => 'System logs',
];

View File

@@ -41,10 +41,10 @@ class="nav-link active"
<div class="container-fluid">
<div class="card card-light">
<div class="card-header">
<h3 class="card-title">{{Lang::get('lang.system_logs')}}</h3>
<h3 class="card-title">{{Lang::get('log::lang.system_logs')}}</h3>
<div class="card-tools">
<a href="?dl={{ base64_encode($current_file) }}" class="btn btn-primary btn-sm text-white"><span class="fas fa-download"></span> Download file</a>
<a id="delete-log" href="?del={{ base64_encode($current_file) }}" class="btn btn-danger btn-sm text-white"><span class="fas fa-trash"></span> Delete file</a>
<a href="?dl={{ base64_encode($current_file) }}" class="btn btn-primary btn-sm text-white"><span class="fas fa-download"></span>{{trans('lang.download_file')}}</a>
<a id="delete-log" href="?del={{ base64_encode($current_file) }}" class="btn btn-danger btn-sm text-white"><span class="fas fa-trash"></span>{{trans('lang.delete_file')}}</a>
</div>
</div>
<div class="card-body">
@@ -61,7 +61,7 @@ class="nav-link active"
<div class="col-md-10 table-container">
@if ($logs === null)
<div>
Log file >50M, please download it.
{{trans('lang.log_file_50M_please_download_it.')}}
</div>
@else
<table id="table-log" class="table table-striped">

View File

@@ -69,7 +69,6 @@ class OrganizationController extends Controller
*/
public function org_list()
{
$modalTitle = __('lang.your_translation_key_here');
// chumper datable package call to display Advance datatable
return \Datatable::collection(Organization::all())
/* searchable name */
@@ -109,15 +108,15 @@ class OrganizationController extends Controller
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{{ $modalTitle }}</h4>
<h4 class="modal-title">'.\Lang::get('lang.are_you_sure').'</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
'.$model->user_name.'
</div>
<div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">Close</button>
<a href="'.route('org.delete', $model->id).'"><button class="btn btn-danger">delete</button></a>
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">'.\Lang::get('lang.close').'</button>
<a href="'.route('org.delete', $model->id).'"><button class="btn btn-danger">'.\Lang::get('lang.delete').'</button></a>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->

View File

@@ -91,15 +91,15 @@ class ArticleController extends Controller
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Delete</h4>
<h4 class="modal-title">'.Lang::get('lang.delete').'</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
Are you sure you want to delete <b> '.$model->name.' </b> ?
<span>'.Lang::get('lang.are_you_sure_you_want_to_delete').'</span>&nbsp; <b> '.$model->name.' </b> ?
</div>
<div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">Close</button>
<a href='.url("article/delete/$model->slug").'><button class="btn btn-danger">delete</button></a>
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">'.Lang::get('lang.close').'</button>
<a href='.url("article/delete/$model->slug").'><button class="btn btn-danger">'.Lang::get('lang.delete').'</button></a>
</div>
</div>
</div>

View File

@@ -6,7 +6,6 @@ use App\Http\Controllers\Agent\helpdesk\TicketController;
use App\Http\Controllers\Controller;
use App\Http\Requests\kb\PageRequest;
// request
use App\Http\Requests\kb\PageUpdate;
use App\Model\kb\Page;
use Datatable;
// Model
@@ -91,15 +90,15 @@ class PageController extends Controller
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Delete</h4>
<h4 class="modal-title">'.Lang::get('lang.delete').'</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
Are you sure you want to delete <b>'.$model->name.'</b> ?
<span>'.Lang::get('lang.are_you_sure_you_want_to_delete').'</span>&nbsp;<b>'.$model->name.'</b> ?
</div>
<div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">Close</button>
<a href="page/delete/'.$model->id.'"><button class="btn btn-danger">Delete</button></a>
<button type="button" class="btn btn-default" data-dismiss="modal" id="dismis2">'.Lang::get('lang.close').'</button>
<a href="page/delete/'.$model->id.'"><button class="btn btn-danger">'.Lang::get('lang.delete').'</button></a>
</div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@@ -1158,4 +1158,6 @@ return [
'selected-user-is-already-the-owner' => 'Der ausgewählte Benutzer ist bereits Inhaber dieses Tickets.',
//updated 15-5-2017
'session-expired' => 'Die Sitzung ist abgelaufen oder ungültig. Bitte versuchen Sie es erneut.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user'=> 'Was soll mit Inhalten geschehen, die diesem Benutzer gehören',
];

View File

@@ -1283,7 +1283,7 @@ return [
|------------------------------------------------
| Error Pages
|------------------------------------------------
*/'knowledge_base' => 'knowledge base',
*/
'not_found' => 'Not found',
'oops_page_not_found' => 'Oops! Page not found',
'we_could_not_find_the_page_you_were_looking_for' => 'We could not find the page you were looking for',
@@ -1568,7 +1568,6 @@ return [
'deleted_user_directory' => 'Deleted User Directory',
'restore' => 'Restore',
'user_restore_successfully' => 'User restore successfully',
/*** updates 28-11-2016***/
'apply' => 'Apply',
@@ -1606,77 +1605,81 @@ return [
'session-expired' => 'Session expired or invalid, please try again.',
//update since v1.10
'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!',
'all_right_sparky_you_have_made_it' => 'All right, sparky! Youve made it through the installation.',
'next_step' => 'Next Step',
'login_to_faveo' => 'Login to Faveo',
'learn_more' => 'Learn More',
'video_walk_through' => 'Video walk through',
'email_support' => 'Email Support',
'not-answered' => 'Not answered',
'default-fallback' => 'Fallback language',
'system-language' => 'System\'s default language',
'set_as_sys_lang' => 'Make default',
'filtered-results' => 'Filtered results',
'methon_not_allowed' => 'Method not allowed',
'confirm-to-proceed' => 'Are you sure?',
'change-ticket-status-to' => 'Change status of tickets to ',
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
'status-changed-successfully' => 'Status changed successfully.',
'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.',
'confihure-the-mail-now' => 'Click here to configure the mail.',
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
'canned_response_deleted' => 'Canned response deleted successfully',
'no-dummy-data' => 'Your system is in production, we could not find dummy data installed in your system.',
'dummy_data_installation_message' => 'You are using Faveo with dummy data, which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing clear all dummy data and configure system settings to get started with the system.',
'clear-dummy-data-agent-message' => 'Your Faveo system has been installed with dummy data which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing contact your system admin to clean dummy data and configure system settings.',
'clear-dummy-data' => 'to clear dummy data.',
'delete_dummy_data' => 'Clean dummy data',
'plugin-with-dummy-data-error-message' => 'You\'ve installed Faveo with dummy data for testing. Plugins can only be used in live/production mode. If you are done with testing clear dummy data and start using Faveo in live/production mode.',
'clean-data-box-title' => 'Cleaning Dummy data will perform following actions',
'clean-dummy-ticket-conversation' => 'Clean all dummy tickets and their conversations.',
'clean-dummy-notification' => 'Clean all dummy notifications.',
'clean-dummy-users' => 'Clean all dummy users and their data.',
'clean-other-data' => 'Clean dummy departments, teams, labels, tags etc.',
'clean-user-created-data' => 'Clean all data created during testing with dummy data.',
'clean-data-btn' => 'Clear data',
'clean-confirm' => 'Yes I want to clean dummy data',
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
'cleaning-database' => 'Cleaning dummy data from database.',
'native-name' => 'Native name',
'choose' => 'Choose',
'going-overdue-today' => 'This ticket will become overdue today.',
'ticket_has_attachments' => 'This ticket contains attachment(s)',
'is_overdue' => 'This ticket is marked as overdue',
'ticket_has_collaborator' => 'This ticket has collaborator(s)',
'ticket_created_source' => 'This ticket is created via :source',
'ticket-has-x-priority' => 'This ticket has :priority priority',
'clean-forever' => 'delete permanently',
'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.',
'click-here-to-see-more-details' => 'Click here to see more details',
'category_list' => 'Category list',
'check_ticket' => 'Check ticket',
'search_result' => 'Search Results',
'already_got_an_account?' => 'Alreaddy got an account?',
'message-choose' => 'Choose File(s)',
'Ticket details' => 'Ticket Conversation',
'provider' => 'Providers',
'facebook' => 'Facebook',
'google' => 'Google',
'github' => 'Github',
'twitter' => 'Twitter',
'linkedin' => 'Linkedin',
'bitbucket' => 'Bitbucket',
'Please_choose_your_Email_Fetching_timing' => 'Please choose your Email Fetching timing',
'Please_choose_your_ Email_ Notification_timing' => 'Please choose your Email Notification timing',
'Please_choose_your_Auto-close_Workflow_timing' => 'Please choose your Auto-close Workflow timing',
'lockout_period:' => 'Lockout Period:',
'Lockout_Message:' => 'Lockout Message:',
'please_enter_valid_no_days' => 'Please enter valid no of days',
'author' => 'Author',
'system_logs' => 'System logs',
'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!',
'all_right_sparky_you_have_made_it' => 'All right, sparky! Youve made it through the installation.',
'next_step' => 'Next Step',
'login_to_faveo' => 'Login to Faveo',
'learn_more' => 'Learn More',
'video_walk_through' => 'Video walk through',
'email_support' => 'Email Support',
'not-answered' => 'Not answered',
'default-fallback' => 'Fallback language',
'system-language' => 'System\'s default language',
'set_as_sys_lang' => 'Make default',
'filtered-results' => 'Filtered results',
'methon_not_allowed' => 'Method not allowed',
'confirm-to-proceed' => 'Are you sure?',
'change-ticket-status-to' => 'Change status of tickets to ',
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
'status-changed-successfully' => 'Status changed successfully.',
'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.',
'confihure-the-mail-now' => 'Click here to configure the mail.',
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
'canned_response_deleted' => 'Canned response deleted successfully',
'no-dummy-data' => 'Your system is in production, we could not find dummy data installed in your system.',
'dummy_data_installation_message' => 'You are using Faveo with dummy data, which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing clear all dummy data and configure system settings to get started with the system.',
'clear-dummy-data-agent-message' => 'Your Faveo system has been installed with dummy data which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing contact your system admin to clean dummy data and configure system settings.',
'clear-dummy-data' => 'to clear dummy data.',
'delete_dummy_data' => 'Clean dummy data',
'plugin-with-dummy-data-error-message' => 'You\'ve installed Faveo with dummy data for testing. Plugins can only be used in live/production mode. If you are done with testing clear dummy data and start using Faveo in live/production mode.',
'clean-data-box-title' => 'Cleaning Dummy data will perform following actions',
'clean-dummy-ticket-conversation' => 'Clean all dummy tickets and their conversations.',
'clean-dummy-notification' => 'Clean all dummy notifications.',
'clean-dummy-users' => 'Clean all dummy users and their data.',
'clean-other-data' => 'Clean dummy departments, teams, labels, tags etc.',
'clean-user-created-data' => 'Clean all data created during testing with dummy data.',
'clean-data-btn' => 'Clear data',
'clean-confirm' => 'Yes I want to clean dummy data',
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
'cleaning-database' => 'Cleaning dummy data from database.',
'native-name' => 'Native name',
'choose' => 'Choose',
'going-overdue-today' => 'This ticket will become overdue today.',
'ticket_has_attachments' => 'This ticket contains attachment(s)',
'is_overdue' => 'This ticket is marked as overdue',
'ticket_has_collaborator' => 'This ticket has collaborator(s)',
'ticket_created_source' => 'This ticket is created via :source',
'ticket-has-x-priority' => 'This ticket has :priority priority',
'clean-forever' => 'delete permanently',
'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.',
'click-here-to-see-more-details' => 'Click here to see more details',
'category_list' => 'Category list',
'check_ticket' => 'Check ticket',
'search_result' => 'Search Results',
'already_got_an_account?' => 'Already got an account?',
'message-choose' => 'Choose File(s)',
'Ticket details' => 'Ticket Conversation',
'provider' => 'Providers',
'facebook' => 'Facebook',
'google' => 'Google',
'github' => 'Github',
'twitter' => 'Twitter',
'linkedin' => 'Linkedin',
'bitbucket' => 'Bitbucket',
'Please_choose_your_Email_Fetching_timing' => 'Please choose your Email Fetching timing',
'Please_choose_your_ Email_ Notification_timing' => 'Please choose your Email Notification timing',
'Please_choose_your_Auto-close_Workflow_timing' => 'Please choose your Auto-close Workflow timing',
'lockout_period:' => 'Lockout Period:',
'Lockout_Message:' => 'Lockout Message:',
'please_enter_valid_no_days' => 'Please enter valid no of days',
'author' =>'Author',
'what_should_be_done_with_content_owned_by_this_user' => 'What should be done with content owned by this user',
'ticket_conversation' => 'Ticket Conversation',
'download_file' => 'Download file',
'delete_file' => 'Delete file',
'log_file_50M_please_download_it.' => 'Log file >50M, please download it.',
'support' => 'Support',
];

View File

@@ -671,7 +671,7 @@ return [
'form_name' => 'Nombre del formulario',
'view_this_form' => 'Ver este formulario',
'delete_from' => 'Eliminar formulario',
'are_you_sure_you_want_to_delete' => 'estas seguro que quieres borrarlo',
'are_you_sure_you_want_to_delete' => 'Estas seguro que quieres borrarlo',
'close' => 'Cerca',
'instructions' => 'Instrucciones',
'instructions_on_creating_form' => 'Seleccione el tipo de campo que desea agregar al formulario de abajo y haga clic en el menú desplegable "Tipo". No olvide establecer las opciones de campo si el tipo es select, checkbox o radio. Separe cada opción con una coma. Una vez que haya terminado de crear el formulario, puede guardar el formulario haciendo clic en el botón "Guardar formulario"',
@@ -1664,4 +1664,6 @@ Puede ingresar el número de días de registros de base de datos que se eliminar
//updates 22-2-2017
'invalid-date-range' => 'Invalid date range',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => '¿Qué se debe hacer con el contenido propiedad de este usuario',
];

View File

@@ -1563,5 +1563,7 @@ return [
'selected-user-is-already-the-owner' => 'L\'utilisateur sélectionné est déjà le propriétaire du ticket.',
//updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => 'Que faire du contenu appartenant à cet utilisateur',
];

View File

@@ -1594,4 +1594,7 @@ return [
'all-users' => 'Tutti gli utenti',
//update 21-12-2016
'selected-user-is-already-the-owner' => 'L\'utente selezionato è già il proprietario del ticket.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => 'Cosa si dovrebbe fare con i contenuti di proprietà di questo utente',
];

View File

@@ -1609,4 +1609,6 @@ return [
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => 'Wat moet er gebeuren met de inhoud die eigendom is van deze gebruiker',
];

View File

@@ -1552,5 +1552,7 @@ return [
'selected-user-is-already-the-owner' => 'O usuário selecionado já é o proprietário deste ticket.',
//updated 15-5-2017
'session-expired' => 'Sessão expirada ou inválida, tente novamente.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => 'O que deve ser feito com o conteúdo de propriedade deste usuário',
];

View File

@@ -1554,5 +1554,7 @@ return [
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => 'O que deve ser feito com o conteúdo de propriedade deste usuário',
];

View File

@@ -1651,4 +1651,6 @@ return [
'ticket-has-x-priority' => 'Приоритет заявки - :priority',
'clean-forever' => 'удалить навсегда',
'mail-sent-to-job-for-process' => 'Почта была отправлена на задание для обработки, она появится в вашем почтовом ящике после обработки выбранной службой очереди. Если вы не получаете почту, проверьте журнал на наличие ошибок или предупреждений.',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' =>'Что следует делать с контентом, принадлежащим этому пользователю',
];

View File

@@ -1709,4 +1709,6 @@ return [
'ticket_type_updated_successfully' => '工单类型更新成功',
'ticket_type_deleted_successfully' => '工单类型删除成功',
'create_new_ticket' => '创建工单',
//updated 10-10-2023
'what_should_be_done_with_content_owned_by_this_user' => '应如何处理该用户拥有的内容',
];

View File

@@ -81,9 +81,9 @@ class="nav-link active"
@endif
<td>
{!! Form::open(['route'=>['groups.destroy', $group->id],'method'=>'DELETE']) !!}
<a href="{{route('groups.edit', $group->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> Edit</a>
<a href="{{route('groups.edit', $group->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> {{trans('lang.edit')}}</a>
<!-- To pop up a confirm Message -->
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
{!! Form::button('<i class="fas fa-trash"> </i>'.trans('lang.delete'),
['type' => 'submit',
'class'=> 'btn btn-danger btn-xs',
'onclick'=>'return confirm("Are you sure?")'])

View File

@@ -114,15 +114,15 @@ class="nav-link active"
<td>{!! UTC::usertimezone($email->updated_at) !!}</td>
<td>
{!! Form::open(['route'=>['emails.destroy', $email->id],'method'=>'DELETE']) !!}
<a href="{{route('emails.edit', $email->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> Edit</a>
<a href="{{route('emails.edit', $email->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i>{{Lang::get('lang.edit')}}</a>
<!-- To pop up a confirm Message -->
@if($default_email == $email->id)
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
{!! Form::button('<i class="fas fa-trash"> </i>'.Lang::get('lang.delete'),
['class'=> 'btn btn-danger btn-xs '. $disabled])
!!}
@else
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
{!! Form::button('<i class="fas fa-trash"> </i>'.Lang::get('lang.delete'),
['type' => 'submit',
'class'=> 'btn btn-danger btn-xs',
'onclick'=>'return confirm("Are you sure?")'])

View File

@@ -87,8 +87,8 @@ class="nav-link active"
<div class="form-group col-sm-3 {{ $errors->has('ispublic') ? 'has-error' : '' }}">
{!! Form::label('ispublic',Lang::get('lang.visibility')) !!}&nbsp;<span class="text-red"> *</span><br/>
<input type="radio" name="ispublic" value="1" checked>&nbsp;&nbsp;Public&nbsp;&nbsp;
<input type="radio" name="ispublic" value="0" >&nbsp;&nbsp;Private
<input type="radio" name="ispublic" value="1" checked>{{Lang::get('lang.public')}}
<input type="radio" name="ispublic" value="0" >&nbsp;&nbsp;{{Lang::get('lang.private')}}
</div>
</div>
<!-- Admin Note : Textarea : -->

View File

@@ -66,8 +66,8 @@ class="nav-link active"
</a>
<div class="btn-group" id="toggle_event_editing" style="float: right; margin-bottom: 10">
<button type="button" class="btn {{$user_status->status == '0' ? 'btn-info' : 'btn-default'}} locked_active">Inactive</button>
<button type="button" class="btn {{$user_status->status == '1' ? 'btn-info' : 'btn-default'}} unlocked_inactive">Active</button>
<button type="button" class="btn {{$user_status->status == '0' ? 'btn-info' : 'btn-default'}} locked_active">{{Lang::get('lang.inactive')}}</button>
<button type="button" class="btn {{$user_status->status == '1' ? 'btn-info' : 'btn-default'}} unlocked_inactive">{{Lang::get('lang.active')}}</button>
</div>
</div>
<div class="priority-table" style="padding-top: 10px">

View File

@@ -282,7 +282,7 @@ class="nav-link active"
<td>
<select class="form-control" onChange="selectdata({!! $i !!})" id="selected{!! $i !!}" name="action[{!! $i !!}][a]" required>
<option value="">-- {!! Lang::get('lang.select_an_action') !!} --</option>
<optgroup label="Ticket">
<optgroup label={{trans('lang.ticket')}}>
<option value="reject" <?php
if ($workflow_action->condition == 'reject') {
echo "selected='selected'";

View File

@@ -33,7 +33,7 @@ class="nav-link active"
@section('content')
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>

View File

@@ -656,7 +656,7 @@
</div>
<div class="card card-light">
<div class="card-header">
<h3 class="card-title">Logs</h3>
<h3 class="card-title">{{Lang::get('log::lang.logs')}}</h3>
</div>
<!-- /.box-header -->
<div class="card-body">
@@ -671,7 +671,7 @@
</span>
</a>
</div>
<div class="text-center text-sm">Logs</div>
<div class="text-center text-sm">{{Lang::get('log::lang.logs')}}</div>
</div>
</div>
</div>

View File

@@ -108,7 +108,7 @@ class="nav-link active"
<div class="col-md-2">
<!-- logo -->
{!! Form::label('logo',Lang::get('lang.logo')) !!}
<div class="btn bg-olive btn-file" style="color:blue"> {{trans('lang.upload_file')}}
<div class="btn bg-olive btn-file" style="color:blue"> {{Lang::get('lang.upload_file')}}
{!! Form::file('logo') !!}
</div>
</div>

View File

@@ -1,7 +1,7 @@
{!! Form::model($emails,['url' => 'post-scheduler', 'method' => 'PATCH']) !!}
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>{{trans('lang.whoops')}}!</strong> {{\Illuminate\Support\Facades\Lang::get('lang.theirisproblem')}}<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>

View File

@@ -7,7 +7,7 @@
<div class="box-body table-responsive"style="overflow:hidden;">
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>

View File

@@ -20,7 +20,7 @@ class="nav-link active"
@stop
<!-- header -->
@section('PageHeader')
<h1>{{\Illuminate\Support\Facades\Lang::get('lang.social-media')}}</h1>
<h1>{{\Illuminate\Support\Facades\Lang::get('lang.social-media')}}</h1>
@stop
<!-- /header -->
<!-- breadcrumbs -->
@@ -32,7 +32,7 @@ class="nav-link active"
@section('content')
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@@ -77,14 +77,13 @@ class="nav-link active"
<td>{{\Illuminate\Support\Facades\Lang::get('lang.facebook')}}</td>
<td>
@if($social->checkActive('facebook')===true)
<span style="color: green">{{trans('lang.active')}}</span>
<span style="color: green">{{trans('lang.active')}}</span>
@else
<span style="color: red">{{trans('lang.inactive')}}</span>
<span style="color: red">{{trans('lang.inactive')}}</span>
@endif
</td>
<td>
<a href="{{url('social/media/facebook')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/facebook')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
<tr>
<td>{{\Illuminate\Support\Facades\Lang::get('lang.google')}}</td>
@@ -94,11 +93,9 @@ class="nav-link active"
@else
<span style="color: red">{{trans('lang.inactive')}}</span>
@endif
</td>
<td>
<a href="{{url('social/media/google')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/google')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
<tr>
<td>{{\Illuminate\Support\Facades\Lang::get('lang.github')}}</td>
@@ -110,8 +107,7 @@ class="nav-link active"
@endif
</td>
<td>
<a href="{{url('social/media/github')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/github')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
<tr>
<td>{{\Illuminate\Support\Facades\Lang::get('lang.twitter')}}</td>
@@ -123,8 +119,7 @@ class="nav-link active"
@endif
</td>
<td>
<a href="{{url('social/media/twitter')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/twitter')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
<tr>
<td>{{\Illuminate\Support\Facades\Lang::get('lang.linkedin')}}</td>
@@ -136,8 +131,7 @@ class="nav-link active"
@endif
</td>
<td>
<a href="{{url('social/media/linkedin')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/linkedin')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
<tr>
<td>{{\Illuminate\Support\Facades\Lang::get('lang.bitbucket')}}</td>
@@ -149,8 +143,7 @@ class="nav-link active"
@endif
</td>
<td>
<a href="{{url('social/media/bitbucket')}}" class="btn btn-primary">{{trans('lang.settings')}}</a>
</td>
<a href="{{url('social/media/bitbucket')}}" class="btn btn-primary">{{trans('lang.settings')}}</a> </td>
</tr>
</tbody>
</table>

View File

@@ -33,7 +33,7 @@ class="nav-link active"
{!! Form::open(['url' => 'social/media/'.$provider, 'method' => 'POST']) !!}
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@@ -103,10 +103,10 @@ class="nav-link active"
{!! Form::label('status',Lang::get('lang.status')) !!}
</div>
<div class="col-md-6">
<p>{!! Form::radio('status',1,$social->checkActive($provider))!!} Active</p>
<p>{!! Form::radio('status',1,$social->checkActive($provider)) .Lang::get('lang.active')!!}</p>
</div>
<div class="col-md-6">
<p>{!! Form::radio('status',0,$social->checkInactive($provider)) !!} Inactive</p>
<p>{!! Form::radio('status',0,$social->checkInactive($provider)) .Lang::get('lang.inactive')!!} </p>
</div>
<div class="col-md-12">
<i>Activate login via {{ucfirst($provider)}}</i>

View File

@@ -90,7 +90,7 @@ class="nav-link active"
<!-- Default Priority: Required : manual : Dropdowm -->
<div class="form-group col-md-6 {{ $errors->has('priority') ? 'has-error' : '' }}">
{!! Form::label('priority',Lang::get('lang.default_priority')) !!}
{!!Form::select('priority', [''=>'select a priority','Priorities'=>$priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control']) !!}
{!!Form::select('priority', [''=>Lang::get('lang.select_a_priority'),Lang::get('lang.priorities')=>$priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control']) !!}
</div>
</div>
<div class="row">

View File

@@ -34,7 +34,7 @@ class="nav-link active"
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<strong>{{Lang::get('lang.woops')}}</strong> {{Lang::get('lang.theirisproblem')}} <br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>

View File

@@ -690,7 +690,7 @@
<li class="nav-item">
<a href="{{ url('logs') }}" @yield('Log') class="nav-link">
<i class="nav-icon fas fa-lock"></i>
<p>Logs</p>
<p>{{Lang::get('log::lang.logs')}}</p>
</a>
</li>
@endif

View File

@@ -255,7 +255,7 @@ class="nav-item d-none d-sm-inline-block active"
<tr>
<th>{{trans('lang.department')}}</th>
@forelse($statuses as $status)
<th>{!! $status !!}</th>
<th>{{trans('lang.'.strtolower($status))}}</th>
@empty
@endforelse

View File

@@ -1,4 +1,4 @@
@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.agent')
@section('Users')
class="nav-link active"

View File

@@ -138,7 +138,7 @@ class="active"
<div class='col-sm-1'>
{!! Form::label('filter', 'Filter:',['style' => 'visibility:hidden;']) !!}<br>
<input type="submit" class="btn btn-primary" value="Submit" id="submit">
<input type="submit" class="btn btn-primary" value="{{trans('lang.submit')}}" id="submit">
</div>
<br/>
<div class="col-md-4">
@@ -149,9 +149,9 @@ class="active"
<div class="float-right">
<div class="btn-group">
<button type="button" class="btn btn-default" id="click_day">Day</button>
<button type="button" class="btn btn-default" id="click_week">Week</button>
<button type="button" class="btn btn-default" id="click_month">Month</button>
<button type="button" class="btn btn-default" id="click_day">{{trans('lang.day')}}</button>
<button type="button" class="btn btn-default" id="click_week">{{trans('lang.week')}}</button>
<button type="button" class="btn btn-default" id="click_month">{{trans('lang.month')}}</button>
</div>
</div>
</div>

View File

@@ -262,7 +262,7 @@ class="active"
</div>
<div class="col-md-5">
<?php $Priority = App\Model\helpdesk\Ticket\Ticket_Priority::where('status','=',1)->get(); ?>
{!! Form::select('priority', ['Priority'=>$Priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
{!! Form::select('priority', [Lang::get('lang.priorities')=>$Priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
</div>
</div>

View File

@@ -185,7 +185,7 @@ if (Request::has('assigned'))
@foreach($statuses as $ticket_status)
<a href="javascript:;" class="dropdown-item" onclick="changeStatus({!! $ticket_status -> id !!}, '{!! $ticket_status->name !!}')"
data-toggle="modal" data-target="#myModal">
{!! $ticket_status->name !!}
{{trans('lang.'.strtolower($ticket_status->name)) }}
</a>
@endforeach
</div>

View File

@@ -1296,9 +1296,9 @@ class="nav-link active"
</div>
<div class="modal-body">
What should be done with content owned by this user?</br>
<p>{!! Lang::get('lang.what_should_be_done_with_content_owned_by_this_user') !!}?</p>
<br>
<?php $user = App\User::where('id', $users->id)->first(); ?>
@if($user->role == 'agent')
{!! Form::label('delete_all_content',Lang::get('lang.delete_all_content')) !!} <span class="text-red"> *</span>

View File

@@ -310,7 +310,7 @@
class="img-size-50">
</li>
<li class="dropdown-footer"><a class="text-dark" href="{{ url('notifications-list')}}">View all</a>
<li class="dropdown-footer"><a class="text-dark" href="{{ url('notifications-list')}}">{{trans('lang.view_all')}}</a>
</ul>
</div>
</li>
@@ -445,6 +445,7 @@
<li class="nav-header">{!! Lang::get('lang.Departments') !!}</li>
<?php
$flattened = $department->flatMap(function ($values) {
return $values->keyBy('status');
@@ -472,7 +473,7 @@
<a href="#" @if($dept2 === $name) @yield('ticket-bar') @endif class="nav-link">
<i class="nav-icon fas fa-folder-open"></i>
<p>{!! $name !!}<i class="right fas fa-angle-left"></i></p>
<p>{!!trans('lang.'.strtolower($name))!!}<i class="right fas fa-angle-left"></i></p>
</a>
@foreach($statuses as $status)
@@ -483,7 +484,7 @@
<li class="nav-item">
<a href="{!! url('tickets?departments='.$name.'&status='.$dept->get($status)->status) !!}" @if($status2 == $dept->get($status)->status && $dept2 === $name) @yield('inbox') @endif class="nav-link">
<i class="far fa-circle nav-icon"></i>
<p>{!!$dept->get($status)->status !!}</p>
<p>{!!trans('lang.'.strtolower($dept->get($status)->status)) !!}</p>
<small class="right badge badge-success">{{$dept->get($status)->count}}</small>
</a>
</li>

View File

@@ -9,7 +9,7 @@
@stop
@section('sidebar')
<li class="nav-header">KNOWLEDGE BASE</li>
<li class="nav-header">{{strtoupper(trans('lang.knowledge_base'))}}</li>
<li @yield('category-menu-parent') class="nav-item">

View File

@@ -44,7 +44,7 @@ class="nav-link active"
<h3 class="card-title">{!! Lang::get('lang.list_of_templates_sets') !!}</h3>
<div class="card-tools">
<button class="btn btn-default btn-tool" data-toggle="modal" data-target="#create" title="Create" id="2create">
<i class="fas fa-plus"> </i> Create
<i class="fas fa-plus"> </i> {{Lang::get('lang.create')}}
</button>
</div>
</div><!-- /.box-header -->
@@ -134,7 +134,7 @@ class="nav-link active"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
<span>Are you sure you want to Delete ?</span>
<span>{{Lang::get('lang.are_you_sure_you_want_to_delete')}}</span>&nbsp;
</div>
<div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>

View File

@@ -26,6 +26,29 @@ foreach($segments as $seg){
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"oLanguage": {
"sEmptyTable": "{!! Lang::get('datatables.sEmptyTable') !!}",
"sInfo": "{!! Lang::get('datatables.sInfo') !!}",
"sInfoEmpty": "{!! Lang::get('datatables.sInfoEmpty') !!}",
"sInfoFiltered": "{!! Lang::get('datatables.sInfoFiltered') !!}",
"sInfoPostFix": "{!! Lang::get('datatables.sInfoPostFix') !!}",
"sInfoThousands": "{!! Lang::get('datatables.sInfoThousands') !!}",
"sLengthMenu": "{!! Lang::get('datatables.sLengthMenu') !!}",
"sLoadingRecords": "{!! Lang::get('datatables.sLoadingRecords') !!}",
"sProcessing": "{!! Lang::get('datatables.sProcessing') !!}",
"sSearch": "{!! Lang::get('datatables.sSearch') !!}",
"sZeroRecords": "{!! Lang::get('datatables.sZeroRecords') !!}",
"oPaginate": {
"sFirst": "{!! Lang::get('datatables.oPaginate.sFirst') !!}",
"sLast": "{!! Lang::get('datatables.oPaginate.sLast') !!}",
"sNext": "{!! Lang::get('datatables.oPaginate.sNext') !!}",
"sPrevious": "{!! Lang::get('datatables.oPaginate.sPrevious') !!}"
},
"oAria": {
"sSortAscending": "{!! Lang::get('datatables.oAria.sSortAscending') !!}",
"sSortDescending": "{!! Lang::get('datatables.oAria.sortDescending') !!}"
},
},
"ajax": {
url: "{{url('user-list')}}",
data: function (d) {