diff --git a/src/media/css/gable.css b/src/media/css/gable.css deleted file mode 100644 index 9939d25..0000000 --- a/src/media/css/gable.css +++ /dev/null @@ -1,556 +0,0 @@ -@charset "UTF-8"; -/* Copyright (C) 2025 Moko Consulting - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: Moko-Cassiopeia - PATH: ./media/templates/site/moko-cassiopeia/css/gable.css - VERSION: 03.05.00 - BRIEF: Stylesheet providing gable-specific layout and design rules for Moko-Cassiopeia - */ - -:root { - --gab-blue: transparent; - --gab-green: #7ac143; - --gab-red: #3f8ff0; - --gab-orange: #F9A541; - --gab-gray1: #DDDDDD; - --gab-gray2: #AAAAAA; - --gab-gray3: #777777; -} - -code { - background-color: var(--gab-gray1); -} - -#view_gabble { - background-color: var(--gab-blue); - padding: 6px; - border-radius: 6px; -} - -#mod_gabble { - background-color: var(--gab-blue); - padding: 3px; - border-radius: 6px; -} - -#lists_gabble { - position: relative; - height: 100%; - border: 4px solid var(--gab-red); - background-color: var(--gab-green); - padding: 4px; - border-radius: 6px; -} - -#select_list { - margin-left: 0px; - width: 100%; - padding: 4px; - border-radius: 6px 6px 0px 0px; -} - -#options_list { - width: 100%; - padding: 4px; -} - -#frame_list { - width: 100%; - height: 484px; - padding: 4px; - border-radius: 0px 0px 6px 6px; -} - -#windows_list { - margin-left: 0px; - width: 100%; - border: 4px solid var(--gab-red); - background-color: var(--gab-green); - padding: 4px; - border-radius: 6px; -} - -#frame_window { - width: 100%; -} - -#openai_btn { - position: absolute; - right: 10px; - bottom: 10px; - visibility: hidden; - width: 34px; - height: 34px; - cursor: pointer; - border: 3px solid var(--gab-gray3); - background-color: #FFF; - border-radius: 17px; -} - -#openai_btn:hover { - width: 36px; - height: 36px; - border: 3px solid var(--gab-gray3); - border-radius: 18px; -} - -#openai_logo_anim { - position: absolute; - top: 15px; - right: 15px; - width: 35px; - height: 35px; - padding: 2px; - z-index: 1; - border-radius: 10px; -} - -.openai_logo_sm { - width: 22px; - height: 22px; - background-color: #FFF; - border: 3px solid #FFF; - border-radius: 11px; -} - -.openai_logo_md { - width: 34px; - height: 34px; - background-color: #FFF; - border: 4px solid #FFF; - border-radius: 17px; -} - -.btn_on_com { - position: absolute; - bottom: -2px; - left: -2px; - width: 12px; - height: 12px; - background-color: #448344; - border-radius: 6px; -} - -.btn_on_mod { - position: absolute; - top: 0px; - left: 0px; - width: 12px; - height: 12px; - background-color: #448344; - border-radius: 6px; -} - -.button_list { - border: none; - width:100%; - outline: none; - background-color: var(--gab-gray1); - padding: 6px; - border-radius: 6px; -} - -.button_list:hover { - background-color: var(--gab-gray2); -} - -.button_list_s { - border: none; - width: 100%; - outline: none; - cursor: pointer; - color: #FFF; - background-color: var(--gab-red); - padding: 6px; - border-radius: 6px; -} - -.window_list { - position: relative; - margin: 4px; - width: 100%; - border: none; - outline: none; - cursor: pointer; - text-align: left; - background-color: var(--gab-gray1); - padding: 6px; - border-radius: 6px; -} - -.window_list:hover { - background-color: var(--gab-gray2); -} - -.window_list_s { - position: relative; - margin: 4px; - width: 100%; - border: none; - outline: none; - cursor: pointer; - text-align: left; - color: #FFF; - background-color: var(--gab-red); - padding: 6px; - border-radius: 6px; -} - -.btn_close { - position: absolute; - right: 4px; - top: 10px; - padding-left: 1px; - width: 16px; - height: 16px; - color: #000; - font-size: 10px; - text-align: center; - background-color: var(--gab-gray2); - border-radius: 8px; -} - -.btn_close:hover { - background-color: var(--gab-gray3); -} - -.iframe_list { - width: 100%; - height: 100%; - background-color: #FFF; - border: 4px solid var(--gab-red); - border-radius: 6px; -} - -.iframe_messages { - width: 100%; - height: 100%; - background-color: #FFF; - border: 4px solid var(--gab-red); - border-radius: 6px; -} - -.input_box { - position: relative; -} - -.input_emoji { - position: absolute; - right: 48px; - top: 11px; - cursor: pointer; - color: var(--gab-gray2); -} - -.input_emoji:hover { - color: var(--gab-gray3); -} - -.emoji { - display: inline-block; - float: left; - cursor: pointer; - padding: 2px; - background-color: #FFF; -} - -.emoji:hover { - background-color: var(--gab-orange); -} - -.emojis_div { - position: absolute; - top: -92px; - right: 0px; - width: 200px; - height: 92px; - border: 4px solid var(--gab-red); - background-color: var(--gab-gray1); - border-radius: 6px; -} - -.msg-button-on { - margin-left: 5px; - width: 30px; - height: 30px; - font-size: 20px; - text-align: center; - color: #FFF; - background-color: var(--gab-orange); - border-radius: 15px; -} - -.msg-button-off { - margin-left: 5px; - width: 30px; - height: 30px; - font-size: 20px; - text-align: center; - color: #FFF; - background-color: var(--gab-gray2); - border-radius: 15px; -} - -.taba-content { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -.msg-input { - padding-left: 10px; - padding-right: 26px; - width: calc(100% - 35px); - height: 30px; - border-radius: 15px; -} - -.main-windows { - position: fixed; - margin-bottom: 10px; - bottom: 0px; - right: 90px; - z-index: 901; -} - -.list-windows { - position: fixed; - bottom: 0px; - right: 0px; - width: 50px; - margin-bottom: 20px; - margin-right: 20px; - z-index: 901; -} - -.item-list { - display: inline-block; - color: #F5F5F5; - margin-top: 5px; - width: 50px; - height: 50px; - font-size: 30px; - text-align: center; - border: 3px solid var(--gab-red); - background-color: var(--gab-blue); - border-radius: 25px; -} - -.button { - opacity: 1; -} - -.button:hover { - cursor: pointer; - opacity: .6; -} - -.notifications { - position: relative; -} - -.n-notifications { - position: absolute; - bottom: -6px; - right: -2px; - width: 18px; - height: 18px; - color: #FFF; - font-size: 11px; - font-weight: bold; - text-align: center; - background-color: #a51f18; - border-radius: 9px; -} - -.m-notifications { - position: absolute; - top: -6px; - right: -2px; - width: 18px; - height: 18px; - color: #FFF; - font-size: 11px; - font-weight: bold; - text-align: center; - background-color: #a51f18; - border-radius: 9px; -} - -.window { - display: inline-block; - margin-left: 8px; - width: 280px; - height: 420px; -} - -.window-com { - margin-top: 6px; - width: 100%; - height: 480px; -} - -.window-title { - margin-left: 5px; - display: inline-block; - color: #FFF; -} - -.window-title-com { - margin-left: 5px; - display: inline-block; - color: #000; -} - -.window-icon { - display: inline-block; - color: #FFF; -} - -.window-header { - padding: 6px; - width: 100%; - height: 40px; - background-color: var(--gab-blue); - border-radius: 8px 8px 0px 0px; -} - -.window-header-com { - padding: 4px; - width: 100%; - height: 35px; - background-color: var(--gab-red); - border-radius: 8px 8px 0px 0px; -} - -.window-content { - position: relative; - display: block; - width: 100%; - height: calc(100% - 80px); - background-color: #DDD; -} - -.content-footer { - position: relative; - padding: 5px; - width: 100%; - height: 40px; - background-color: #DDD; - border-radius: 0px 0px 8px 8px; -} - -.taba-btn { - text-align: center; - display: inline-block; - margin-left: 5px; - float: right; - width: 24px; - height: 24px; - background-color: #DDD; - border-radius: 12px; -} - -.taba-hover { - cursor: pointer; - opacity: 1; -} - -.taba-hover:hover { - opacity: 0.6; -} - -.taba-self { - border: 1px solid #FFF; - background-color: #7ac143; - padding: 6px; - padding-top: 9px; - border-radius: 10px; -} - -.taba-others { - border: 1px solid #FFF; - background-color: #5091cd; - padding: 6px; - padding-top: 9px; - border-radius: 10px; -} - - - -.taba-bot { - border: 1px solid #FFF; - background-color: var(--gab-gray3); - padding: 6px; - padding-top: 9px; - border-radius: 10px; -} - -.taba-dice { - border: 1px solid #FFF; - background-color: #f44321; - padding: 6px; - border-radius: 10px; -} - -.taba-emoji { - border: 1px solid #FFF; - background-color: #5091cd; - padding: 6px; - border-radius: 10px; -} - -.taba-user { - border: 1px solid #FFF; - background-color: #FFF; - padding: 6px; - border-radius: 6px; - word-wrap: break-word; -} - -.taba-user-on { - border: 1px solid #FFF; - background-color: var(--gab-green); - padding: 6px; - border-radius: 8px; -} - -.taba-feed { - border: 1px solid #FFF; - background-color: var(--gab-blue); - padding: 6px; - border-radius: 8px; -} - -.openai_error { - border: 1px solid #FFF; - background-color: var(--gab-red); - padding: 6px; - border-radius: 8px; -} - -.taba-msgsystem { - border: 1px solid #FFF; - background-color: #AAA; - padding: 6px; - border-radius: 10px; -} - -.taba-msghead { - background-color: #f5f5f5; - padding: 4px; - padding-left: 10px; - padding-right: 6px; - border-radius: 6px 6px 0px 0px; -} - -.taba-msg { - background-color: #f5f5f5; - padding: 8px; - border-radius: 0px 8px 8px 8px; - word-wrap: break-word; -} diff --git a/src/media/css/global/social-media-demo.css b/src/media/css/global/social-media-demo.css deleted file mode 100644 index 40a3357..0000000 --- a/src/media/css/global/social-media-demo.css +++ /dev/null @@ -1,222 +0,0 @@ -@charset "UTF-8"; -/* Copyright (C) 2025 Moko Consulting - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: Moko-Cassiopeia - PATH: ./media/templates/site/moko-cassiopeia/css/global/social-media-demo.css - VERSION: 03.05.00 - BRIEF: Demo styles for showcasing social media elements in Moko-Cassiopeia template - */ - -/* -====================================================================== -Social Media Demo — FULL CSS (Joomla-safe, fully scoped) -Scope: All selectors prefixed with .social-media-demo to avoid leakage -Usage: Wrap your article markup in -Version: 2.0 (2025-08-23) - -How it’s organized: - 1) Container-level CSS variables (IMAGES ONLY). Colors are hard-coded per brand below. - 2) Base/layout styles (sections, header shell, placeholders, buttons). - 3) Platform brand colors (hard-coded) and cover height tweaks. - 4) Image assignments (map classes like .fb-cover → variable --fb-cover-img). - -INSTRUCTIONS: - - Save the images in their requried sizes into the [SITEROOT]/images/social/ folder with the exact names. - - For circle images, sue a square image t fille the entire space - - All images are center and miiddle aligned when loaded. -====================================================================== -REQUIRED IMAGE SIZES — Social Media Demo Wireframes - - Facebook - --fb-cover-img → Cover: 820×312 (desktop), 640×360 (mobile safe) - --fb-avatar-img → Profile: 176×176 (shown as circle, but use square image) - - Twitter / X - --x-cover-img → Header: 1500×500 - --x-avatar-img → Profile: up to 400×400 (shown as circle, but use square image) - - LinkedIn Company - --li-cover-img → Banner: ~1128×191 - --li-logo-img → Logo: up to 300×300 (rounded square) - - Google Business Profile - --gmb-cover-img → Banner: ~960×200 (mobile ~960×140) - --gmb-logo-img → Logo: up to 300×300 (shown as circle, but use square image) - - Instagram Business - --ig-cover-img → Not always visible, safe 1080×608 for highlight background - --ig-avatar-img → Profile: 320×320 (shown as circle, but use square image) - - YouTube Channel - --yt-cover-img → Channel art: 2560×1440 (safe area ~1546×423 center) - --yt-avatar-img → Channel icon: 800×800 (shown as circle, but use square image) - - TikTok Business - --tt-cover-img → Profile header: ~900×500 (safe area ~720×405) - --tt-avatar-img → Profile: 200×200 (shown as circle, but use square image) - - Pinterest Business - --pin-cover-img → Board/brand banner: ~800×450 - --pin-avatar-img → Profile: 165×165 (shown as circle, but use square image) - - Snapchat Public Profile - --sc-cover-img → Banner: ~1080×1920 (stories/poster) - --sc-avatar-img → Bitmoji/Profile: 320×320 (shown as circle, but use square image) - - Reddit Community - --rd-cover-img → Banner: 1920×384 - --rd-avatar-img → Community icon: 256×256 (shown as circle, but use square image) - ====================================================================== */ - -/* Container variables — IMAGES ONLY (safe-scoped) */ -.social-media-demo { - --fb-cover-img: url('../../../../../image/social/fb-cover.jpg'); - --fb-avatar-img: url('../../../../../image/social/fb-avatar.jpg'); - - --x-cover-img: url('../../../../../image/social/x-cover.jpg'); - --x-avatar-img: url('../../../../../image/social/x-avatar.jpg'); - - --li-cover-img: url('../../../../../image/social/li-cover.jpg'); - --li-logo-img: url('../../../../../image/social/li-logo.jpg'); - - --gmb-cover-img: url('../../../../../image/social/gmb-cover.jpg'); - --gmb-logo-img: url('../../../../../image/social/gmb-logo.jpg'); - - --ig-cover-img: url('../../../../../image/social/ig-cover.jpg'); - --ig-avatar-img: url('../../../../../image/social/ig-avatar.jpg'); - - --yt-cover-img: url('../../../../../image/social/yt-cover.jpg'); - --yt-avatar-img: url('../../../../../image/social/yt-avatar.jpg'); - - --tt-cover-img: url('../../../../../image/social/tt-cover.jpg'); - --tt-avatar-img: url('../../../../../image/social/tt-avatar.jpg'); - - --pin-cover-img: url('../../../../../image/social/pin-cover.jpg'); - --pin-avatar-img: url('../../../../../image/social/pin-avatar.jpg'); - - --sc-cover-img: url('../../../../../image/social/sc-cover.jpg'); - --sc-avatar-img: url('../../../../../image/social/sc-avatar.jpg'); - - --rd-cover-img: url('../../../../../image/social/rd-cover.jpg'); - --rd-avatar-img: url('../../../../../image/social/rd-avatar.jpg'); -} - -/* DO NOT TOUCH */ -.social-media-demo * { box-sizing: border-box; } -.social-media-demo section { margin: 24px auto; max-width: 1128px; background: #fff; border: 1px solid #d9dee3; border-radius: 12px; overflow: hidden; } -.social-media-demo section h2 { margin: 0; padding: 12px 16px; background: #f9fafb; border-bottom: 1px solid #d9dee3; font-size: 16px; font-weight: 800; color: #111; } -.social-media-demo .preview { padding: 16px; } - -/* Header shell */ -.social-media-demo .header { position: relative; border: 1px solid #d9dee3; border-radius: 12px; overflow: hidden; background: #fff; } -.social-media-demo .cover { position: relative; width: 100%; height: 200px; background-size: cover; background-position: center; background-color: #e8edf3; } -.social-media-demo .avatar-wrap { position: absolute; left: 16px; bottom: -48px; } -.social-media-demo .avatar, -.social-media-demo .logo { width: 160px; height: 160px; border: 4px solid #fff; background-size: cover; background-position: center; overflow: hidden; } -.social-media-demo .avatar.shown as circle, but use square image { border-radius: 999px; } -.social-media-demo .logo.rounded { border-radius: 16px; } - -/* Meta */ -.social-media-demo .meta { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 16px; padding-top: 56px; } -.social-media-demo .name { font-size: 22px; font-weight: 800; color: #111; } -.social-media-demo .subline { font-size: 13px; color: #666; } - -/* Buttons */ -.social-media-demo .btn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #d9dee3; background: #fff; font-weight: 700; color: #111; } -.social-media-demo .btn.primary { color: #fff; border-color: transparent; } - -/* Placeholder visuals (used until you swap in real images) */ -.social-media-demo .placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; text-align: center; font-weight: 600; color: #6b7280; background: repeating-linear-gradient(45deg,#f6f7f9 0 12px,#eef0f3 12px 24px); border: 1px dashed #cfd3d8; } -.social-media-demo .placeholder .dims { position: absolute; bottom: 8px; right: 8px; font-size: 12px; opacity: .85; } - -/* 3) Platform brand colors & cover height tweaks (hard-coded colors on purpose) */ -/* Facebook */ -.social-media-demo #fb .btn.primary { background: #1877F2; } -.social-media-demo #fb .cover { height: 312px; } -@media (max-width: 480px) { .social-media-demo #fb .cover { height: 360px; } } - -/* Twitter / X */ -.social-media-demo #x .btn.primary { background: #1D9BF0; } -.social-media-demo #x .cover { height: 200px; background-color: #22303C; } -@media (max-width: 480px) { .social-media-demo #x .cover { height: 160px; } } - -/* LinkedIn */ -.social-media-demo #li .btn.primary { background: #0A66C2; } -.social-media-demo #li .cover { height: 220px; background-color: #e6edf5; } -@media (max-width: 480px) { .social-media-demo #li .cover { height: 160px; } } - -/* Google Business Profile */ -.social-media-demo #gmb .btn.primary { background: #4285F4; } -.social-media-demo #gmb .cover { height: 200px; } -@media (max-width: 480px) { .social-media-demo #gmb .cover { height: 140px; } } - -/* Instagram Business */ -.social-media-demo #ig .btn.primary { background: #E1306C; } -.social-media-demo #ig .cover { height: 200px; } - -/* YouTube Channel */ -.social-media-demo #yt .btn.primary { background: #FF0000; } -.social-media-demo #yt .cover { height: 180px; } - -/* TikTok Business */ -.social-media-demo #tt .btn.primary { background: #000000; color: #fff; } -.social-media-demo #tt .cover { height: 200px; } - -/* Pinterest Business */ -.social-media-demo #pin .btn.primary { background: #E60023; } -.social-media-demo #pin .cover { height: 200px; } - -/* Snapchat Public Profile */ -.social-media-demo #sc .btn.primary { background: #FFFC00; color: #000; } -.social-media-demo #sc .cover { height: 160px; } - -/* Reddit Community */ -.social-media-demo #rd .btn.primary { background: #FF4500; } -.social-media-demo #rd .cover { height: 180px; } - -/* 4) Image assignments — map classes to variables (swap vars to change images) */ -/* Facebook */ -.social-media-demo .fb-cover { background-image: var(--fb-cover-img); } -.social-media-demo .fb-avatar { background-image: var(--fb-avatar-img); } - -/* X */ -.social-media-demo .x-cover { background-image: var(--x-cover-img); } -.social-media-demo .x-avatar { background-image: var(--x-avatar-img); } - -/* LinkedIn */ -.social-media-demo .li-cover { background-image: var(--li-cover-img); } -.social-media-demo .li-logo { background-image: var(--li-logo-img); } - -/* Google Business */ -.social-media-demo .gmb-cover { background-image: var(--gmb-cover-img); } -.social-media-demo .gmb-logo { background-image: var(--gmb-logo-img); } - -/* Instagram */ -.social-media-demo .ig-cover { background-image: var(--ig-cover-img); } -.social-media-demo .ig-avatar { background-image: var(--ig-avatar-img); } - -/* YouTube */ -.social-media-demo .yt-cover { background-image: var(--yt-cover-img); } -.social-media-demo .yt-avatar { background-image: var(--yt-avatar-img); } - -/* TikTok */ -.social-media-demo .tt-cover { background-image: var(--tt-cover-img); } -.social-media-demo .tt-avatar { background-image: var(--tt-avatar-img); } - -/* Pinterest */ -.social-media-demo .pin-cover { background-image: var(--pin-cover-img); } -.social-media-demo .pin-avatar { background-image: var(--pin-avatar-img); } - -/* Snapchat */ -.social-media-demo .sc-cover { background-image: var(--sc-cover-img); } -.social-media-demo .sc-avatar { background-image: var(--sc-avatar-img); } - -/* Reddit */ -.social-media-demo .rd-cover { background-image: var(--rd-cover-img); } -.social-media-demo .rd-avatar { background-image: var(--rd-avatar-img); } diff --git a/src/media/vendor/afeld/bootstrap-toc.min.css b/src/media/vendor/afeld/bootstrap-toc.min.css deleted file mode 100644 index 3c62107..0000000 --- a/src/media/vendor/afeld/bootstrap-toc.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */nav[data-toggle=toc] .nav>li>a{display:block;padding:4px 20px;font-size:13px;font-weight:500;color:#767676}nav[data-toggle=toc] .nav>li>a:focus,nav[data-toggle=toc] .nav>li>a:hover{padding-left:19px;color:#563d7c;text-decoration:none;background-color:transparent;border-left:1px solid #563d7c}nav[data-toggle=toc] .nav-link.active,nav[data-toggle=toc] .nav-link.active:focus,nav[data-toggle=toc] .nav-link.active:hover{padding-left:18px;font-weight:700;color:#563d7c;background-color:transparent;border-left:2px solid #563d7c}nav[data-toggle=toc] .nav-link+ul{display:none;padding-bottom:10px}nav[data-toggle=toc] .nav .nav>li>a{padding-top:1px;padding-bottom:1px;padding-left:30px;font-size:12px;font-weight:400}nav[data-toggle=toc] .nav .nav>li>a:focus,nav[data-toggle=toc] .nav .nav>li>a:hover{padding-left:29px}nav[data-toggle=toc] .nav .nav>li>.active,nav[data-toggle=toc] .nav .nav>li>.active:focus,nav[data-toggle=toc] .nav .nav>li>.active:hover{padding-left:28px;font-weight:500}nav[data-toggle=toc] .nav-link.active+ul{display:block} \ No newline at end of file diff --git a/src/media/vendor/afeld/bootstrap-toc.min.js b/src/media/vendor/afeld/bootstrap-toc.min.js deleted file mode 100644 index 7f76b1c..0000000 --- a/src/media/vendor/afeld/bootstrap-toc.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ -!function(a){"use strict";window.Toc={helpers:{findOrFilter:function(e,t){var n=e.find(t);return e.filter(t).add(n).filter(":not([data-toc-skip])")},generateUniqueIdBase:function(e){return a(e).text().trim().replace(/\'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase()||e.tagName.toLowerCase()},generateUniqueId:function(e){for(var t=this.generateUniqueIdBase(e),n=0;;n++){var r=t;if(0')},createChildNavList:function(e){var t=this.createNavList();return e.append(t),t},generateNavEl:function(e,t){var n=a('');n.attr("href","#"+e),n.text(t);var r=a("
  • ");return r.append(n),r},generateNavItem:function(e){var t=this.generateAnchor(e),n=a(e),r=n.data("toc-text")||n.text();return this.generateNavEl(t,r)},getTopLevel:function(e){for(var t=1;t<=6;t++){if(1 - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: Moko-Cassiopeia - PATH: ./media/templates/site/moko-cassiopeia/css/vendor/choicesjs/choices.css - VERSION: 03.00.00 - BRIEF: Vendor stylesheet for Choices.js select and input enhancements in Moko-Cassiopeia - */ - -/* =============================== -= Choices = -=============================== */ -.choices { - position: relative; - overflow: hidden; - margin-bottom: 24px; - font-size: 16px; -} -.choices:focus { - outline: none; -} -.choices:last-child { - margin-bottom: 0; -} -.choices.is-open { - overflow: initial; -} -.choices.is-disabled .choices__inner, -.choices.is-disabled .choices__input { - background-color: #eaeaea; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.choices.is-disabled .choices__item { - cursor: not-allowed; -} -.choices [hidden] { - display: none !important; -} - -.choices[data-type*=select-one] { - cursor: pointer; -} -.choices[data-type*=select-one] .choices__inner { - padding-bottom: 7.5px; -} -.choices[data-type*=select-one] .choices__input { - display: block; - width: 100%; - padding: 10px; - border-bottom: 1px solid #ddd; - background-color: #fff; - margin: 0; -} -.choices[data-type*=select-one] .choices__button { - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg=="); - padding: 0; - background-size: 8px; - position: absolute; - top: 50%; - right: 0; - margin-top: -10px; - margin-right: 25px; - height: 20px; - width: 20px; - border-radius: 10em; - opacity: 0.25; -} -.choices[data-type*=select-one] .choices__button:hover, .choices[data-type*=select-one] .choices__button:focus { - opacity: 1; -} -.choices[data-type*=select-one] .choices__button:focus { - -webkit-box-shadow: 0 0 0 2px #00bcd4; - box-shadow: 0 0 0 2px #00bcd4; -} -.choices[data-type*=select-one] .choices__item[data-value=""] .choices__button { - display: none; -} -.choices[data-type*=select-one]::after { - content: ""; - height: 0; - width: 0; - border-style: solid; - border-color: #333 transparent transparent transparent; - border-width: 5px; - position: absolute; - right: 11.5px; - top: 50%; - margin-top: -2.5px; - pointer-events: none; -} -.choices[data-type*=select-one].is-open::after { - border-color: transparent transparent #333 transparent; - margin-top: -7.5px; -} -.choices[data-type*=select-one][dir=rtl]::after { - left: 11.5px; - right: auto; -} -.choices[data-type*=select-one][dir=rtl] .choices__button { - right: auto; - left: 0; - margin-left: 25px; - margin-right: 0; -} - -.choices[data-type*=select-multiple] .choices__inner, -.choices[data-type*=text] .choices__inner { - cursor: text; -} -.choices[data-type*=select-multiple] .choices__button, -.choices[data-type*=text] .choices__button { - position: relative; - display: inline-block; - margin-top: 0; - margin-right: -4px; - margin-bottom: 0; - margin-left: 8px; - padding-left: 16px; - border-left: 1px solid #008fa1; - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg=="); - background-size: 8px; - width: 8px; - line-height: 1; - opacity: 0.75; - border-radius: 0; -} -.choices[data-type*=select-multiple] .choices__button:hover, .choices[data-type*=select-multiple] .choices__button:focus, -.choices[data-type*=text] .choices__button:hover, -.choices[data-type*=text] .choices__button:focus { - opacity: 1; -} - -.choices__inner { - display: inline-block; - vertical-align: top; - width: 100%; - background-color: #f9f9f9; - padding: 7.5px 7.5px 3.75px; - border: 1px solid #ddd; - border-radius: 2.5px; - font-size: 14px; - min-height: 44px; - overflow: hidden; -} -.is-focused .choices__inner, .is-open .choices__inner { - border-color: #b7b7b7; -} -.is-open .choices__inner { - border-radius: 2.5px 2.5px 0 0; -} -.is-flipped.is-open .choices__inner { - border-radius: 0 0 2.5px 2.5px; -} - -.choices__list { - margin: 0; - padding-left: 0; - list-style: none; -} - -.choices__list--single { - display: inline-block; - padding: 4px 16px 4px 4px; - width: 100%; -} -[dir=rtl] .choices__list--single { - padding-right: 4px; - padding-left: 16px; -} -.choices__list--single .choices__item { - width: 100%; -} - -.choices__list--multiple { - display: inline; -} -.choices__list--multiple .choices__item { - display: inline-block; - vertical-align: middle; - border-radius: 20px; - padding: 4px 10px; - font-size: 12px; - font-weight: 500; - margin-right: 3.75px; - margin-bottom: 3.75px; - background-color: #00bcd4; - border: 1px solid #00a5bb; - color: #fff; - word-break: break-all; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} -.choices__list--multiple .choices__item[data-deletable] { - padding-right: 5px; -} -[dir=rtl] .choices__list--multiple .choices__item { - margin-right: 0; - margin-left: 3.75px; -} -.choices__list--multiple .choices__item.is-highlighted { - background-color: #00a5bb; - border: 1px solid #008fa1; -} -.is-disabled .choices__list--multiple .choices__item { - background-color: #aaaaaa; - border: 1px solid #919191; -} - -.choices__list--dropdown { - visibility: hidden; - z-index: 1; - position: absolute; - width: 100%; - background-color: #fff; - border: 1px solid #ddd; - top: 100%; - margin-top: -1px; - border-bottom-left-radius: 2.5px; - border-bottom-right-radius: 2.5px; - overflow: hidden; - word-break: break-all; - will-change: visibility; -} -.choices__list--dropdown.is-active { - visibility: visible; -} -.is-open .choices__list--dropdown { - border-color: #b7b7b7; -} -.is-flipped .choices__list--dropdown { - top: auto; - bottom: 100%; - margin-top: 0; - margin-bottom: -1px; - border-radius: 0.25rem 0.25rem 0 0; -} -.choices__list--dropdown .choices__list { - position: relative; - max-height: 300px; - overflow: auto; - -webkit-overflow-scrolling: touch; - will-change: scroll-position; -} -.choices__list--dropdown .choices__item { - position: relative; - padding: 10px; - font-size: 14px; -} -[dir=rtl] .choices__list--dropdown .choices__item { - text-align: right; -} -@media (min-width: 640px) { - .choices__list--dropdown .choices__item--selectable { - padding-right: 100px; - } - .choices__list--dropdown .choices__item--selectable::after { - content: attr(data-select-text); - font-size: 12px; - opacity: 0; - position: absolute; - right: 10px; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - } - [dir=rtl] .choices__list--dropdown .choices__item--selectable { - text-align: right; - padding-left: 100px; - padding-right: 10px; - } - [dir=rtl] .choices__list--dropdown .choices__item--selectable::after { - right: auto; - left: 10px; - } -} -.choices__list--dropdown .choices__item--selectable.is-highlighted { - background-color: #f2f2f2; -} -.choices__list--dropdown .choices__item--selectable.is-highlighted::after { - opacity: 0.5; -} - -.choices__item { - cursor: default; -} - -.choices__item--selectable { - cursor: pointer; -} - -.choices__item--disabled { - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 0.5; -} - -.choices__heading { - font-weight: 600; - font-size: 12px; - padding: 10px; - border-bottom: 1px solid #f7f7f7; - color: gray; -} - -.choices__button { - text-indent: -9999px; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - background-color: transparent; - background-repeat: no-repeat; - background-position: center; - cursor: pointer; -} -.choices__button:focus { - outline: none; -} - -.choices__input { - display: inline-block; - vertical-align: baseline; - background-color: #f9f9f9; - font-size: 14px; - margin-bottom: 5px; - border: 0; - border-radius: 0; - max-width: 100%; - padding: 4px 0 4px 2px; -} -.choices__input:focus { - outline: 0; -} -[dir=rtl] .choices__input { - padding-right: 2px; - padding-left: 0; -} - -.choices__placeholder { - opacity: 0.5; -} - -/* ===== End of Choices ====== */ -.choices { - border: 1px solid hsl(210, 14%, 83%); - border-radius: 0.25rem; -} -.choices.is-focused { - border-color: #8894aa; - -webkit-box-shadow: 0 0 0 0.25rem rgba(1, 1, 86, 0.25); - box-shadow: 0 0 0 0.25rem rgba(1, 1, 86, 0.25); -} - -.choices__inner { - padding: 0.4rem 1rem; - margin-bottom: 0; - font-size: 1rem; - border: none; - border-radius: 0; -} - -.choices__input { - padding: 0; - margin-bottom: 0; - font-size: 1rem; - background-color: transparent; -} -.choices__input::-webkit-input-placeholder { - color: hsl(210, 9%, 31%); - opacity: 1; -} -.choices__input::-moz-placeholder { - color: hsl(210, 9%, 31%); - opacity: 1; -} -.choices__input:-ms-input-placeholder { - color: hsl(210, 9%, 31%); - opacity: 1; -} -.choices__input::-ms-input-placeholder { - color: hsl(210, 9%, 31%); - opacity: 1; -} -.choices__input::placeholder { - color: hsl(210, 9%, 31%); - opacity: 1; -} - -.choices__list--dropdown { - z-index: 1060; -} - -.choices__list--multiple .choices__item { - position: relative; - margin: 2px; - background-color: var(--color-primary); - -webkit-margin-end: 2px; - margin-inline-end: 2px; - border: 0; - border-radius: 0.25rem; -} -.choices__list--multiple .choices__item.is-highlighted { - background-color: var(--color-primary); - opacity: 0.9; -} - -.choices .choices__list--dropdown .choices__item { - -webkit-padding-end: 10px; - padding-inline-end: 10px; -} -.choices .choices__list--dropdown .choices__item--selectable::after { - display: none; -} - -.choices__button_joomla { - position: relative; - padding: 0 10px; - color: inherit; - text-indent: -9999px; - cursor: pointer; - background: none; - border: 0; - opacity: 0.5; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} -.choices__button_joomla::before { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: block; - text-align: center; - text-indent: 0; - content: "×"; -} -.choices__button_joomla:hover, .choices__button_joomla:focus { - opacity: 1; -} -.choices__button_joomla:focus { - outline: none; -} - -.choices[data-type*=select-one] .choices__inner, -.choices[data-type*=select-multiple] .choices__inner { - -webkit-padding-end: 3rem; - padding-inline-end: 3rem; - cursor: pointer; - background: url("../../../images/select-bg.svg") no-repeat 100%/116rem; - background-color: hsl(210, 16%, 93%); -} -[dir=rtl] .choices[data-type*=select-one] .choices__inner, -[dir=rtl] .choices[data-type*=select-multiple] .choices__inner { - background: url("../../../images/select-bg-rtl.svg") no-repeat 0/116rem; - background-color: hsl(210, 16%, 93%); -} - -.choices[data-type*=select-one] .choices__item { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; -} -.choices[data-type*=select-one] .choices__button_joomla { - position: absolute; - top: 50%; - inset-inline-end: 0; - width: 20px; - height: 20px; - padding: 0; - -webkit-margin-before: -10px; - margin-block-start: -10px; - -webkit-margin-end: 50px; - margin-inline-end: 50px; - border-radius: 10em; - opacity: 0.5; -} -.choices[data-type*=select-one] .choices__button_joomla:hover, .choices[data-type*=select-one] .choices__button_joomla:focus { - opacity: 1; -} -.choices[data-type*=select-one] .choices__button_joomla:focus { - -webkit-box-shadow: 0 0 0 2px #00bcd4; - box-shadow: 0 0 0 2px #00bcd4; -} -.choices[data-type*=select-one]::after { - display: none; -} - -.choices[data-type*=select-multiple] .choices__input, -.choices[data-type*=text] .choices__input { - padding: 0.2rem 0; -} - -.choices__heading { - font-size: 1.2rem; -} diff --git a/src/media/vendor/choicesjs/index.html b/src/media/vendor/choicesjs/index.html deleted file mode 100644 index 8aec059..0000000 --- a/src/media/vendor/choicesjs/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/media/vendor/joomla-custom-elements/index.html b/src/media/vendor/joomla-custom-elements/index.html deleted file mode 100644 index 8aec059..0000000 --- a/src/media/vendor/joomla-custom-elements/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/media/vendor/joomla-custom-elements/joomla-alert.css b/src/media/vendor/joomla-custom-elements/joomla-alert.css deleted file mode 100644 index 00871c9..0000000 --- a/src/media/vendor/joomla-custom-elements/joomla-alert.css +++ /dev/null @@ -1,161 +0,0 @@ -@charset "UTF-8"; -/* Copyright (C) 2025 Moko Consulting - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: Moko-Cassiopeia - PATH: ./media/templates/site/moko-cassiopeia/css/vendor/choicesjs/choices.css - VERSION: 03.00.00 - BRIEF: Vendor stylesheet for Choices.js select and input enhancements in Moko-Cassiopeia - */ - -@import "../../../../../../vendor/joomla-custom-elements/css/joomla-alert.css"; -#system-message-container:empty { - display: none; - margin-top: 0; -} - -#system-message-container joomla-alert { - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - width: 100%; - min-width: 16rem; - padding: 0; - margin-bottom: 0; - color: var(--gray-dark); - background-color: hsl(0, 0%, 100%); - border: 1px solid var(--alert-accent-color, transparent); - border-radius: 0.25rem; - -webkit-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -#system-message-container joomla-alert + * { - margin-top: 1rem; -} -#system-message-container joomla-alert .alert-heading { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -ms-flex-line-pack: center; - align-content: center; - padding: 0.8rem; - color: var(--alert-heading-text); - background: var(--alert-accent-color, transparent); -} -#system-message-container joomla-alert .alert-heading .message::before, -#system-message-container joomla-alert .alert-heading .success::before { - display: inline-block; - width: 1em; - height: 1em; - content: ""; - background-image: url('data:image/svg+xml;utf8,'); - background-size: 100%; -} -#system-message-container joomla-alert .alert-heading .notice::before, -#system-message-container joomla-alert .alert-heading .info::before { - display: inline-block; - width: 1em; - height: 1em; - content: ""; - background-image: url('data:image/svg+xml;utf8,'); - background-size: 100%; -} -#system-message-container joomla-alert .alert-heading .warning::before { - display: inline-block; - width: 1em; - height: 1em; - content: ""; - background-image: url('data:image/svg+xml;utf8,'); - background-size: 100%; -} -#system-message-container joomla-alert .alert-heading .error::before, -#system-message-container joomla-alert .alert-heading .danger::before { - display: inline-block; - width: 1em; - height: 1em; - content: ""; - background-image: url('data:image/svg+xml;utf8,'); - background-size: 100%; -} -#system-message-container joomla-alert .alert-wrapper { - width: 100%; -} -#system-message-container joomla-alert .alert-link { - color: var(--success, inherit); -} -#system-message-container joomla-alert[type=success], #system-message-container joomla-alert[type=message] { - --alert-accent-color: var(--success); - --alert-heading-text: hsla(0, 0%, 100%, .95); - --alert-close-button: var(--success); - background-color: hsl(0, 0%, 100%); -} -#system-message-container joomla-alert[type=info], #system-message-container joomla-alert[type=notice] { - --alert-accent-color: var(--info); - --alert-heading-text: hsla(0, 0%, 100%, .95); - --alert-close-button: var(--info); - background-color: hsl(0, 0%, 100%); -} -#system-message-container joomla-alert[type=warning] { - --alert-accent-color: var(--warning); - --alert-heading-text: hsla(0, 0%, 100%, .95); - --alert-close-button: var(--warning); - background-color: hsl(0, 0%, 100%); -} -#system-message-container joomla-alert[type=error], #system-message-container joomla-alert[type=danger] { - --alert-accent-color: var(--danger); - --alert-heading-text: hsla(0, 0%, 100%, .95); - --alert-close-button: var(--danger); - background-color: hsl(0, 0%, 100%); -} -#system-message-container joomla-alert .joomla-alert--close, -#system-message-container joomla-alert .joomla-alert-button--close { - position: absolute; - top: 0; - right: 0; - padding: 0.2rem 0.8rem; - font-size: 2rem; - color: var(--alert-close-button); - background: none; - border: 0; - opacity: 1; -} -#system-message-container joomla-alert .joomla-alert--close:hover, #system-message-container joomla-alert .joomla-alert--close:focus, -#system-message-container joomla-alert .joomla-alert-button--close:hover, -#system-message-container joomla-alert .joomla-alert-button--close:focus { - text-decoration: none; - cursor: pointer; - opacity: 0.75; -} -[dir=rtl] #system-message-container joomla-alert .joomla-alert--close, -[dir=rtl] #system-message-container joomla-alert .joomla-alert-button--close { - right: auto; - left: 0; - padding: 0.2rem 0.6rem; -} -#system-message-container joomla-alert div { - font-size: 1rem; -} -#system-message-container joomla-alert div .alert-message { - padding: 0.3rem 2rem 0.3rem 0.3rem; - margin: 0.5rem; -} -[dir=rtl] #system-message-container joomla-alert div .alert-message { - padding: 0.3rem 0.3rem 0.3rem 2rem; -} -#system-message-container joomla-alert div .alert-message:not(:first-of-type) { - border-top: 1px solid var(--alert-accent-color); -} diff --git a/src/templates/html/com_osmembership/common/accordion_plans.php b/src/templates/html/com_osmembership/common/accordion_plans.php deleted file mode 100644 index 734fffe..0000000 --- a/src/templates/html/com_osmembership/common/accordion_plans.php +++ /dev/null @@ -1,195 +0,0 @@ -getClassMapping('row-fluid'); -$span7Class = $bootstrapHelper->getClassMapping('span7'); -$span5class = $bootstrapHelper->getClassMapping('span5'); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$btnClass = $bootstrapHelper->getClassMapping('btn'); -$btnPrimaryClass = $bootstrapHelper->getClassMapping('btn btn-primary'); -$clearfixClass = $bootstrapHelper->getClassMapping('clearfix'); - -$defaultItemId = $Itemid; - -for ($i = 0 , $n = count($items) ; $i < $n ; $i++) -{ - $item = $items[$i]; - $Itemid = OSMembershipHelperRoute::getPlanMenuId($item->id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - if ($item->category_id) - { - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - } - else - { - $url = Route::_('index.php?option=com_osmembership&view=plan&id=' . $item->id . '&Itemid=' . $Itemid); - } - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - - $symbol = $item->currency_symbol ?: $item->currency; - ?> -
    - -
    -
    -
    - thumb) - { - ?> - <?php echo $item->title; ?> - short_description) - { - echo $item->short_description; - } - else - { - echo $item->description; - } - ?> -
    -
    - $item]); ?> -
    -
    -
    -
      - getLanguage(); - - if (in_array('subscribe', $actions)) - { - if ($language->hasKey('OSM_SIGNUP_PLAN_' . $item->id)) - { - $signUpLanguageItem = 'OSM_SIGNUP_PLAN_' . $item->id; - } - else - { - $signUpLanguageItem = 'OSM_SIGNUP'; - } - - if ($language->hasKey('OSM_RENEW_PLAN_' . $item->id)) - { - $renewLanguageItem = 'OSM_RENEW_PLAN_' . $item->id; - } - else - { - $renewLanguageItem = 'OSM_RENEW'; - } - ?> -
    • - - id, $subscribedPlanIds) ? Text::_($renewLanguageItem) : Text::_($signUpLanguageItem); ?> - -
    • - hasKey('OSM_UPGRADE_PLAN_' . $item->id)) - { - $upgradeLanguageItem = 'OSM_UPGRADE_PLAN_' . $item->id; - } - else - { - $upgradeLanguageItem = 'OSM_UPGRADE'; - } - - if (count($item->upgrade_rules) > 1) - { - $link = Route::_('index.php?option=com_osmembership&view=upgrademembership&to_plan_id=' . $item->id . '&Itemid=' . OSMembershipHelperRoute::findView('upgrademembership', $Itemid)); - } - else - { - $upgradeOptionId = $item->upgrade_rules[0]->id; - $link = Route::_('index.php?option=com_osmembership&task=register.process_upgrade_membership&upgrade_option_id=' . $upgradeOptionId . '&Itemid=' . $Itemid); - } - ?> -
    • - - - -
    • - hide_details_button)) - { - ?> -
    • - - - -
    • - -
    -
    -
    -
    - getDocument() - ->getWebAssetManager() - ->useScript('core'); - -Text::script('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'); -$message = "alert(Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'));"; -?> - - diff --git a/src/templates/html/com_osmembership/common/batch_nocheck.php b/src/templates/html/com_osmembership/common/batch_nocheck.php deleted file mode 100644 index 9e43b82..0000000 --- a/src/templates/html/com_osmembership/common/batch_nocheck.php +++ /dev/null @@ -1,24 +0,0 @@ - - - diff --git a/src/templates/html/com_osmembership/common/categories.php b/src/templates/html/com_osmembership/common/categories.php deleted file mode 100644 index 643f420..0000000 --- a/src/templates/html/com_osmembership/common/categories.php +++ /dev/null @@ -1,56 +0,0 @@ -getClassMapping('clearfix'); - -for ($i = 0 , $n = count($items) ; $i < $n ; $i++) -{ - $item = $items[$i]; - $link = Route::_(OSMembershipHelperRoute::getCategoryRoute($item->id, $Itemid)); - ?> -
    -
    -

    - - title;?> - - total_plans ;?> total_plans > 1 ? Text::_('OSM_PLANS') : Text::_('OSM_PLAN') ; ?> -

    -
    - description) - { - ?> -
    - description);?> -
    - -
    -getDocument() - ->getWebAssetManager() - ->useScript('core'); - -$rootUri = Uri::root(true); -$minHeight = 130; - -if (isset($params)) -{ - $minHeight = (int) $params->get('min_height', 130) ?: 130; -} - -OSMembershipHelperJquery::responsiveEqualHeight('.osm-item-description-text', $minHeight); - -$subscribedPlanIds = OSMembershipHelperSubscription::getSubscribedPlans(); - -if (isset($input) && $input->getInt('number_columns')) -{ - $numberColumns = $input->getInt('number_columns'); -} -elseif (!empty($config->number_columns)) -{ - $numberColumns = $config->number_columns; -} -else -{ - $numberColumns = 3; -} - -if (!isset($categoryId)) -{ - $categoryId = 0; -} - -$span = intval(12 / $numberColumns); - -$btnClass = $bootstrapHelper->getClassMapping('btn'); -$btnPrimaryClass = $bootstrapHelper->getClassMapping('btn btn-primary'); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$spanClass = $bootstrapHelper->getClassMapping('span' . $span); -$rowFluidClearfixClass = $bootstrapHelper->getClassMapping('row-fluid clearfix'); -$clearFixClass = $bootstrapHelper->getClassMapping('clearfix'); -?> -
    -id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - ?> -
    - -
    - thumb) - { - ?> - - - - short_description) - { - $item->short_description = $item->description; - } - ?> -
    short_description; ?>
    -
    -
      - getLanguage(); - - if (in_array('subscribe', $actions)) - { - if ($language->hasKey('OSM_SIGNUP_PLAN_' . $item->id)) - { - $signUpLanguageItem = 'OSM_SIGNUP_PLAN_' . $item->id; - } - else - { - $signUpLanguageItem = 'OSM_SIGNUP'; - } - - if ($language->hasKey('OSM_RENEW_PLAN_' . $item->id)) - { - $renewLanguageItem = 'OSM_RENEW_PLAN_' . $item->id; - } - else - { - $renewLanguageItem = 'OSM_RENEW'; - } - ?> -
    • - - id, $subscribedPlanIds) ? Text::_($renewLanguageItem) : Text::_($signUpLanguageItem); ?> - -
    • - hasKey('OSM_UPGRADE_PLAN_' . $item->id)) - { - $upgradeLanguageItem = 'OSM_UPGRADE_PLAN_' . $item->id; - } - else - { - $upgradeLanguageItem = 'OSM_UPGRADE'; - } - - if (count($item->upgrade_rules) > 1) - { - $link = Route::_('index.php?option=com_osmembership&view=upgrademembership&to_plan_id=' . $item->id . '&Itemid=' . OSMembershipHelperRoute::findView('upgrademembership', $Itemid)); - } - else - { - $upgradeOptionId = $item->upgrade_rules[0]->id; - $link = Route::_('index.php?option=com_osmembership&task=register.process_upgrade_membership&upgrade_option_id=' . $upgradeOptionId . '&Itemid=' . $Itemid); - } - ?> -
    • - - - -
    • - hide_details_button)) - { - ?> -
    • - - - -
    • - -
    -
    -
    -
    - -
    -
    - -
    diff --git a/src/templates/html/com_osmembership/common/default_plans.php b/src/templates/html/com_osmembership/common/default_plans.php deleted file mode 100644 index ecd9b73..0000000 --- a/src/templates/html/com_osmembership/common/default_plans.php +++ /dev/null @@ -1,231 +0,0 @@ -getClassMapping('row-fluid'); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$btnClass = $bootstrapHelper->getClassMapping('btn'); -$btnPrimaryClass = $bootstrapHelper->getClassMapping('btn btn-primary'); -$clearfixClass = $bootstrapHelper->getClassMapping('clearfix'); - -$defaultItemId = $Itemid; - -if (isset($params)) -{ - $showPlanInformation = $params->get('show_plan_information', 1); - $planInformationPosition = $params->get('plan_information_position', 0); -} -else -{ - $showPlanInformation = 1; - $planInformationPosition = 0; -} - -if ($showPlanInformation && $planInformationPosition == 0) -{ - $leftClass = $bootstrapHelper->getClassMapping('span7'); - $rightClass = $bootstrapHelper->getClassMapping('span5'); -} -else -{ - $leftClass = $bootstrapHelper->getClassMapping('clearfix'); - $rightClass = $bootstrapHelper->getClassMapping('clearfix'); -} - -for ($i = 0 , $n = count($items) ; $i < $n ; $i++) -{ - $item = $items[$i]; - $Itemid = OSMembershipHelperRoute::getPlanMenuId($item->id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - if ($item->category_id) - { - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - } - else - { - $url = Route::_('index.php?option=com_osmembership&view=plan&id=' . $item->id . '&Itemid=' . $Itemid); - } - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - ?> -
    - -
    -
    - -
    - $item]); ?> -
    - -
    - thumb) - { - ?> - <?php echo $item->title; ?> - short_description) - { - echo $item->short_description; - } - else - { - echo $item->description; - } - ?> -
    - -
    - $item]); ?> -
    - -
    -
    -
      - getLanguage(); - - if (in_array('subscribe', $actions)) - { - if ($language->hasKey('OSM_SIGNUP_PLAN_' . $item->id)) - { - $signUpLanguageItem = 'OSM_SIGNUP_PLAN_' . $item->id; - } - else - { - $signUpLanguageItem = 'OSM_SIGNUP'; - } - - if ($language->hasKey('OSM_RENEW_PLAN_' . $item->id)) - { - $renewLanguageItem = 'OSM_RENEW_PLAN_' . $item->id; - } - else - { - $renewLanguageItem = 'OSM_RENEW'; - } - ?> -
    • - - id, $subscribedPlanIds) ? Text::_($renewLanguageItem) : Text::_($signUpLanguageItem); ?> - -
    • - hasKey('OSM_UPGRADE_PLAN_' . $item->id)) - { - $upgradeLanguageItem = 'OSM_UPGRADE_PLAN_' . $item->id; - } - else - { - $upgradeLanguageItem = 'OSM_UPGRADE'; - } - - if (count($item->upgrade_rules) > 1) - { - $link = Route::_('index.php?option=com_osmembership&view=upgrademembership&to_plan_id=' . $item->id . '&Itemid=' . OSMembershipHelperRoute::findView('upgrademembership', $Itemid)); - } - else - { - $upgradeOptionId = $item->upgrade_rules[0]->id; - $link = Route::_('index.php?option=com_osmembership&task=register.process_upgrade_membership&upgrade_option_id=' . $upgradeOptionId . '&Itemid=' . $Itemid); - } - ?> -
    • - - - -
    • - hide_details_button)) - { - ?> -
    • - - - -
    • - -
    -
    -
    -
    -first_name . ' ' . $rowMember->last_name); -} - -echo implode("\r\n", $names); - diff --git a/src/templates/html/com_osmembership/common/index.html b/src/templates/html/com_osmembership/common/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/common/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/common/paymentredirect.php b/src/templates/html/com_osmembership/common/paymentredirect.php deleted file mode 100644 index 0dc2da4..0000000 --- a/src/templates/html/com_osmembership/common/paymentredirect.php +++ /dev/null @@ -1,36 +0,0 @@ - -
    -
    > - $val) - { - echo ''; - echo "\n"; - } - ?> - -
    - diff --git a/src/templates/html/com_osmembership/common/plan_custom_fields.php b/src/templates/html/com_osmembership/common/plan_custom_fields.php deleted file mode 100644 index c765448..0000000 --- a/src/templates/html/com_osmembership/common/plan_custom_fields.php +++ /dev/null @@ -1,45 +0,0 @@ -getFieldset('basic') as $field) -{ - if ($field->getAttribute('hide')) - { - continue; - } -?> - - - getAttribute('label')); ?>: - - - fieldsData->get($field->getAttribute('name')); ?> - - -currency_symbol ?: $item->currency; -?> - - setup_fee > 0) - { - ?> - - - - - recurring_subscription && $item->trial_duration) - { - ?> - - - - - - - - - - expired_date)) - { - ?> - - - - - - - - - - $item]); - } - ?> -
    - : - - setup_fee, $config, $symbol); ?> -
    - : - - lifetime_membership) - { - echo Text::_('OSM_LIFETIME'); - } - else - { - echo OSMembershipHelperSubscription::getDurationText($item->trial_duration, $item->trial_duration_unit); - } - ?> -
    - : - - trial_amount > 0) - { - echo OSMembershipHelper::formatCurrency($item->trial_amount, $config, $symbol); - } - else - { - echo Text::_('OSM_FREE'); - } - ?> -
    - : - - lifetime_membership) - { - echo Text::_('OSM_LIFETIME'); - } - else - { - echo OSMembershipHelperSubscription::getDurationText($item->subscription_length, $item->subscription_length_unit); - } - ?> -
    - : - - price > 0) - { - echo OSMembershipHelper::formatCurrency($item->price, $config, $symbol); - } - else - { - echo Text::_('OSM_FREE'); - } - ?> -
    - diff --git a/src/templates/html/com_osmembership/common/priceduration.php b/src/templates/html/com_osmembership/common/priceduration.php deleted file mode 100644 index 0978186..0000000 --- a/src/templates/html/com_osmembership/common/priceduration.php +++ /dev/null @@ -1,70 +0,0 @@ -dec_point ?? '.'; -$thousands_sep = $config->thousands_sep ?? ','; - -if ($item->lifetime_membership) -{ - $subscriptionLengthText = Text::_('OSM_LIFETIME'); -} -else -{ - $subscriptionLengthText = OSMembershipHelperSubscription::getDurationText($item->subscription_length, $item->subscription_length_unit, false); -} - -if ($item->price > 0) -{ - $priceParts = explode('.', $item->price); - - if ($priceParts[1] == '00' || $config->decimals === '0') - { - $numberDecimals = 0; - } - else - { - $numberDecimals = 2; - } - - $symbol = $item->currency_symbol ?: $item->currency; - - if (!$symbol) - { - $symbol = $config->currency_symbol; - } - - if ($config->currency_position == 0) - { - echo $symbol . number_format($item->price, $numberDecimals, $dec_point, $thousands_sep) . ($subscriptionLengthText ? "/$subscriptionLengthText" : ''); - } - else - { - echo number_format($item->price, $numberDecimals, $dec_point, $thousands_sep) . $symbol . ($subscriptionLengthText ? "/$subscriptionLengthText" : ''); - } -} -else -{ - echo Text::_('OSM_FREE') . ($subscriptionLengthText ? " /$subscriptionLengthText" : ''); -} - - - diff --git a/src/templates/html/com_osmembership/common/pricingtable_circle_plans.php b/src/templates/html/com_osmembership/common/pricingtable_circle_plans.php deleted file mode 100644 index bbf8854..0000000 --- a/src/templates/html/com_osmembership/common/pricingtable_circle_plans.php +++ /dev/null @@ -1,237 +0,0 @@ -getParams(); -} - -if (isset($input) && $input->getInt('recommended_plan_id')) -{ - $recommendedPlanId = $input->getInt('recommended_plan_id'); -} -else -{ - $recommendedPlanId = (int) $params->get('recommended_campaign_id'); -} - -$standardPlanBackgroundColor = $params->get('standard_plan_color', '#00B69C'); -$recommendedPlanBackgroundColor = $params->get('recommended_plan_color', '#bF75500'); -$showDetailsButton = $params->get('show_details_button', 0); - -if (isset($input) && $input->getInt('number_columns')) -{ - $numberColumns = $input->getInt('number_columns'); -} -elseif (isset($config->number_columns)) -{ - $numberColumns = $config->number_columns; -} -else -{ - $numberColumns = 3; -} - -$numberColumns = min($numberColumns, 5); - -if (!isset($categoryId)) -{ - $categoryId = 0; -} - -$span = intval(12 / $numberColumns); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$spanClass = $bootstrapHelper->getClassMapping('span' . $span); - -$i = 0; -$numberPlans = count($items); -$defaultItemId = $Itemid; -$rootUri = Uri::root(true); - -foreach ($items as $item) -{ - $Itemid = OSMembershipHelperRoute::getPlanMenuId($item->id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - - if (!$item->short_description) - { - $item->short_description = $item->description; - } - - if ($item->id == $recommendedPlanId) - { - $recommended = true; - $backgroundColor = $recommendedPlanBackgroundColor; - } - else - { - $recommended = false; - $backgroundColor = $standardPlanBackgroundColor; - } - - if ($i % $numberColumns == 0) - { - ?> -
    - -
    -
    -
    -

    - title; ?> -

    -
    -

    - $item]); ?> -

    -
    -
    -
    - short_description;?> -
    - -
    -
    - -
    - ' ; -} -?> - diff --git a/src/templates/html/com_osmembership/common/pricingtable_flat_plans.php b/src/templates/html/com_osmembership/common/pricingtable_flat_plans.php deleted file mode 100644 index b69920b..0000000 --- a/src/templates/html/com_osmembership/common/pricingtable_flat_plans.php +++ /dev/null @@ -1,233 +0,0 @@ -getParams(); -} - -if (isset($input) && $input->getInt('recommended_plan_id')) -{ - $recommendedPlanId = $input->getInt('recommended_plan_id'); -} -else -{ - $recommendedPlanId = (int) $params->get('recommended_campaign_id'); -} - -$standardPlanBackgroundColor = $params->get('standard_plan_color', '#00B69C'); -$recommendedPlanBackgroundColor = $params->get('recommended_plan_color', '#F75500'); -$showDetailsButton = $params->get('show_details_button', 0); - -if (isset($input) && $input->getInt('number_columns')) -{ - $numberColumns = $input->getInt('number_columns'); -} -elseif (isset($config->number_columns)) -{ - $numberColumns = $config->number_columns; -} -else -{ - $numberColumns = 3; -} - -$numberColumns = min($numberColumns, 5); - -if (!isset($categoryId)) -{ - $categoryId = 0; -} - -$span = intval(12 / $numberColumns); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$spanClass = $bootstrapHelper->getClassMapping('span' . $span); - -$i = 0; -$numberPlans = count($items); -$defaultItemId = $Itemid; -$rootUri = Uri::root(true); - -foreach ($items as $item) -{ - $Itemid = OSMembershipHelperRoute::getPlanMenuId($item->id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - - if (!$item->short_description) - { - $item->short_description = $item->description; - } - - if ($item->id == $recommendedPlanId) - { - $recommended = true; - $backgroundColor = $recommendedPlanBackgroundColor; - } - else - { - $recommended = false; - $backgroundColor = $standardPlanBackgroundColor; - } - - if ($i % $numberColumns == 0) - { - ?> -
    - -
    -
    -
    -

    - title; ?> -

    -
    -
    -

    - $item]); ?> -

    -
    -
    - short_description;?> -
    - -
    -
    - -
    - ' ; -} - diff --git a/src/templates/html/com_osmembership/common/pricingtable_plans.php b/src/templates/html/com_osmembership/common/pricingtable_plans.php deleted file mode 100644 index 4e3e9f4..0000000 --- a/src/templates/html/com_osmembership/common/pricingtable_plans.php +++ /dev/null @@ -1,261 +0,0 @@ -getParams(); -} - -// Background color settings -$badgeBgColor = $params->get('recommended_badge_background_color'); -$headerBgColor = $params->get('header_background_color'); -$priceBgColor = $params->get('price_background_color'); -$recommendedPriceBgColor = $params->get('recommended_plan_price_background_color'); - -if (isset($input) && $input->getInt('recommended_plan_id')) -{ - $recommendedPlanId = $input->getInt('recommended_plan_id'); -} -else -{ - $recommendedPlanId = (int) $params->get('recommended_campaign_id'); -} - -$showDetailsButton = $params->get('show_details_button', 0); - -if (isset($input) && $input->getInt('number_columns')) -{ - $numberColumns = $input->getInt('number_columns'); -} -elseif (isset($config->number_columns)) -{ - $numberColumns = $config->number_columns ; -} -else -{ - $numberColumns = 3 ; -} - -$numberColumns = min($numberColumns, 4); - -if (!isset($categoryId)) -{ - $categoryId = 0; -} - -$span = intval(12 / $numberColumns); - -$btnClass = $bootstrapHelper->getClassMapping('btn'); -$btnPrimaryClass = $bootstrapHelper->getClassMapping('btn btn-primary'); -$imgClass = $bootstrapHelper->getClassMapping('img-polaroid'); -$spanClass = $bootstrapHelper->getClassMapping('span' . $span); - -$rootUri = Uri::root(true); -$i = 0; -$numberPlans = count($items); -$defaultItemId = $Itemid; - -foreach ($items as $item) -{ - $Itemid = OSMembershipHelperRoute::getPlanMenuId($item->id, $item->category_id, $defaultItemId); - - if ($item->thumb) - { - $imgSrc = $rootUri . '/media/com_osmembership/' . $item->thumb; - } - - $url = Route::_('index.php?option=com_osmembership&view=plan&catid=' . $item->category_id . '&id=' . $item->id . '&Itemid=' . $Itemid); - - if ($config->use_https) - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid), false, 1); - } - else - { - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $Itemid)); - } - - if (!$item->short_description) - { - $item->short_description = $item->description; - } - - if ($item->id == $recommendedPlanId) - { - $recommended = true; - } - else - { - $recommended = false; - } - - if ($recommended && $recommendedPriceBgColor) - { - $planPriceBackgroundColor = $recommendedPriceBgColor; - } - elseif ($priceBgColor) - { - $planPriceBackgroundColor = $priceBgColor; - } - else - { - $planPriceBackgroundColor = ''; - } - - if ($i % $numberColumns == 0) - { - ?> -
    - -
    -
    - - - -
    > -

    - title; ?> -

    -
    -
    > -

    -

    - $item]); ?> -

    -

    -
    -
    - short_description;?> -
    - getLanguage(); - ?> - - -
    -
    - -
    - ' ; -} - diff --git a/src/templates/html/com_osmembership/common/renew_options.php b/src/templates/html/com_osmembership/common/renew_options.php deleted file mode 100644 index 05b8822..0000000 --- a/src/templates/html/com_osmembership/common/renew_options.php +++ /dev/null @@ -1,129 +0,0 @@ - -
      - getIdentity()->id; - $renewOptionCount = 0; - $fieldSuffix = OSMembershipHelper::getFieldSuffix(); - - foreach ($this->planIds as $planId) - { - $plan = $this->plans[$planId]; - $taxRate = 0; - - if ($this->config->show_price_including_tax && !$this->config->setup_price_including_tax) - { - $taxRate = OSMembershipHelper::calculateMaxTaxRate($planId); - } - - $symbol = $plan->currency_symbol ?: $plan->currency; - $renewOptions = $this->renewOptions[$planId] ?? []; - - if (count($renewOptions)) - { - foreach ($renewOptions as $renewOption) - { - $checked = ''; - - if ($renewOptionCount == 0) - { - $checked = ' checked="checked" '; - } - - $renewOptionCount++; - $renewOptionLengthText = OSMembershipHelperSubscription::getDurationText($renewOption->renew_option_length, $renewOption->renew_option_length_unit); - - $renewOptionText = Text::sprintf('OSM_RENEW_OPTION_TEXT', $plan->title, $renewOptionLengthText, OSMembershipHelper::formatCurrency($renewOption->price * (1 + $taxRate / 100), $this->config, $symbol)); - - if (strpos($renewOptionText, '[EXPIRED_DATE]')) - { - $expiredDate = OSMembershipHelperSubscription::getPlanExpiredDate($planId); - - if ($expiredDate) - { - $expiredDate = HTMLHelper::_('date', $expiredDate, $this->config->date_format); - } - - $renewOptionText = str_replace('[EXPIRED_DATE]', $expiredDate, $renewOptionText); - } - ?> -
    • - /> - -
    • - subscription_length, $plan->subscription_length_unit); - - $renewalDiscountRule = OSMembershipHelperSubscription::getRenewalDiscount($userId, $planId); - - if ($renewalDiscountRule) - { - if ($renewalDiscountRule->discount_type == 0) - { - $plan->price = round($plan->price * (1 - $renewalDiscountRule->discount_amount / 100), 2); - } - else - { - $plan->price = $plan->price - $renewalDiscountRule->discount_amount; - } - - if ($plan->price < 0) - { - $plan->price = 0; - } - } - - $renewOptionText = Text::sprintf('OSM_RENEW_OPTION_TEXT', $plan->title, $subscriptionLengthText, OSMembershipHelper::formatCurrency($plan->price * (1 + $taxRate / 100), $this->config, $symbol)); - - if (strpos($renewOptionText, '[EXPIRED_DATE]')) - { - $expiredDate = OSMembershipHelperSubscription::getPlanExpiredDate($plan->id); - - if ($expiredDate) - { - $expiredDate = HTMLHelper::_('date', $expiredDate, $this->config->date_format); - } - - $renewOptionText = str_replace('[EXPIRED_DATE]', $expiredDate, $renewOptionText); - } - ?> -
    • - /> - -
    • - -
    -
    - -
    - diff --git a/src/templates/html/com_osmembership/common/restrictionmsg.php b/src/templates/html/com_osmembership/common/restrictionmsg.php deleted file mode 100644 index a020cfa..0000000 --- a/src/templates/html/com_osmembership/common/restrictionmsg.php +++ /dev/null @@ -1,31 +0,0 @@ -' . $introText . ''; -} -?> -
    - -
    - - diff --git a/src/templates/html/com_osmembership/common/subscriptions_history.php b/src/templates/html/com_osmembership/common/subscriptions_history.php deleted file mode 100644 index 89abd4b..0000000 --- a/src/templates/html/com_osmembership/common/subscriptions_history.php +++ /dev/null @@ -1,176 +0,0 @@ -get('db'); -$query = $db->getQuery(true) - ->select('COUNT(*)') - ->from('#__osmembership_plugins') - ->where('published = 1') - ->where('name NOT LIKE "os_offline%"'); -$db->setQuery($query); -$hasOnlinePaymentPlugin = $db->loadResult() > 0; - -$makePaymentItemid = OSMembershipHelperRoute::getViewRoute('payment', $this->Itemid); - -$cols = 5; - -$bootstrapHelper = OSMembershipHelperBootstrap::getInstance(); -$centerClass = $bootstrapHelper->getClassMapping('center'); -$hiddenPhoneClass = $bootstrapHelper->getClassMapping('hidden-phone'); -?> - - - - - - - - - config->activate_invoice_feature) - { - $cols++ ; - ?> - - - - - - items) ; $i < $n ; $i++) { - $row = $this->items[$i]; - $k = 1 - $k; - $link = Route::_('index.php?option=com_osmembership&view=subscription&id=' . $row->id . '&Itemid=' . $this->Itemid); - $symbol = $row->currency_symbol ?: $row->currency; - ?> - - - - - - - config->activate_invoice_feature) - { - ?> - - - - - - total > $pagination->limit)) - { - ?> - - - - - - -
    - - - - - - - - - - - -
    - plan_title; ?> - - created_date, $this->config->date_format); ?> - - from_date, $this->config->date_format); ?> - - lifetime_membership || $row->to_date == '2099-12-31 23:59:59') - { - echo Text::_('OSM_LIFETIME'); - } - else - { - echo HTMLHelper::_('date', $row->to_date, $this->config->date_format); - } - ?> - - - gross_amount, $this->config, $symbol)?> - - published) - { - case 0 : - echo Text::_('OSM_PENDING'); - - if ($this->config->enable_subscription_payment && $row->gross_amount > 0 && $hasOnlinePaymentPlugin) - { - ?> -
    - -
    - invoice_number) - { - ?> - config); ?> - -
    - -
    - - diff --git a/src/templates/html/com_osmembership/common/subscriptions_pdf.php b/src/templates/html/com_osmembership/common/subscriptions_pdf.php deleted file mode 100644 index fd626e3..0000000 --- a/src/templates/html/com_osmembership/common/subscriptions_pdf.php +++ /dev/null @@ -1,105 +0,0 @@ - -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - No - - - - - - - - - - - - - - - - - - -
    first_name; ?>last_name; ?>plan; ?>from_date . ' / ' . $row->to_date; ?>email; ?>created_date; ?>amount; ?> - published) - { - case 0: - echo Text::_('OSM_PENDING'); - break; - case 1: - echo Text::_('OSM_ACTIVE'); - break; - case 2: - echo Text::_('OSM_EXPIRED'); - break; - case 3 : - echo Text::_('OSM_CANCELLED_PENDING'); - break ; - case 4 : - echo Text::_('OSM_CANCELLED_REFUNDED'); - break ; - } - ?> - id; ?>
    diff --git a/src/templates/html/com_osmembership/common/upgrade_options.php b/src/templates/html/com_osmembership/common/upgrade_options.php deleted file mode 100644 index f27993a..0000000 --- a/src/templates/html/com_osmembership/common/upgrade_options.php +++ /dev/null @@ -1,48 +0,0 @@ - -
      - upgradeRules as $rule) - { - $checked = ''; - - if ($upgradeOptionCount == 0) - { - $checked = ' checked="checked" '; - } - - $upgradeOptionCount++; - $upgradeToPlan = $this->plans[$rule->to_plan_id]; - $symbol = $upgradeToPlan->currency_symbol ?: $upgradeToPlan->currency; - - $taxRate = 0; - - if ($this->config->show_price_including_tax && !$this->config->setup_price_including_tax) - { - $taxRate = OSMembershipHelper::calculateMaxTaxRate($rule->to_plan_id); - } - ?> -
    • - /> - -
    • - -
    - diff --git a/src/templates/html/com_osmembership/index.html b/src/templates/html/com_osmembership/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/mplan/default.php b/src/templates/html/com_osmembership/mplan/default.php deleted file mode 100644 index 9c549e5..0000000 --- a/src/templates/html/com_osmembership/mplan/default.php +++ /dev/null @@ -1,141 +0,0 @@ - true, 'sanitize' => false]); - -$config = OSMembershipHelper::getConfig(); -$editor = Editor::getInstance($config->get('editor') ?: Factory::getApplication()->get('editor')); -$translatable = Multilanguage::isEnabled() && count($this->languages); -$bootstrapHelper = OSMembershipHelperBootstrap::getInstance(); -$rowFluid = $bootstrapHelper->getClassMapping('row-fluid'); -$span8 = $bootstrapHelper->getClassMapping('span7'); -$span4 = $bootstrapHelper->getClassMapping('span5'); - -HTMLHelper::_('formbehavior.chosen', '.advSelect'); - -Factory::getApplication() - ->getDocument() - ->getWebAssetManager() - ->useScript('core') - ->useScript('showon') - ->registerAndUseScript('com_osmembership.site-mplan-default', 'media/com_osmembership/js/site-mplan-default.min.js'); - -$keys = ['OSM_ENTER_PLAN_TITLE', 'OSM_ENTER_SUBSCRIPTION_LENGTH', 'OSM_PRICE_REQUIRED', 'OSM_INVALID_SUBSCRIPTION_LENGTH']; -OSMembershipHelperHtml::addJSStrings($keys); -?> -
    -

    item->id > 0 ? Text::_('OSM_EDIT_PLAN') : Text::_('OSM_ADD_PLAN'); ?>

    -
    - render(); ?> -
    -
    - 'basic-information-page', 'recall' => true]); - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'basic-information-page', Text::_('OSM_BASIC_INFORMATION')); - echo $this->loadTemplate('general', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'recurring-settings-page', Text::_('OSM_RECURRING_SETTINGS')); - echo $this->loadTemplate('recurring_settings'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'renew-options-page', Text::_('OSM_RENEW_OPTIONS')); - echo $this->loadTemplate('renew_options'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'upgrade-options-page', Text::_('OSM_UPGRADE_OPTIONS')); - echo $this->loadTemplate('upgrade_options'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'renewal-discounts-page', Text::_('OSM_EARLY_RENEWAL_DISCOUNTS')); - echo $this->loadTemplate('renewal_discounts'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'reminders-settings-page', Text::_('OSM_REMINDERS_SETTINGS')); - echo $this->loadTemplate('reminders_settings'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'group-membership-settings-page', Text::_('OSM_GROUP_MEMBERSHIP')); - echo $this->loadTemplate('group_membership'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'advanced-settings-page', Text::_('OSM_ADVANCED_SETTINGS')); - echo $this->loadTemplate('advanced_settings'); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'metadata-page', Text::_('OSM_META_DATA')); - echo $this->loadTemplate('metadata'); - echo HTMLHelper::_( 'uitab.endTab'); - - if ($this->config->activate_member_card_feature) - { - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'member-card-page', Text::_('OSM_MEMBER_CARD_SETTINGS')); - echo $this->loadTemplate('member_card', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - } - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'messages-page', Text::_('OSM_MESSAGES')); - echo $this->loadTemplate('messages', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'reminder-messages-page', Text::_('OSM_REMINDER_MESSAGES')); - echo $this->loadTemplate('reminder_messages', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - - if ($translatable) - { - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'translation-page', Text::_('OSM_TRANSLATION')); - echo $this->loadTemplate('translation', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - } - - if (count($this->plugins)) - { - $count = 0 ; - - foreach ($this->plugins as $plugin) - { - if (is_array($plugin) && array_key_exists('title', $plugin) && array_key_exists('form', $plugin)) - { - $count++ ; - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'tab_' . $count, Text::_($plugin['title'])); - echo $plugin['form']; - echo HTMLHelper::_( 'uitab.endTab'); - } - } - } - - // Add support for custom settings layout - if (file_exists(__DIR__ . '/default_custom_settings.php')) - { - echo HTMLHelper::_( 'uitab.addTab', 'plan', 'custom-settings-page', Text::_('OSM_CUSTOM_SETTINGS')); - echo $this->loadTemplate('custom_settings', ['editor' => $editor]); - echo HTMLHelper::_( 'uitab.endTab'); - } - - echo HTMLHelper::_( 'uitab.endTabSet'); - ?> -
    - - - - -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_advanced_settings.php b/src/templates/html/com_osmembership/mplan/default_advanced_settings.php deleted file mode 100644 index 52635ba..0000000 --- a/src/templates/html/com_osmembership/mplan/default_advanced_settings.php +++ /dev/null @@ -1,173 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    - -
    -
    - -
    -
    -item->id && !$this->item->recurring_subscription) -{ -?> -
    -
    - -
    -
    - lists['subscription_start_date_option'];?> -
    -
    -
    '1']); ?>'> -
    - -
    -
    - planParams->get('subscription_start_date'), 'subscription_start_date', 'subscription_start_date', '%Y-%m-%d %H:%M:%S') ; ?> -
    -
    -
    '2']); ?>'> -
    - -
    -
    - lists['subscription_start_date_field'];?> -
    -
    - -
    -
    - -
    -
    - lists['free_plan_subscription_status'];?> -
    -
    -
    -
    - -
    -
    - lists['login_redirect_menu_id']; ?> -
    -
    -
    -
    - -
    -
    - lists['number_fields_per_row']; ?> -
    -
    -
    -
    - -
    -
    - lists['payment_methods'];?> -
    -
    -
    -
    - -
    -
    - lists['currency'];?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - item->publish_up, 'publish_up', 'publish_up', $this->datePickerFormat . ' %H:%M:%S', ['class' => 'input-medium']); ?> -
    -
    -
    -
    - -
    -
    - item->publish_down, 'publish_down', 'publish_down', $this->datePickerFormat . ' %H:%M:%S', ['class' => 'input-medium']); ?> -
    -
    -
    -
    - -
    -
    - item->terms_and_conditions_article_id, 'terms_and_conditions_article_id'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_general.php b/src/templates/html/com_osmembership/mplan/default_general.php deleted file mode 100644 index 9ec11c0..0000000 --- a/src/templates/html/com_osmembership/mplan/default_general.php +++ /dev/null @@ -1,166 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - lists['category_id']; ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - lists['subscription_length_unit']; ?> -
    -
    -
    -
    - -
    -
    - item->expired_date, 'expired_date', 'expired_date', $this->datePickerFormat) ; ?> -
    -
    -item->expired_date) -{ -?> -
    -
    - -
    -
    - lists['prorated_signup_cost'];?> -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - lists['lifetime_membership'];?> -
    -
    -
    -
    - -
    -
    - - item->thumb) - { - ?> - - - -
    -
    -
    -
    - -
    -
    - lists['enable_renewal']; ?> -
    -
    -
    -
    - -
    -
    - lists['access']; ?> -
    -
    -lists['published'])) - { - ?> -
    -
    - -
    -
    - lists['published']; ?> -
    -
    - -
    -
    - -
    -
    - display('short_description', $this->item->short_description, '100%', '250', '75', '10') ; ?> -
    -
    -
    -
    - -
    -
    - display('description', $this->item->description, '100%', '250', '75', '10') ; ?> -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_group_membership.php b/src/templates/html/com_osmembership/mplan/default_group_membership.php deleted file mode 100644 index 41c26a8..0000000 --- a/src/templates/html/com_osmembership/mplan/default_group_membership.php +++ /dev/null @@ -1,45 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    - -
    -
    - lists['number_members_type']; ?> -
    -
    -
    '0']); ?>'> -
    - -
    -
    - -
    -
    -
    '1']); ?>'> -
    - -
    -
    - lists['number_members_field']; ?> -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_member_card.php b/src/templates/html/com_osmembership/mplan/default_member_card.php deleted file mode 100644 index 1c2fe3c..0000000 --- a/src/templates/html/com_osmembership/mplan/default_member_card.php +++ /dev/null @@ -1,46 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); - -?> -
    -
    - -
    -
    - item->activate_member_card_feature); ?> -
    -
    -
    -
    - -
    -
    - item->card_bg_image, 'card_bg_image'); ?> -
    -
    -
    -
    - -
    -
    - display('card_layout', $this->item->card_layout, '100%', '550', '75', '8') ;?> -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_messages.php b/src/templates/html/com_osmembership/mplan/default_messages.php deleted file mode 100644 index fae9e81..0000000 --- a/src/templates/html/com_osmembership/mplan/default_messages.php +++ /dev/null @@ -1,194 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -

    -
    -
    -
    - -
    -
    - display('subscription_form_message', $this->item->subscription_form_message, '100%', '250', '75', '10'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('user_email_body', $this->item->user_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('user_email_body_offline', $this->item->user_email_body_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('admin_email_body', $this->item->admin_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('thanks_message', $this->item->thanks_message, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('thanks_message_offline', $this->item->thanks_message_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('subscription_approved_email_body', $this->item->subscription_approved_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('user_renew_email_body', $this->item->user_renew_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('user_renew_email_body_offline', $this->item->user_renew_email_body_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('admin_renew_email_body', $this->item->admin_renew_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('user_upgrade_email_body', $this->item->user_upgrade_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('user_upgrade_email_body_offline', $this->item->user_upgrade_email_body_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('admin_upgrade_email_body', $this->item->admin_upgrade_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('renew_thanks_message', $this->item->renew_thanks_message, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('renew_thanks_message_offline', $this->item->renew_thanks_message_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('upgrade_thanks_message', $this->item->upgrade_thanks_message, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('upgrade_thanks_message_offline', $this->item->upgrade_thanks_message_offline, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('invoice_layout', $this->item->invoice_layout, '100%', '250', '75', '8'); ?> -
    -
    diff --git a/src/templates/html/com_osmembership/mplan/default_metadata.php b/src/templates/html/com_osmembership/mplan/default_metadata.php deleted file mode 100644 index 3028781..0000000 --- a/src/templates/html/com_osmembership/mplan/default_metadata.php +++ /dev/null @@ -1,56 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    diff --git a/src/templates/html/com_osmembership/mplan/default_recurring_settings.php b/src/templates/html/com_osmembership/mplan/default_recurring_settings.php deleted file mode 100644 index 9c17b56..0000000 --- a/src/templates/html/com_osmembership/mplan/default_recurring_settings.php +++ /dev/null @@ -1,81 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    -
    - -
    -
    - lists['recurring_subscription']; ?> -
    -
    -
    '1']); ?>'> -
    - -
    -
    - -
    -
    -
    '1']); ?>'> -
    - -
    -
    - - lists['trial_duration_unit']; ?> -
    -
    -
    '1']); ?>'> -
    - -
    -
    - -
    -
    - - item->number_payments > 0) - { - ?> -
    -
    - -
    -
    - lists['last_payment_action']; ?> -
    -
    -
    '2']); ?>'> -
    - -
    -
    - - lists['extend_duration_unit']; ?> -
    -
    - -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_reminder_messages.php b/src/templates/html/com_osmembership/mplan/default_reminder_messages.php deleted file mode 100644 index 8c72f6b..0000000 --- a/src/templates/html/com_osmembership/mplan/default_reminder_messages.php +++ /dev/null @@ -1,75 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -

    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('first_reminder_email_body', $this->item->first_reminder_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('second_reminder_email_body', $this->item->second_reminder_email_body, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('third_reminder_email_body', $this->item->third_reminder_email_body, '100%', '250', '75', '8'); ?> -
    -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_reminders_settings.php b/src/templates/html/com_osmembership/mplan/default_reminders_settings.php deleted file mode 100644 index 051c8a1..0000000 --- a/src/templates/html/com_osmembership/mplan/default_reminders_settings.php +++ /dev/null @@ -1,62 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); -?> -
    -
    -
    - -
    -
    - lists['send_first_reminder_time']; ?> -
    -
    -
    -
    - -
    -
    - lists['send_second_reminder_time']; ?> -
    -
    -
    -
    - -
    -
    - lists['send_third_reminder_time']; ?> -
    -
    - item->number_payments > 0) - { - ?> -
    -
    - -
    -
    - lists['send_subscription_end_time']; ?> -
    -
    - -
    - diff --git a/src/templates/html/com_osmembership/mplan/default_renew_options.php b/src/templates/html/com_osmembership/mplan/default_renew_options.php deleted file mode 100644 index 7513c9c..0000000 --- a/src/templates/html/com_osmembership/mplan/default_renew_options.php +++ /dev/null @@ -1,34 +0,0 @@ -prices as $renewOption) -{ - $formData['renew_options'][] = [ - 'id' => $renewOption->id, - 'renew_option_length' => $renewOption->renew_option_length, - 'renew_option_length_unit' => $renewOption->renew_option_length_unit, - 'price' => $renewOption->price, - ]; -} - -$form->bind($formData); - -foreach ($form->getFieldset() as $field) -{ - echo $field->input; -} - diff --git a/src/templates/html/com_osmembership/mplan/default_renewal_discounts.php b/src/templates/html/com_osmembership/mplan/default_renewal_discounts.php deleted file mode 100644 index 825f088..0000000 --- a/src/templates/html/com_osmembership/mplan/default_renewal_discounts.php +++ /dev/null @@ -1,34 +0,0 @@ -renewalDiscounts as $renewalDiscount) -{ - $formData['renewal_discounts'][] = [ - 'id' => $renewalDiscount->id, - 'number_days' => $renewalDiscount->number_days, - 'discount_type' => $renewalDiscount->discount_type, - 'discount_amount' => $renewalDiscount->discount_amount, - ]; -} - -$form->bind($formData); - -foreach ($form->getFieldset() as $field) -{ - echo $field->input; -} - diff --git a/src/templates/html/com_osmembership/mplan/default_translation.php b/src/templates/html/com_osmembership/mplan/default_translation.php deleted file mode 100644 index 64cf5e4..0000000 --- a/src/templates/html/com_osmembership/mplan/default_translation.php +++ /dev/null @@ -1,223 +0,0 @@ -getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); - -echo HTMLHelper::_('bootstrap.startTabSet', 'plan-translation', ['active' => 'translation-page-' . $this->languages[0]->sef, 'recall' => true]); - -foreach ($this->languages as $language) -{ - $sef = $language->sef; - echo HTMLHelper::_('bootstrap.addTab', 'plan-translation', 'translation-page-' . $sef, $language->title . ' '); - ?> -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('short_description_' . $sef, $this->item->{'short_description_' . $sef}, '100%', '250', '75', '10') ; ?> -
    -
    -
    -
    - -
    -
    - display('description_' . $sef, $this->item->{'description_' . $sef}, '100%', '250', '75', '10') ; ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('subscription_form_message_' . $sef, $this->item->{'subscription_form_message_' . $sef}, '100%', '250', '75', '10') ; ?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('user_email_body_' . $sef, $this->item->{'user_email_body_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - display('user_email_body_offline_' . $sef, $this->item->{'user_email_body_offline_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - display('thanks_message_' . $sef, $this->item->{'thanks_message_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - display('thanks_message_offline_' . $sef, $this->item->{'thanks_message_offline_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - display('subscription_approved_email_body_' . $sef, $this->item->{'subscription_approved_email_body_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - display('user_renew_email_body_' . $sef, $this->item->{'user_renew_email_body_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - display('renew_thanks_message_' . $sef, $this->item->{'renew_thanks_message_' . $sef}, '100%', '250', '75', '8') ;?> -
    -
    -
    -
    - -
    -
    - display('renew_thanks_message_offline_' . $sef, $this->item->{'renew_thanks_message_offline_' . $sef}, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('upgrade_thanks_message_' . $sef, $this->item->{'upgrade_thanks_message_' . $sef}, '100%', '250', '75', '8'); ?> -
    -
    -
    -
    - -
    -
    - display('upgrade_thanks_message_offline_' . $sef, $this->item->{'upgrade_thanks_message_offline_' . $sef}, '100%', '250', '75', '8'); ?> -
    -
    - - getClassMapping('row-fluid'); -$controlGroupClass = $bootstrapHelper->getClassMapping('control-group'); -$controlLabelClass = $bootstrapHelper->getClassMapping('control-label'); -$controlsClass = $bootstrapHelper->getClassMapping('controls'); - -$form = Form::getInstance('upgrade_options', JPATH_ADMINISTRATOR . '/components/com_osmembership/view/plan/forms/upgrade_options.xml'); -$formData['upgrade_options'] = []; - -foreach ($this->upgradeRules as $upgradeOption) -{ - $formData['upgrade_options'][] = [ - 'id' => $upgradeOption->id, - 'to_plan_id' => $upgradeOption->to_plan_id, - 'price' => $upgradeOption->price, - 'upgrade_prorated' => $upgradeOption->upgrade_prorated, - 'published' => $upgradeOption->published, - ]; -} - -$form->bind($formData); - -foreach ($form->getFieldset() as $field) -{ - echo $field->input; -} - diff --git a/src/templates/html/com_osmembership/mplan/index.html b/src/templates/html/com_osmembership/mplan/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/mplan/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/mplans/default.php b/src/templates/html/com_osmembership/mplans/default.php deleted file mode 100644 index b9237cc..0000000 --- a/src/templates/html/com_osmembership/mplans/default.php +++ /dev/null @@ -1,238 +0,0 @@ -getClassMapping('center'); -$cols = 10; -$config = OSMembershipHelper::getConfig(); -?> -
    - params->get('show_page_heading', 1)) - { - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-heading">> - params->get('intro_text'))) - { - ?> -
    - params->get('intro_text')); ?> -
    - -
    - render(); ?> -
    -
    -
    - loadTemplate('search_bar'); ?> -
    - - - - - - showCategory) - { - $cols++; - ?> - - showThumbnail) - { - $cols++; - ?> - - - - - - - - - - - - - - - - - - - items); $i < $n; $i++) - { - $row = $this->items[$i]; - $link = Route::_('index.php?option=com_osmembership&task=mplan.edit&id=' . $row->id . '&Itemid=' . $this->Itemid, false); - $checked = HTMLHelper::_('grid.id', $i, $row->id); - $published = HTMLHelper::_('jgrid.published', $row->published, $i, 'mplan.'); - $symbol = $row->currency_symbol ?: $row->currency; - ?> - "> - - - showCategory) - { - ?> - - showThumbnail) - { - ?> - - - - - - - - - - - - - -
    - - - state->filter_order_Dir, $this->state->filter_order); ?> - - state->filter_order_Dir, $this->state->filter_order); ?> - - - - - - state->filter_order_Dir, $this->state->filter_order); ?> - - state->filter_order_Dir, $this->state->filter_order); ?> - - - - - - state->filter_order_Dir, $this->state->filter_order); ?> - - state->filter_order_Dir, $this->state->filter_order); ?> - - state->filter_order_Dir, $this->state->filter_order); ?> -
    - pagination->getListFooter(); ?> -
    - - - id)) - { - ?> - title ; ?> - title; - } - ?> - category_title; ?> - thumb) - { - ?> - - - - lifetime_membership) - { - echo Text::_('OSM_LIFETIME'); - } - else - { - echo OSMembershipHelperSubscription::getDurationText($row->subscription_length, $row->subscription_length_unit); - } - ?> - - recurring_subscription ? Text::_('JYES') : Text::_('JNO'); ?> - - price > 0) - { - echo OSMembershipHelper::formatCurrency($row->price, $config, $symbol); - } - else - { - echo Text::_('OSM_FREE'); - } - ?> - - id); ?> - - id, 1); ?> - - access_level; ?> - - id)) - { - echo $published; - } - else - { - echo $row->published ? Text::_('JYES') : Text::_('JNO'); - } - ?> - - id; ?> -
    - - - - - -
    -
    diff --git a/src/templates/html/com_osmembership/mplans/default_search_bar.bootstrap4.php b/src/templates/html/com_osmembership/mplans/default_search_bar.bootstrap4.php deleted file mode 100644 index 8318353..0000000 --- a/src/templates/html/com_osmembership/mplans/default_search_bar.bootstrap4.php +++ /dev/null @@ -1,39 +0,0 @@ -bootstrapHelper->getClassMapping('pull-left'); -?> - -
    - lists['filter_category_id'])) - { - echo $this->lists['filter_category_id']; - } - - echo $this->lists['filter_state']; - echo $this->pagination->getLimitBox(); - ?> -
    - diff --git a/src/templates/html/com_osmembership/mplans/default_search_bar.php b/src/templates/html/com_osmembership/mplans/default_search_bar.php deleted file mode 100644 index f1800d4..0000000 --- a/src/templates/html/com_osmembership/mplans/default_search_bar.php +++ /dev/null @@ -1,38 +0,0 @@ -bootstrapHelper->getClassMapping('pull-left'); -?> - -
    - - -
    -
    - lists['filter_category_id'])) - { - echo $this->lists['filter_category_id']; - } - - echo $this->lists['filter_state']; - - echo $this->pagination->getLimitBox(); - ?> -
    - diff --git a/src/templates/html/com_osmembership/mplans/index.html b/src/templates/html/com_osmembership/mplans/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/mplans/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/plan/default.php b/src/templates/html/com_osmembership/plan/default.php deleted file mode 100644 index 8643c8a..0000000 --- a/src/templates/html/com_osmembership/plan/default.php +++ /dev/null @@ -1,176 +0,0 @@ -item; - -$clearfixClass = $this->bootstrapHelper->getClassMapping('clearfix'); - -if ($item->thumb) -{ - $imgSrc = Uri::base() . 'media/com_osmembership/' . $item->thumb; -} - -if ($this->config->use_https) -{ - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $this->Itemid), false, 1); -} -else -{ - $signUpUrl = Route::_(OSMembershipHelperRoute::getSignupRoute($item->id, $this->Itemid)); -} - -$subscribedPlanIds = OSMembershipHelperSubscription::getSubscribedPlans(); - -$showPlanInformation = $this->params->get('show_plan_information', 1); -$planInformationPosition = $this->params->get('plan_information_position', 0); - -if ($showPlanInformation && $planInformationPosition == 0) -{ - $leftClass = $this->bootstrapHelper->getClassMapping('span7'); - $rightClass = $this->bootstrapHelper->getClassMapping('span5'); -} -else -{ - $leftClass = $this->bootstrapHelper->getClassMapping('clearfix'); - $rightClass = $this->bootstrapHelper->getClassMapping('clearfix'); -} -?> -
    -
    -

    - params->get('page_heading'); ?> -

    -
    -
    -
    - -
    - $item]); ?> -
    - -
    - thumb) - { - ?> - <?php echo $item->title; ?> - description) - { - echo $item->description; - } - else - { - echo $item->short_description; - } - ?> -
    - -
    - $item]); ?> -
    - -
    - - renewOptions) || count($this->upgradeRules)) - { - echo $this->loadTemplate('renew_upgrade'); - } - ?> -
    -
      - getLanguage(); - - if (in_array('subscribe', $actions)) - { - if ($language->hasKey('OSM_SIGNUP_PLAN_' . $item->id)) - { - $signUpLanguageItem = 'OSM_SIGNUP_PLAN_' . $item->id; - } - else - { - $signUpLanguageItem = 'OSM_SIGNUP'; - } - - if ($language->hasKey('OSM_RENEW_PLAN_' . $item->id)) - { - $renewLanguageItem = 'OSM_RENEW_PLAN_' . $item->id; - } - else - { - $renewLanguageItem = 'OSM_RENEW'; - } - ?> -
    • - - id, $subscribedPlanIds) ? Text::_($renewLanguageItem) : Text::_($signUpLanguageItem); ?> - -
    • - hasKey('OSM_UPGRADE_PLAN_' . $item->id)) - { - $upgradeLanguageItem = 'OSM_UPGRADE_PLAN_' . $item->id; - } - else - { - $upgradeLanguageItem = 'OSM_UPGRADE'; - } - - if (count($item->upgrade_rules) > 1) - { - $link = Route::_('index.php?option=com_osmembership&view=upgrademembership&to_plan_id=' . $item->id . '&Itemid=' . OSMembershipHelperRoute::findView('upgrademembership', $this->Itemid)); - } - else - { - $upgradeOptionId = $item->upgrade_rules[0]->id; - $link = Route::_('index.php?option=com_osmembership&task=register.process_upgrade_membership&upgrade_option_id=' . $upgradeOptionId . '&Itemid=' . $this->Itemid); - } - ?> -
    • - - - -
    • - -
    -
    -
    -
    diff --git a/src/templates/html/com_osmembership/plan/default_renew_upgrade.php b/src/templates/html/com_osmembership/plan/default_renew_upgrade.php deleted file mode 100644 index 2176c55..0000000 --- a/src/templates/html/com_osmembership/plan/default_renew_upgrade.php +++ /dev/null @@ -1,45 +0,0 @@ - -
    - renewOptions)) - { - ?> -
    -

    - loadCommonLayout('common/tmpl/renew_options.php');?> -
    - upgradeRules)) - { - ?> -
    -

    - loadCommonLayout('common/tmpl/upgrade_options.php'); - ?> -
    - -
    -
    - -
    - diff --git a/src/templates/html/com_osmembership/plan/index.html b/src/templates/html/com_osmembership/plan/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/plan/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/plans/columns.php b/src/templates/html/com_osmembership/plans/columns.php deleted file mode 100644 index bcee22a..0000000 --- a/src/templates/html/com_osmembership/plans/columns.php +++ /dev/null @@ -1,84 +0,0 @@ - -
    - params->get('show_page_heading', 1)) - { - if ($this->category) - { - $pageHeading = $this->params->get('page_heading') ?: $this->category->title; - } - else - { - $pageHeading = $this->params->get('page_heading') ?: Text::_('OSM_SUBSCRIPTION_PLANS'); - } - - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-page-title">> - category->description)) - { - $description = $this->category->description; - } - elseif (OSMembershipHelper::isValidMessage($this->params->get('intro_text'))) - { - $description = $this->params->get('intro_text'); - } - else - { - $description = ''; - } - - if ($description) - { - ?> -
    - -
    - categories)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/categories.php', ['items' => $this->categories, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid]); - } - - if (count($this->items)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/columns_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]); - } - - if (!$this->input->getInt('hmvc_call') && ($this->pagination->total > $this->pagination->limit)) - { - ?> - - -
    diff --git a/src/templates/html/com_osmembership/plans/default.php b/src/templates/html/com_osmembership/plans/default.php deleted file mode 100644 index e9980c7..0000000 --- a/src/templates/html/com_osmembership/plans/default.php +++ /dev/null @@ -1,83 +0,0 @@ - -
    - params->get('show_page_heading', 1)) - { - if ($this->category) - { - $pageHeading = $this->params->get('page_heading') ?: $this->category->title; - } - else - { - $pageHeading = $this->params->get('page_heading') ?: Text::_('OSM_SUBSCRIPTION_PLANS'); - } - - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-page-title">> - category->description)) - { - $description = $this->category->description; - } - elseif (OSMembershipHelper::isValidMessage($this->params->get('intro_text'))) - { - $description = $this->params->get('intro_text'); - } - else - { - $description = ''; - } - - if ($description) - { - ?> -
    - -
    - categories)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/categories.php', ['items' => $this->categories, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid]); - } - - if (count($this->items)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/default_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]); - } - - if (!$this->input->getInt('hmvc_call') && ($this->pagination->total > $this->pagination->limit)) - { - ?> - - -
    diff --git a/src/templates/html/com_osmembership/plans/index.html b/src/templates/html/com_osmembership/plans/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_osmembership/plans/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/com_osmembership/plans/pricingtable.php b/src/templates/html/com_osmembership/plans/pricingtable.php deleted file mode 100644 index 0572e69..0000000 --- a/src/templates/html/com_osmembership/plans/pricingtable.php +++ /dev/null @@ -1,75 +0,0 @@ -category ? $this->category->id : 0; -?> -
    - params->get('show_page_heading', 1)) - { - if ($this->category) - { - $pageHeading = $this->params->get('page_heading') ?: $this->category->title; - } - else - { - $pageHeading = $this->params->get('page_heading') ?: Text::_('OSM_SUBSCRIPTION_PLANS'); - } - - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-page-title">> - category->description)) - { - $description = $this->category->description; - } - elseif (OSMembershipHelper::isValidMessage($this->params->get('intro_text'))) - { - $description = $this->params->get('intro_text'); - } - else - { - $description = ''; - } - - if ($description) - { - ?> -
    - -
    - categories)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/categories.php', ['items' => $this->categories, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid]); - } - - if (count($this->items)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]); - } - ?> -
    diff --git a/src/templates/html/com_osmembership/plans/pricingtablecircle.php b/src/templates/html/com_osmembership/plans/pricingtablecircle.php deleted file mode 100644 index 6361a88..0000000 --- a/src/templates/html/com_osmembership/plans/pricingtablecircle.php +++ /dev/null @@ -1,75 +0,0 @@ -category ? $this->category->id : 0; -?> -
    - params->get('show_page_heading', 1)) - { - if ($this->category) - { - $pageHeading = $this->params->get('page_heading') ?: $this->category->title; - } - else - { - $pageHeading = $this->params->get('page_heading') ?: Text::_('OSM_SUBSCRIPTION_PLANS'); - } - - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-page-title">> - category->description)) - { - $description = $this->category->description; - } - elseif (OSMembershipHelper::isValidMessage($this->params->get('intro_text'))) - { - $description = $this->params->get('intro_text'); - } - else - { - $description = ''; - } - - if ($description) - { - ?> -
    - -
    - categories)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/categories.php', ['items' => $this->categories, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid]); - } - - if (count($this->items)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_circle_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]); - } - ?> -
    diff --git a/src/templates/html/com_osmembership/plans/pricingtableflat.php b/src/templates/html/com_osmembership/plans/pricingtableflat.php deleted file mode 100644 index 80724d4..0000000 --- a/src/templates/html/com_osmembership/plans/pricingtableflat.php +++ /dev/null @@ -1,75 +0,0 @@ -category ? $this->category->id : 0; -?> -
    - params->get('show_page_heading', 1)) - { - if ($this->category) - { - $pageHeading = $this->params->get('page_heading') ?: $this->category->title; - } - else - { - $pageHeading = $this->params->get('page_heading') ?: Text::_('OSM_SUBSCRIPTION_PLANS'); - } - - if ($this->input->getInt('hmvc_call')) - { - $hTag = 'h2'; - } - else - { - $hTag = 'h1'; - } - ?> - < class="osm-page-title">> - category->description)) - { - $description = $this->category->description; - } - elseif (OSMembershipHelper::isValidMessage($this->params->get('intro_text'))) - { - $description = $this->params->get('intro_text'); - } - else - { - $description = ''; - } - - if ($description) - { - ?> -
    - -
    - categories)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/categories.php', ['items' => $this->categories, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid]); - } - - if (count($this->items)) - { - echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_flat_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]); - } - ?> -
    diff --git a/src/templates/html/mod_membershipplans/index.html b/src/templates/html/mod_membershipplans/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_membershipplans/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_cart/default.php b/src/templates/html/mod_virtuemart_cart/default.php deleted file mode 100644 index 493e59e..0000000 --- a/src/templates/html/mod_virtuemart_cart/default.php +++ /dev/null @@ -1,99 +0,0 @@ -prepareAjaxData(true); -$view = vRequest::getCmd('view'); -?> - -
    -
    -

    - totalProductTxt ?> -

    -
    - - -
    -
    -
    -
    -
    -
    -
    - -  x  - -
    -
    - _priceConfig['salesPrice'][0]) : ?> -
    - -
    - -
    -
    -
    -
    -
    -
    - -
    - products as $product) : ?> -
    -
    - -
    - -
    - -
    - - - -  x  - - - -
    - -
    -
    - - _priceConfig['salesPrice'][0]) : ?> -
    - - - -
    - -
    -
    -
    -
    - -
    - -
    - - - - - products) ? $data->billTotal : ''; ?> - -
    - - - - - - - -
    diff --git a/src/templates/html/mod_virtuemart_cart/dropdown.php b/src/templates/html/mod_virtuemart_cart/dropdown.php deleted file mode 100644 index c6389bd..0000000 --- a/src/templates/html/mod_virtuemart_cart/dropdown.php +++ /dev/null @@ -1,107 +0,0 @@ -prepareAjaxData(true); -$view = vRequest::getCmd('view'); -?> - - diff --git a/src/templates/html/mod_virtuemart_cart/index.html b/src/templates/html/mod_virtuemart_cart/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_virtuemart_cart/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_category/all.php b/src/templates/html/mod_virtuemart_category/all.php deleted file mode 100644 index a0d4eff..0000000 --- a/src/templates/html/mod_virtuemart_category/all.php +++ /dev/null @@ -1,44 +0,0 @@ -get('level', 0); -?> -
      - - virtuemart_category_id); - $cattext = $category->category_name; - - if (in_array( $category->virtuemart_category_id, $parentCategories)) { - $active_menu = ' active'; - } - ?> -
    • - - childs) && $sublevel > 0) : ?> -
        - childs as $child) : ?> - virtuemart_category_id == $category_id) { - $active_menu = ' active'; - } - $caturl = Route::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$child->virtuemart_category_id); - $cattext = vmText::_($child->category_name); - ?> -
      • - -
      • - -
      - -
    • - -
    diff --git a/src/templates/html/mod_virtuemart_category/current.php b/src/templates/html/mod_virtuemart_category/current.php deleted file mode 100644 index 973a2a7..0000000 --- a/src/templates/html/mod_virtuemart_category/current.php +++ /dev/null @@ -1,67 +0,0 @@ -getWebAssetManager(); -$wa->addInlineScript('jQuery(function($) { - $(\'.vm-menu-btn\').click(function(e){ - e.stopPropagation(); - e.preventDefault(); - }); - }); -'); - -$category_id = vRequest::getInt ('virtuemart_category_id', 0); -$sublevel = $params->get('level', 0); -$btnIcon = ' - -'; -?> -
      - - virtuemart_category_id, $parentCategories)) { - $active_menu = ' active'; - } - - $has_children = !empty($category->childs) ? ' has-children' : ''; - $collapsed = empty($active_menu) ? ' collapsed' : ''; - $caturl = Route::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$category->virtuemart_category_id); - $btn = ''; - $submenu_btn = !empty($category->childs) && $sublevel > 0 ? $btn : ''; - $cattext = $category->category_name . $submenu_btn; - ?> -
    • - - childs) && $sublevel > 0) : ?> -
      -
        - childs as $child) : ?> - virtuemart_category_id == $category_id) { - $active_menu = ' active'; - } - $caturl = Route::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$child->virtuemart_category_id); - $childcattext = $child->category_name; - ?> -
      • - -
      • - -
      -
      - -
    • - -
    diff --git a/src/templates/html/mod_virtuemart_category/default.php b/src/templates/html/mod_virtuemart_category/default.php deleted file mode 100644 index e151aa9..0000000 --- a/src/templates/html/mod_virtuemart_category/default.php +++ /dev/null @@ -1,67 +0,0 @@ -getWebAssetManager(); -$wa->addInlineScript('jQuery(function($) { - $(\'.vm-menu-btn\').click(function(e){ - e.stopPropagation(); - e.preventDefault(); - }); - }); -'); - -$category_id = vRequest::getInt ('virtuemart_category_id', 0); -$sublevel = $params->get('level', 0); -$btnIcon = ' - -'; -?> -
      - - virtuemart_category_id, $parentCategories)) { - $active_menu = ' active'; - } - - $has_children = !empty($category->childs) ? ' has-children' : ''; - $collapsed = empty($active_menu) ? ' collapsed' : ''; - $caturl = Route::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$category->virtuemart_category_id); - $btn = ''; - $submenu_btn = !empty($category->childs) && $sublevel > 0 ? $btn : ''; - $cattext = $category->category_name . $submenu_btn; - ?> -
    • - - childs) && $sublevel > 0) : ?> -
      -
        - childs as $child) : ?> - virtuemart_category_id == $category_id) { - $active_menu = ' active'; - } - $caturl = Route::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$child->virtuemart_category_id); - $childcattext = $child->category_name; - ?> -
      • - -
      • - -
      -
      - -
    • - -
    diff --git a/src/templates/html/mod_virtuemart_category/index.html b/src/templates/html/mod_virtuemart_category/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_virtuemart_category/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_category/wall.php b/src/templates/html/mod_virtuemart_category/wall.php deleted file mode 100644 index dcdcb3b..0000000 --- a/src/templates/html/mod_virtuemart_category/wall.php +++ /dev/null @@ -1,28 +0,0 @@ -addImages($categories); -$categories_per_row = vmConfig::get('categories_per_row'); -$bscol = $module->position == 'sidebar-left' || $module->position == 'sidebar-right' ? '6' : '3'; -?> - - diff --git a/src/templates/html/mod_virtuemart_currencies/default.php b/src/templates/html/mod_virtuemart_currencies/default.php deleted file mode 100644 index d24b9a7..0000000 --- a/src/templates/html/mod_virtuemart_currencies/default.php +++ /dev/null @@ -1,38 +0,0 @@ -getCurrency($virtuemart_currency_id); -?> - - -

    - - -
    - -
    - - - - - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - # FILE INFORMATION - DEFGROUP: Joomla.Templates.Site - INGROUP: Moko-Cassiopeia - FILE: index.html - BRIEF: Security redirect page to block folder access and forward to site root. ---> - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_manufacturer/default.php b/src/templates/html/mod_virtuemart_manufacturer/default.php deleted file mode 100644 index 305e83a..0000000 --- a/src/templates/html/mod_virtuemart_manufacturer/default.php +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/templates/html/mod_virtuemart_manufacturer/index.html b/src/templates/html/mod_virtuemart_manufacturer/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_virtuemart_manufacturer/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_product/default.php b/src/templates/html/mod_virtuemart_product/default.php deleted file mode 100644 index 9474030..0000000 --- a/src/templates/html/mod_virtuemart_product/default.php +++ /dev/null @@ -1,167 +0,0 @@ -showRating(); - -$emptyStar = ' - -'; - -$star = ' - -'; - -$bscol = ' col-xl-' . floor (12 / $products_per_row); -?> - -
    - -
    - - - -
    - -
    -
    > - images[0]) ? $product->images[0]->displayMediaThumb ('class="vm-products-module-img img-fluid"', FALSE) : ''; - echo HTMLHelper::_ ('link', Route::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id), $image, array('title' => $product->product_name)); - ?> -
    -
    - - getRatingByProduct($product->virtuemart_product_id, true); - $maxrating = VmConfig::get('vm_maximum_rating_scale', 5); - ?> - rating)) : ?> -
    - -
    - - rating * 16; ?> -
    -
    - -
    -
    rating, 2) . '/' . $maxrating) ?>" data-bs-toggle="tooltip"> -
    - -
    -
    -
    - - - $product)); ?> -
    - - virtuemart_product_id . '&virtuemart_category_id=' .$product->virtuemart_category_id); ?> - -

    - - product_name; ?> - -

    - -

    - product_s_desc, 60, ' ...') ?> -

    - -
    - prices['salesPrice'])) { - echo $currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE); - } - - if ($product->prices['discountAmount']) { - echo $currency->createPriceDiv ('basePriceWithTax', '', $product->prices, FALSE, FALSE, 1.0, TRUE); - } - } - ?> -
    - - - $product)); ?> - - - -
    - -
    - -
      - -
    • -
      -
      - images[0]) ? $product->images[0]->displayMediaThumb ('class="vm-products-module-img img-fluid"', FALSE) : ''; - echo HTMLHelper::_ ('link', Route::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id), $image, array('title' => $product->product_name)); - ?> -
      -
      - virtuemart_product_id . '&virtuemart_category_id=' .$product->virtuemart_category_id); ?> - -

      - - product_name; ?> - -

      - -
      - prices['salesPrice'])) { - echo $currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE); - } - - if ($product->prices['discountAmount']) { - echo $currency->createPriceDiv ('basePriceWithTax', '', $product->prices, FALSE, FALSE, 1.0, TRUE); - } - } - ?> -
      - - -
      -
      -
    • - -
    - - - - - -
    diff --git a/src/templates/html/mod_virtuemart_product/index.html b/src/templates/html/mod_virtuemart_product/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_virtuemart_product/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - - diff --git a/src/templates/html/mod_virtuemart_search/default.php b/src/templates/html/mod_virtuemart_search/default.php deleted file mode 100644 index 6776c11..0000000 --- a/src/templates/html/mod_virtuemart_search/default.php +++ /dev/null @@ -1,56 +0,0 @@ - - -
    - - - - - - '; - } - ?> -
    diff --git a/src/templates/html/mod_virtuemart_search/index.html b/src/templates/html/mod_virtuemart_search/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_virtuemart_search/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
    Redirecting to the site root… If you are not redirected, click here.
    - -