{{ $menu_item['menu_name'] }}
4 |Menu Order {{ $menu_item['menu_order'] ?? null }}
5 | 7 | 8 |{{ $menu_item['menu_description'] }}
9 | 10 |├── .env.example
├── .gitattributes
├── .gitignore
├── .htaccess
├── .phpunit.result.cache
├── App
├── API
│ ├── Help
│ │ └── UserHelp.php
│ └── Search
│ │ └── UserSearch.php
├── Commander
│ ├── BranchCommander.php
│ ├── CategoryCommander.php
│ ├── CostCenterCommander.php
│ ├── DiscoveryCommander.php
│ ├── HolidayCommander.php
│ ├── LeaveTypeCommander.php
│ ├── MessageCommander.php
│ ├── NotificationCommander.php
│ ├── PostCommander.php
│ ├── ProjectCommander.php
│ ├── TagCommander.php
│ └── TimesheetCommander.php
├── Controller
│ ├── API
│ │ ├── AccountController.php
│ │ └── UserController.php
│ ├── ActivationController.php
│ ├── Admin
│ │ ├── AccessDeniedController.php
│ │ ├── AdminLeavesController.php
│ │ ├── BranchController.php
│ │ ├── CategoryController.php
│ │ ├── CostCenterController.php
│ │ ├── DashboardController.php
│ │ ├── DiscoveryController.php
│ │ ├── EmployeeLeavesController.php
│ │ ├── GroupController.php
│ │ ├── HistoryController.php
│ │ ├── HolidayController.php
│ │ ├── LeaveController.php
│ │ ├── MenuController.php
│ │ ├── MessageController.php
│ │ ├── NotificationController.php
│ │ ├── PermissionController.php
│ │ ├── PluginController.php
│ │ ├── PostController.php
│ │ ├── ProfileController.php
│ │ ├── ProjectController.php
│ │ ├── RoleController.php
│ │ ├── SearchController.php
│ │ ├── SettingController.php
│ │ ├── SupportController.php
│ │ ├── SystemController.php
│ │ ├── TagController.php
│ │ ├── TicketController.php
│ │ ├── TimesheetController.php
│ │ ├── UserController.php
│ │ └── UserRoleController.php
│ ├── ErrorController.php
│ ├── HomeController.php
│ ├── Installer
│ │ ├── Form
│ │ │ └── ServerForm.php
│ │ ├── InstallController.php
│ │ └── MIddlewares
│ │ │ ├── HasEnv.php
│ │ │ └── IsEnvironmentReady.php
│ ├── LogoutController.php
│ ├── PasswordController.php
│ ├── Profile
│ │ └── AccountController.php
│ ├── RegistrationController.php
│ └── SecurityController.php
├── DataColumns
│ ├── BranchColumn.php
│ ├── CategoryColumn.php
│ ├── CostCenterColumn.php
│ ├── HolidayColumn.php
│ ├── LeaveTypeColumn.php
│ ├── MessageColumn.php
│ ├── NotificationColumn.php
│ ├── PostColumn.php
│ ├── ProjectColumn.php
│ ├── TagColumn.php
│ └── TimesheetColumn.php
├── Entity
│ ├── BranchEntity.php
│ ├── CategoryEntity.php
│ ├── CostCenterEntity.php
│ ├── HolidayEntity.php
│ ├── LeaveTypeEntity.php
│ ├── MessageEntity.php
│ ├── NotificationEntity.php
│ ├── PostEntity.php
│ ├── ProjectEntity.php
│ ├── SearchEntity.php
│ ├── TagEntity.php
│ ├── TimesheetEntity.php
│ └── UserProfileEntity.php
├── Enums
│ └── Status.php
├── Event
│ ├── BranchActionEvent.php
│ ├── CategoryActionEvent.php
│ ├── CostCenterActionEvent.php
│ ├── HolidayActionEvent.php
│ ├── LeaveTypeActionEvent.php
│ ├── MessageActionEvent.php
│ ├── PostActionEvent.php
│ ├── ProjectActionEvent.php
│ ├── SearchActionEvent.php
│ ├── TagActionEvent.php
│ ├── TimesheetActionEvent.php
│ └── UserProfileActionEvent.php
├── EventListener
│ ├── PostActionSubscriber.php
│ └── SendRegistrationEmailListener.php
├── EventSubscriber
│ ├── BranchActionSubscriber.php
│ ├── CategoryActionSubscriber.php
│ ├── CostCenterActionSubscriber.php
│ ├── HolidayActionSubscriber.php
│ ├── LeaveTypeActionSubscriber.php
│ ├── MessageActionSubscriber.php
│ ├── PostActionSubscriber.php
│ ├── ProjectActionSubscriber.php
│ ├── RegistrationActionSubscriber.php
│ ├── SearchActionSubscriber.php
│ ├── TagActionSubscriber.php
│ ├── TimesheetActionSubscriber.php
│ └── UserProfileActionSubscriber.php
├── Forms
│ ├── Admin
│ │ ├── Branch
│ │ │ └── BranchForm.php
│ │ ├── Category
│ │ │ └── CategoryForm.php
│ │ ├── CostCenter
│ │ │ └── CostCenterForm.php
│ │ ├── Holidays
│ │ │ └── HolidayForm.php
│ │ ├── Leaves
│ │ │ └── LeaveForm.php
│ │ ├── Message
│ │ │ ├── MessageForm.php
│ │ │ └── MessageReplyForm.php
│ │ ├── Notification
│ │ │ └── NotificationForm.php
│ │ ├── Post
│ │ │ ├── PostForm.php
│ │ │ ├── PostMediaForm.php
│ │ │ ├── PostMetaForm.php
│ │ │ └── PostSidebarForm.php
│ │ ├── Project
│ │ │ └── ProjectForm.php
│ │ ├── Search
│ │ │ └── SearchForm.php
│ │ ├── Tag
│ │ │ └── TagForm.php
│ │ ├── Timesheet
│ │ │ └── TimesheetForm.php
│ │ └── User
│ │ │ ├── BulkDeleteForm.php
│ │ │ └── SettingsForm.php
│ └── Profile
│ │ ├── DeleteAccountForm.php
│ │ ├── EditEmailForm.php
│ │ ├── EditNameForm.php
│ │ └── EditPasswordForm.php
├── Middleware
│ ├── After
│ │ └── SessionExpiresCleanUp.php
│ └── Before
│ │ ├── EmailAlreadyExists.php
│ │ ├── HasEnv.php
│ │ ├── InitializeSettings.php
│ │ ├── IntegrityConstraints.php
│ │ ├── PreventionActions.php
│ │ └── isAlreadyLogin.php
├── Model
│ ├── BranchModel.php
│ ├── CategoryModel.php
│ ├── CostCenterModel.php
│ ├── HolidayModel.php
│ ├── LeaveTypeModel.php
│ ├── MessageModel.php
│ ├── NotificationModel.php
│ ├── PostModel.php
│ ├── ProjectModel.php
│ ├── TagModel.php
│ ├── TimesheetModel.php
│ └── UserProfileModel.php
├── Modules
│ └── LeaveTypeModule
│ │ ├── Event
│ │ └── LeaveTypeActionEvent.php
│ │ ├── LeaveTypeColumn.php
│ │ ├── LeaveTypeCommander.php
│ │ ├── LeaveTypeController.php
│ │ ├── LeaveTypeEntity.php
│ │ ├── LeaveTypeModel.php
│ │ ├── LeaveTypeSchema.php
│ │ ├── LeaveTypeValidate.php
│ │ ├── Subscriber
│ │ └── LeaveTypeActionSubscriber.php
│ │ ├── events.yml
│ │ └── module.yml
├── Relationships
│ ├── PermissionRelationship.php
│ └── RoleRelationship.php
├── Repository
│ ├── InstallRepository.php
│ └── PostRepository.php
├── Resource
│ └── UserResource.php
├── Schema
│ ├── BranchSchema.php
│ ├── CategorySchema.php
│ ├── Change
│ │ ├── ChangeStatus_TestSchema.php
│ │ └── ModifyStatus_TestSchema.php
│ ├── CostCenterSchema.php
│ ├── HolidaySchema.php
│ ├── LeaveTypeSchema.php
│ ├── MessageSchema.php
│ ├── Null
│ │ └── NotificationSchema.php
│ ├── PostSchema.php
│ ├── ProjectSchema.php
│ ├── TagSchema.php
│ └── TimesheetSchema.php
├── Templates
│ ├── _global
│ │ ├── _block_content.html
│ │ ├── _block_footer.html
│ │ ├── _block_header.html
│ │ ├── _block_header_nav.html
│ │ ├── _block_sidebar.html
│ │ └── _block_sidebar_bottom_nav.html
│ ├── admin
│ │ ├── _global
│ │ │ ├── _global_datatable.html
│ │ │ ├── _global_export.html
│ │ │ ├── _global_import.html
│ │ │ ├── _global_no_records.html
│ │ │ └── _global_page_settings.html
│ │ ├── accessDenied
│ │ │ └── index.html
│ │ ├── branch
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── bulk_action
│ │ │ └── bulk.html
│ │ ├── category
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── costCenter
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── dashboard
│ │ │ ├── Untitled-1.html
│ │ │ ├── _parts
│ │ │ │ ├── dashboard_interactive_heading.html
│ │ │ │ ├── display_table.html
│ │ │ │ ├── news_block.html
│ │ │ │ ├── statistics_cards.html
│ │ │ │ ├── statistics_cards2.html
│ │ │ │ └── welcome_panel.html
│ │ │ ├── app
│ │ │ │ └── app_table.html
│ │ │ ├── block_activities.html
│ │ │ ├── block_github.html
│ │ │ ├── block_health_status.html
│ │ │ ├── block_just_now.html
│ │ │ ├── block_main.html
│ │ │ ├── block_project.html
│ │ │ ├── block_session.html
│ │ │ ├── block_threaded_comments.html
│ │ │ ├── block_ticket.html
│ │ │ ├── health.html
│ │ │ ├── health
│ │ │ │ ├── critical.html
│ │ │ │ ├── error_warning.html
│ │ │ │ └── healthy.html
│ │ │ ├── index.html
│ │ │ ├── nav_switcher.html
│ │ │ ├── offcanvas
│ │ │ │ └── dashboard_toggle.html
│ │ │ └── settings.html
│ │ ├── discovery
│ │ │ ├── _partials
│ │ │ │ ├── accordion.html
│ │ │ │ ├── controller_discovery_form.html
│ │ │ │ ├── discovery_main.html
│ │ │ │ └── discovery_sidebar.html
│ │ │ └── discover.html
│ │ ├── group
│ │ │ ├── assigned.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── history
│ │ │ └── index.html
│ │ ├── holiday
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── leave
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── menu
│ │ │ ├── _partials
│ │ │ │ └── order_body.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ ├── order.html
│ │ │ └── settings.html
│ │ ├── message
│ │ │ ├── _partials
│ │ │ │ ├── show_profile.html
│ │ │ │ └── sidebar.html
│ │ │ ├── forward.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ ├── reply.html
│ │ │ ├── settings.html
│ │ │ └── show.html
│ │ ├── notification
│ │ │ ├── settings.html
│ │ │ └── show.html
│ │ ├── permission
│ │ │ ├── bulk.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ ├── settings.html
│ │ │ └── view_bulk_actions.html
│ │ ├── plugin
│ │ │ └── index.html
│ │ ├── post
│ │ │ ├── _partials
│ │ │ │ ├── page_nav.html
│ │ │ │ └── sidebar.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── profile
│ │ │ └── index.html
│ │ ├── project
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ └── new.html
│ │ ├── role
│ │ │ ├── assigned.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── log.html
│ │ │ ├── new.html
│ │ │ ├── role_permissions.html
│ │ │ └── settings.html
│ │ ├── search
│ │ │ └── search.html
│ │ ├── setting
│ │ │ ├── _parts
│ │ │ │ ├── add_button.html
│ │ │ │ ├── application.html
│ │ │ │ ├── general.html
│ │ │ │ ├── go_back.html
│ │ │ │ ├── restore.html
│ │ │ │ ├── services.html
│ │ │ │ ├── system_report.html
│ │ │ │ └── update.html
│ │ │ ├── application.html
│ │ │ ├── branding.html
│ │ │ ├── extension.html
│ │ │ ├── general.html
│ │ │ ├── index.html
│ │ │ ├── localisation.html
│ │ │ ├── purge.html
│ │ │ ├── security.html
│ │ │ └── tools.html
│ │ ├── support
│ │ │ ├── _partials
│ │ │ │ ├── changelog_sidebar.html
│ │ │ │ └── documentation_sidebar.html
│ │ │ ├── changelog.html
│ │ │ └── documentation.html
│ │ ├── system
│ │ │ ├── index.html
│ │ │ ├── requestPermission.html
│ │ │ ├── show.html
│ │ │ └── trash.html
│ │ ├── tag
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ ├── team
│ │ │ └── index.html
│ │ ├── ticket
│ │ │ ├── _partials
│ │ │ │ └── sidebar.html
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ └── new.html
│ │ ├── timesheet
│ │ │ ├── edit.html
│ │ │ ├── index.html
│ │ │ ├── new.html
│ │ │ └── settings.html
│ │ └── user
│ │ │ ├── _partials
│ │ │ ├── activity_timeline.html
│ │ │ ├── history_timeline.html
│ │ │ └── notes_timeline.html
│ │ │ ├── _views
│ │ │ ├── view_lock.html
│ │ │ ├── view_pending.html
│ │ │ ├── view_table.html
│ │ │ └── view_tabs.html
│ │ │ ├── banner
│ │ │ └── user_not_active.html
│ │ │ ├── clone.html
│ │ │ ├── edit.html
│ │ │ ├── hardDelete.html
│ │ │ ├── index.html
│ │ │ ├── log.html
│ │ │ ├── new.html
│ │ │ ├── notes.html
│ │ │ ├── overview_current_task.html
│ │ │ ├── overview_recent_activities.html
│ │ │ ├── personal.html
│ │ │ ├── personal_activities.html
│ │ │ ├── personal_connect.html
│ │ │ ├── personal_events.html
│ │ │ ├── personal_followers.html
│ │ │ ├── preferences.html
│ │ │ ├── privilege.html
│ │ │ ├── settings.html
│ │ │ ├── show.html
│ │ │ ├── trash.html
│ │ │ ├── user_privilege_modal.html
│ │ │ ├── users_overview.html
│ │ │ └── view_bulk_actions.html
│ ├── client
│ │ ├── activation
│ │ │ ├── activate.html
│ │ │ └── activation_failed.html
│ │ ├── error
│ │ │ ├── error.html
│ │ │ ├── errora.html
│ │ │ └── errorm.html
│ │ ├── home
│ │ │ └── index.html
│ │ ├── logout
│ │ │ └── logout.html
│ │ ├── password
│ │ │ ├── forgot.html
│ │ │ └── reset.html
│ │ ├── registration
│ │ │ ├── email_template.html
│ │ │ ├── register.html
│ │ │ └── registered.html
│ │ └── security
│ │ │ ├── index.html
│ │ │ ├── logout.html
│ │ │ └── session.html
│ ├── frontend_layout.html
│ ├── layout.html
│ ├── loader.html
│ └── profile
│ │ └── account
│ │ ├── email.html
│ │ ├── index.html
│ │ ├── name.html
│ │ └── password.html
├── Test
│ ├── TestActionEvent.php
│ ├── TestActionSubscriber.php
│ ├── TestApiResource.php
│ ├── TestCommander.php
│ ├── TestController.php
│ ├── TestEntity.php
│ ├── TestForm.php
│ ├── TestListeber.php
│ ├── TestModel.php
│ ├── TestRelationship.php
│ ├── TestRepository.php
│ ├── TestSchema.php
│ ├── TestValidate.php
│ ├── test.yml
│ └── views
│ │ ├── edit.html
│ │ ├── index.html
│ │ ├── logs.html
│ │ ├── new.html
│ │ └── settings.html
└── Validate
│ ├── BranchValidate.php
│ ├── CategoryValidate.php
│ ├── CostCenterValidate.php
│ ├── HolidayValidate.php
│ ├── LeaveTypeValidate.php
│ ├── MessageValidate.php
│ ├── PostValidate.php
│ ├── ProjectValidate.php
│ ├── TagValidate.php
│ ├── TimesheetValidate.php
│ └── UserProfileValidate.php
├── CHANGELOG.md
├── Config
├── commander.yml
├── controller.yml
├── extend_assets.yml
├── extend_events.yml
├── extend_routes.yml
└── magma_blank.yml
├── Public
├── .htaccess
├── assets
│ ├── css
│ │ ├── main.css
│ │ ├── normalize.css
│ │ └── uikit
│ │ │ ├── all.min.css
│ │ │ ├── custom.css
│ │ │ ├── gauges.css
│ │ │ ├── notyf.min.css
│ │ │ ├── sidebar.css
│ │ │ └── user-show.css
│ ├── images
│ │ ├── dashboard-logo-white.svg
│ │ ├── dashboard-logo.svg
│ │ ├── dashboard.png
│ │ ├── flags
│ │ │ ├── de.svg
│ │ │ ├── es.svg
│ │ │ ├── fr.svg
│ │ │ └── gb.svg
│ │ ├── language
│ │ │ ├── en.svg
│ │ │ └── es.svg
│ │ ├── manual.png
│ │ ├── sort
│ │ │ ├── iconmonstr-sort-13.svg
│ │ │ ├── iconmonstr-sort-14.svg
│ │ │ ├── iconmonstr-sort-15.svg
│ │ │ ├── iconmonstr-sort-16.svg
│ │ │ ├── iconmonstr-sort-17.svg
│ │ │ ├── iconmonstr-sort-18.svg
│ │ │ ├── iconmonstr-sort-19.svg
│ │ │ ├── iconmonstr-sort-20.svg
│ │ │ ├── iconmonstr-sort-21.svg
│ │ │ ├── iconmonstr-sort-22.svg
│ │ │ ├── sort-down.svg
│ │ │ ├── sort-up.svg
│ │ │ └── sort.svg
│ │ ├── text.png
│ │ ├── undraw_posting_photo.svg
│ │ ├── undraw_profile.svg
│ │ ├── undraw_profile_1.svg
│ │ ├── undraw_profile_2.svg
│ │ ├── undraw_profile_3.svg
│ │ └── undraw_rocket.svg
│ └── js
│ │ ├── react
│ │ ├── react_button.js
│ │ ├── react_commander.js
│ │ ├── react_commander_navigator.js
│ │ ├── react_datatable.js
│ │ ├── react_datatable_tabs.js
│ │ └── react_pagination.js
│ │ └── uikit
│ │ ├── all.min.js
│ │ ├── app.js
│ │ ├── charts.js
│ │ ├── check-all.js
│ │ ├── checkall.js
│ │ ├── ckeditor.js
│ │ ├── filters.js
│ │ ├── gauges.js
│ │ ├── hideShowPassword.min.js
│ │ ├── jquery.easing.min.js
│ │ ├── jquery.min.js
│ │ ├── jquery.pjax.js
│ │ ├── main.js
│ │ ├── mdeditor.min.js
│ │ ├── modernizr-3.11.2.min.js
│ │ ├── notification.js
│ │ ├── notyf.min.js
│ │ ├── react_commander.js
│ │ ├── script.js
│ │ ├── sidebar.js
│ │ ├── sparkline.js
│ │ ├── sparks.js
│ │ ├── status.js
│ │ └── system-report.js
├── include.php
└── index.php
├── README.md
├── Storage
└── .gitignore
├── bin
├── console
└── push-server.php
├── composer.json
├── i18n
└── locale
│ ├── activation.yml
│ ├── base.yml
│ ├── gb.yml
│ ├── index.yml
│ ├── password.yml
│ ├── registration.yml
│ ├── role.yml
│ ├── security.yml
│ └── user.yml
├── lavacms.sql
├── magma
├── change.php
├── create.php
├── destroy.php
├── inc.php
├── migrate.php
└── migration
│ ├── reset.php
│ └── rollback.php
├── robot.txt
├── tests
└── .gitkeep
└── todo.txt
/.env.example:
--------------------------------------------------------------------------------
1 | DB_DRIVER=mysql
2 | DB_HOST=your_database_host
3 | DB_NAME=your_database_name
4 | DB_PASSWORD=
5 | DB_USER=root
6 | DB_PREFIX=
7 | DB_PORT=3306
8 |
9 | DB_CHARSET=utf8mb4
10 | DB_ENGINE=InnoDB
11 | DB_COLLATE=
12 | DB_FORMAT=dynamic
13 |
14 | SMTPDebug=0
15 | SMTPAuth=true
16 | SMTPSecure=tls
17 | Username=mailtrap_username
18 | Password=mailtrap_password
19 | Host=smtp.mailtrap.io
20 | Port=2525
21 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/.gitattributes
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor/
2 | /App/Templates/cache/
3 | /.env
4 | /composer.lock
5 | /App/Templates/.cache/
6 | /node_modules/
7 | /.cache/
8 | /App/Migrations/
9 | /.idea/
10 | /todo.txt
11 | /messages.sql
12 | /structure.json
13 | /checklist.txt
14 | /employees.txt
15 | /idea.txt
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | RewriteEngine On
2 | RewriteBase /
3 |
4 | RewriteCond %{THE_REQUEST} /public/([^\s?]*) [NC]
5 | RewriteRule ^ %1 [L,NE,R=302]
6 | RewriteRule ^(.*)$ public/index.php?$1 [L,QSA]
7 |
--------------------------------------------------------------------------------
/.phpunit.result.cache:
--------------------------------------------------------------------------------
1 | C:37:"PHPUnit\Runner\DefaultTestResultCache":44:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:0:{}}}
--------------------------------------------------------------------------------
/App/API/Help/UserHelp.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\API\Help;
14 |
15 | class UserHelp
16 | {
17 |
18 | public function init(): array
19 | {
20 | return [
21 | [
22 | "title" => "What are pages?",
23 | "desc" => "this is some description base on the name search a user can search form"
24 | ],
25 | [
26 | "title" => "Creating new pages",
27 | "desc" => "this is some description base on the name search a user can search form"
28 | ],
29 | [
30 | "title" => "How to edit pages",
31 | "desc" => "this is some description base on the name search a user can search form"
32 | ],
33 | [
34 | "title" => "Deleting a page",
35 | "desc" => "this is some description base on the name search a user can search form"
36 | ],
37 | [
38 | "title" => "Customizing pages?",
39 | "desc" => "this is some description base on the name search a user can search form"
40 | ]
41 |
42 |
43 | ];
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/App/API/Search/UserSearch.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\API\Search;
13 |
14 | class UserSearch
15 | {
16 |
17 | public function init(): array
18 | {
19 | return [
20 | ];
21 | }
22 |
23 | }
--------------------------------------------------------------------------------
/App/Controller/API/AccountController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\API;
14 |
15 | use App\Model\UserModel;
16 | use MagmaCore\Base\BaseController;
17 |
18 | class AccountController extends BaseController
19 | {
20 |
21 | public function __construct(array $routeParams)
22 | {
23 | parent::__construct($routeParams);
24 | $this->diContainer(
25 | [
26 | 'repository' => UserModel::class,
27 | ]
28 | );
29 | }
30 |
31 | /**
32 | * Validate if email is available (AJAX) for a new signup or an existing user.
33 | * The ID of an existing user can be passed in in the querystring to ignore when
34 | * checking if an email already exists or not.
35 | *
36 | * @return void
37 | */
38 | protected function validateEmailAction()
39 | {
40 | $isValid = !$this->repository->emailExists($_GET['email'], $_GET['ignore_id'] ?? null);
41 | header('Content-Type: application/json');
42 | echo json_encode($isValid);
43 | //$handler = new RestHandler($isValid);
44 | //echo $handler->response();
45 | //echo (new RestHandler($isValid))->response();
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/App/Controller/ActivationController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller;
13 |
14 | class ActivationController extends \MagmaCore\UserManager\Activation\ActivationController
15 | { }
--------------------------------------------------------------------------------
/App/Controller/Admin/AccessDeniedController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class AccessDeniedController extends \MagmaCore\Administrator\Controller\AccessDeniedController
16 | { }
17 |
18 |
--------------------------------------------------------------------------------
/App/Controller/Admin/AdminLeavesController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | use MagmaCore\Base\Traits\ControllerCommonTrait;
16 |
17 | /**
18 | * Controller which allows crud operation of the different cost center for your company
19 | * methods
20 | *
21 | * indexAction
22 | * showAction
23 | * newAction
24 | * editAction
25 | * copyAction
26 | * trashAction
27 | * untrashAction
28 | * hardDeleteAction
29 | * bulkAction
30 | */
31 | class AdminLeavesController extends \MagmaCore\Administrator\Controller\AdminController
32 | {
33 |
34 | use ControllerCommonTrait;
35 |
36 | public function __construct(array $routeParams)
37 | {
38 | parent::__construct($routeParams);
39 |
40 | $this->addDefinitions(
41 | [
42 | ]
43 | );
44 | }
45 |
46 | }
--------------------------------------------------------------------------------
/App/Controller/Admin/DashboardController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller\Admin;
13 |
14 | class DashboardController extends \MagmaCore\Administrator\Dashboard\DashboardController
15 | { }
--------------------------------------------------------------------------------
/App/Controller/Admin/DiscoveryController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller\Admin;
13 |
14 | use MagmaCore\Base\BaseController;
15 |
16 | class DiscoveryController extends \MagmaCore\Administrator\Controller\DiscoveryController
17 | {
18 |
19 | }
--------------------------------------------------------------------------------
/App/Controller/Admin/EmployeeLeavesController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | use MagmaCore\Base\Traits\ControllerCommonTrait;
16 |
17 | /**
18 | * Controller which allows crud operation of the different cost center for your company
19 | * methods
20 | *
21 | * indexAction
22 | * showAction
23 | * newAction
24 | * editAction
25 | * copyAction
26 | * trashAction
27 | * untrashAction
28 | * hardDeleteAction
29 | * bulkAction
30 | */
31 | class EmployeeLeavesController extends \MagmaCore\Administrator\Controller\AdminController
32 | {
33 |
34 | use ControllerCommonTrait;
35 |
36 | public function __construct(array $routeParams)
37 | {
38 | parent::__construct($routeParams);
39 |
40 | $this->addDefinitions(
41 | [
42 | ]
43 | );
44 | }
45 |
46 | }
--------------------------------------------------------------------------------
/App/Controller/Admin/GroupController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 |
16 | class GroupController extends \MagmaCore\UserManager\Rbac\Group\GroupController
17 | { }
18 |
19 |
--------------------------------------------------------------------------------
/App/Controller/Admin/HistoryController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller\Admin;
13 |
14 | use MagmaCore\Base\BaseController;
15 | use MagmaCore\History\HistoryController as HsController;
16 |
17 | class HistoryController extends HsController
18 | {
19 |
20 | }
--------------------------------------------------------------------------------
/App/Controller/Admin/MenuController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | use MagmaCore\PanelMenu\EventSubscriber\MenuActionSubscriber;
16 |
17 | class MenuController extends \MagmaCore\PanelMenu\MenuController
18 | {
19 |
20 |
21 | }
22 |
23 |
--------------------------------------------------------------------------------
/App/Controller/Admin/NotificationController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class NotificationController extends \MagmaCore\Notification\NotificationController
16 | {
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/App/Controller/Admin/PermissionController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class PermissionController extends \MagmaCore\UserManager\Rbac\Permission\PermissionController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Controller/Admin/PluginController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class PluginController extends \MagmaCore\PluginPanel\PluginController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Controller/Admin/ProfileController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | use MagmaCore\Base\Exception\BaseInvalidArgumentException;
16 |
17 | class ProfileController extends UserController
18 | {
19 |
20 | /**
21 | * Extends the base constructor method. Which gives us access to all the base
22 | * methods implemented within the base controller class.
23 | * Class dependency can be loaded within the constructor by calling the
24 | * container method and passing in an associative array of dependency to use within
25 | * the class
26 | *
27 | * @param array $routeParams
28 | * @return void
29 | * @throws BaseInvalidArgumentException
30 | */
31 | public function __construct(array $routeParams)
32 | {
33 | parent::__construct($routeParams);
34 |
35 | }
36 |
37 | protected function indexAction()
38 | {
39 | $this->showAction
40 | ->execute($this, NULL, NULL, NULL, __METHOD__)
41 | ->render()
42 | ->with()
43 | ->singular()
44 | ->end();
45 |
46 | }
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/App/Controller/Admin/RoleController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 |
16 | class RoleController extends \MagmaCore\UserManager\Rbac\Role\RoleController
17 | { }
18 |
--------------------------------------------------------------------------------
/App/Controller/Admin/SearchController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | use MagmaCore\Base\Domain\Actions\SearchAction;
16 | use App\Entity\SearchEntity;
17 | use App\Forms\Admin\Search\SearchForm;
18 | use App\Event\SearchActionEvent;
19 | use MagmaCore\UserManager\UserModel;
20 |
21 | class SearchController extends \MagmaCore\Administrator\Controller\AdminController
22 | {
23 |
24 | public function __construct(array $routeParams)
25 | {
26 | parent::__construct($routeParams);
27 |
28 | $this->addDefinitions(
29 | [
30 | 'searchAction' => SearchAction::class,
31 | 'searchForm' => SearchForm::class,
32 | 'repository' => UserModel::class
33 | ]
34 | );
35 | }
36 |
37 | protected function searchAction()
38 | {
39 | $this->searchAction
40 | ->execute($this, SearchEntity::class, SearchActionEvent::class, NULL, __METHOD__)
41 | ->render()
42 | ->with()
43 | ->form($this->searchForm)
44 | ->end();
45 | }
46 |
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/App/Controller/Admin/SettingController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class
16 | SettingController extends \MagmaCore\Settings\SettingController
17 | { }
--------------------------------------------------------------------------------
/App/Controller/Admin/SupportController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class SupportController extends \MagmaCore\Administrator\Support\SupportController
16 | {
17 |
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/App/Controller/Admin/SystemController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller\Admin;
13 |
14 | use MagmaCore\Base\Domain\Actions\IndexAction;
15 | use MagmaCore\System\App\Controller\SystemController as CoreSystemController;
16 | use MagmaCore\System\App\DataColumns\SystemColumn;
17 | use MagmaCore\System\App\Model\EventModel;
18 |
19 | final class SystemController extends CoreSystemController
20 | { }
21 |
--------------------------------------------------------------------------------
/App/Controller/Admin/TicketController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class TicketController extends \MagmaCore\Ticket\TicketController
16 | {
17 |
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/App/Controller/Admin/UserController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class UserController extends \MagmaCore\UserManager\UserController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Controller/Admin/UserRoleController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Admin;
14 |
15 | class UserRoleController extends \MagmaCore\UserManager\Controller\UserRoleController
16 | {
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/App/Controller/ErrorController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller;
14 |
15 | class ErrorController extends \MagmaCore\System\ErrorController
16 | {
17 |
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/App/Controller/Installer/MIddlewares/HasEnv.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Installer\Middleware;
14 |
15 | use Closure;
16 | use MagmaCore\Middleware\BeforeMiddleware;
17 |
18 | class HasEnv extends BeforeMiddleware
19 | {
20 |
21 | /**
22 | * Prevent unauthorized access to the administration panel. Only users with specific
23 | * privileges can access the admin area.
24 | *
25 | * @param Object $middleware
26 | * @param Closure $next
27 | * @return void
28 | */
29 | public function middleware(object $middleware, Closure $next)
30 | {
31 | if (!file_exists(APP_ROOT . '/.env.lip')) {
32 | if ($middleware->error) {
33 | $middleware->error->addError(['missing_env' => 'Error locating the system .env file.'], $middleware)->dispatchError();
34 | }
35 | }
36 | return $next($middleware);
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/App/Controller/Installer/MIddlewares/IsEnvironmentReady.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller\Installer\Middleware;
14 |
15 | use Closure;
16 | use MagmaCore\Middleware\BeforeMiddleware;
17 |
18 | class IsEnvironmentReady extends BeforeMiddleware
19 | {
20 |
21 | /**
22 | * Prevent unauthorized access to the administration panel. Only users with specific
23 | * privileges can access the admin area.
24 | *
25 | * @param Object $middleware
26 | * @param Closure $next
27 | * @return void
28 | */
29 | public function middleware(object $middleware, Closure $next)
30 | {
31 | return $next($middleware);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/App/Controller/LogoutController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller;
14 |
15 | class LogoutController extends \MagmaCore\UserManager\Security\LogoutController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Controller/PasswordController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Controller;
13 |
14 | class PasswordController extends \MagmaCore\UserManager\PasswordRecovery\PasswordController
15 | { }
--------------------------------------------------------------------------------
/App/Controller/RegistrationController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller;
14 |
15 | class RegistrationController extends \MagmaCore\UserManager\Registration\RegistrationController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Controller/SecurityController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Controller;
14 |
15 | class SecurityController extends \MagmaCore\UserManager\Security\SecurityController
16 | { }
17 |
--------------------------------------------------------------------------------
/App/Entity/BranchEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class BranchEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/CategoryEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class CategoryEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/CostCenterEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class CostCenterEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/HolidayEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class HolidayEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/LeaveTypeEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class LeaveTypeEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/MessageEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class MessageEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/NotificationEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class NotificationEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/PostEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Entity;
13 |
14 | use MagmaCore\Base\BaseEntity;
15 |
16 | class PostEntity extends BaseEntity
17 | {}
--------------------------------------------------------------------------------
/App/Entity/ProjectEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Entity;
13 |
14 | use MagmaCore\Base\BaseEntity;
15 |
16 | class ProjectEntity extends BaseEntity
17 | {}
--------------------------------------------------------------------------------
/App/Entity/SearchEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class SearchEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/TagEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class TagEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/TimesheetEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Entity;
14 |
15 | use MagmaCore\Base\BaseEntity;
16 |
17 | /** @todo try and access the schema object to fetch the database column dynamically */
18 | class TimesheetEntity extends BaseEntity
19 | {}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/App/Entity/UserProfileEntity.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Entity;
13 |
14 | use MagmaCore\Base\BaseEntity;
15 |
16 | class UserProfileEntity extends BaseEntity
17 | {}
--------------------------------------------------------------------------------
/App/Enums/Status.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Enums;
14 |
15 | use MagmaCore\Enums\Contracts\StatusInterface;
16 |
17 | /**
18 | * Strictly for PHP 8.1 onwards
19 | */
20 | enum Status: string implements StatusInterface
21 | {
22 |
23 | case DRAFT = 'draft';
24 | case PUBLISHED = 'published';
25 | case ARCHIVED = 'archived';
26 |
27 | public function color(): string
28 | {
29 | return match($this) {
30 | Status::DRAFT => 'grey',
31 | Status::PUBLISHED => 'green',
32 | Status::ARCHIVED => 'red'
33 | };
34 | }
35 |
36 | }
--------------------------------------------------------------------------------
/App/Event/BranchActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class BranchActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.branch_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/CategoryActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class CategoryActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.category_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/CostCenterActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class CostCenterActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.costCenter_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/HolidayActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class HolidayActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.holiday_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/LeaveTypeActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class LeaveTypeActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.leave_type_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/MessageActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class MessageActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.message_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/PostActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class PostActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.post_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/ProjectActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class ProjectActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.project_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/SearchActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class SearchActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.search_action_event';
22 |
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/App/Event/TagActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class TagActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.tag_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/TimesheetActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class TimesheetActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.timesheet_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Event/UserProfileActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class UserProfileActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.userprofile_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/EventListener/PostActionSubscriber.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/EventListener/PostActionSubscriber.php
--------------------------------------------------------------------------------
/App/Forms/Admin/User/BulkDeleteForm.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Forms\Admin\User;
14 |
15 | use Exception;
16 | use MagmaCore\FormBuilder\ClientFormBuilder;
17 | use MagmaCore\FormBuilder\ClientFormBuilderInterface;
18 | use MagmaCore\FormBuilder\Type\RadioType;
19 |
20 | class BulkDeleteForm extends ClientFormBuilder implements ClientFormBuilderInterface
21 | {
22 |
23 | /**
24 | * @param string $action
25 | * @param object|null $dataRepository
26 | * @param object|null $callingController
27 | * @return string
28 | * @throws Exception
29 | */
30 | public function createForm(string $action, ?object $dataRepository = null, ?object $callingController = null): string
31 | {
32 | if ($dataRepository != null) {
33 | $dataRepository = (array)$dataRepository;
34 | extract($dataRepository);
35 | }
36 | return '';
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/App/Middleware/After/SessionExpiresCleanUp.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Middleware\Before;
14 |
15 | use Closure;
16 | use MagmaCore\Middleware\BeforeMiddleware;
17 |
18 | class HasEnv extends BeforeMiddleware
19 | {
20 |
21 | /**
22 | * Prevent unauthorized access to the administration panel. Only users with specific
23 | * privileges can access the admin area.
24 | *
25 | * @param Object $middleware
26 | * @param Closure $next
27 | * @return void
28 | */
29 | public function middleware(object $middleware, Closure $next)
30 | {
31 | if (!file_exists(APP_ROOT . '/.env.lip')) {
32 | $middleware->error?->addError(['missing_env' => 'Error locating the system .env file.'], $middleware)->dispatchError();
33 | }
34 | return $next($middleware);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/App/Middleware/Before/InitializeSettings.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Middleware\Before;
13 |
14 | use Closure;
15 | use MagmaCore\Middleware\BeforeMiddleware;
16 |
17 | class InitializeSettings extends BeforeMiddleware
18 | {
19 |
20 | /**
21 | * Undocumented function
22 | *
23 | * @param Object $middleware - contains the BaseController object
24 | * @param Closure $next
25 | * @return void
26 | */
27 | public function middleware(object $middleware, Closure $next)
28 | {
29 | $middleware->tableSettingsInsertAction($middleware->thisRouteController());
30 | return $next($middleware);
31 | }
32 |
33 | }
--------------------------------------------------------------------------------
/App/Middleware/Before/IntegrityConstraints.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Middleware\Before;
13 |
14 | use Closure;
15 | use MagmaCore\Middleware\BeforeMiddleware;
16 |
17 | class IntegrityConstraints extends BeforeMiddleware
18 | {
19 |
20 | /**
21 | * Undocumented function
22 | *
23 | * @param Object $middleware - contains the BaseController object
24 | * @param Closure $next
25 | * @return void
26 | */
27 | public function middleware(object $middleware, Closure $next)
28 | {
29 | var_dump($middleware);
30 | die;
31 | }
32 |
33 | }
--------------------------------------------------------------------------------
/App/Middleware/Before/PreventionActions.php:
--------------------------------------------------------------------------------
1 | thisRouteAction() === 'delete') {
26 | if ($guards = (new RoleModel())->guardedID()) {
27 | if (is_array($guards) && count($guards) > 0) {
28 | foreach ($guards as $guard) {
29 | if ($middleware->toInt($guard) === $middleware->toInt($middleware->thisRouteID())) {
30 | $middleware->flashMessage('Deleting guarded actions is not allowed.
You will need to guard first before you perform that action. click here to find out how to. ', $middleware->flashInfo());
31 | $middleware->redirect('/admin/role/index');
32 | }
33 | }
34 | }
35 | }
36 | }
37 |
38 | return $next($middleware);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/App/Middleware/Before/isAlreadyLogin.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 | declare(strict_types=1);
11 |
12 | namespace App\Middleware\Before;
13 |
14 | use Closure;
15 | use MagmaCore\Auth\Authorized;
16 | use MagmaCore\Middleware\BeforeMiddleware;
17 |
18 | class isAlreadyLogin extends BeforeMiddleware
19 | {
20 |
21 | /**
22 | * Prevent access to the login form is the user is already logged.
23 | * as this action doesn't need doing again
24 | *
25 | * @param object $middleware - contains the BaseController object
26 | * @param closure $next
27 | * @return void
28 | */
29 | public function middleware(object $middleware, Closure $next)
30 | {
31 | if (
32 | $middleware->thisRouteController() === 'security' &&
33 | $middleware->thisRouteAction() === 'index') {
34 | $userID = $middleware->getSession()->get('user_id');
35 | if (isset($userID) && $userID !== 0) {
36 | $middleware->flashMessage(sprintf('%s You are already logged in.', 'Action Rejected: '), $middleware->flashInfo());
37 | $middleware->redirect(Authorized::getReturnToPage());
38 | }
39 | }
40 | return $next($middleware);
41 | }
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/Event/LeaveTypeActionEvent.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Modules\LeaveTypeModule\Event;
14 |
15 | use MagmaCore\Base\BaseActionEvent;
16 |
17 | class LeaveTypeActionEvent extends BaseActionEvent
18 | {
19 |
20 | /** @var string - name of the event */
21 | public const NAME = 'app.event.leave_type_action_event';
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeColumn.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeColumn.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeCommander.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeCommander.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeController.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeController.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeEntity.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeEntity.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeModel.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeModel.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeSchema.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeSchema.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/LeaveTypeValidate.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/LeaveTypeValidate.php
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/events.yml:
--------------------------------------------------------------------------------
1 | leaveType.subscriber:
2 | class: \App\Modules\LeaveTypeModule\EventSubscriber\leaveTypeActionSubscriber
3 | register_route_feedback:
4 | App\Controller\Admin\leaveTypeController::newAction:
5 | msg: New category added successfully!
6 | redirect: category.new
7 | App\Controller\Admin\leaveTypeController::editAction:
8 | msg: Changes saved!
9 | App\Controller\Admin\leaveTypeController::trashAction:
10 | msg: Item thrown in the trash!
11 | App\Controller\Admin\leaveTypeController::untrashAction:
12 | msg: Category restored from trash!
13 | redirect: category.index
14 | App\Controller\Admin\leaveTypeController::hardDeleteAction:
15 | msg: Category permanently deleted!
16 | redirect: category.index
17 |
--------------------------------------------------------------------------------
/App/Modules/LeaveTypeModule/module.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TheCodingWorkshop/MagmaSkeleton/3a2d5eeadaf97819c7a23b547d0a6cbf1596900d/App/Modules/LeaveTypeModule/module.yml
--------------------------------------------------------------------------------
/App/Repository/PostRepository.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Repository;
14 |
15 | class PostRepository
16 | {
17 | }
18 |
--------------------------------------------------------------------------------
/App/Schema/Change/ChangeStatus_TestSchema.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Schema\Change;
14 |
15 | class ChangeStatus_TestSchema extends TestSchema
16 | {
17 | /**
18 | * @return string
19 | */
20 | public function createSchema(): string
21 | {
22 | return $this->schema
23 | ->table($this->testModel)
24 | ->alter('change', function ($schema) {
25 | return $schema
26 | ->row($this->blueprint->varchar('status', 65, false))
27 | ->changeColumn('test_status');
28 | });
29 |
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/App/Schema/Change/ModifyStatus_TestSchema.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | declare(strict_types=1);
12 |
13 | namespace App\Schema\Change;
14 |
15 | class ModifyStatus_TestSchema extends TestSchema
16 | {
17 |
18 | /**
19 | * @return string
20 | */
21 | public function createSchema(): string
22 | {
23 | return $this->schema
24 | ->table($this->testModel)
25 | ->alter('modify', function ($schema) {
26 | return $schema
27 | ->row($this->blueprint->longText('status'))
28 | ->modifyColumn();
29 | });
30 |
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/App/Templates/_global/_block_content.html:
--------------------------------------------------------------------------------
1 |
Roles are a group of permission. Which can be assigned to multiple users within. Roles can have an unlimited amount of permissions. Permissions that can be added and remove at any point. 22 |
23 | 24 |Table Heading | 10 |Table Heading | 11 |Table Heading | 12 |
---|---|---|
Table Data | 17 |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | 18 |19 | |
Table Data | 22 |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | 23 |24 | |
Lorem ipsum color sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
8 |Lorem ipsum color sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
16 |The total number of sessions within the date range. It is the period time a user is actively engaged with your website, page or app, etc.
18 |The total number of sessions within the date range. It is the period time a user is actively engaged with your website, page or app, etc.
18 |
20 | [{{ $controller['current_method_count'] }}]
21 |
22 | {% else : %}
23 | {% endif; %}
24 | Menu Order {{ $menu_item['menu_order'] ?? null }}
5 | 7 | 8 |{{ $menu_item['menu_description'] }}
9 | 10 |Please include this information when requesting support:
7 | 8 | 9 |MagmaCore(CMS) System Report | |
---|---|
{% echo str_replace('_', ' ', ucwords($coreKey)) %} | 18 |{{ $coreValue }} | 19 |
PHP/MySQL System Report | |
{% echo str_replace('_', ' ', ucwords($phpKey)) %} | 29 |{{ $phpValue }} | 30 |
20 | [{{ $controller['current_method_count'] }}]
21 |
22 | {% else : %}
23 | {% endif; %}
24 | Event in one line
9 |Event in
16 |two lines
17 |Event in
24 |three
25 |lines
26 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
4 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
5 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
6 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
7 |Welcome back
15 |Your account is now activated and you now have full access to our content and free to update your profile 16 | information.
17 | My Account 18 |{@ locale('time_expired') }
14 |15 | Unfortunately the activation failed. Because the link is only valid for 1 hour. This would mean the account you 16 | created would have been automatically deleted. Please try registering again. 17 |
18 | {@ locale('register_again') } 19 |15 | {{ $form }} Or 16 | Cancel. 17 |
18 |{@ locale('already_register') @}?
22 | {@ locale('login') @}
23 |
{@ locale('register_terms') @}
27 |Thanks for registering. Your account was created, but you now need to click the link sent to the email address 14 | you registered with. Once you click that link your account will become active and you will be redirect to the 15 | login page.
16 | {@ locale('login') @} 17 |{@ locale('no_account') @}?
21 | {@ locale('register')
22 | @}
23 |
15 | {{ $form }} Or 16 | Cancel. 17 |
18 |Your session was expired. Because the application was left idling for too long. Click the login button below to 14 | login again
15 | {@ locale('login') @} 16 |{% yield page_tagline %}
22 |Remember to verify your new email address after you've changed it, using the email we'll send you. Your email will not changed otherwise.
14 | {{ $form }} 15 |Your account was created {@ formatDate($row['created_at'], true) @}. 14 |
Your display name is what people will see whenever you do anything public on our website or app. For example, if 14 | you comment on a story.
15 | {{ $form }} 16 | {@ locale('cancel') @} 17 |Passwords need to include...
14 |
this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
4 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
5 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
6 |this is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a paragraph
7 |