-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinfo.php
More file actions
108 lines (81 loc) · 3.86 KB
/
info.php
File metadata and controls
108 lines (81 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
/**
*
* @category modules
* @package oneforall
* @author WBCE Community
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2010, Website Baker Org. e.V.
* @copyright 2019-, WBCE Community
* @link https://www.wbce.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WBCE
*
*/
/*
-----------------------------------------------------------------------------------------
OneForAll module for WBCE (https://www.wbce.org)
This module is designed for adding fully customized pages to WBCE
-----------------------------------------------------------------------------------------
*/
// Set your own module name that matches the module's scope of data handling
// Allowed characters are a-z, A-Z, 0-9, - (hyphen), _ (underscore) and spaces.
// Min 3, max 20 characters
$module_name = 'OneForAll'; // default: OneForAll
// Do not change anything below
$module_directory = str_replace(' ', '_', strtolower($module_name));
$mod_name = $module_directory;
$renamed_to = $mod_name == 'oneforall' ? '' : '(renamed to <strong>'.$module_name.'</strong>) ';
$module_function = 'page';
$module_version = '1.2.6';
$module_platform = '1.6.5';
$module_author = 'Christoph Marti';
$module_license = 'GNU General Public License';
$module_description = 'Universal page type module with custom fields, templates and starter presets.';
/*
-----------------------------------------------------------------------------------------
DEVELOPMENT HISTORY:
v1.1.12 (Slugger / Claude AI; 08/05/2026)
+ [modify_presets.php] Preset Manager: load, save, delete, import, export JSON presets
+ Starter presets: grid, list, slider, timeline (fields + page settings only)
+ [upgrade.php] Create presets/ directory on upgrade
v1.1.11 (Slugger / Claude AI; 26/03/2026)
! [view.php] Fix: blank page via SectionPicker (mod_name empty)
! [view_overview.php] Fix: detail link 404 via SectionPicker (wrong page link)
v1.1.10 (Slugger / Claude KI; 26/03/2026 )
! PHP 8.4 fixes
v1.1.9 (Bernd; 10/10/2022)
! more PHP 8.1 compatibility fixes
v1.1.8 (Florian; 06/07/2022)
! PHP 8.1 compatibility fixes
! fix for backend display error when no items exist (thx to atlasfreak, see https://forum.wbce.org/viewtopic.php?id=4771)
v1.1.7 (Bernd; 27/12/2021)
! Fix for search issue, see https://forum.wbce.org/viewtopic.php?pid=38845#p38845
v1.1.6 (Florian Meerwinck; 04/10/2021)
! Fix PHP 8 Deprecations (by some adaptions from OfA for WebsiteBaker)
v1.1.5 (Christoph Marti; 06/20/2020)
+ Only export page settings of the current section_id
+ Only import page settings to the target section_id
+ [delete.php] Fix: Not only delete the module access files, but the entire associated directory
v1.1.4 (Christoph Marti; 06/19/2020)
+ [backend.css] Fix: Table cell min-with on the modify page settings submit table
+ [upgrade.php] Fix: Added namespace to css selectors
+ [json_import.php] Fix: Import uses db prefix and module name of the target module
v1.1.3 (Christoph Marti; 06/17/2020)
+ [json_import.php] Fix: Replace the imported section_id and page_id
v1.1.2 (Christoph Marti; 06/16/2020)
+ Added import warning to the user about truncating db tables and data loss
+ Added error message in case json decode fails
v1.1.1 (Christoph Marti; 06/15/2020)
+ Added new backend page general settings
+ Added new db table mod_oneforall_general_settings
+ Added json export / import of fields, page settings and general settings
v1.1.0 (Christoph Marti; 06/01/2020)
+ Updated Plupload to v2.3.6
v1.0.0 (Christoph Marti; 01/14/2017)
+ Initial stable release
v0.1 (Christoph Marti; 12/19/2014)
+ Initial release of OneForAll
+ OneForAll is based on the module Showcase v0.5
-----------------------------------------------------------------------------------------
*/