Журнал изменений
Core System Changes:
- Rename core/core.php to core/system.php for better clarity
- Add core/legacy.php for backward compatibility
- Replace config/config_core.php with config/system.php
- Update all references from core.php to system.php
- Update copyright year to 2026
Code Improvements:
- Standardize code formatting (tabs to spaces)
- Update admin/index.php with improved module loading
- Modernize admin/modules/editor.php
- Update modules/account/index.php
- Update modules/changelog/index.php
- Update index.php core integration
Admin Interface:
Add new admin panel icons:
- config.png (settings/configuration)
- gears.png (system operations)
- monitor.png (monitoring)
- remote.png (remote management)
Documentation:
- Update README.md with new file structure
- Update admin/info/editor-ru.html documentation
Cleanup:
Remove 400+ obsolete upload files:
- Old account images and avatars
- Legacy content images (logos, backgrounds, souvenirs)
- Old screenshot thumbnails
- Deprecated demo site images
- Forum attachments
- Update index.html files in upload directories
- Replace $admin_file with $aroute in comments module
- Update config module indentation
- Update editor module
- Remove obsolete backup.txt
- Fix TypeError in setPageNumbers() by returning empty string when pages <= 1
- Add filterTextHighlight() function for search term highlighting
Modernize users.php module following SLAED 6.3 standards:
- Rename users_navi() to navi()
- Replace $admin_file with $aroute
- Rename users_show() to users()
- Simplify variable names (chng_user → chng)
- Apply SLAED code formatting
- Extract inline switch cases to functions
- Add exit after header redirects
- Integrate basic-changelog and basic-changelog-commit templates
- Fix character encoding issues (copyright symbol, bullet points)
- Simplify Git log format string handling (remove Windows-specific escaping)
- Optimize commit rendering with template-based approach
- Update counter statistics and add new changelog module structure
Windows cmd.exe interprets % as environment variable prefix, causing Git format placeholders (%H, %an, %ad, etc.) to be treated as undefined variables instead of being passed to Git. This resulted in empty author names and missing commit data in the Local Git changelog view.
Changes:
- Add Windows-specific % escaping (double %% for cmd.exe)
- Apply platform-specific date format handling
- Fix body parsing with explode limit to handle || in messages
- Remove escapeshellarg from format string to allow Git expansion
Added new config files for filetype and uploads configuration. Removed deprecated config_uploads.php. Updated admin templates for changelog and monitor modules.
Added changelog info files for German, English, French, Polish, Russian, and Ukrainian languages, plus German statistics info.
Updated multiple admin modules to follow SLAED 6.3 coding standards including template.php and other core modules.
Changed templsave() to use setConfigFile() instead of save_conf() with Heredoc syntax since line breaks are not needed for template configuration storage.
- Rename functions to lowercase: template_navi() to navi(), template_style() to style(), template_info() to info()
- Rename save functions: template_save to save(), template_style_save to stylesave()
- Replace $admin_file with $aroute throughout
- Add proper type hints: void and string return types
- Replace analyze() with getVar() using proper type validation
- Replace tpl_eval() with setTemplateBasic()
- Replace navi_gen() with getAdminTabs()
- Replace end_chmod() with checkPerms()
- Add PHP 8.4 compatibility: opendir() false checks
- Add exit; after header redirects
- Modernize arrays: array() to []
- Modernize switch case with default
- Add conditional parameter handling for templ
- Update copyright year to 2026