Skip to content

simpleBlogCMS

Choose a tag to compare

@pumba250 pumba250 released this 14 Sep 12:39
· 58 commits to main since this release
2d09919

[0.9.9]
Added
Unified system of flash messages with support for types (success, error, warning, info)
Color coding of messages: green for success, red for errors, orange for warnings
Flash() function with support for two parameters: message and type
Automatic processing of statuses from URL parameters (?status=send/error/errno)

Changed
Completely redesigned message output system in all system components
Replaced direct $_SESSION['flash'] settings with calls to the unified flash() function
Updated all templates to work with the new flash message format
Improved handling of form errors with color indication

Affected components
Core.php - processing POST form requests
User.php - authentication and registration system
Template.php - template engine and variable transfer
index.php - main controller
All template files (.tpl)