====================================================
File: sNews 1.5.31 -> 1.6 changelog
Engine: sNews 1.6 CMS
Modified on: May 15, 2007.
Developers version: 1.6.0 Stable
Copyright (C) Solucija.com
sNews is licensed under a Creative Commons License
====================================================
LANGUAGE VARIABLES CHANGELOG
1. added SYSTEM VARIABLES which should not be subjected to translation
-----------------------
divider
cat_listSEF
paginator
file_include_extensions
allowed_files
allowed_images
ignored_items
-----------------------
2. new language variables
-----------------------
allowed_files
allowed_images
ignored_items
required
rss_articles
rss_pages
rss_comments
rss_comments_article
no_articles
error_404
-----------------------
3. removed language variables
-----------------------
article - duplicate
comments - duplicate
newarticle
a_true
a_false
a_prefix
-----------------------
_______________________
FUNCTIONS CHANGELOG
1. secret_word variable is removed from function db() and relocated to function token()
2. function snews_startup()
- completely recoded;
- added multiple rss calls feature;
- added 404 feature;
3. function pages()
- minor change (title value displaced);
4. function extra()
- completely recoded;
- parametrized;
- added advanced styling option;
- index.php call can stay intact (in order to achieve backward template compatibility);
5. function paginator()
- minor change (applied ternary operator);
6. function center()
- minor optimization improvements (several variables extracted outside loops);
- added new switch-case statement (404);
- modified notification call;
7. function comment()
- added badWords cleaning routine (which was missing in 1.5.31);
- added comment flooding check;
- added redirection after comment submission;
- added l('required') language variable to the comment form;
8. function archive()
- added if-empty archive check;
9. function sitemap()
- minor optimization improvements;
10. function notification()
- completely recoded (this change affects the whole engine);
11. function contact()
- added l('required') language variable to the comment form;
- added contact flooding check;
12. function menu_articles()
- added if-empty menu check;
13. function new_comments()
- modified SQL command;
14. function search()
- search output stripslashed;
15. function rss()
- completely recoded;
- renamed to rss_contents() and parametrized;
- this function now produces 4 types of RSS outputs (articles, pages, comments, article specific comments);
16. function html_input()
- output changed from echo to return (this change affects the whole engine);
17. function administration()
- added article title nex to unapproved comments listing;
18. function processing()
- applied entity clean routine instead of single quotes str_replace;
- modified SQL update command inside "save-settings" case;
19. function files()
- completely recoded;
20. function filelist()
- completely recoded;
21. function find_cat_sef()
- completely recoded;
22. function mathCaptcha()
- completely recoded;
23. function cleanWords()
- added bad_words.txt filter (which was missing in 1.5.31)
- in order to use this feature, please download file bad_words.txt and upload it into your site root (path should be
http://your-domain/bad_words.txt)
- after uploading, enable bad words filter via admin comments pane
24. function file_include()
- changed file extension check;
25. function js()
- completely recoded;
_______________________
NEW FUNCTIONS CHANGELOG
1. function error404()
- displays 404 error note
2. function rss_links()
- displays rss links on index.php
- this function produces 4 types of RSS links (articles, pages, comments, article specific comments);
- rss links are formed as an unordered list
3. function strip()
- strips non-RSS fiendly data before it's sent to reader
4. function entity()
- extracted htmlspecialchars function