Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
60e9e3b32d | |||
27a7c03ed8 | |||
4f0bb9ed7b | |||
907e9b8d8f | |||
806fedaee2 | |||
996ba96c78 | |||
7673d14857 | |||
3045f98ceb | |||
502860ebfb | |||
721b25733c | |||
9d2cbb0f7a | |||
dd9b9aa30e | |||
168636882d | |||
ab9db903ed | |||
1069746432 | |||
d7292ab43d | |||
6923086cbb | |||
c983430461 | |||
24a860fef6 | |||
961b1d0b8c | |||
26ae45a46f | |||
9f0a07ff39 |
139
.gitea/ISSUE_TEMPLATE/a-bug.yml
Normal file
139
.gitea/ISSUE_TEMPLATE/a-bug.yml
Normal file
|
@ -0,0 +1,139 @@
|
|||
name: Bug Report
|
||||
about: Draft a report to aid in our Debugging efforts.
|
||||
title: "[BUG]: "
|
||||
labels:
|
||||
- bug
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
We value your effort in reporting an bug! Your feedback is essential for us to address and fix the problem.
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: What Happened?
|
||||
description: Please provide a detailed description of the issue and explain what outcome you anticipate.
|
||||
placeholder: Describe the issue you experienced.
|
||||
value: ""
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Environment Details
|
||||
- type: dropdown
|
||||
id: joomla_version
|
||||
attributes:
|
||||
label: Which Joomla version are you using?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: sermon_distributor_version
|
||||
attributes:
|
||||
label: Which Joomla Sermon Distributor version are you using?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- v5.0
|
||||
- v3.0
|
||||
- v2.1
|
||||
- v2.0
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: php_version
|
||||
attributes:
|
||||
label: Which PHP version are you using?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- PHP 8.3
|
||||
- PHP 8.2
|
||||
- PHP 8.1
|
||||
- PHP 8.0
|
||||
- PHP 7.4
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: apache_version
|
||||
attributes:
|
||||
label: Which Apache version are you using?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- Apache 2.4
|
||||
- Apache 2.2
|
||||
- Apache 2.0
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Where did this issue occur?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermon Categories(admin_views)
|
||||
- Series List(admin_views)
|
||||
- Series(admin_view)
|
||||
- Statistics(admin_view)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preachers(site_views)
|
||||
- Preacher(site_view)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: browsers
|
||||
attributes:
|
||||
label: On which browsers did you encounter the issue?
|
||||
multiple: true
|
||||
options:
|
||||
- Chrome
|
||||
- Firefox
|
||||
- Microsoft Edge
|
||||
- Safari
|
||||
- Opera
|
||||
- Brave
|
||||
- Vivaldi
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: What operating system are you currently using?
|
||||
multiple: true
|
||||
options:
|
||||
- Windows (Desktop)
|
||||
- macOS (Desktop)
|
||||
- Linux (Desktop)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
83
.gitea/ISSUE_TEMPLATE/b-enhancement.yml
Normal file
83
.gitea/ISSUE_TEMPLATE/b-enhancement.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
name: Enhancement Request
|
||||
about: Suggest an idea for Joomla-Sermon-Distributor
|
||||
title: "[ENHANCEMENT]: "
|
||||
labels:
|
||||
- enhancement
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for suggesting an enhancement! Your input is crucial for our innovation and progress. To assist us better, please share detailed information about your idea.
|
||||
- type: textarea
|
||||
id: enhancement-details
|
||||
attributes:
|
||||
label: Enhancement Details
|
||||
description: Could you detail the enhancement you're suggesting? Explain the issue it addresses or the new feature it introduces.
|
||||
placeholder: Please give an in-depth explanation of your proposed enhancement.
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Context and Priority
|
||||
- type: dropdown
|
||||
id: system
|
||||
attributes:
|
||||
label: On which Joomla version will this enhancement have an impact?
|
||||
multiple: true
|
||||
options:
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which part of the extension will be affected by this enhancement?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermons Categories(admin_views)
|
||||
- Series List(admin_view)
|
||||
- Series(admin_views)
|
||||
- Statistics(admin_views)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preacher(site_view)
|
||||
- Preachers(site_views)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: benefits
|
||||
attributes:
|
||||
label: Expected Benefits
|
||||
description: What advantages can be anticipated from this enhancement? How does it contribute to the improvement of the system?
|
||||
placeholder: Detail the advantages that this enhancement will provide.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Supply additional context or screenshots related to the enhancement request in this space.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
83
.gitea/ISSUE_TEMPLATE/c-task.yml
Normal file
83
.gitea/ISSUE_TEMPLATE/c-task.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
name: Task
|
||||
about: Create a task for project management
|
||||
title: "[TASK]: "
|
||||
labels:
|
||||
- task
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for setting up the task! Tasks assist us in arranging and ranking our work. Kindly provide comprehensive details about the task for clarity and efficient tracking.
|
||||
- type: textarea
|
||||
id: task-details
|
||||
attributes:
|
||||
label: Task Details
|
||||
description: Please describe the task. What are the specific actions required?
|
||||
placeholder: Provide a detailed description of the task.
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Task Context and Priority
|
||||
- type: dropdown
|
||||
id: system
|
||||
attributes:
|
||||
label: Which Joomla version is this task related to?
|
||||
multiple: true
|
||||
options:
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which area of the extension does this task impact?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermon Categories(admin_views)
|
||||
- Series List(admin_views)
|
||||
- Series(admin_view)
|
||||
- Statistics(admin_view)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preachers(site_views)
|
||||
- Preacher(site_view)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: task-objective
|
||||
attributes:
|
||||
label: Task Objective
|
||||
description: What's the aim or purpose of this task? How will it contribute to the project or system's success?
|
||||
placeholder: Describe the goal and anticipated result of the task.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Please share any extra context, files, or screenshots that could aid in comprehending or carrying out the task.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
83
.gitea/ISSUE_TEMPLATE/d-doc.yml
Normal file
83
.gitea/ISSUE_TEMPLATE/d-doc.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
name: Documentation
|
||||
about: Propose improvements to the documentation or highlight any issues found within it.
|
||||
title: "[DOCUMENTATION]: "
|
||||
labels:
|
||||
- documentation
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
We appreciate your input on our documentation! Clear and comprehensive documentation plays a vital role in enabling users to effectively interact with our systems. To assist us in making improvements, kindly offer thorough details regarding your suggestion or the specific problem you've encountered.
|
||||
- type: textarea
|
||||
id: documentation-details
|
||||
attributes:
|
||||
label: Documentation Details
|
||||
description: Please explain the specific problem with the documentation or the improvements you recommend. Is it a missing topic, unclear instructions, outdated content, or something else?
|
||||
placeholder: Detail the issue with the documentation or suggest improvements..
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Specific Context
|
||||
- type: dropdown
|
||||
id: system
|
||||
attributes:
|
||||
label: Which Joomla version does this documentation relate to?
|
||||
multiple: true
|
||||
options:
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which area of the extension does this documentation concern?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermon Categories(admin_views)
|
||||
- Series List(admin_views)
|
||||
- Series(admin_view)
|
||||
- Statistics(admin_view)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preachers(site_views)
|
||||
- Preacher(site_view)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-outcome
|
||||
attributes:
|
||||
label: Expected Outcome
|
||||
description: What outcomes do you anticipate from this change in documentation? How will it benifit the users or enhance the project?
|
||||
placeholder: Explain the expected result of this change in the documentation.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Share any extra details, files, or screenshots that could help in understanding or applying the documentation change.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
126
.gitea/ISSUE_TEMPLATE/e-performance.yml
Normal file
126
.gitea/ISSUE_TEMPLATE/e-performance.yml
Normal file
|
@ -0,0 +1,126 @@
|
|||
name: Performance Issue
|
||||
about: Recommend or propose performance improvements
|
||||
title: "[PERFORMANCE]: "
|
||||
labels:
|
||||
- performance
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Appreciation for tackling performance challenges! Optimizing performance is vital for our system's efficiency and the user experience. Could you offer more comprehensive details to aid in identifying and resolving the suggested performance issue or improvement?
|
||||
- type: textarea
|
||||
id: performance-details
|
||||
attributes:
|
||||
label: Performance Details
|
||||
description: Please outline the performance problem or the enhancements you propose. Is it related to speed, resource usage, responsiveness, or something else?
|
||||
placeholder: Offer an in-depth explanation of the performance challenge or improvement.
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Affected Systems and Context
|
||||
- type: dropdown
|
||||
id: system
|
||||
attributes:
|
||||
label: Which Joomla version is affected by this performance issue?
|
||||
multiple: true
|
||||
options:
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which part of the extension will be affected by this performance issue?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermons Categories(admin_views)
|
||||
- Series List(admin_view)
|
||||
- Series(admin_views)
|
||||
- Statistics(admin_views)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preacher(site_view)
|
||||
- Preachers(site_views)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: browsers
|
||||
attributes:
|
||||
label: Which browsers did you experience the performance problem on?
|
||||
multiple: true
|
||||
options:
|
||||
- Chrome
|
||||
- Firefox
|
||||
- Microsoft Edge
|
||||
- Safari
|
||||
- Opera
|
||||
- Brave
|
||||
- Vivaldi
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: Which operating system are you using?
|
||||
multiple: true
|
||||
options:
|
||||
- Windows (Desktop)
|
||||
- macOS (Desktop)
|
||||
- Linux (Desktop)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: replication-steps
|
||||
attributes:
|
||||
label: Steps to Replicate
|
||||
description: If possible, share a step-by-step guide to replicate the performance problem.
|
||||
placeholder: Explain how to replicate the problem.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: impact-assessment
|
||||
attributes:
|
||||
label: Impact Assessment
|
||||
description: How does the performance problem impact the system or its users? How severe is its effect?
|
||||
placeholder: Explain the impact of the performance problem.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposed-solutions
|
||||
attributes:
|
||||
label: Proposed Solutions or Ideas
|
||||
description: If you have any suggestions or ideas for resolving the performance problem, please share them here.
|
||||
placeholder: Share any potential solutions or improvement problem.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Provide any additional context, benchmarks, logs, or screenshots that might help in understanding or addressing the performance problem.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
86
.gitea/ISSUE_TEMPLATE/f-refactor.yml
Normal file
86
.gitea/ISSUE_TEMPLATE/f-refactor.yml
Normal file
|
@ -0,0 +1,86 @@
|
|||
name: Refactoring Task
|
||||
about: Recommend or identify the necessity for code refactoring.
|
||||
title: "[REFACTOR]: "
|
||||
labels:
|
||||
- refactor
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
We appreciate your commitment to enhancing the maintainability and quality of our codebase! Code refactoring plays a crucial role in ensuring our system remains efficient and easy to manage. To assist us effectively, please share comprehensive details about the refactoring task you are suggesting or identifying.
|
||||
- type: textarea
|
||||
id: refactoring-details
|
||||
attributes:
|
||||
label: Refactoring Details
|
||||
description: Outline the refactoring task, specifying which code segment requires attention and the reasons behind this need. What improvements are expected from this refactoring?
|
||||
placeholder: Provide an in-depth explanation of the refactoring task?
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Affected Components and Context
|
||||
- type: dropdown
|
||||
id: system
|
||||
attributes:
|
||||
label: Which Joomla version does this refactoring task relate to?
|
||||
multiple: true
|
||||
options:
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which area of the extension will be impacted by this refactoring?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermon Categories(admin_views)
|
||||
- Series List(admin_views)
|
||||
- Series(admin_view)
|
||||
- Statistics(admin_view)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preachers(site_views)
|
||||
- Preacher(site_view)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Back-end (Just Code)
|
||||
- Front-end (Just GUI)
|
||||
- All
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-outcome
|
||||
attributes:
|
||||
label: Expected Outcome
|
||||
description: What benefits do you anticipate from this refactoring? How will it enhance the codebase or overall system?
|
||||
placeholder: Explain the expected results of this refactoring.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Share any further details or information, like code snippets, that could aid in comprehending or executing the refactoring task.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
64
.gitea/ISSUE_TEMPLATE/g-security.yml
Normal file
64
.gitea/ISSUE_TEMPLATE/g-security.yml
Normal file
|
@ -0,0 +1,64 @@
|
|||
name: Security Issue
|
||||
about: Identify a possible security risk.
|
||||
title: "[SECURITY]: "
|
||||
labels:
|
||||
- security
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
**⚠️ CRITICAL: Avoid sharing any sensitive or confidential details in this message.** Should you suspect a security flaw, please contact us directly at [joomla@vdm.io].
|
||||
- type: textarea
|
||||
id: security-general-description
|
||||
attributes:
|
||||
label: General Description
|
||||
description: Offer a broad overview of the security concern, ensuring not to disclose any sensitive information.
|
||||
placeholder: Provide a general description of the security problem.
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Affected Systems
|
||||
- type: dropdown
|
||||
id: joomla_version
|
||||
attributes:
|
||||
label: Which Joomla version could potentially be affected?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- All
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: sermon_distributor_version
|
||||
attributes:
|
||||
label: Which Joomla Sermon Distributor version could potentially be affected?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- v5.0
|
||||
- v3.0
|
||||
- v2.1
|
||||
- v2.0
|
||||
- All
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: non-sensitive-details
|
||||
attributes:
|
||||
label: Non-Sensitive Details
|
||||
description: If applicable, please offer further non-sensitive information or general observations regarding the security concern.
|
||||
placeholder: Provide any relevant non-sensitive details or observations.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
127
.gitea/ISSUE_TEMPLATE/h-test.yml
Normal file
127
.gitea/ISSUE_TEMPLATE/h-test.yml
Normal file
|
@ -0,0 +1,127 @@
|
|||
name: Test Issue
|
||||
about: Recommend additional assessments or identify any problems with current tests.
|
||||
title: "[TEST]: "
|
||||
labels:
|
||||
- test
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for your involvement in the testing phase of our initiative! Thorough testing is essential to uphold the integrity and dependability of our systems. Please provide detailed information to aid us in comprehending the testing activity or problem you're proposing or highlighting.
|
||||
|
||||
- type: textarea
|
||||
id: testing-details
|
||||
attributes:
|
||||
label: Testing Details
|
||||
description: Could you specify the testing task or concern? Are you proposing a new test, pointing out a defect in current tests, or identifying untested areas?
|
||||
placeholder: Please offer an detailed description of the testing task or issue.
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Affected Components and Context
|
||||
- type: dropdown
|
||||
id: joomla_version
|
||||
attributes:
|
||||
label: Which Joomla version is this testing issue related to?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- Joomla 5
|
||||
- Joomla 4
|
||||
- Joomla 3
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: sermon_distributor_version
|
||||
attributes:
|
||||
label: Which Joomla Sermon Distributor version is this testing issue related to?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- v5.0
|
||||
- v3.0
|
||||
- v2.1
|
||||
- v2.0
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: php_version
|
||||
attributes:
|
||||
label: Which PHP version is this testing issue related to?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- PHP 8.3
|
||||
- PHP 8.2
|
||||
- PHP 8.1
|
||||
- PHP 8.0
|
||||
- PHP 7.4
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: apache_version
|
||||
attributes:
|
||||
label: Which Apache version is this testing issue related to?
|
||||
multiple: true
|
||||
options:
|
||||
- Latest
|
||||
- Apache 2.4
|
||||
- Apache 2.2
|
||||
- Apache 2.0
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Which area of the extension does this testing task impact?
|
||||
multiple: true
|
||||
options:
|
||||
- Dashboard(admin_view)
|
||||
- Preachers(admin_views)
|
||||
- Preacher(admin_view)
|
||||
- Sermons(admin_views)
|
||||
- Sermon(admin_view)
|
||||
- Sermons Categories(admin_views)
|
||||
- Series List(admin_view)
|
||||
- Series(admin_views)
|
||||
- Statistics(admin_views)
|
||||
- External Sources(admin_views)
|
||||
- External Source(admin_view)
|
||||
- Manual Updater(admin_view)
|
||||
- Local Listings(admin_views)
|
||||
- Help Documents(admin_views)
|
||||
- Categories(site_views)
|
||||
- Category(site_view)
|
||||
- Preacher(site_view)
|
||||
- Preachers(site_views)
|
||||
- Series(site_view)
|
||||
- Series List(site_views)
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-outcome
|
||||
attributes:
|
||||
label: Expected Outcome
|
||||
description: What do you expect to achieve with this testing task? How will it improve the system or its reliability?
|
||||
placeholder: Describe the expected outcome of this testing task.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Provide any additional context, testing scenarios, or information that might help in understanding or implementing the testing task.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: comments
|
||||
attributes:
|
||||
label: Additional Comments
|
||||
description: Feel free to include any further comments or pertinent details that might assist us.
|
20
.octojpack
20
.octojpack
|
@ -9,8 +9,8 @@
|
|||
"name": "PKG_SERMONDISTRIBUTOR",
|
||||
"code_name": "sermondistributor",
|
||||
"package_name": "pkg_sermondistributor",
|
||||
"min_joomla_version": "3.8",
|
||||
"max_joomla_version": "3.10",
|
||||
"min_joomla_version": "5.0",
|
||||
"max_joomla_version": "5.1",
|
||||
"copyright": "Copyright (C) 2015 Llewellyn van der Merwe. All rights reserved.",
|
||||
"copyright_year": "2015",
|
||||
"license": "GNU General Public License version 2; see LICENSE",
|
||||
|
@ -20,11 +20,12 @@
|
|||
"author_url": "https://io.vdm.dev/",
|
||||
"description": "The Sermon Distributor.",
|
||||
"version_id": "com_sermondistributor",
|
||||
"update_servers": "https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/sermondistributor_update_server.xml"
|
||||
"update_servers": "https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/5.x/sermondistributor_update_server.xml"
|
||||
},
|
||||
"repository": {
|
||||
"owner": "christian",
|
||||
"repo": "pkg-sermondistributor"
|
||||
"repo": "pkg-sermondistributor",
|
||||
"branch": "5.x"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
|
@ -32,19 +33,19 @@
|
|||
"repo": "Joomla-Sermon-Distributor",
|
||||
"id": "com_sermondistributor",
|
||||
"type": "component",
|
||||
"mode": "master"
|
||||
"mode": "5.x"
|
||||
},
|
||||
{
|
||||
"owner": "christian",
|
||||
"repo": "mod_dailylight",
|
||||
"owner": "getBible",
|
||||
"repo": "daily-light-module",
|
||||
"id": "mod_dailylight",
|
||||
"type": "module",
|
||||
"client": "site",
|
||||
"mode": "master"
|
||||
},
|
||||
{
|
||||
"owner": "christian",
|
||||
"repo": "mod_dailyscripture",
|
||||
"owner": "getBible",
|
||||
"repo": "daily-scripture-module",
|
||||
"id": "mod_dailyscripture",
|
||||
"type": "module",
|
||||
"client": "site",
|
||||
|
@ -66,4 +67,3 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -1,8 +1,16 @@
|
|||
# v3.0.0
|
||||
# v5.0.0-beta2
|
||||
|
||||
- Moved all classes to 'use' classes away from JText format.
|
||||
- Build with new JCB 3.1.31 beta
|
||||
- First release of Sermon Distributor towards Joomla 5
|
||||
- Add PHP check to install/update class
|
||||
- Add Database check and fix to install/update class
|
||||
|
||||
# v2.1.1
|
||||
# v4.0.0-beta2
|
||||
|
||||
- Moved over to a Joomla Package
|
||||
- First release of Sermon Distributor towards Joomla 4
|
||||
- Add PHP check to install/update class
|
||||
- Add Database check and fix to install/update class
|
||||
|
||||
# v3.0.5
|
||||
|
||||
- Add PHP check to install/update class
|
||||
- Add Database check and fix to install/update class
|
32
README.md
32
README.md
|
@ -1,8 +1,8 @@
|
|||
# Sermon Distributor (3.0.x)
|
||||
# Sermon Distributor (5.0.x)
|
||||
|
||||
![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
|
||||
|
||||
Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
|
||||
Distributor is a highly advanced sermon distributor that runs on the [Joomla 4.x & 5.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
|
||||
|
||||
The best way to see all your options is to install this component on you Joomla website and test all features yourself. Here is a [direct download link](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/archive/master.zip)
|
||||
|
||||
|
@ -24,38 +24,38 @@ The best way to see all your options is to install this component on you Joomla
|
|||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
|
||||
+ *First Build*: 22nd October, 2015
|
||||
+ *Last Build*: 10th February, 2024
|
||||
+ *Version*: 3.0.x
|
||||
+ *Last Build*: 3rd May, 2024
|
||||
+ *Version*: 5.0.x
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time :hourglass:
|
||||
|
||||
**242 Hours** or **30 Eight Hour Days** (actual time the author saved -
|
||||
**263 Hours** or **33 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **86920**
|
||||
+ *File count*: **592**
|
||||
+ *Folder count*: **113**
|
||||
+ *Line count*: **94142**
|
||||
+ *File count*: **602**
|
||||
+ *Folder count*: **124**
|
||||
|
||||
**160 Hours** or **20 Eight Hour Days** (the actual time the author spent)
|
||||
**173 Hours** or **22 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @61hours** = codingtime / 4;
|
||||
> **planning @35hours** = codingtime / 7;
|
||||
> **mapping @24hours** = codingtime / 10;
|
||||
> **office @40hours** = codingtime / 6;)
|
||||
> **debugging @66hours** = codingtime / 4;
|
||||
> **planning @38hours** = codingtime / 7;
|
||||
> **mapping @26hours** = codingtime / 10;
|
||||
> **office @44hours** = codingtime / 6;)
|
||||
|
||||
**402 Hours** or **50 Eight Hour Days**
|
||||
**436 Hours** or **55 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **10 weeks** or **2.1 months**
|
||||
Project duration: **11 weeks** or **2.3 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
1914
SermondistributorInstallerScript.php
Normal file
1914
SermondistributorInstallerScript.php
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
|||
# Sermon Distributor (3.0.x)
|
||||
# Sermon Distributor (5.0.x)
|
||||
|
||||
![Sermon Distributor image](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/raw/branch/master/admin/assets/images/vdm-component.jpg "The Sermon Distributor")
|
||||
|
||||
Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
|
||||
Distributor is a highly advanced sermon distributor that runs on the [Joomla 4.x & 5.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.
|
||||
|
||||
The best way to see all your options is to install this component on you Joomla website and test all features yourself. Here is a [direct download link](https://git.vdm.dev/christian/Joomla-Sermon-Distributor/archive/master.zip)
|
||||
|
||||
|
@ -24,38 +24,38 @@ The best way to see all your options is to install this component on you Joomla
|
|||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Sermon Distributor](https://www.vdm.io/)
|
||||
+ *First Build*: 22nd October, 2015
|
||||
+ *Last Build*: 10th February, 2024
|
||||
+ *Version*: 3.0.x
|
||||
+ *Last Build*: 3rd May, 2024
|
||||
+ *Version*: 5.0.x
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time :hourglass:
|
||||
|
||||
**242 Hours** or **30 Eight Hour Days** (actual time the author saved -
|
||||
**263 Hours** or **33 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **86920**
|
||||
+ *File count*: **592**
|
||||
+ *Folder count*: **113**
|
||||
+ *Line count*: **94142**
|
||||
+ *File count*: **602**
|
||||
+ *Folder count*: **124**
|
||||
|
||||
**160 Hours** or **20 Eight Hour Days** (the actual time the author spent)
|
||||
**173 Hours** or **22 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @61hours** = codingtime / 4;
|
||||
> **planning @35hours** = codingtime / 7;
|
||||
> **mapping @24hours** = codingtime / 10;
|
||||
> **office @40hours** = codingtime / 6;)
|
||||
> **debugging @66hours** = codingtime / 4;
|
||||
> **planning @38hours** = codingtime / 7;
|
||||
> **mapping @26hours** = codingtime / 10;
|
||||
> **office @44hours** = codingtime / 6;)
|
||||
|
||||
**402 Hours** or **50 Eight Hour Days**
|
||||
**436 Hours** or **55 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **10 weeks** or **2.1 months**
|
||||
Project duration: **11 weeks** or **2.3 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage admin.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage dashboard.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage external_source.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage external_sources.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage help_document.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage help_documents.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage local_listing.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage local_listings.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage manual_updater.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage preacher.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage preachers.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage series.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage series_list.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage sermon.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage sermons.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage statistic.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage statistics.css
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage admin.js
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<config>
|
||||
<fieldset
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
name="global_config"
|
||||
label="COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_LABEL"
|
||||
description="COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_DESC">
|
||||
|
@ -313,18 +313,6 @@
|
|||
<option value="1">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_JQUERY_LOAD</option>"
|
||||
</field>
|
||||
<field name="uikit_version"
|
||||
type="radio"
|
||||
label="COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_LABEL"
|
||||
description="COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_DESC"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="2">
|
||||
<!-- Option Set. -->
|
||||
<option value="2">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V2</option>"
|
||||
<option value="3">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V3</option>"
|
||||
</field>
|
||||
<field name="uikit_load"
|
||||
type="radio"
|
||||
label="COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_LABEL"
|
||||
|
@ -336,8 +324,6 @@
|
|||
COM_SERMONDISTRIBUTOR_CONFIG_AUTO_LOAD</option>"
|
||||
<option value="1">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_FORCE_LOAD</option>"
|
||||
<option value="3">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ONLY_EXTRA</option>"
|
||||
<option value="2">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_DONT_LOAD</option>"
|
||||
</field>
|
||||
|
@ -353,21 +339,6 @@
|
|||
<option value=".min">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_YES</option>"
|
||||
</field>
|
||||
<field name="uikit_style"
|
||||
type="radio"
|
||||
label="COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_LABEL"
|
||||
description="COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_DESC"
|
||||
class="btn-group btn-group-yesno"
|
||||
showon="uikit_version:2"
|
||||
default="">
|
||||
<!-- Option Set. -->
|
||||
<option value="">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_FLAT_LOAD</option>"
|
||||
<option value=".almost-flat">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ALMOST_FLAT_LOAD</option>"
|
||||
<option value=".gradient">
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GRADIANT_LOAD</option>"
|
||||
</field>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="encryption_config"
|
||||
|
|
|
@ -1,136 +0,0 @@
|
|||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage controller.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||
use VDM\Joomla\Utilities\StringHelper;
|
||||
|
||||
/**
|
||||
* General Controller of Sermondistributor component
|
||||
*/
|
||||
class SermondistributorController extends BaseController
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $config An optional associative array of configuration settings.
|
||||
* Recognized key values include 'name', 'default_task', 'model_path', and
|
||||
* 'view_path' (this list is not meant to be comprehensive).
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public function __construct($config = [])
|
||||
{
|
||||
// set the default view
|
||||
$config['default_view'] = 'sermondistributor';
|
||||
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* display task
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function display($cachable = false, $urlparams = false)
|
||||
{
|
||||
// set default view if not set
|
||||
$view = $this->input->getCmd('view', 'sermondistributor');
|
||||
$data = $this->getViewRelation($view);
|
||||
$layout = $this->input->get('layout', null, 'WORD');
|
||||
$id = $this->input->getInt('id');
|
||||
|
||||
// Check for edit form.
|
||||
if(UtilitiesArrayHelper::check($data))
|
||||
{
|
||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_sermondistributor.edit.'.$data['view'], $id))
|
||||
{
|
||||
// Somehow the person just went to the form - we don't allow that.
|
||||
$this->setError(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
|
||||
$this->setMessage($this->getError(), 'error');
|
||||
// check if item was opend from other then its own list view
|
||||
$ref = $this->input->getCmd('ref', 0);
|
||||
$refid = $this->input->getInt('refid', 0);
|
||||
// set redirect
|
||||
if ($refid > 0 && StringHelper::check($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(Route::_('index.php?option=com_sermondistributor&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (StringHelper::check($ref))
|
||||
{
|
||||
|
||||
// redirect to ref
|
||||
$this->setRedirect(Route::_('index.php?option=com_sermondistributor&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(Route::_('index.php?option=com_sermondistributor&view='.$data['views'], false));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return parent::display($cachable, $urlparams);
|
||||
}
|
||||
|
||||
protected function getViewRelation($view)
|
||||
{
|
||||
// check the we have a value
|
||||
if (StringHelper::check($view))
|
||||
{
|
||||
// the view relationships
|
||||
$views = array(
|
||||
'preacher' => 'preachers',
|
||||
'sermon' => 'sermons',
|
||||
'series' => 'series_list',
|
||||
'statistic' => 'statistics',
|
||||
'external_source' => 'external_sources',
|
||||
'local_listing' => 'local_listings',
|
||||
'help_document' => 'help_documents'
|
||||
);
|
||||
// check if this is a list view
|
||||
if (in_array($view, $views))
|
||||
{
|
||||
// this is a list view
|
||||
return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view);
|
||||
}
|
||||
// check if it is an edit view
|
||||
elseif (array_key_exists($view, $views))
|
||||
{
|
||||
// this is a edit view
|
||||
return array('edit' => true, 'view' => $view, 'views' => $views[$view]);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,7 +17,7 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_EXTERNAL_SOURCES"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
|
@ -26,21 +26,21 @@
|
|||
name="externalsources"
|
||||
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_EXTERNALSOURCES_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="externalsourcesfilterupdatemethod"
|
||||
name="update_method"
|
||||
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_UPDATE_METHOD_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="externalsourcesfilterbuild"
|
||||
name="build"
|
||||
label="COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCE_BUILD_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -49,9 +49,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -75,11 +74,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,46 +17,46 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_HELP_DOCUMENTS"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
<field
|
||||
type="accesslevel"
|
||||
name="access"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
label="JGRID_HEADING_ACCESS"
|
||||
hint="JOPTION_SELECT_ACCESS"
|
||||
multiple="true"
|
||||
class="multipleAccessLevels"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<field
|
||||
type="helpdocumentsfiltertype"
|
||||
name="type"
|
||||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_TYPE_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="helpdocumentsfilterlocation"
|
||||
name="location"
|
||||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_LOCATION_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="adminviewfolderlist"
|
||||
name="admin_view"
|
||||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="siteviewfolderlist"
|
||||
name="site_view"
|
||||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -65,9 +65,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -93,11 +92,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,7 +17,7 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_LOCAL_LISTINGS"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
|
@ -26,14 +26,14 @@
|
|||
name="build"
|
||||
label="COM_SERMONDISTRIBUTOR_LOCAL_LISTING_BUILD_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="externalsource"
|
||||
name="external_source"
|
||||
label="COM_SERMONDISTRIBUTOR_LOCAL_LISTING_EXTERNAL_SOURCE_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -42,9 +42,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -70,11 +69,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,18 +17,18 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_PREACHERS"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
<field
|
||||
type="accesslevel"
|
||||
name="access"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
label="JGRID_HEADING_ACCESS"
|
||||
hint="JOPTION_SELECT_ACCESS"
|
||||
multiple="true"
|
||||
class="multipleAccessLevels"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -37,9 +37,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -59,11 +58,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,18 +17,18 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_SERIES_LIST"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
<field
|
||||
type="accesslevel"
|
||||
name="access"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
label="JGRID_HEADING_ACCESS"
|
||||
hint="JOPTION_SELECT_ACCESS"
|
||||
multiple="true"
|
||||
class="multipleAccessLevels"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -37,9 +37,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -57,11 +56,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,7 +17,7 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_SERMONS"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
|
@ -27,49 +27,51 @@
|
|||
label="COM_SERMONDISTRIBUTOR_SERMON_SERMONS_CATEGORIES"
|
||||
description="JOPTION_FILTER_CATEGORY_DESC"
|
||||
multiple="true"
|
||||
class="multipleCategories"
|
||||
class="js-select-submit-on-change"
|
||||
extension="com_sermondistributor.sermon"
|
||||
onchange="this.form.submit();"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
published="0,1,2"
|
||||
/>
|
||||
<field
|
||||
type="accesslevel"
|
||||
name="access"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
label="JGRID_HEADING_ACCESS"
|
||||
hint="JOPTION_SELECT_ACCESS"
|
||||
multiple="true"
|
||||
class="multipleAccessLevels"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<field
|
||||
type="preachers"
|
||||
name="preacher"
|
||||
label="COM_SERMONDISTRIBUTOR_SERMON_PREACHER_LABEL"
|
||||
class="multiplePreachers"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="true"
|
||||
onchange="this.form.submit();"
|
||||
hint="COM_SERMONDISTRIBUTOR_FILTER_SELECT_PREACHER"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="series"
|
||||
name="series"
|
||||
label="COM_SERMONDISTRIBUTOR_SERMON_SERIES_LABEL"
|
||||
class="multipleSeries"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="true"
|
||||
onchange="this.form.submit();"
|
||||
hint="COM_SERMONDISTRIBUTOR_FILTER_SELECT_SERIES"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="sermonsfilterlinktype"
|
||||
name="link_type"
|
||||
label="COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="sermonsfiltersource"
|
||||
name="source"
|
||||
label="COM_SERMONDISTRIBUTOR_SERMON_SOURCE_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -78,9 +80,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -110,11 +111,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<fields name="filter">
|
||||
<field
|
||||
|
@ -17,39 +17,39 @@
|
|||
name="published"
|
||||
label="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED"
|
||||
description="COM_SERMONDISTRIBUTOR_FILTER_PUBLISHED_STATISTICS"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
>
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
<field
|
||||
type="accesslevel"
|
||||
name="access"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
label="JGRID_HEADING_ACCESS"
|
||||
hint="JOPTION_SELECT_ACCESS"
|
||||
multiple="true"
|
||||
class="multipleAccessLevels"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
/>
|
||||
<field
|
||||
type="sermon"
|
||||
name="sermon"
|
||||
label="COM_SERMONDISTRIBUTOR_STATISTIC_SERMON_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="preachers"
|
||||
name="preacher"
|
||||
label="COM_SERMONDISTRIBUTOR_STATISTIC_PREACHER_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<field
|
||||
type="series"
|
||||
name="series"
|
||||
label="COM_SERMONDISTRIBUTOR_STATISTIC_SERIES_LABEL"
|
||||
multiple="false"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
<input type="hidden" name="form_submited" value="1"/>
|
||||
</fields>
|
||||
|
@ -58,9 +58,8 @@
|
|||
<field
|
||||
name="fullordering"
|
||||
type="list"
|
||||
label="COM_CONTENT_LIST_FULL_ORDERING"
|
||||
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
label="JGLOBAL_SORT_BY"
|
||||
class="js-select-submit-on-change"
|
||||
default="a.id DESC"
|
||||
validate="options"
|
||||
>
|
||||
|
@ -86,11 +85,9 @@
|
|||
<field
|
||||
name="limit"
|
||||
type="limitbox"
|
||||
label="COM_CONTENT_LIST_LIMIT"
|
||||
description="COM_CONTENT_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
label="JGLOBAL_LIST_LIMIT"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
class="js-select-submit-on-change"
|
||||
/>
|
||||
</fields>
|
||||
</form>
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
||||
|
@ -171,6 +174,7 @@
|
|||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
|
||||
description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
default=""
|
||||
required="true"
|
||||
|
@ -183,6 +187,7 @@
|
|||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_LABEL"
|
||||
description="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION"
|
||||
class="list_class"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false"
|
||||
|
@ -218,6 +223,7 @@
|
|||
name="article"
|
||||
label="COM_SERMONDISTRIBUTOR_HELP_DOCUMENT_ARTICLE_LABEL"
|
||||
class="list_class"
|
||||
layout="joomla.form.field.list-fancy-select"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_sermondistributor/models/rules"
|
||||
addfieldpath="/administrator/components/com_sermondistributor/models/fields"
|
||||
addruleprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Rule"
|
||||
addfieldprefix="TrueChristianChurch\Component\Sermondistributor\Administrator\Field"
|
||||
>
|
||||
<config>
|
||||
<inlinehelp button="show"/>
|
||||
</config>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
|
@ -1,102 +0,0 @@
|
|||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage headercheck.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
|
||||
class sermondistributorHeaderCheck
|
||||
{
|
||||
protected $document = null;
|
||||
protected $app = null;
|
||||
|
||||
function js_loaded($script_name)
|
||||
{
|
||||
// UIkit check point
|
||||
if (strpos($script_name,'uikit') !== false)
|
||||
{
|
||||
if (!$this->app)
|
||||
{
|
||||
$this->app = Factory::getApplication();
|
||||
}
|
||||
|
||||
$getTemplateName = $this->app->getTemplate('template')->template;
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$this->document)
|
||||
{
|
||||
$this->document = Factory::getDocument();
|
||||
}
|
||||
|
||||
$head_data = $this->document->getHeadData();
|
||||
foreach (array_keys($head_data['scripts']) as $script)
|
||||
{
|
||||
if (stristr($script, $script_name))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function css_loaded($script_name)
|
||||
{
|
||||
// UIkit check point
|
||||
if (strpos($script_name,'uikit') !== false)
|
||||
{
|
||||
if (!$this->app)
|
||||
{
|
||||
$this->app = Factory::getApplication();
|
||||
}
|
||||
|
||||
$getTemplateName = $this->app->getTemplate('template')->template;
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$this->document)
|
||||
{
|
||||
$this->document = Factory::getDocument();
|
||||
}
|
||||
|
||||
$head_data = $this->document->getHeadData();
|
||||
foreach (array_keys($head_data['styleSheets']) as $script)
|
||||
{
|
||||
if (stristr($script, $script_name))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage batch_.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('JPATH_PLATFORM') or die;
|
||||
|
||||
/**
|
||||
* Utility class to render a list view batch selection options
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
abstract class JHtmlBatch_
|
||||
{
|
||||
/**
|
||||
* ListSelection
|
||||
*
|
||||
* @var array
|
||||
* @since 3.0
|
||||
*/
|
||||
protected static $ListSelection = [];
|
||||
|
||||
/**
|
||||
* Render the batch selection options.
|
||||
*
|
||||
* @return string The necessary HTML to display the batch selection options
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public static function render()
|
||||
{
|
||||
// Collect display data
|
||||
$data = new stdClass;
|
||||
$data->ListSelection = static::getListSelection();
|
||||
|
||||
// Create a layout object and ask it to render the batch selection options
|
||||
$layout = new JLayoutFile('batchselection');
|
||||
$batchHtml = $layout->render($data);
|
||||
|
||||
return $batchHtml;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to add a list selection to the batch modal
|
||||
*
|
||||
* @param string $label Label for the menu item.
|
||||
* @param string $name Name for the filter. Also used as id.
|
||||
* @param string $options Options for the select field.
|
||||
* @param bool $noDefault Don't the label as the empty option
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public static function addListSelection($label, $name, $options, $noDefault = false)
|
||||
{
|
||||
array_push(static::$ListSelection, array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of all ListSelection
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public static function getListSelection()
|
||||
{
|
||||
return static::$ListSelection;
|
||||
}
|
||||
}
|
|
@ -6,11 +6,8 @@ COM_SERMONDISTRIBUTOR_ALWAYS_BETTER_TO_ADD_THE_FILES_TO_EXTERNAL_SOURCE_AND_LET_
|
|||
COM_SERMONDISTRIBUTOR_ARCHIVED="Archived"
|
||||
COM_SERMONDISTRIBUTOR_ARE_YOU_SURE_YOU_WANT_TO_DELETE_CONFIRMING_WILL_PERMANENTLY_DELETE_THE_SELECTED_ITEMS="Are you sure you want to delete? Confirming will permanently delete the selected item(s)!"
|
||||
COM_SERMONDISTRIBUTOR_AUTHOR="Author"
|
||||
COM_SERMONDISTRIBUTOR_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading"
|
||||
COM_SERMONDISTRIBUTOR_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading"
|
||||
COM_SERMONDISTRIBUTOR_BACK="Back"
|
||||
COM_SERMONDISTRIBUTOR_BCOULD_NOT_USE_THE_GIVEN_TOKEN_OR_THE_GIVEN_BUILD_OPTION_DOES_NOT_EXISTB="<b>Could not use the given token, or the given build option does not exist.</b>"
|
||||
COM_SERMONDISTRIBUTOR_BETA_RELEASE="Beta Release"
|
||||
COM_SERMONDISTRIBUTOR_BY_USING_AN_ACCESS_TOKEN_YOU_WILL_BE_ABLE_TO_MAKE_API_CALLS_FOR_YOUR_OWN_ACCOUNT_WITHOUT_GOING_THROUGH_THE_AUTHORIZATION_FLOW_DURING_THIS_MANUAL_UPDATE_OF_THE_LOCAL_LISTINGBR_THE_TOKEN_WILL_NOT_BE_STORED_AND_FOR_SAFETY_THE_TOKEN_WILL_BE_REVOKED_ONCE_THE_UPDATE_IS_COMPLETED_SUCCESSFULLYBR_BTHIS_WILL_MEAN_IT_CAN_ONLY_BE_USED_THIS_ONCEB_YOU_WOULD_NEED_A_NEW_TOKEN_EACH_TIME_YOU_RUN_THIS_UPDATE_MANUALLY_BR_SMALLMAKE_SURE_TO_HAVE_SSL_INPLACE_ON_THIS_PAGE_WHEN_DOING_THIS_UPDATE_AS_AN_EXTRA_SECURITY_MEASURESMALL="By using an access token, you will be able to make API calls for your own account without going through the authorization flow during this manual update of the local listing.<br />The token will not be stored and for safety the token will be revoked once the update is completed successfully.<br /><b>This will mean it can only be used this once</b>, you would need a new token each time you run this update manually. <br /><small>Make sure to have SSL in-place on this page when doing this update, as an extra security measure.</small>"
|
||||
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE="Categories (Site) Access"
|
||||
COM_SERMONDISTRIBUTOR_CATEGORIES_ACCESS_SITE_DESC="Allows the users in this group to access site categories."
|
||||
|
@ -21,7 +18,6 @@ COM_SERMONDISTRIBUTOR_CLEAR_LOCAL_LISTING="Clear Local Listing"
|
|||
COM_SERMONDISTRIBUTOR_CLOSE_NEW="Close & New"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_DESCRIPTION="Allow add to external source button to show, this will expose the external source links."
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ADD_TO_BUTTON_LABEL="External Source Button"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ALMOST_FLAT_LOAD="Almost Flat"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR="Author Info"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_DESC="The email address of the author of this component."
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_LABEL="Author Email"
|
||||
|
@ -129,11 +125,9 @@ COM_SERMONDISTRIBUTOR_CONFIG_DARK_BLUE="Dark Blue"
|
|||
COM_SERMONDISTRIBUTOR_CONFIG_DONT_LOAD="Not"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_DESC="The encryption key for the field encryption is set here."
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_ENCRYPTION_LABEL="Encryption Settings"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_FLAT_LOAD="Flat"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_FORCE_LOAD="Force"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_DESC="The Global Parameters"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GLOBAL_LABEL="Global"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GRADIANT_LOAD="Gradient"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GREEN="Green"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_GRID="Grid"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_HTML_5_BASIC="HTML 5 (basic)"
|
||||
|
@ -319,18 +313,12 @@ COM_SERMONDISTRIBUTOR_CONFIG_SPACED="Spaced"
|
|||
COM_SERMONDISTRIBUTOR_CONFIG_STRIPED="Striped"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_TABLE="Table"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT="Uikit"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end frameworkfor developing fast and powerful web interfaces. For more info visit <a href='https://getuikit.com/v2/' target='_blank'>version 2</a> or <a href='https://getuikit.com/' target='_blank'>version 3</a>"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LABEL="Uikit2 and Uikit3 Settings"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end frameworkfor developing fast and powerful web interfaces. For more info visit <a href='https://getuikit.com/' target='_blank'>https://getuikit.com/</a>"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LABEL="Uikit3 Settings"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_DESC="Set the uikit loading option."
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_LOAD_LABEL="Loading Options"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_DESC="Should the minified version of uikit files be loaded?"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_MIN_LABEL="Load Minified"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_DESC="Set the css style that should be used."
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_STYLE_LABEL="css Style"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V2="Version 2"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_V3="Version 3"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_DESC="Select what version you would like to use"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_UIKIT_VERSION_LABEL="Uikit Versions"
|
||||
COM_SERMONDISTRIBUTOR_CONFIG_YES="Yes"
|
||||
COM_SERMONDISTRIBUTOR_CONTRIBUTOR="Contributor"
|
||||
COM_SERMONDISTRIBUTOR_CONTRIBUTORS="Contributors"
|
||||
|
@ -351,7 +339,6 @@ COM_SERMONDISTRIBUTOR_DASHBOARD_SERMONS_CATID="Categories For<br />Sermons"
|
|||
COM_SERMONDISTRIBUTOR_DASHBOARD_SERMON_ADD="Add Sermon<br /><br />"
|
||||
COM_SERMONDISTRIBUTOR_DASHBOARD_STATISTICS="Statistics<br /><br />"
|
||||
COM_SERMONDISTRIBUTOR_DATE="Date"
|
||||
COM_SERMONDISTRIBUTOR_DOWNLOAD="download"
|
||||
COM_SERMONDISTRIBUTOR_DOWNLOAD_NAME="Download Name"
|
||||
COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY="Edit Created By"
|
||||
COM_SERMONDISTRIBUTOR_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
|
||||
|
@ -393,6 +380,9 @@ COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE="External Sources Edit State"
|
|||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_STATE_DESC="Allows the users in this group to update the state of the external source"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION="External Sources Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version external sources"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EMPTYSTATE_BUTTON_ADD="Add your first external source"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EMPTYSTATE_CONTENT="External sources of files"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EMPTYSTATE_TITLE="No external sources have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT="External Sources Export"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_EXPORT_DESC="Allows the users in this group to export export external sources"
|
||||
COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES_IMPORT="External Sources Import"
|
||||
|
@ -573,7 +563,6 @@ COM_SERMONDISTRIBUTOR_FILTER_SEARCH_PREACHERS="Search the preacher items. Prefix
|
|||
COM_SERMONDISTRIBUTOR_FILTER_SEARCH_SERIES_LIST="Search the series items. Prefix with ID: to search for an item by ID."
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SEARCH_SERMONS="Search the sermon items. Prefix with ID: to search for an item by ID."
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SEARCH_STATISTICS="Search the statistic items. Prefix with ID: to search for an item by ID."
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SELECT_ACCESS="Select Access"
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SELECT_ADMIN_VIEWS="Select Admin Views"
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SELECT_BUILD_OPTION="Select Build Option"
|
||||
COM_SERMONDISTRIBUTOR_FILTER_SELECT_DOWNLOAD_LINK_OPTION="Select Download Link Option"
|
||||
|
@ -626,6 +615,9 @@ COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
|
|||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version help documents"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EMPTYSTATE_BUTTON_ADD="Add your first help document"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EMPTYSTATE_CONTENT="The help documentation of this component"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EMPTYSTATE_TITLE="No help documents have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT="Help Documents Export"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
|
||||
COM_SERMONDISTRIBUTOR_HELP_DOCUMENTS_IMPORT="Help Documents Import"
|
||||
|
@ -749,13 +741,10 @@ COM_SERMONDISTRIBUTOR_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE="Package to import no
|
|||
COM_SERMONDISTRIBUTOR_IMPORT_UPDATE_DATA="Import Data"
|
||||
COM_SERMONDISTRIBUTOR_IMPORT_UPLOAD_BOTTON="Upload File"
|
||||
COM_SERMONDISTRIBUTOR_INACTIVE="Inactive"
|
||||
COM_SERMONDISTRIBUTOR_ISSUE="issue"
|
||||
COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_ACCESS="- Keep Original Access -"
|
||||
COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -"
|
||||
COM_SERMONDISTRIBUTOR_KEEP_ORIGINAL_STATE="- Keep Original State -"
|
||||
COM_SERMONDISTRIBUTOR_LAST_FEW_RELEASES_FROM_GITHUB_IS_LOADING="Last few releases from Github is loading"
|
||||
COM_SERMONDISTRIBUTOR_LAST_UPDATE="Last Update"
|
||||
COM_SERMONDISTRIBUTOR_LATEST_RELEASE="Latest Release"
|
||||
COM_SERMONDISTRIBUTOR_LICENSE="License"
|
||||
COM_SERMONDISTRIBUTOR_LISTING_INFO="Listing Info"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTING="Local Listing"
|
||||
|
@ -796,6 +785,9 @@ COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL="Local Listings Edit Url"
|
|||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_URL_DESC="Allows the users in this group to edit url of local listing"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION="Local Listings Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version local listings"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EMPTYSTATE_BUTTON_ADD="Add your first local listing"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EMPTYSTATE_CONTENT="Local Listing of files"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EMPTYSTATE_TITLE="No local listings have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT="Local Listings Export"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_EXPORT_DESC="Allows the users in this group to export export local listings"
|
||||
COM_SERMONDISTRIBUTOR_LOCAL_LISTINGS_IMPORT="Local Listings Import"
|
||||
|
@ -878,7 +870,6 @@ COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS_DESC="Allows
|
|||
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU="Manual Updater Submenu"
|
||||
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC="Allows the users in this group to submenu of Manual Updater"
|
||||
COM_SERMONDISTRIBUTOR_NEW="New"
|
||||
COM_SERMONDISTRIBUTOR_NEW_ISSUE="New Issue"
|
||||
COM_SERMONDISTRIBUTOR_NOTICE="Notice!"
|
||||
COM_SERMONDISTRIBUTOR_NOT_FOUND_OR_ACCESS_DENIED="Not found, or access denied."
|
||||
COM_SERMONDISTRIBUTOR_NO_ACCESS_GRANTED="No Access Granted!"
|
||||
|
@ -888,12 +879,6 @@ COM_SERMONDISTRIBUTOR_NO_FILES_LINKED_YET="No Files Linked Yet"
|
|||
COM_SERMONDISTRIBUTOR_NO_ID_FOUND_CAN_NOT_RESET_THE_UPDATE_STATUS="No id found, can not reset the update status!"
|
||||
COM_SERMONDISTRIBUTOR_NO_MANUAL_UPDATES_AVAILABLE="No Manual Updates Available"
|
||||
COM_SERMONDISTRIBUTOR_NUMBER_OF_FILES_LISTED="Number of Files Listed"
|
||||
COM_SERMONDISTRIBUTOR_ON_GITHUB="on Github"
|
||||
COM_SERMONDISTRIBUTOR_OPEN="Open"
|
||||
COM_SERMONDISTRIBUTOR_OPENED="opened"
|
||||
COM_SERMONDISTRIBUTOR_OPENED_THIS="opened this"
|
||||
COM_SERMONDISTRIBUTOR_OPEN_ON_GITHUB="Open on Github"
|
||||
COM_SERMONDISTRIBUTOR_OUT_OF_DATE="Out of date"
|
||||
COM_SERMONDISTRIBUTOR_PLEASE_ADD_FILES_TO_S="Please add files to (%s)"
|
||||
COM_SERMONDISTRIBUTOR_PLEASE_CHECK_AGAIN_LATER="Please check again later"
|
||||
COM_SERMONDISTRIBUTOR_PLEASE_CHECK_AGAIN_LATTER="Please check again latter."
|
||||
|
@ -927,6 +912,9 @@ COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE="Preachers Edit State"
|
|||
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the preacher"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION="Preachers Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version preachers"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EMPTYSTATE_BUTTON_ADD="Add your first preacher"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EMPTYSTATE_CONTENT="The Speakers/Preachers of the audio or video recordings."
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EMPTYSTATE_TITLE="No preachers have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT="Preachers Export"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_EXPORT_DESC="Allows the users in this group to export export preachers"
|
||||
COM_SERMONDISTRIBUTOR_PREACHERS_IMPORT="Preachers Import"
|
||||
|
@ -995,12 +983,9 @@ COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_HINT="http://www.example.com"
|
|||
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_LABEL="Website"
|
||||
COM_SERMONDISTRIBUTOR_PREACHER_WEBSITE_MESSAGE="Error! Please add website here."
|
||||
COM_SERMONDISTRIBUTOR_PUBLISHED="Published"
|
||||
COM_SERMONDISTRIBUTOR_RELEASED_THIS="released this"
|
||||
COM_SERMONDISTRIBUTOR_RESETTING_THE_UPDATE_STATUS_WAS_SUCCESSFUL="Resetting the update status was successful!"
|
||||
COM_SERMONDISTRIBUTOR_RESET_UPDATE_STATUS="Reset Update Status"
|
||||
COM_SERMONDISTRIBUTOR_RESET_UPDATE_STATUS_CAN_NOT_BE_DONE="Reset update status can not be done."
|
||||
COM_SERMONDISTRIBUTOR_RESPOND_TO_THIS_ISSUE_ON_GITHUB="Respond to this issue on Github"
|
||||
COM_SERMONDISTRIBUTOR_REVIEW_THIS_ISSUE_ON_GITHUB="Review this issue on Github"
|
||||
COM_SERMONDISTRIBUTOR_SAVE_SUCCESS="Great! Item successfully saved."
|
||||
COM_SERMONDISTRIBUTOR_SAVE_WARNING="The value already existed so please select another."
|
||||
COM_SERMONDISTRIBUTOR_SELECT_AN_ADMIN_VIEW="Select an admin view"
|
||||
|
@ -1053,6 +1038,9 @@ COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE="Series List Edit State"
|
|||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_STATE_DESC="Allows the users in this group to update the state of the series"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION="Series List Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version series list"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EMPTYSTATE_BUTTON_ADD="Add your first series"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EMPTYSTATE_CONTENT="Bundle a number of things of a similar kind or related nature coming one after another."
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EMPTYSTATE_TITLE="No series list have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT="Series List Export"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_EXPORT_DESC="Allows the users in this group to export export series list"
|
||||
COM_SERMONDISTRIBUTOR_SERIES_LIST_IMPORT="Series List Import"
|
||||
|
@ -1127,6 +1115,9 @@ COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE="Sermons Edit State"
|
|||
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the sermon"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION="Sermons Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version sermons"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EMPTYSTATE_BUTTON_ADD="Add your first sermon"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EMPTYSTATE_CONTENT="The Sermon details of the audio or video recordings."
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EMPTYSTATE_TITLE="No sermons have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EXPORT="Sermons Export"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_EXPORT_DESC="Allows the users in this group to export export sermons"
|
||||
COM_SERMONDISTRIBUTOR_SERMONS_IMPORT="Sermons Import"
|
||||
|
@ -1264,6 +1255,9 @@ COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE="Statistics Edit State"
|
|||
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_STATE_DESC="Allows the users in this group to update the state of the statistic"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION="Statistics Edit Version"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version statistics"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EMPTYSTATE_BUTTON_ADD="Add your first statistic"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EMPTYSTATE_CONTENT="The data on each file's statistics"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EMPTYSTATE_TITLE="No statistics have been created yet."
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT="Statistics Export"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_EXPORT_DESC="Allows the users in this group to export export statistics"
|
||||
COM_SERMONDISTRIBUTOR_STATISTICS_IMPORT="Statistics Import"
|
||||
|
@ -1346,7 +1340,6 @@ COM_SERMONDISTRIBUTOR_THE_README_IS_LOADING="The readme is loading"
|
|||
COM_SERMONDISTRIBUTOR_THE_UPDATE_IS_RUNNING="The update is running."
|
||||
COM_SERMONDISTRIBUTOR_THE_WIKI_IS_LOADING="The wiki is loading"
|
||||
COM_SERMONDISTRIBUTOR_THIS_SOURCE_HAS_NO_LOCAL_LISTING_SET="This source has no local listing set."
|
||||
COM_SERMONDISTRIBUTOR_TOTAL_DOWNLOADS="total downloads"
|
||||
COM_SERMONDISTRIBUTOR_TRASHED="Trashed"
|
||||
COM_SERMONDISTRIBUTOR_TRASHED_ITEMS="Trashed items"
|
||||
COM_SERMONDISTRIBUTOR_TRASH_AREA="Trash Area"
|
||||
|
@ -1359,13 +1352,10 @@ COM_SERMONDISTRIBUTOR_TYPE_SERMON="Sermon"
|
|||
COM_SERMONDISTRIBUTOR_TYPE_STATISTIC="Statistic"
|
||||
COM_SERMONDISTRIBUTOR_UNKNOWN_ERROR_HAS_OCCURRED="Unknown error has occurred."
|
||||
COM_SERMONDISTRIBUTOR_UPDATE_LOCAL_LINKS_OF_TARGET_S_EXTERNAL_SOURCE="Update Local Links of (target %s) External Source"
|
||||
COM_SERMONDISTRIBUTOR_UP_TO_DATE="Up to date"
|
||||
COM_SERMONDISTRIBUTOR_USE_BATCH="Use Batch"
|
||||
COM_SERMONDISTRIBUTOR_USE_BATCH_DESC="Allows users in this group to use batch copy/update method."
|
||||
COM_SERMONDISTRIBUTOR_VERSION="Version"
|
||||
COM_SERMONDISTRIBUTOR_VIEW_ERROR="View Error!"
|
||||
COM_SERMONDISTRIBUTOR_VIEW_MORE_ISSUES_ON_GITHUB="View more issues on Github"
|
||||
COM_SERMONDISTRIBUTOR_VIEW_MORE_RELEASES_ON_GITHUB="View more releases on Github"
|
||||
COM_SERMONDISTRIBUTOR_VIEW_UPDATE_STATUS="View Update Status"
|
||||
COM_SERMONDISTRIBUTOR_WEBSITE="Website"
|
||||
COM_SERMONDISTRIBUTOR_YOU_ARE_CURRENTLY_VIEWING_THE_TRASHED_ITEMS="You are currently viewing the trashed items."
|
||||
|
|
|
@ -120,13 +120,15 @@ COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS="Manual Upda
|
|||
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_EXTERNAL_SOURCES_BUTTON_ACCESS_DESC="Allows the users in this group to access the external sources button."
|
||||
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU="Manual Updater Submenu"
|
||||
COM_SERMONDISTRIBUTOR_MANUAL_UPDATER_SUBMENU_DESC="Allows the users in this group to submenu of Manual Updater"
|
||||
COM_SERMONDISTRIBUTOR_MENU="» Sermon Distributor"
|
||||
COM_SERMONDISTRIBUTOR_MENU="Sermon Distributor"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORIES_DESC="All categories that are published"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORIES_OPTION="Categories"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORIES_TITLE="Categories"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORY_DESC="A category that is published"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORY_OPTION="Category"
|
||||
COM_SERMONDISTRIBUTOR_MENU_CATEGORY_TITLE="Category"
|
||||
COM_SERMONDISTRIBUTOR_MENU_DASHBOARD="Dashboard"
|
||||
COM_SERMONDISTRIBUTOR_MENU_MANUAL_UPDATER="Manual Updater"
|
||||
COM_SERMONDISTRIBUTOR_MENU_PREACHERS="Preachers"
|
||||
COM_SERMONDISTRIBUTOR_MENU_PREACHERS_DESC="All preachers that are published"
|
||||
COM_SERMONDISTRIBUTOR_MENU_PREACHERS_OPTION="Preachers"
|
||||
|
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
____ ____ __ __ __
|
||||
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
||||
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
||||
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
||||
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
||||
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
||||
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
||||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage batchselection.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
A sermon distributor that links to Dropbox.
|
||||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
JHtmlBehavior::core();
|
||||
$divWrapper = range(1,120,2);
|
||||
$counter = 0;
|
||||
?>
|
||||
<?php if ($displayData->ListSelection) : ?>
|
||||
<div class="row-fluid">
|
||||
<?php foreach ($displayData->ListSelection as $ListSelection) : ?>
|
||||
<div class="control-group span6">
|
||||
<div class="controls">
|
||||
<label for="<?php echo $ListSelection['name']; ?>" class="element-invisible"><?php echo $ListSelection['label']; ?></label>
|
||||
<select name="<?php echo $ListSelection['name']; ?>" id="<?php echo $ListSelection['name']; ?>" class="span12 small">
|
||||
<?php if (!$ListSelection['noDefault']) : ?>
|
||||
<option value=""><?php echo $ListSelection['label']; ?></option>
|
||||
<?php endif; ?>
|
||||
<?php echo $ListSelection['options']; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (in_array($counter,$divWrapper)) : ?>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<?php endif; ?>
|
||||
<?php $counter++; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="control-group radio" id="batch-move-copy">
|
||||
<div class="controls">
|
||||
<label class="radio" id="batch[move_copy]c-lbl" for="batch[move_copy]c">
|
||||
<input type="radio" value="c" id="batch[move_copy]c" name="batch[move_copy]"><?php echo Text::_('Copy'); ?></label>
|
||||
<label class="radio" id="batch[move_copy]m-lbl" for="batch[move_copy]m">
|
||||
<input type="radio" checked="checked" value="m" id="batch[move_copy]m" name="batch[move_copy]"><?php echo Text::_('Update'); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage build_option_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'description',
|
||||
'externalsources'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_under.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,20 +38,28 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'not_required'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publlshing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'title',
|
||||
'alias'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_under.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,20 +38,28 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'not_required'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage metadata.php
|
||||
|
@ -22,11 +22,11 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// JLayout for standard handling of metadata fields in the administrator content edit screens.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'name',
|
||||
'size'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publlshing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'name',
|
||||
'alias'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage metadata.php
|
||||
|
@ -22,11 +22,11 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// JLayout for standard handling of metadata fields in the administrator content edit screens.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage sermons_fullwidth.php
|
||||
|
@ -22,18 +22,19 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||
use VDM\Joomla\Utilities\StringHelper;
|
||||
use VDM\Joomla\Utilities\ArrayHelper;
|
||||
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\StringHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vvvsermons;
|
||||
$user = Factory::getUser();
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -71,34 +72,34 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
</div><br /><br />
|
||||
<?php endif; ?>
|
||||
<?php if (ArrayHelper::check($items)): ?>
|
||||
<table class="footable table data sermons metro-blue" data-page-size="20" data-filter="#filter_sermons">
|
||||
<table class="footable table data sermons" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-toggle="true">
|
||||
<th data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_NAME_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_PREACHER_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SERIES_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SERMONS_CATEGORIES'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="all">
|
||||
<th data-breakpoints="all" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SOURCE_LABEL'); ?>
|
||||
</th>
|
||||
<th width="10" data-hide="phone,tablet">
|
||||
<th width="10" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_STATUS'); ?>
|
||||
</th>
|
||||
<th width="5" data-type="numeric" data-hide="phone,tablet">
|
||||
<th width="5" data-type="number" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_ID'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
|
@ -107,7 +108,9 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
<?php foreach ($items as $i => $item): ?>
|
||||
<?php
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
|
||||
$userChkOut = Factory::getUser($item->checked_out);
|
||||
$userChkOut = Factory::getContainer()->
|
||||
get(\Joomla\CMS\User\UserFactoryInterface::class)->
|
||||
loadUserById($item->checked_out);
|
||||
$canDo = SermondistributorHelper::getActions('sermon',$item,'sermons');
|
||||
?>
|
||||
<tr>
|
||||
|
@ -148,25 +151,25 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
<?php echo Text::_($item->source); ?>
|
||||
</td>
|
||||
<?php if ($item->published == 1): ?>
|
||||
<td class="center" data-value="1">
|
||||
<td class="center" data-sort-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 0): ?>
|
||||
<td class="center" data-value="2">
|
||||
<td class="center" data-sort-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 2): ?>
|
||||
<td class="center" data-value="3">
|
||||
<td class="center" data-sort-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == -2): ?>
|
||||
<td class="center" data-value="4">
|
||||
<td class="center" data-sort-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
|
||||
</span>
|
||||
|
@ -178,13 +181,6 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot class="hide-if-no-paging">
|
||||
<tr>
|
||||
<td colspan="9">
|
||||
<div class="pagination pagination-centered"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-no-items">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'name',
|
||||
'alias'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage metadata.php
|
||||
|
@ -22,11 +22,11 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// JLayout for standard handling of metadata fields in the administrator content edit screens.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage sermons_fullwidth.php
|
||||
|
@ -22,18 +22,19 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||
use VDM\Joomla\Utilities\StringHelper;
|
||||
use VDM\Joomla\Utilities\ArrayHelper;
|
||||
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\StringHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vwcsermons;
|
||||
$user = Factory::getUser();
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
$edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit";
|
||||
|
@ -66,34 +67,34 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo Text::_('COM_SERMONDISTRIBUTOR_NEW'); ?></a><br /><br />
|
||||
<?php endif; ?>
|
||||
<?php if (ArrayHelper::check($items)): ?>
|
||||
<table class="footable table data sermons metro-blue" data-page-size="20" data-filter="#filter_sermons">
|
||||
<table class="footable table data sermons" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-toggle="true">
|
||||
<th data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_NAME_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_PREACHER_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SERIES_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SHORT_DESCRIPTION_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SERMONS_CATEGORIES'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_LINK_TYPE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="all">
|
||||
<th data-breakpoints="all" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_SOURCE_LABEL'); ?>
|
||||
</th>
|
||||
<th width="10" data-hide="phone,tablet">
|
||||
<th width="10" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_STATUS'); ?>
|
||||
</th>
|
||||
<th width="5" data-type="numeric" data-hide="phone,tablet">
|
||||
<th width="5" data-type="number" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_SERMON_ID'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
|
@ -102,7 +103,9 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
<?php foreach ($items as $i => $item): ?>
|
||||
<?php
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
|
||||
$userChkOut = Factory::getUser($item->checked_out);
|
||||
$userChkOut = Factory::getContainer()->
|
||||
get(\Joomla\CMS\User\UserFactoryInterface::class)->
|
||||
loadUserById($item->checked_out);
|
||||
$canDo = SermondistributorHelper::getActions('sermon',$item,'sermons');
|
||||
?>
|
||||
<tr>
|
||||
|
@ -143,25 +146,25 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
<?php echo Text::_($item->source); ?>
|
||||
</td>
|
||||
<?php if ($item->published == 1): ?>
|
||||
<td class="center" data-value="1">
|
||||
<td class="center" data-sort-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 0): ?>
|
||||
<td class="center" data-value="2">
|
||||
<td class="center" data-sort-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 2): ?>
|
||||
<td class="center" data-value="3">
|
||||
<td class="center" data-sort-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == -2): ?>
|
||||
<td class="center" data-value="4">
|
||||
<td class="center" data-sort-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
|
||||
</span>
|
||||
|
@ -173,13 +176,6 @@ $can = SermondistributorHelper::getActions('sermon');
|
|||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot class="hide-if-no-paging">
|
||||
<tr>
|
||||
<td colspan="9">
|
||||
<div class="pagination pagination-centered"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-no-items">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,22 +38,30 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'name',
|
||||
'alias',
|
||||
'preacher'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_under.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'not_required',
|
||||
'auto_sermons'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage files_fullwidth.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage metadata.php
|
||||
|
@ -22,11 +22,11 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// JLayout for standard handling of metadata fields in the administrator content edit screens.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage publishing.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage stastics_fullwidth.php
|
||||
|
@ -22,18 +22,19 @@
|
|||
|
||||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper as Html;
|
||||
use VDM\Joomla\Utilities\StringHelper;
|
||||
use VDM\Joomla\Utilities\ArrayHelper;
|
||||
use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\StringHelper;
|
||||
use TrueChristianChurch\Joomla\Utilities\ArrayHelper;
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vwbstastics;
|
||||
$user = Factory::getUser();
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
$edit = "index.php?option=com_sermondistributor&view=statistics&task=statistic.edit";
|
||||
|
@ -59,28 +60,28 @@ else
|
|||
?>
|
||||
<div class="form-vertical">
|
||||
<?php if (ArrayHelper::check($items)): ?>
|
||||
<table class="footable table data statistics metro-blue" data-page-size="20" data-filter="#filter_statistics">
|
||||
<table class="footable table data statistics" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-toggle="true">
|
||||
<th data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_FILENAME_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_SERMON_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_PREACHER_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_SERIES_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_COUNTER_LABEL'); ?>
|
||||
</th>
|
||||
<th width="10" data-hide="phone,tablet">
|
||||
<th width="10" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_STATUS'); ?>
|
||||
</th>
|
||||
<th width="5" data-type="numeric" data-hide="phone,tablet">
|
||||
<th width="5" data-type="number" data-breakpoints="xs sm md">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_STATISTIC_ID'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
|
@ -89,7 +90,9 @@ else
|
|||
<?php foreach ($items as $i => $item): ?>
|
||||
<?php
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
|
||||
$userChkOut = Factory::getUser($item->checked_out);
|
||||
$userChkOut = Factory::getContainer()->
|
||||
get(\Joomla\CMS\User\UserFactoryInterface::class)->
|
||||
loadUserById($item->checked_out);
|
||||
$canDo = SermondistributorHelper::getActions('statistic',$item,'statistics');
|
||||
?>
|
||||
<tr>
|
||||
|
@ -124,25 +127,25 @@ else
|
|||
<?php echo $displayData->escape($item->counter); ?>
|
||||
</td>
|
||||
<?php if ($item->published == 1): ?>
|
||||
<td class="center" data-value="1">
|
||||
<td class="center" data-sort-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_PUBLISHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 0): ?>
|
||||
<td class="center" data-value="2">
|
||||
<td class="center" data-sort-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_INACTIVE'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 2): ?>
|
||||
<td class="center" data-value="3">
|
||||
<td class="center" data-sort-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_ARCHIVED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == -2): ?>
|
||||
<td class="center" data-value="4">
|
||||
<td class="center" data-sort-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>">
|
||||
<?php echo Text::_('COM_SERMONDISTRIBUTOR_TRASHED'); ?>
|
||||
</span>
|
||||
|
@ -154,13 +157,6 @@ else
|
|||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot class="hide-if-no-paging">
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
<div class="pagination pagination-centered"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-no-items">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_above.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
@ -38,21 +38,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
|
|||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
$fields = $displayData->get($fields_tab_layout) ?: [
|
||||
'filename',
|
||||
'sermon'
|
||||
);
|
||||
];
|
||||
|
||||
// Ensure $fields is treated as an array and count its size.
|
||||
$size = count((array) $fields);
|
||||
|
||||
// Use a ternary operator to determine the class.
|
||||
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
|
||||
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
|
||||
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: [];
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<div class="row title-alias form-vertical mb-3">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_left.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/------------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.0.x
|
||||
@version 5.0.x
|
||||
@created 22nd October, 2015
|
||||
@package Sermon Distributor
|
||||
@subpackage details_right.php
|
||||
|
@ -23,7 +23,7 @@
|
|||
/----------------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user