RC2 -b
1. issue with [include]: removed constant definition, and returned to regular var
2. corrected db var for allowed files.

RC2 -a
1. corrected post action ="files/" to action="snews_files/"
2. removed index.php from querystrings, allowing htaccess to allocate such
3.

todo
possible invalidation in admin to be checked and rectified.

133a-5
1. Made default artorder=1 instead of max value in category
2. comment mail out retained \r\n and <br /> in email.
	 comment textarea received same when returned after erroneous posting.
	 Solution was new function to convert/remove.
3. increased username/password length from max 9 chars, to 14 chars
4. hiding article didn't remove it from pagination, resulting in empty page.
4. removed populate_l() function, and installed in startup.
5. test for lang file refitted.

TODO
remove extraneous commented code, and comments in code

133a-4
1. Article order on site not ordering. added artorder ASC to sql's
2. subcats not ordering in sitemap. Adjusted sql.
3. articles still being reordered on edit - reset to 1. rectified.
4. extras assigned to pages only showing up in admin,sitemap,contact,archive -fixed.
5. reassembled lib.php into snews - user issues
6. reverted constants for same reason in 5.
7. admin for extras now has the 'pages' section defined better - new lang var.

TODO
remove extraneous commented code, and comments in code
full xhtml test to ensure generated code is compliant
-- template needs to be validated first.

133a-3
1. category deletion, when category has content
  -rectified notification.
2. where page is deleted, extra's assignation not nullified correctly.-fixed.
3. Corrected a stack of admin bread crumb items
4. instigated a redirection on login to allow removal of all but one session[logged_in],
   and to allow full inclusion of admin required includes.
   Now only 3 instances of $_SESSION[_SITE.'Logged_In'] in script
5. removed toggle archive (commented out). If required, it is in previous update.

TODO
remove extraneous commented code, and comments in code
full xhtml test to ensure generated code is compliant
-- template needs to be validated first.
--- wish people would decide what template is to be used... it has been replaced somewhere in the past.

133a-2
1. rectified ordering issue -- order changed when edited.
2. issue of extras assigend to page when page changed to smething else
  - think I've got it sorted out :\
3. repositioned 'Show on subcats'

133a-1
1. reverted to normal archive - toggle archive still present but commented.
2. fixed admin breadcrumbs when viewing article/page/extra/category general panels.(new lang Vars)
3. got pages selection box for extras to auto vanish if extra selection is Page Only.
4. Added label for extras showing on all Pages (no new lang vars)
5. re-enabled sitemap... seems to have been knobbled accidently ;)

133a
1. now have all locations of extra displayed in admin

133
1. altered catSEF items articles, pages, categories, files, settings by prepending with snews_
  - releases these reserved words for use as seftitles.
2. corrected filter sql for proper functioning
3. added alternate lang var when using filter in admin, for no content
4. replaced 95% session[logged_in] and token() calls with admin constant.
  -remaining ones are required for expected operation
5. corrected sql for category sorting
6. if page altered to article, category is 0, and item disappears from admin.
  - added code to article view to catch this.
7. if article altered to page, then back again, category is already set,
  and seftitle already exists in that category, resulting in an error.
  - now setting category to zero if converted to page.
8. added ability to backdate using 'future' publishing.
  - When backdating, published was set to 2, but wouldn't update automatically.
  - important for people manually transfering over to snews.
9. added toggle div to edit article view. New articles do not get the toggle.

132a - eq cleanup
	- dberror & db_tables moved to language variable
	- changed _PRE to __tTABLE
	- changed _SITE to __site for consistency
	- moved helper functions to a lib file
	- moved file_extensions, allowed_files, allowed_images to db and in setting instead of languages


132 - Changes
1. add filter by year/month to articles

131
1. added option hide/show for articles, extras and pages.
2. added order contents for categories, articles, extras and pages.
3. 3 news fields for sql (added by Bob), see readme file.
4. Administrator can see all hidden articles, pages and extras, but not regular user.
5. All hidden contents are working on sitemap and archieve.


130

 1 Removed two of the three session_start().
	- One session_start()  is enough!
	- Session should start before any content is outputted and preferably before any processing.
 2 Removed trailing semicolons from queries.
 3 Removed whie space from function buttons, link elements and textarea
	-  Some browser cannot cope with to much whitespace (tabs, new lines) inside elements.
 4 Removed most tabs from queries, to reduce data transmission.
 5 Removed quotes from integers
 6 Changed double quotemarks in queires to single quote marks.
 7 Removed define('_EOL',"\r\n"); , which is not used anyway.


129
1. Added RSS_link fix - checked is content was present to display link
2. changed Page Global as it's definition was incorrect
	- in 128 state with rss_link fix, RSS Pages would have shown with no pages as the global is giving a true value
3. Added "add new" link if no content is present
4. Added "No articles.." in sitemap if no categories and no articles are present.
	TODO - decide if each category needs a "No articles.." line if no articles for the category
5. Commented out code in rss_links relevant to "RSS Comments for this article" until fix appears
	TODO - recommendation to remove if this is the last bug before stable release - was not functional in 1.6
	 - these two lines are not showing up in RSS comments when parsed
		//	$articleId = ($artSEF && is_numeric($artSEF)) ? "AND articleid = $artSEF" : '';
		//	$query = "comments WHERE approved = 'True' $articleId ORDER BY id";


128
1. added option to hide/show cat names in menu_articles.
2. added title to menu_article links
3. extended category link title to include category name.
4. added cdata tags to js.
5. updated readme sql section for all new fields - reordered a bit as well.
6. js sef generation alteration for 'multi-lang' characters.
7. added subcat article listing for empty parent cat
TODO
-- decide if for this release, remove fieldset items from non-form page, but get looks to be consistant.

127
1. reverted editor to form buttons -- some browsers will not have line-through or underline in buttons
2. fixed flickering of editor textarea in IE with long articles.
3. put quotes into l(charerror) in search engine
4. menu_articles called in empty parent category, to give listing of articles in category.
5. menu_articles new feature(category specific) now usable with [func] to insert into parent article.
6. comment approval no longer required if logged in. (captcha is required)
TODO
-- decide if for this release, remove fieldset items from non-form page, but get looks to be consistant.

126a
1. reintroduced die in fatal errors (login, doing something when should be logged in)
TODO
-- editor button issue with IE. Agreement/discussion not forthcoming at this stage.

126
1. captcha rework checkMathCaptcha reads $_POST var, instead of value being passed at function call.
2. login 'die' issue resolved.
3. session_start removed from index.php and put into startup.
4. NEW - name, url & comment returned to fields if comment post fails.
5. NEW - comment repost timer in admin as a new setting. Reduces manual spam/repost likelihood.
6. comment deletion giving incorrect back link. have installed redirect as well -- may be removed.
7. NEW [MOD] mail comments
TODO
-- editor button issue with IE. Agreement/discussion not forthcoming at this stage.

125
1. captcha mod - security -
2. comments issue - redirection wrong where parent & child ave same seftitle

124
1. removed limit to comment delete in article deletion [topic=7059.msg50681#msg50681]
2. revamped search function [topic=7059.msg50681#msg50681]
3. new comments replaced [topic=7059.msg50067#msg50067]
4. refitted items that went missing. think I got them all
5. Rui's js fix -- hopping when using editor format buttons.

123
1. JS not loading on login [topic=7209.msg50806#msg50806]
2. JS needs to be included to allow lang vars to apply[topic=7059.msg50807#msg50807,topic=7059.msg50810#msg50810]
3. Constant issues define now with quotes - no alteration to site() detection [topic=7237.0,topic=7059.msg51203#msg51203]
4. Deletion of comments errors on URL for 'back' link [topic=7186.0]
5. Duplicate entry of comment text by different users will throw error[topic=7247.0]
6. Layout bug in settings[topic=7193.0]
7. addition of lang var[topic=7195.0]
8. various lang var re-wordings, inclusion of js vars in EN.php

122
1. removed extra , from cat_listSEF [topic=7059.msg50503#msg50503]
2. edited strikethough & added css [topic=7059.msg50547#msg50547]
3. fixed language variables, removed SYSTEM VARIABLES from language file EN.php
4. ignored_items list - changed language file so that current lang file cannot be deleted in files section of admin [topic=7059.msg50565#msg50565]

121
1. language changes as noted in forum [topic=7059.msg50502#msg50502] & [topic=7059.msg50503#msg50503]
2. correct spelling of Candidate :)
3. extra </div> removed from form_article [topic=7059.msg50511#msg50511]
4. file structure as discussed [topic=7168.msg50506#msg50506]
5. renamed language file from snews_EN.php & updated function populate_l() to match
6. Changed button layout [topic=7156.msg50481#msg50481]
7. Added language varialbes for buttons [topic=7156.msg50532#msg50532]
8. Fixed "null" entry on tags function (admin.js).  Cancelling out of "insert link" & "insert function" placed the text "null" in the textarea.

120
1. code cleanup - removed misc comments, added indexnt for readability
2. file structure, changed design-images to images, moved css to image folder, pointed all refs to images now
3. removed redundant snews image
4. Changed readme's subctitle to reflect rc
5. Changed error reporting to 0

119 - Bob

1. Modified readme.html
	- Added "initial article"
	- Removed $db['website'] variable info
	- Changed pre17 to 1.7RC

2. Fixed function includes in RSS feeds.


----------------------------------------------------------------------------

118db	(Doug) Apr.03.08 - 11:00 a.m. EDT
-----

1. In style.css:
	- disabled borders & background color,
	- added new styles at bottom of file for admin panels,
	- added - #posts p.subcat {margin-left: 20px;} - to indent subcat titles

2. In snews_EN.php:
	- changed value from "Publish Article" to "Publish Now" (shows on Extras and Pages too)
		$l['publish_article'] = 'Publish Now';
	- added new language variables for Files Panel under #files:
		$l['uploadto'] = 'Upload file to:';
		$l['uploadfrom'] = 'Upload file from:';
	- added new language variable to show when no content exists in categories & subcategories:
		$l['none_yet'] = 'No content yet...';
	- added $l['show_in_subcats'] = 'Show in Subcategories?';

3. In snews.php:
	- updated & patched extras function posted by Bob @ 9:10 a.m. Thursday, April 03.08 and all previous patches applied.
	- plus changed Bob PM'd to Doug @ 1:19 p.m. EDT in
		- extra function
		- form_articles function
		- processing function
		- new field in articles table - show_in_subcats
	- added <div class="adminpanel"> to all admin panel functions.

----------------------------------------------------------------------------


117
1. Added line to readme.html [topic=7059.msg50124#msg50124]
2. Fixed breadcrumbs [topic=7059.msg50163#msg50163] alternative post [topic=7059.msg50167#msg50167]
3. Fixed "On editing, it throws a spanner into the layout" [topic=7059.msg50185#msg50185]
4. Remove "ALTER TABLE `articles` ADD UNIQUE (`seftitle`)" from readme [topic=7059.msg50229#msg50229]
5. Fixed "Weird problem with choose category", change in admin.js & snews [topic=7059.msg50230#msg50230]
6. Fixed same seftitles in categories & pages [topic=7059.msg50249#msg50249]


116
1. Added Freds updated template [topic=7068.msg50104#msg50104]
2. Fixed comment redirection [topic=7059.msg50055#msg50055] Item #8
3. Fixed new comment menu anchor numbering [topic=7059.msg49907#msg49907]
4. Added missing archieve function code [topic=7059.msg49864#msg49864]
5. Fixed Extras issues [topic=7059.msg49882#msg49882]
6. Remove "Uncategorized" issues. [topic=7084.0]
7. amended ignored_items list [topic=7059.msg49928#msg49928]
8. Fixed touch file problem [topic=7059.msg49977#msg49977] & [topic=7059.msg49984#msg49984]
9. Removed philmoz's p/br mod
10. Removed $db['website'] from db variables and implemented site() function [topic=7132.msg50050#msg50050]
11. Fixed subcats not being found [topic=7059.msg50023#msg50023]
12. Added global default setting for "Enable Comments" on new articles. [topic=7059.msg50055#msg50055] Item #9
13. Fixed same catnames & check_if_unique functioning. [topic=7059.msg50049#msg50049]
14. Added "do you wan to create new content?" text [topic=7059.msg50055#msg50055] Item #7
15. Add language variables for various new options
16. Added to new fields for db table "settings" (enable_comments & freeze_comments)
17. Updated readme.html
18. Added padding to .subcat class in admin menu (style.css)


115
1. Changed Readme logo to site logo - bigger
2. Changed snews.js to admin.js - semanitcally correct
3. Made publish article for all article types
4. Defined website and prefix as constants
5. Moved language variables to it's own file.
6. Index.php changes - removed logo class and added s(website) calls to the header.  Fixed extra1 to extra - getting mysql errors




114f+template /fredK
1. Added new default template resources (folder design-images, changed style.css)
2. Added rewritten Readme.html (use this for future revisions)
3. Changed wording for math captcha (same meaning, more natural sounding)
4. Structural changes to html output in some parts of snews.php -- all are easy to roll back:
4.a. Infoline 'comments' -- changed class "date" for comments date line to "meta" (allows for separate styling) and removed enclosing redundant div.
4.b. Added class "big" to article h2 (for index page) to allow separate styles
4.c. Changed contact parent div to class "contactbox" instead of "commentsbox", again to allow different styling than on the commentsbox.
4.d. Added output <h3>Comments</h3> at the top of comments(), to visually separate published comments from comments form.



114f
1. Rui's function admin_articles: Semi-official, as it is an easy roll-back.
2. Jscript in separate file: Related language variables marked for deletion (8x), using this comment (#javascript), Changes     made to function title
3. Startup modified: Access to unpublished pages when logged in.
4. function cleanXSS: Modified in attempt to omit php warning.
5. One query eliminated from function rss_links
6.

114e
1. Replace function articles by Joost
2. Fixed: "After deleting a category, the catorder value stays at it's current value.  IMO, if a category with a lower catorder value is deleted, the remaining categorys in the same subcat, should be renumbered" by Bob Baker
3. Replaced "function menu_articles" by Joost
4. Fixed "After deleting a category, the catorder value stays at it's current value.  IMO, if a category with a lower catorder value is deleted, the remaining categorys in the same subcat, should be renumbered" by Bob Baker
5. Fixed "Articles of Unpublished categories can be accessed.   & show in New Articles" by Joost
6. Fixed "function Archive" by Joost
7. Fixed "new_comments" by Joost




114d
1. Added CSS styling to add different color to current & subcat classes for category menu
2. Added "Display new Articles on home" global setting for new articles.
3. Added "logout" option to login_link() function.
4. Rui's "When Unpublish article you cannot see if you click view in admin" fix
   http://snewscms.com/forum/index.php?topic=7059.msg49469#msg49469
5. Fixed issue with adding new articles to unpublished categories.
   http://snewscms.com/forum/index.php?topic=7059.msg49514#msg49514
6. Fixed issue with "Unpublished categories remaining in the category menu."
7. Some code cleanup in form_categories

114c
Replace startPreview in js for avoid "Weird problem with Admin panel (Safari Mac/windows/FF)"
In categories/subcategories add reordering by BOB and bug I found count unpublished articles


114b
1. Removed rss from sitemap
2. adding fixes from issues/bugs thread
3. added validation fix for shortened articles
4. removed redundant new_on_home code
5. fixed new comment bug with name


114a
1. Fixed sitemap pages query - removed id != '.s('display_page').'
  - getting fetch array errors here
2. Added Doug's function posting_time from:
http://snewscms.com/forum/index.php?topic=6931.msg49350#msg49350
3. Changed article title back to h2.  Article title should not have the same weight as the website title.
4.  Added some additional css styling
	- body
	- h1,2,3
 	- ul,li
	 - p
5.  Removed setting 13 display new on home
6. Added Auto p,br from here:
http://snewscms.com/forum/index.php?topic=7058.msg49127#msg49127
