Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1856)
+++ branches/2.8.x/CHANGELOG	(revision 1857)
@@ -1,3367 +1,3369 @@
-﻿Change Log
-===============================================================================
-Please note: This change log may not be accurate
-
-$Id$
-
-Legend:
-+ = Added
-- = Removed
-# = Bugfix
-! = Update/Change
-===============================================================================
-
-
-08 Jan-2013 Build 1856 Dietmar Woellbrink (Luisehahne)
-- remove wrong files and images in jquery
-08 Jan-2013 Build 1855 Dietmar Woellbrink (Luisehahne)
-! forgot the jQuery UI css
-08 Jan-2013 Build 1854 Dietmar Woellbrink (Luisehahne)
-! forgot the jQuery UI
-08 Jan-2013 Build 1853 Dietmar Woellbrink (Luisehahne)
-! update phpmailer to version 5.2.1
-! update jquery to 1.8.3 and jQuery UI to 1.9.2
-07 Jan-2013 Build 1852 Werner v.d.Decken(DarkViper)
-! updated Twig template engine to stable version 1.11.1 step 2
-07 Jan-2013 Build 1851 Werner v.d.Decken(DarkViper)
-! updated Twig template engine to stable version 1.11.1
-06 Jan-2013 Build 1850 Dietmar Woellbrink (Luisehahne)
-! add default_timezone in admin account by new installation 
-06 Jan-2013 Build 1849 Dietmar Woellbrink (Luisehahne)
-# typofix page_extended in admin/settings and admin/pages/
-! Fill empty option modules dropdown in admin/pages/sections.php
-05 Jan-2013 Build 1848 Werner v.d.Decken(DarkViper)
-# fixed reinitialisation of class frontend in /index.php
-05 Jan-2013 Build 1847 Werner v.d.Decken(DarkViper)
-# PageTree: fixed icon requests
-+ added 2 icons in wb_theme and argos_theme
-05 Jan-2013 Build 1846 Werner v.d.Decken(DarkViper)
-+ added variable root page for tree generation in class a_pages_PageTree
-# added missing CSS class jsadmin for drop/down activation
-28 Dez-2012 Build 1845 Dietmar Woellbrink (Luisehahne)
-# bugfix redclare function in preferences_form
-! add infobox, if you have to change the language before working in preferences
-28 Dez-2012 Build 1844 Dietmar Woellbrink (Luisehahne)
-# fixed Use of undefined constant PAGE_ID in /account/forgot.php
-! change return value to boolean in user management delete.php, add.php
-! change WEBSITE_SIGNATURE to WBMAIL_SIGNATURE 
-27 Dez-2012 Build 1843 Dietmar Woellbrink (Luisehahne)
-! trash only will be shown in sectionmanagement if more than one section exists
-! In the server settings the renaming of the page_directory is only possible, if no page exists
-26 Dez-2012 Build 1842 Dietmar Woellbrink (Luisehahne)
-# fixed output activation conformation
-# fixed deleting Users awaiting activation
-! add YYYY-MM-DD in date_formats dropdown
-23 Dez-2012 Build 1841 Dietmar Woellbrink (Luisehahne)
-# fixed index depth in access files
-23 Dez-2012 Build 1840 Dietmar Woellbrink (Luisehahne)
-! settings move website_signature to mailer settings
-! fix html validate error in pages sections
-! add pages field page_code to class.frontend.php
-! optimized jsadmin backend.css
-21 Dez-2012 Build 1839 Werner v.d.Decken(DarkViper)
-! the second optimization of runtime by recoding /admin/pages/index.php
-+ new class a_pages_PageTree() for use with /admin/pages/index.php
-13 Dez-2012 Build 1838 Dietmar Woellbrink (Luisehahne)
-! groups management now completely html valide
-13 Dez-2012 Build 1837 Dietmar Woellbrink (Luisehahne)
-! runtime optimized in /admin/pages/index.php 
-12 Dez-2012 Build 1836 Dietmar Woellbrink (Luisehahne)
-# fixed WB admin wrapper script, could never run at end if section_id == 0
-10 Dez-2012 Build 1835 Dietmar Woellbrink (Luisehahne)
-! update dragdrop reorder positions of a page tree
-10 Dez-2012 Build 1834 Dietmar Woellbrink (Luisehahne)
-# fixed redirect checking in class.login.php
-10 Dez-2012 Build 1833 Dietmar Woellbrink (Luisehahne)
-# security fix CRLF injection/HTTP response splitting
-09 Dez-2012 Build 1832 Dietmar Woellbrink (Luisehahne)
-# security Application error message fix in search/search.php
-05 Dez-2012 Build 1831 Dietmar Woellbrink (Luisehahne)
-# fixed dragdrop for pages overview
-22 Nov-2012 Build 1830 Dietmar Woellbrink (Luisehahne)
-# deactivate caching in backend to fix display faults
-22 Nov-2012 Build 1829 Dietmar Woellbrink (Luisehahne)
-# bugfix check existing tables in upgrade-script
-22 Nov-2012 Build 1828 Dietmar Woellbrink (Luisehahne)
-! Update Checks if a browser's user agent string is compatible with the FCKeditor.
-! Set WebsiteBaker Module Version to 2.9.8
-20 Nov-2012 Build 1827 Dietmar Woellbrink (Luisehahne)
-# force FCKeditor to work with Firefox 17
-20 Nov-2012 Build 1826 Dietmar Woellbrink (Luisehahne)
-# fixed to big preview images in media
-20 Nov-2012 Build 1825 Dietmar Woellbrink (Luisehahne)
-! update page settings, add save & back Button, add extended hide/show
-  redesign the page settings for a better overview  
-20 Nov-2012 Build 1824 Dietmar Woellbrink (Luisehahne)
-! update media in look to the changes in user management
-20 Nov-2012 Build 1823 Dietmar Woellbrink (Luisehahne)
-! update user management, now home folder only will be created
-  if homefolders in settings are enabled
-  add save & back in user modify
-20 Nov-2012 Build 1822 Dietmar Woellbrink (Luisehahne)
-! update installer, strict difference between table structure and data 
-# fixed wrong constant for settings table
-! update redirect to upgrade-script in /admin/start/index.php
-16 Nov-2012 Build 1821 Dietmar Woellbrink (Luisehahne)
-! forgot to upload the /install/save.php
-16 Nov-2012 Build 1820 Dietmar Woellbrink (Luisehahne)
-+ added sql folder including  websitebaker.sql, wb_search.sql
-! update /install/save.php, will now created the tables with $database->SqlImport() 
-! update search layout in settings
-16 Nov-2012 Build 1819 Dietmar Woellbrink (Luisehahne)
-# bugfix media, Undefined index /admin/media/upload.php on line 108
-- removed obselete resize_img.php
-16 Nov-2012 Build 1818 Dietmar Woellbrink (Luisehahne)
-# bugfix Ticket 10 usergroup show homefolder in media
-! update users, create username homefolder in media/homefolders
-# add mssing values in table settings by installing WebsiteBaker
-11 Nov-2012 Build 1817 Dietmar Woellbrink (Luisehahne)
-# Bugfix upgrde-script, syntaxerror in sql strict statement
-11 Nov-2012 Build 1816 Dietmar Woellbrink (Luisehahne)
-! fixed adminstrator rights to change groups
-11 Nov-2012 Build 1815 Dietmar Woellbrink (Luisehahne)
-! Complex code refactoring users management
-10 Nov-2012 Build 1814 Dietmar Woellbrink (Luisehahne)
-! update jQuery to jQuery 1.8.2 and jQuery UI 1.9.1
-10 Nov-2012 Build 1813 Dietmar Woellbrink (Luisehahne)
-! upgrade-script fixed wrong users group_id, (Bug in users management)
-10 Nov-2012 Build 1812 Dietmar Woellbrink (Luisehahne)
-# fixed always show "no modul rights" in admintools
-09 Nov-2012 Build 1811 Dietmar Woellbrink (Luisehahne)
-! forgot to upload class.wb.php
-09 Nov-2012 Build 1810 Dietmar Woellbrink (Luisehahne)
-! account signup check that display_name is unique in whole system
-  (prevents from User-faking)
-! add POST Request to admintools 
-07 Nov-2012 Build 1809 Dietmar Woellbrink (Luisehahne)
-! remove login_ip after 60days set in /admin/start/index.php
-! add confirm_code and confirm_timeout fields in users table in /install/save.php
-07 Nov-2012 Build 1808 Dietmar Woellbrink (Luisehahne)
-! add ErrorMsgException in /framework/globalExceptionHandler.php
-! ErrorMessage "ADMIN_INSUFFICIENT_PRIVELLIGES" now can be styled 
-  by the /admin/skel/themes/htt/ErrorMsgFile.htt template 
-! add css selectors to wb_theme
-! rename maintance.htt to maintenance.htt
-07 Nov-2012 Build 1807 Dietmar Woellbrink (Luisehahne)
-! fallback remove Timezone abbreviation in time format
-04 Nov-2012 Build 1806 Dietmar Woellbrink (Luisehahne)
-# Bugfix show double header in admintools
-04 Nov-2012 Build 1805 Dietmar Woellbrink (Luisehahne)
-# fixed Undefined variable: nNumRows in \admin\users\index.php
-# fixed Undefined variable: admin in \admin\admintools\tool.php
-! show more information in awaiting activation /admin/users
-! set input passord to autocomplete off /admin/users and /admin/prfeferences
-! add Timezone abbreviation to time format
-! change time and date formats fill with leading zeros
-! optimize REQUEST_METHOD to get page_id and section_id
-! more request vars are possible by this method
-02 Nov-2012 Build 1804 Dietmar Woellbrink (Luisehahne)
-# fixed Illegal string offset 'time' in \framework\SecureForm.mtab.php
-! add delete Outdated Confirmations in backend
-! show waiting Activations if exists in user management
-# fixed html validaton errors in user management
-! security fixes in admin/preferences/
-! update form modul, change text "unknown#" to "Guest"
-  in view_submission and emailheader email_fromname
-01 Nov-2012 Build 1803 Dietmar Woellbrink (Luisehahne)
-! update submission form with designer friendly css classes  
-31 Oct-2012 Build 1802 Dietmar Woellbrink (Luisehahne)
-! change installation info "Please rename to config.php"
-31 Oct-2012 Build 1801 Dietmar Woellbrink (Luisehahne)
-! upgrade-script: update if filesRemove or remove dirs failed
-! update methode StripCodeFromText, add remove <?php ... ?>,    
-! security fixes in form modul with StripCodeFromText
-29 Oct-2012 Build 1800 Dietmar Woellbrink (Luisehahne)
-# add missing lang var in account/languages/EN.PHP 
-29 Oct-2012 Build 1799 Dietmar Woellbrink (Luisehahne)
-! media iframe browser now is html XHTML 1.0 Transitional valide
-28 Oct-2012 Build 1798 Dietmar Woellbrink (Luisehahne)
-! admin/media: change preview size, remove CAPTION, STICKY
-27 Oct-2012 Build 1797 Dietmar Woellbrink (Luisehahne)
-+ add new image class to admin/media for better images preview
-24 Oct-2012 Build 1796 Dietmar Woellbrink (Luisehahne)
-! supress frontend preferences, if user have no permission for it
-24 Oct-2012 Build 1795 Dietmar Woellbrink (Luisehahne)
-! change setting of the $_SESSION['SYSTEM_PERMISSIONS']
-  from get_user_id to ami_group_member, sp that all Users
-  with Administrators Group, don't need to login again  
-24 Oct-2012 Build 1794 Dietmar Woellbrink (Luisehahne)
-! upgrade-script: system_permission changes for group Administrators 
-  will be change in $_SESSION['SYSTEM_PERMISSIONS'], if you are logged in as user_id == 1
-24 Oct-2012 Build 1793 Dietmar Woellbrink (Luisehahne)
-+ add missing warning icon
-24 Oct-2012 Build 1792 Dietmar Woellbrink (Luisehahne)
-! all changes in folder account, Signup with confirmation Mail
-! frontend.css now included by account script
-24 Oct-2012 Build 1791 Dietmar Woellbrink (Luisehahne)
-# fixed save search settings
-14 Oct-2012 Build 1790 Dietmar Woellbrink (Luisehahne)
-! update group permission, 
-14 Oct-2012 Build 1789 Dietmar Woellbrink (Luisehahne)
-! update Group Permission, add module_advanced
-! upgrade-script will be updating Adminitrator Group
-13 Oct-2012 Build 1788 Dietmar Woellbrink (Luisehahne)
-# fixed page settings for php Version less 5.2.9
-13 Oct-2012 Build 1787 Dietmar Woellbrink (Luisehahne)
-# fixed parsing error in signup 
-12 Oct-2012 Build 1786 Dietmar Woellbrink (Luisehahne)
-# fixed double content
-12 Oct-2012 Build 1785 Dietmar Woellbrink (Luisehahne)
-# fixed language uninstall, change mysql to strict
-! secure fix for search update in settings, search_footer now can be empty
-! change ->fetchRow() to ->fetchRow(MYSQL_ASSOC) in frontend.functions.php
-12 Oct-2012 Build 1784 Dietmar Woellbrink (Luisehahne)
-# fixed security warning if a group will be deleted
-11 Oct-2012 Build 1783 Dietmar Woellbrink (Luisehahne)
-# fixed maintenance frontend
-11 Oct-2012 Build 1782 Dietmar Woellbrink (Luisehahne)
-+ add maintance modus in backend
-10 Oct-2012 Build 1781 Dietmar Woellbrink (Luisehahne)
-! fixed form modul (Tks to Ruebenwurzel)
-! Send forgotten Theme CSS in Revision 1780
-10 Oct-2012 Build 1780 Dietmar Woellbrink (Luisehahne)
-! change help mouseover to onclick in page settings only on help icon
-+ add help to input filename
-! /framework/initialize.php now accept _GET and _POST to set user language
-09 Oct-2012 Build 1779 Dietmar Woellbrink (Luisehahne)
-# fixed wrong variable in admin/settings/index.php line 409
-! correcting url to WB help in readme files module showmenu2
-05 Oct-2012 Build 1778 Dietmar Woellbrink (Luisehahne)
-# fixed empty template variable in admin/start
-01 Oct-2012 Build 1777 Dietmar Woellbrink (Luisehahne)
-+ add methode StripCodeFromText in class.wb to clean injection
-! rebranding the admin/settings and security fixes
-! a few new styling in backend wb_theme
-! beginning aa lot of account changes like correction of $_SESSION indexe, security fixes
-+ add head.load.min.js and head.min.js to /include/jquery/ to style HTML5 templates
-28 Sep-2012 Build 1776 Dietmar Woellbrink (Luisehahne)
-! wb theme styling
-28 Sep-2012 Build 1775 Dietmar Woellbrink (Luisehahne)
-! update loginBox.htt and loginForgot.htt
-28 Sep-2012 Build 1774 Dietmar Woellbrink (Luisehahne)
-! update argos theme css
-28 Sep-2012 Build 1773 Dietmar Woellbrink (Luisehahne)
-! account split html and code
-+ add signup activation registering
-+ add missing icons in themes
-28 Sep-2012 Build 1772 Dietmar Woellbrink (Luisehahne)
-# fixed show e-mail in submission overview
-! set  title to tooltip if you add a pageX
-! optimize upgrade-script, add new fields to user table
-24 Sep-2012 Build 1771 Dietmar Woellbrink (Luisehahne)
-# typofix in upgrade-scripts
-# fixed form form284db.sql, change hardcoded engine to "{TABLE_ENGINE};"
-24 Sep-2012 Build 1770 Dietmar Woellbrink (Luisehahne)
-# fixed issues with database names
-  WbDatabase::getTableEngine() changed SQL statement to strikt.
-! remove empty warning box if you aren't sysadmin
-! change order errorhandling in installation save.php
-# typofix in news/upgrade.php $MESSAGE
-! Framework/frontend.functions.php change file_exists to is_readable
-23 Sep-2012 Build 1769 Dietmar Woellbrink (Luisehahne)
-# typofix in upgrade-script, fixed wrong count for language and modules folder
-23 Sep-2012 Build 1768 Dietmar Woellbrink (Luisehahne)
-+ add 2 fields custom01, custom02 with VARCHAR( 255 ) to table pages
-! update upgrade-script with this 2 fields
-22 Sep-2012 Build 1767 Dietmar Woellbrink (Luisehahne)
-! change page_extended to extended settings under page language
-22 Sep-2012 Build 1766 Dietmar Woellbrink (Luisehahne)
-! typofix in EN language,
-! empty seo_title will set to menu_title
-! continue  rebranding wb_theme
-22 Sep-2012 Build 1765 Dietmar Woellbrink (Luisehahne)
-! recoded module news,form,wysiwyg upgrade to work with upgrade-script
-22 Sep-2012 Build 1764 Dietmar Woellbrink (Luisehahne)
-# remove jquery core backups
-22 Sep-2012 Build 1763 Dietmar Woellbrink (Luisehahne)
-# fixed methode index_add in WbDatabase, always faild
-18 Sep-2012 Build 1762 Dietmar Woellbrink (Luisehahne)
-# fixed upgrade-script wrong Adding/updating page_icon_dir to settings table
-18 Sep-2012 Build 1761 Dietmar Woellbrink (Luisehahne)
-# fixed wrong MODULE_URL in form modul
-# fixed loginForgot.htt missing vars in <title></title> 
-18 Sep-2012 Build 1760 Dietmar Woellbrink (Luisehahne)
-! fallback changes in wysiwyg Revision 1754
-  because it's required that section_id is the PRIMARY KEY
-  Fallback will be done in upgrade-script until the final version  
-! build in extra input seo title in page settings
-! beginning rebranding wb_theme
-17 Sep-2012 Build 1759 Dietmar Woellbrink (Luisehahne)
-! during Reformat/rebuild all existing access files in upgrade-script
-  root_parent will be set to page_id
-! change multi-dimensional arrays (variables) to similar arrays in framework/functions.php
-16 Sep-2012 Build 1758 Dietmar Woellbrink (Luisehahne)
-! forgot to upload the install.php from wysiwyg modul in Revision 1756
-! correcting some more SEC_ANCHOR 
-16 Sep-2012 Build 1757 Dietmar Woellbrink (Luisehahne)
-# fixed mysql_fetch_array() expects parameter 1 to be resource, boolean given
-  by adding a new form on page, 
-! refactroring form/install.php to SqlImport, add a form sql dump
-! correcting some SEC_ANCHOR in form
-15 Sep-2012 Build 1756 Dietmar Woellbrink (Luisehahne)
-! update wysiwyg install.php, now using methode SqlImport from WBDatabase
-15 Sep-2012 Build 1755 Dietmar Woellbrink (Luisehahne)
-! update upgrade-script, see Revsion 1735
-15 Sep-2012 Build 1754 Dietmar Woellbrink (Luisehahne)
-# fixed Duplicate entry  for key 'PRIMARY' if adding a new  pageX
-  search for ->page['root_parent'] == 0 in module and shoe_menu2 calls
-  page['root_parent'] has always the page_id from the first adding new page in level  
-15 Sep-2012 Build 1753 Dietmar Woellbrink (Luisehahne)
-! remove summary="" in captcha tables frontend
-! fixed calendar time, now all Calendar in WB shows right user TIMEZONE
-  please check module for saving timestamp minus TIMEZONE
-# recoded sections in admin/pages/, now save all fields
-  there was a problem, if blocks and menus are disabled
-14 Sep-2012 Build 1752 Dietmar Woellbrink (Luisehahne)
-! forgot to upload CHANGELOG and version.php
-14 Sep-2012 Build 1751 Dietmar Woellbrink (Luisehahne)
-- remove Template Engine Quickskin, but don't delete by upgrade-script on your webspace
-! see Revsion 1749 set pages field menu to default 1 by new install
-+ add folder DOCS to Twig with changelog, authours and licence
-  please find the Twig Book as pdf, This is the documentation for Twig,
-14 Sep-2012 Build 1750 Dietmar Woellbrink (Luisehahne)
-# fixed missing ({missing: TEXT_TEMPLATE}) in template details
-14 Sep-2012 Build 1749 Dietmar Woellbrink (Luisehahne)
-# fixed save pagesettings, if multiple menus is disabled, set page['menu'] to default = 1
-12 Sep-2012 Build 1748 Werner v.d.Decken(DarkViper)
-! 3th party class idna_convert updated to version 0.8.0
-08 Sep-2012 Build 1747 Dietmar Woellbrink (Luisehahne)
-# fixed issues with older table strucure for earlier WB installations
-08 Sep-2012 Build 1746 Dietmar Woellbrink (Luisehahne)
-# add prefix wb_ to class name for content container 
-  if module has the same name as a html markup e.g code
-08 Sep-2012 Build 1745 Dietmar Woellbrink (Luisehahne)
-! add div container in page_content for each sections,
-! update droplets SectionPicker, ShowWysiwyg and ShowRandomWysiwyg
-! put sec_anchor in this div, sec_anchor fixed in all found files
-  sec_anchor default now set to "section_", 
-  sec_anchor can't be empty for future developement
-08 Sep-2012 Build 1744 Dietmar Woellbrink (Luisehahne)
-# typofix upgrade-script Adding redirect timer to settings table
-07 Sep-2012 Build 1743 Dietmar Woellbrink (Luisehahne)
-! styling permissions blocks in page settings by backend theme css
-07 Sep-2012 Build 1742 Dietmar Woellbrink (Luisehahne)
-! Now you can style account login with your frontend Template CSS
-  this change is in work for the whole account
-07 Sep-2012 Build 1741 Dietmar Woellbrink (Luisehahne)
-! Preparing Separation of code and HTML in Droplets
-05 Sep-2012 Build 1740 Dietmar Woellbrink (Luisehahne)
-! frontend.functions.php remove return $content in page_content(), 
-  incompatible with search logic
-! /include/jquery forgot jquery version.txt 
-# /form/view.php fixed wrong compare syntax 
-! group management, design style, set max-heights for permission boxes
-05 Sep-2012 Build 1739 Dietmar Woellbrink (Luisehahne)
-! update jquery ui to version 1.8.23
-05 Sep-2012 Build 1738 Dietmar Woellbrink (Luisehahne)
-! remove folder structure in zip file for backup droplets
-05 Sep-2012 Build 1737 Dietmar Woellbrink (Luisehahne)
-# fixed sql statement groups_added in settings
-! set stored passwords in $session to empty string
-! installer now detect browser language and operating_system
-31 Aug-2012 Build 1736 Dietmar Woellbrink (Luisehahne)
-! replace more invalid char in secureform.mtab to work with settings_page
-31 Aug-2012 Build 1735 Dietmar Woellbrink (Luisehahne)
-# fixed missing $admin-print_header() by security warning
-# fixed secureform.mtab because settings_page failed
-31 Aug-2012 Build 1734 Dietmar Woellbrink (Luisehahne)
-# typofix in /install/save.php and /admin/settings_page.php
-31 Aug-2012 Build 1733 Dietmar Woellbrink (Luisehahne)
-+ forgot the jquery version.txt 
-31 Aug-2012 Build 1732 Dietmar Woellbrink (Luisehahne)
-! update jquery to version 1.8.1
-31 Aug-2012 Build 1731 Dietmar Woellbrink (Luisehahne)
-+ add Page extended to settings, 
-! to show experten mode in page settings
-! shows some more settings like icon dir
-31 Aug-2012 Build 1730 Dietmar Woellbrink (Luisehahne)
-+ add gobal javascript var LANGUAGE
-30 Aug-2012 Build 1729 Dietmar Woellbrink (Luisehahne)
-! Fixed missin WB_URL in media_browse
-30 Aug-2012 Build 1728 Dietmar Woellbrink (Luisehahne)
-! change redirect logic for registered pages
-30 Aug-2012 Build 1727 Dietmar Woellbrink (Luisehahne)
-# fixed upgrading group systempermission by upgrading WebsiteBaker
-! set svn properties /media/upload.php
-30 Aug-2012 Build 1726 Dietmar Woellbrink (Luisehahne)
-! change multi-dimensional arrays (variables) to similar arrays
-! change message if uploaded file exists
-30 Aug-2012 Build 1725 Dietmar Woellbrink (Luisehahne)
-+ add missing preferences rights for sysadmin in install
-30 Aug-2012 Build 1724 Dietmar Woellbrink (Luisehahne)
-# fixed form submission output if no entry exist
-30 Aug-2012 Build 1723 Dietmar Woellbrink (Luisehahne)
-# fixed missing class.admin
-# check droplet skype if no existing user 
-30 Aug-2012 Build 1722 Dietmar Woellbrink (Luisehahne)
-# fixed missing login template after install
-29 Aug-2012 Build 1721 Dietmar Woellbrink (Luisehahne)
-# fixed admin/settings, remove unknown variables
-29 Aug-2012 Build 1720 Dietmar Woellbrink (Luisehahne)
-! FCKEditor remove som php endtags in connector
-29 Aug-2012 Build 1719 Dietmar Woellbrink (Luisehahne)
-! beginning update frontend account
-! remove html markup from code
-29 Aug-2012 Build 1718 Dietmar Woellbrink (Luisehahne)
-! update headerinfo
-! change multi-dimensional arrays (variables) to similar arrays
-29 Aug-2012 Build 1717 Dietmar Woellbrink (Luisehahne)
-! update droplets uninstall, upgrade
-! add $database=WbDatabase::getInstance();
-! update /examples/
-29 Aug-2012 Build 1716 Dietmar Woellbrink (Luisehahne)
-! update folder admin/settings admin/skel/htt
-! change Template to div container
-29 Aug-2012 Build 1715 Dietmar Woellbrink (Luisehahne)
-! forgot some files in folder admin
-29 Aug-2012 Build 1714 Dietmar Woellbrink (Luisehahne)
-! update module form
-! not auth users get no confirmation mail, but can print message
-! add replyto to received messages, so answer is possible by e-mail client
-! add pagination to submissionlist
-29 Aug-2012 Build 1713 Dietmar Woellbrink (Luisehahne)
-! remove html markup from code to a template
-29 Aug-2012 Build 1712 Dietmar Woellbrink (Luisehahne)
-! update folder admin/addons admin/skel/htt
-29 Aug-2012 Build 1711 Dietmar Woellbrink (Luisehahne)
-! update folder admin/start, admin/admintools, admin/skel/htt
-29 Aug-2012 Build 1710 Dietmar Woellbrink (Luisehahne)
-! update folder admin/groups, admin/users, admin/skel/htt
-29 Aug-2012 Build 1709 Dietmar Woellbrink (Luisehahne)
-! update folder framework class.login, admin/login, admin/skel/htt
-29 Aug-2012 Build 1708 Dietmar Woellbrink (Luisehahne)
-! update folder templates/wb_theme, templates/argos_theme,admin/skel/htt
-! add new icons, recoded css
-29 Aug-2012 Build 1707 Dietmar Woellbrink (Luisehahne)
-! update folder admin/pages, admin/skel/htt
-! change multi-dimensional arrays (variables) to similar arrays
-! change default templates, change code to new templates
-29 Aug-2012 Build 1706 Dietmar Woellbrink (Luisehahne)
-# fixed save page option 
-27 Aug-2012 Build 1705 Dietmar Woellbrink (Luisehahne)
-! update headerinfo
-! change os_version request if os is not windows
-27 Aug-2012 Build 1704 Dietmar Woellbrink (Luisehahne)
-+ add overlib_mini.js to include/jquery/ will be needed for help
-27 Aug-2012 Build 1703 Dietmar Woellbrink (Luisehahne)
-! update headerinfo
-! change multi-dimensional arrays (variables) to similar arrays
-27 Aug-2012 Build 1702 Dietmar Woellbrink (Luisehahne)
-! /framework/class.frontend.php
-! set $_SESSION['HTTP_REFERER'] to WB_URL if menu url is a registered page
-! set some header("Location:.. to new method send_header(
-27 Aug-2012 Build 1701 Dietmar Woellbrink (Luisehahne)
-! /framework/frontend.functions
-! change multi-dimensional arrays (variables) to similar arrays
-! method page_content, add parameter $echo true to print $content, false return $content
-27 Aug-2012 Build 1700 Dietmar Woellbrink (Luisehahne)
-! change multi-dimensional arrays (variables) to similar arrays
-+ add variables for backend-menu, header.htt and footer.htt 
-27 Aug-2012 Build 1699 Dietmar Woellbrink (Luisehahne)
-! Fixed IDKEY in Secureform.mtab to solve issues whith Security warnings 
-! on pages that used a lot of IDKEYS. (fixed by NorHei)
-27 Aug-2012 Build 1698 Dietmar Woellbrink (Luisehahne)
-! optimize some methods
-+ add method send_header, replace header('Location:...  with new method
-+ if header send failed you get a manuell redirected link, so script don't break
-27 Aug-2012 Build 1697 Dietmar Woellbrink (Luisehahne)
-# Bugfixed issues whith storing text for Search function on WYSIWYG module.
-# Html tags where not filtered out.
-27 Aug-2012 Build 1696 Dietmar Woellbrink (Luisehahne)
-! move extra handling of menu links in index.php to the view.php of module menu links {Tks to NorHei)
-18 Aug-2012 Build 1695 Dietmar Woellbrink (Luisehahne)
-# fixed $install_tables in install/save.php 
-18 Aug-2012 Build 1694 Dietmar Woellbrink (Luisehahne)
-+ add var $iPhpDeclaredClasses = sizeof(get_declared_classes() set by PHP in initialize.php
-18 Aug-2012 Build 1693 Dietmar Woellbrink (Luisehahne)
-# fixed deprecated erigi in captcha
-08 Aug-2012 Build 1692 Werner v.d.Decken(DarkViper)
-# corrected pageID in forwarding links
-! changed request of permission to ami_group_member() and is_group_match()
-10 Jun-2012 Build 1691 Werner v.d.Decken(DarkViper)
-# fixed the order of loading languages
-31 May-2012 Build 1690 Werner v.d.Decken(DarkViper)
-! ModLanguage modified for auto fallback to DEFAULT_LANGUAGE
-! globalExceptionHandler added AppException, SecurityException, SecDirectoryTraversalException
-! Errormessage for old class.database modified
-08 May-2012 Build 1689 Werner v.d.Decken(DarkViper)
-# fixed Errorhandling for old class.database
-08 May-2012 Build 1688 Dietmar Woellbrink (Luisehahne)
-! update upgrade-script first remove access files in an existing pages folder
-  before rebuilding them 
-! for security upgrade don't remove access files in root
-07 May-2012 Build 1687 Werner v.d.Decken(DarkViper)
-# Drop tables in installer fixed
-+ Twig_Autoloader activated
-07 May-2012 Build 1686 Werner v.d.Decken(DarkViper)
-! some modifications concerning the new autoloader
-+ Twig Template engine v.1.7.0
-! unfinished change in installer
-! some droplets actualisized
-06 May-2012 Build 1685 Werner v.d.Decken(DarkViper)
-! last fixes for use of page_icon s.o.
-06 May-2012 Build 1684 Dietmar Woellbrink (Luisehahne)
-! update upgrade-script, now don't overwrite existings values in settings
-+ add field tooltip to table pages in installer
-! change some module tool_icon.png (Tks to Stefek) 
-! add date_time string to backup_droplets.zip
-- search and comment out founded require_once(WB_PATH."/framework/class.database.php"); 
-- this will be never needed anymore and produce errors
-! rename class.msg_queue.php in msgQueue.php to work with autokoader
-+ add function format_message to class.wb.php 
-03 May-2012 Build 1683 Werner v.d.Decken(DarkViper)
-! changed class Database into a Singleton-Class
-# added forgotten 'static' keyword in ModLanguage
-# removed version control from sm2 - include.php
-03 May-2012 Build 1682 Werner v.d.Decken(DarkViper)
-! some little corrections ModLanguage/Database/initialize.php
-03 May-2012 Build 1681 Werner v.d.Decken(DarkViper)
-! reorganisation of default theme of oage-settings
-+ added menu_icon_0 and menu_icon_1
-! update show_menu2 to handle the new icon fields (see README.de|en.txt)
-+ add new droplet 'iParentIcon' for use with the new icons
-+ added new module-depending language files (not complete yet) in admin/pages
-03 May-2012 Build 1680 Werner v.d.Decken(DarkViper)
-! renamed file class.database.php to Database.php
-! renamed class database into Database
-+ classes SecurityException and SecDirectoryTraversalException added in globalExceptionHandler.php
-+ CoreAutoloader() added in initialize.php
-+ new Constants 'WB_REL' and 'DOCUMENT_ROOT' in initialize.php
-! class Database is able now to create multiple connections at same time
-+ class ModLanguage added for easy handle of languages from modules
-28 Apr-2012 Build 1679 Dietmar Woellbrink (Luisehahne)
-+ add tool_icon.png to admintools
-27 Apr-2012 Build 1678 Dietmar Woellbrink (Luisehahne)
-# validation fix in print_footer, class.database
-! replace settings and default header
-27 Apr-2012 Build 1677 Dietmar Woellbrink (Luisehahne)
-! preparing new groups management and page settings
-! upgrade-script insert or update page access files
-24 Apr-2012 Build 1676 Dietmar Woellbrink (Luisehahne)
-# fixed backup_droplets working with php as Apache Module (Tks to Ruebenwurzel)
-! update function rm_full_dir in /framework/functions.php
-! To disable Run-time notices and receive warnings
-24 Apr-2012 Build 1675 Dietmar Woellbrink (Luisehahne)
-# fixed /framework/functions.php missing global $MESSAGE in function rebuildFolderProtectFile
-18 Apr-2012 Build 1674 Dietmar Woellbrink (Luisehahne)
-# fixed add-ons upload error (tks to DBS)
-+ add tool_icon.png to core module
-! update outpu_filter success an error messages
-! small redesign wb_themes
-# fixed old.format.inc.php fileformat to unix
-18 Apr-2012 Build 1673 Dietmar Woellbrink (Luisehahne)
-! fixed signup, remove $admin->print_error methods
-+ add send registation mail to systemadministartor
-18 Apr-2012 Build 1672 Dietmar Woellbrink (Luisehahne)
-+ add languages vars for signup
-18 Apr-2012 Build 1671 Dietmar Woellbrink (Luisehahne)
-# fixes installer and upgrade-script
-17 Apr-2012 Build 1670 Werner v.d.Decken(DarkViper)
-+ added new global exceptionhandler (class AppException)
-17 Apr-2012 Build 1669 Werner v.d.Decken(DarkViper)
-# little fixes in /admin/addons/reload.php
-17 Apr-2012 Build 1668 Dietmar Woellbrink (Luisehahne)
-! settigs.php add fields dev_infos and page_icon_dir
-+ add developer info to footer
-! update class.admin.php, footer.htt
-17 Apr-2012 Build 1667 Dietmar Woellbrink (Luisehahne)
-+ add folder /templates/round/title_images to work with page_icon
-17 Apr-2012 Build 1666 Dietmar Woellbrink (Luisehahne)
-! update of installer and upgradescript for Revision 1664/1665
-+ add fields page_icon, menu_icon_0, menu_icon_1 to pages
-+ add settings values dev_infos and page_icon_dir
-! update languages files 
-17 Apr-2012 Build 1665 Werner v.d.Decken(DarkViper)
-! update page_settings - CSS for wb_theme and argos_theme (for Rev.1664)
-17 Apr-2012 Build 1664 Werner v.d.Decken(DarkViper)
-+ added additional rights for AdminUsers/ViewerUsers in /pages/page_settings
-! /pages/settings2.php renamed into /pages/settings_save.php
-17 Apr-2012 Build 1663 Dietmar Woellbrink (Luisehahne)
-! update round print.css for better output
-17 Apr-2012 Build 1662 Werner v.d.Decken(DarkViper)
-+ added new getter 'getQueryCount' in class database
-11 Apr-2012 Build 1661 Dietmar Woellbrink (Luisehahne)
-+ add new language vars
-06 Apr-2012 Build 1660 Dietmar Woellbrink (Luisehahne)
-! add group_id to news group overview
-# fixed Fatal error: Cannot redeclare show_wysiwyg_editor()
-06 Apr-2012 Build 1659 Dietmar Woellbrink (Luisehahne)
-! more validation fixes in backend (Tks to Ruebenwurzel)
-05 Apr-2012 Build 1658 Werner v.d.Decken(DarkViper)
-# fixed alternating row styles in droplet listing
-04 Apr-2012 Build 1657 Dietmar Woellbrink (Luisehahne)
-! some validation fixes in backend
-02 Apr-2012 Build 1656 Werner v.d.Decken(DarkViper)
-# fixed filter to serve malformed/nested HTML also.
-01 Apr-2012 Build 1655 Dietmar Woellbrink (Luisehahne)
-+ add replyto to form module (see DEVINFOS)
-01 Apr-2012 Build 1654 Dietmar Woellbrink (Luisehahne)
-# Fixed SERVER_EMAIL in languages, needs double brackets
-! Installer redesign Step 2
-28 Mar-2012 Build 1653 Werner v.d.Decken(DarkViper)
-# fixed change_mode() against a very old problem with
-invalid calling arguments
-27 Mar-2012 Build 1652 Dietmar Woellbrink (Luisehahne)
-! fixed path to globalExceptionHandler.php in wysiwyg
-26 Mar-2012 Build 1651 Werner v.d.Decken(DarkViper)
-# fixed a little problem with chmod()
-24 Mar-2012 Build 1650 Werner v.d.Decken(DarkViper)
-+ add argument 'replyTo' into class.wb::mail()
-24 Mar-2012 Build 1649 Dietmar Woellbrink (Luisehahne)
-! rebranding banner.jpg and powered.jpg round template
-24 Mar-2012 Build 1648 Werner v.d.Decken(DarkViper)
-# a litte fix in /admin/addons/index.php.
-+ added unregister_Theme to CopyTheme::_doRollback()
-+ added CopyTheme::_activateTheme()
-23 Mar-2012 Build 1647 Werner v.d.Decken(DarkViper)
-+ add additional exeptionhandling in globalExceptionHandler
-23 Mar-2012 Build 1646 Dietmar Woellbrink (Luisehahne)
-# typofix in templates to include jquery
-22 Mar-2012 Build 1645 Dietmar Woellbrink (Luisehahne)
-+ add language variable for template details
-22 Mar-2012 Build 1644 Werner v.d.Decken(DarkViper)
-# prevent from empty theme-name in CopyTheme::_SanitizeNewName()
-22 Mar-2012 Build 1643 Werner v.d.Decken(DarkViper)
-+ added backend functions to copy themes and import htt-template files
-  according to the the new theme fallback functionality
-22 Mar-2012 Build 1642 Dietmar Woellbrink (Luisehahne)
-! update header info.php wb_themes
-22 Mar-2012 Build 1641 Dietmar Woellbrink (Luisehahne)
-+ move admin/themes/templates/ to admin/skel/themes/htt/
-! and update class.wb.php, upgrade-script.php
-22 Mar-2012 Build 1640 Dietmar Woellbrink (Luisehahne)
-! optimize modules WYSIWYG for editors
-22 Mar-2012 Build 1639 Dietmar Woellbrink (Luisehahne)
-+ Installer add const DEBUG to config.php (see DEVINFOS)
-! move const DEBUG and var $starttime from index.php to initialize.php
-14 Mar-2012 Build 1638 Werner v.d.Decken(DarkViper)
-+ config.php added define to set admin-directory
-13 Mar-2012 Build 1637 Werner v.d.Decken(DarkViper)
-! made handling of config.php a little bit more easy
-09 Mar-2012 Build 1636 Dietmar Woellbrink (Luisehahne)
-+ add missing language variables for the theme handling
-09 Mar-2012 Build 1635 Dietmar Woellbrink (Luisehahne)
-! fallback signuo2.php revision 1633
-09 Mar-2012 Build 1634 Dietmar Woellbrink (Luisehahne)
-! update language files and rework some core files (read DEVINFOS)
-! compress mdcr.js
-+ add DEVINFOS Instructions/Informations for modulecoder
-08 Mar-2012 Build 1633 Werner v.d.Decken(DarkViper)
-# fixed class::methode print_error(...) overwrite in /install/save.php
-02 Mar-2012 Build 1632 Dietmar Woellbrink (Luisehahne)
-! small design update for wb theme, login und login_forgot
-02 Mar-2012 Build 1631 Dietmar Woellbrink (Luisehahne)
-! FCKeditor Fallback not working with IE9
-01 Mar-2012 Build 1630 Dietmar Woellbrink (Luisehahne)
-# fixed fckeditorcode_ie.js in IE9 ( not the end of fixing )
-01 Mar-2012 Build 1629 Dietmar Woellbrink (Luisehahne)
-# fixed wrong file format, fckeditor and outputfilter
-01 Mar-2012 Build 1628 Dietmar Woellbrink (Luisehahne)
-! forgot changelog and version in Revision 1627
-01 Mar-2012 Build 1627 Dietmar Woellbrink (Luisehahne)
-# Fixed FCKeditor to work with IE9 (Tks to marmot for the source)
-29 Feb-2012 Build 1626 Werner v.d.Decken(DarkViper)
-! started rebuild and reorganize the OutputFilter-System
-29 Feb-2012 Build 1625 Dietmar Woellbrink (Luisehahne)
-! update correct_theme_source and fixed the call in all files
-29 Feb-2012 Build 1624 Dietmar Woellbrink (Luisehahne)
-# fixed index warning in form modul (Tks to DBS)
-29 Feb-2012 Build 1623 Dietmar Woellbrink (Luisehahne)
-# fixed FCKeditor to work in IE7/8, IE9 not tested
-! redesign filemanager FCKeditor
-! set Moduleversion to 2.9.7.1
-25 Feb-2012 Build 1622 Werner v.d.Decken(DarkViper)
-# typofix in Droplet [ShowRandomWysiwyg]
-24 Feb-2012 Build 1621 Werner v.d.Decken(DarkViper)
-# Droplet [SectionPiocker] fixed
-+ Added new droplets [ShowWysiwyg] and [ShowRandomWysiwyg]
-24 Feb-2012 Build 1620 Dietmar Woellbrink (Luisehahne)
-# fixed FCKeditor lang files to utf-8 (Tks to Ruebenwurzel)
-24 Feb-2012 Build 1619 Dietmar Woellbrink (Luisehahne)
-! forgot info.php
-24 Feb-2012 Build 1618 Dietmar Woellbrink (Luisehahne)
-# fixed FCKeditor to work in IE9 (Tks to marmot)
-! update module version to 2.9.7
-22 Feb-2012 Build 1617 Werner v.d.Decken(DarkViper)
-# fixed function SanitizeHttpReferer() in consideration of subdirectories
-18 Feb-2012 Build 1616 Dietmar Woellbrink (Luisehahne)
-! update INSTALL and UPGRADE instruction to 2.8.3 (Tks to Ruebenwurzel)
-18 Feb-2012 Build 1615 Dietmar Woellbrink (Luisehahne)
-+ Validationfix, add qx_rawlang.php in quickSkin_alpha to solve
-  <a> escaping malformed URI reference messages in javascript
-! fixed magic_quotes_gpc=on, magic_quotes going to be removed in PHP6.
-  and some hoster do not set it to off  
-18 Feb-2012 Build 1614 Dietmar Woellbrink (Luisehahne)
-# fixed tabindex in installer (Tks to Easyuser)
-# fixed installer call in /admin/index.php
-16 Feb-2012 Build 1613 Werner v.d.Decken(DarkViper)
-# little fixes in classs database and add new readonly property DbName
-11 Feb-2012 Build 1612 Werner v.d.Decken(DarkViper)
-! Number of version and revision updated in branch.
-11 Feb-2012 Build 1611 Werner v.d.Decken(DarkViper)
-! Number of version and revision updated.
-11 Feb-2012 Build 1610 Werner v.d.Decken(DarkViper)
-! Version 2.8.3 tagged
------------------------------------ 2.8.3 --------------------------------
-09 Feb-2012 Build 1609 Dietmar Woellbrink (Luisehahne)
-! change Website Baker to WebsiteBaker in installer
-09 Feb-2012 Build 1608 Dietmar Woellbrink (Luisehahne)
-! A small optical correction of the installer.
-09 Feb-2012 Build 1607 Dietmar Woellbrink (Luisehahne)
-# typofix in /modules/form/view.php (Tks to jacobi22)
-08 Feb-2012 Build 1606 Dietmar Woellbrink (Luisehahne)
-# some little changes and fixes in template allcss and round
-+ add // register_frontend_modfiles('jquery'); to activate comment out
-! Set version to 2.71
-08 Feb-2012 Build 1605 Dietmar Woellbrink (Luisehahne)
-! login.php fallback to revision 1602
-08 Feb-2012 Build 1604 Dietmar Woellbrink (Luisehahne)
-# fixed parse error in login.php
-08 Feb-2012 Build 1603 Dietmar Woellbrink (Luisehahne)
-! fix local module reload and module manuell install
-! forgot to upload login.php
-08 Feb-2012 Build 1602 Dietmar Woellbrink (Luisehahne)
-! a quick simple stylesheet fix in wb_theme, 
-07 Feb-2012 Build 1601 Dietmar Woellbrink (Luisehahne)
-! little designfix in forgot_form.php
-! fix media if uploading zip files with folder, than create FolderProtectFiles
-07 Feb-2012 Build 1600 Dietmar Woellbrink (Luisehahne)
-# more fixed issues with get_magic_quotes_gpc and FCKeditor
-! remove create and upload in FCKeditor Filemanager
-06 Feb-2012 Build 1599 Dietmar Woellbrink (Luisehahne)
-! update all used files with redirect_url to $_SESSION['HTTP_REFERER']
-06 Feb-2012 Build 1598 Dietmar Woellbrink (Luisehahne)
-# fixed undefined fragment index in initialize.php 
-! add $_SESSION['HTTP_REFERER'] storing active pagelink if page_id != 0
-05 Feb-2012 Build 1597 Dietmar Woellbrink (Luisehahne)
-# fixed issues with get_magic_quotes_gpc and FCKeditor
-04 Feb-2012 Build 1596 Dietmar Woellbrink (Luisehahne)
-# highly critical security-fix
-# announced on http://www.darksecurity.de/advisories/2012/SSCHADV2012-003.txt
-04 Feb-2012 Build 1595 Dietmar Woellbrink (Luisehahne)
-# fix form language vars for better understanding (Tks to Maverik)
-! change request if HTTP_REFERER is not empty in logout.php 
-03 Feb-2012 Build 1594 Dietmar Woellbrink (Luisehahne)
-# fixed use of undefined constant fri in /form/view.php
-01 Feb-2012 Build 1593 Dietmar Woellbrink (Luisehahne)
-# rebuild protectfile in pages/posts
-31 Jan-2012 Build 1592 Werner v.d.Decken(DarkViper)
-# little Typo-fix in database::SqlImport(). (grummel)
-31 Jan-2012 Build 1591 Werner v.d.Decken(DarkViper)
-# little Regex-fix in database::SqlImport().
-25 Jan-2012 Build 1590 Werner v.d.Decken(DarkViper)
-! mod form: added request var to submit a request identifier.
-! argument ?fri=12345 on GET-view will submit 'FormRequestId: 12345' by email
-25 Jan-2012 Build 1589 Dietmar Woellbrink (Luisehahne)
-# fixed starting upgrade-script if missing revision in settings
-25 Jan-2012 Build 1588 Werner v.d.Decken(DarkViper)
-# all module depending code removed, some little fixes, better integration for module-upgrade
-25 Jan-2012 Build 1587 Werner v.d.Decken(DarkViper)
-+ module news: added sql-dump to create database tables
-# module news: some little fixes in install/upgrade
-24 Jan-2012 Build 1586 Werner v.d.Decken(DarkViper)
-+ added new method SqlImport() to class database
-19 Jan-2012 Build 1585 Dietmar Woellbrink (Luisehahne)
-# fixed double table width in modify.php form module ((Tks to Ruebenwurzel)
-19 Jan-2012 Build 1584 Dietmar Woellbrink (Luisehahne)
-! form module, shows email-adress from body tag
-- remove scrollable table in overview form module 
-19 Jan-2012 Build 1583 Dietmar Woellbrink (Luisehahne)
-! forgot upload save.php in wysiwyg module
-19 Jan-2012 Build 1582 Dietmar Woellbrink (Luisehahne)
-# wysiwyg module, fix issues with magic_quote_gpc if on
-# form module, fix regex for radio and checkbox (Tks to Ruud)
-! form module, make show submission table scrollable
-17 Jan-2012 Build 1581 Werner v.d.Decken(DarkViper)
-# wysiwyg module some little typo fixes a.s.o.
-17 Jan-2012 Build 1580 Dietmar Woellbrink (Luisehahne)
-! dropdown list to choose recipient for email confirmation
-16 Jan-2012 Build 1579 Dietmar Woellbrink (Luisehahne)
-- remove unneeded input fields in form settings
-16 Jan-2012 Build 1578 Dietmar Woellbrink (Luisehahne)
-# fixed warning in domain independend image links
-16 Jan-2012 Build 1577 Dietmar Woellbrink (Luisehahne)
-# fixed save dirmode and filmode to 0 if not superadmin
-16 Jan-2012 Build 1576 Werner v.d.Decken(DarkViper)
-# wysiwyg module changed to domain independend image links
-16 Jan-2012 Build 1575 Dietmar Woellbrink (Luisehahne)
-# fixed captcha error message in form module
-! set form module to version 2.8.4
-16 Jan-2012 Build 1574 Dietmar Woellbrink (Luisehahne)
-+ add instruction README.de.txt in form module
-! update jquery to jQuery 1.7.1 and jQuery UI 1.8.17
-16 Jan-2012 Build 1573 Dietmar Woellbrink (Luisehahne)
-+ add automatically generated e-mail language form variable
-! send confirmation mail with details to superadmin from SERVER_EMAIL
-! send confirmation mail without details to sender from SERVER_EMAIL
-14 Jan-2012 Build 1572 Dietmar Woellbrink (Luisehahne)
-! security fix, force SMTP Authentifikation
-! server and email settings only for superadmin
-12 Jan-2012 Build 1571 Dietmar Woellbrink (Luisehahne)
-# remove session_start() in /account/logout.php
-10 Jan-2012 Build 1570 Dietmar Woellbrink (Luisehahne)
-!  added $module_directory to make quickskin directory changes dynamically
-10 Jan-2012 Build 1569 Werner v.d.Decken(DarkViper)
-# possible errors on 'save password' fixed. Minimum length of password set to 6 chars
-10 Jan-2012 Build 1568 Dietmar Woellbrink (Luisehahne)
-! fix show_menu2 2th parameter for template round and allcss (Tks to Ruebenwurzel)
-! set fingerprint_with_ip_octets default to 2 in a new installation
-07 Jan-2012 Build 1567 Dietmar Woellbrink (Luisehahne)
-# fix wbmailer_smtp_auth, could not be disabled after enabled 
-07 Jan-2012 Build 1566 Dietmar Woellbrink (Luisehahne)
-# fix class.login, when name and pass are both empty no longer call increase_attemps
-! some redirect updates in frontend account files
-06 Jan-2012 Build 1565 Dietmar Woellbrink (Luisehahne)
-! fixed:: detection of serverdefined charsets more different
-06 Jan-2012 Build 1564 Dietmar Woellbrink (Luisehahne)
-# entities fixes in FI and TR languages files (Tks to Ruebenwurzel)
-06 Jan-2012 Build 1563 Dietmar Woellbrink (Luisehahne)
-! add linebreak in backend message for 'delete install folder...' 
-05 Jan-2012 Build 1562 Dietmar Woellbrink (Luisehahne)
-! only superadmin can start the upgrade-script from backend
-05 Jan-2012 Build 1561 Dietmar Woellbrink (Luisehahne)
-# secureForm Fix for hosting with load balancing
-04 Jan-2012 Build 1560 Dietmar Woellbrink (Luisehahne)
-! upgrade script start automatically after uploading a new version and login to the backend
-04 Jan-2012 Build 1559 Dietmar Woellbrink (Luisehahne)
-! change quickSkin to alpha status, ATTENTION rename folder to quickSkin_alpha 
-02 Jan-2012 Build 1558 Dietmar Woellbrink (Luisehahne)
-# remove backslash in $_CONFIG['extensions_dir']
-! update editor.css for allcssand round  (Tks to Ruebenwurzel)
-# bugfix in forgot_form.php
-02 Jan-2012 Build 1556 Dietmar Woellbrink (Luisehahne)
-# typofix in function make_dir
-02 Jan-2012 Build 1555 Dietmar Woellbrink (Luisehahne)
-! wb_quickSkin_28.php create _skin folders with folder protect file 
-! add a 3th parameter to function make_dir to allows the creation of nested directories specified in the pathname. Defaults to TRUE
-01 Jan-2012 Build 1554 Dietmar Woellbrink (Luisehahne)
-# typofixes in DE languages files (Tks to Ruebenwurzel)
-31 Dez-2011 Build 1553 Dietmar Woellbrink (Luisehahne)
-! recoded  formmodul, add dropdown email_fromname_field
-31 Dez-2011 Build 1552 Dietmar Woellbrink (Luisehahne)
-# fix mdcr.js $scriptLink to absolute url
-! change separator breadcrumb admintools
-27 Dez-2011 Build 1551 Dietmar Woellbrink (Luisehahne)
-+ add languages vars in languages files
-+ add upload error mesages moduleinstall
-+ add index.php if not exists in function createFolderProtectFile
-! corrected changed coding between login_form and forgot_form
-21 Dez-2011 Build 1550 Dietmar Woellbrink (Luisehahne)
-! update php mailer to version 5.2
-19 Dez-2011 Build 1549 Dietmar Woellbrink (Luisehahne)
-! christmas time corrected wrong files
-19 Dez-2011 Build 1548 Dietmar Woellbrink (Luisehahne)
-- remove quickSkin /temp/folder/ for a later solution
-18 Dez-2011 Build 1547 Dietmar Woellbrink (Luisehahne)
-+ forgot a file in quickSkin Folder
-18 Dez-2011 Build 1546 Dietmar Woellbrink (Luisehahne)
-! recoded /account/forgot_form.php
-! update quickSkin 
-! update languages files 
-+ add /temp/quickSkin/ folder
-! begin fixing sec_anchor in urls
-15 Dez-2011 Build 1545 Dietmar Woellbrink (Luisehahne)
-! update admin/pages/modify.php now you can send page_id with GET and POST
-15 Dez-2011 Build 1544 Dietmar Woellbrink (Luisehahne)
-# fix droplet import after new wb installtion
-14 Dez-2011 Build 1543 Dietmar Woellbrink (Luisehahne)
-# fix droplet sectionPicker
-# fix install config.php not writeable 
-# check table droplet if empty import examples
-12 Dez-2011 Build 1542 Dietmar Woellbrink (Luisehahne)
-# fix wrong background url in "Website Under Construction"
-12 Dez-2011 Build 1541 Dietmar Woellbrink (Luisehahne)
-! change block BEGIN to LOOP in quickskin (Tks to Stefek)
-11 Dez-2011 Build 1540 Dietmar Woellbrink (Luisehahne)
-! did some changes and fixes found by testers
-10 Dez-2011 Build 1539 Dietmar Woellbrink (Luisehahne)
-! update phpmailer to version 5.1
-10 Dez-2011 Build 1538 Dietmar Woellbrink (Luisehahne)
-! add table db engine in module install scripts
-! some small updates in modules
-10 Dez-2011 Build 1537 Dietmar Woellbrink (Luisehahne)
-! continue updating headerinfos, adding upgrade scripts to module
-10 Dez-2011 Build 1536 Dietmar Woellbrink (Luisehahne)
-+ add upgrade.php to captcha_control and small changes
-+ add FolderProtectFile to quickskin
-10 Dez-2011 Build 1535 Dietmar Woellbrink (Luisehahne)
-! changes in code modul
-+ add function getTableEngine to class.database 
-+ add Quickskin to include folder
-+ add reworkes Droplet SectionPicker to load modules frontend.css
-08 Dez-2011 Build 1534 Werner v.d.Decken(DarkViper)
-# /output_filter/filter-routines.php rel-URL Filter fixed for mailto-links
-08 Dez-2011 Build 1533 Dietmar Woellbrink (Luisehahne)
-+ new backend theme handling (Tks to Stefek)
-# some fixes in install
-28 Nov-2011 Build 1532 Dietmar Woellbrink (Luisehahne)
-! small changes in INSTALL and UPGRADE (Tks to unawave2)
-! update upgrade-script showing from Version to Version (Tks to unawave2)
-+ add Servicepack version to header.htt
-28 Nov-2011 Build 1531 Dietmar Woellbrink (Luisehahne)
-! add Instructions for droplets
-27 Nov-2011 Build 1530 Dietmar Woellbrink (Luisehahne)
-! update templates allcss and round (Tks to Rübenwurzel)
-+ Add UPGRADE Instructions
-! Update INSTALL Instructions
-! Optimize config.php handling for installation
-25 Nov-2011 Build 1529 Dietmar Woellbrink (Luisehahne)
-+ add new backend theme handling (Tks to Stefek)
------------------------------------ Fixes 2.8.2 --------------------------------
-23 Nov-2011 Build 1528 Dietmar Woellbrink (Luisehahne)
-! rework login and show_menu in templates allcss and round 
-22 Nov-2011 Build 1527 Dietmar Woellbrink (Luisehahne)
-# fix redirect login
-20 Nov-2011 Build 1526 Dietmar Woellbrink (Luisehahne)
-# typofix in BG and RU
-15 Nov-2011 Build 1525 Dietmar Woellbrink (Luisehahne)
-# fix versions compare upgrade from WB version 2.7
-13 Nov-2011 Build 1524 Dietmar Woellbrink (Luisehahne)
-! fix secureform was not uploaded
-13 Nov-2011 Build 1523 Dietmar Woellbrink (Luisehahne)
-# fix fingerprint in secureform 
-! update jquery to version 1.7
-12 Nov-2011 Build 1522 Werner v.d.Decken(DarkViper)
-# /modules/output_filter/filter-routines.php little fix to inserting mdcr.js
-# /modules/form/view.php little fix depending from recoded output filter
-09 Nov-2011 Build 1521 Dietmar Woellbrink (Luisehahne)
-! update jquery to version 1.6.4
-09 Nov-2011 Build 1520 Werner v.d.Decken(DarkViper)
-! /modules/output_filter completely recoded
-+ new filter for relative-URL added
-+ some small fixes
-! /admin/admintools/tool.php completely recoded
-! /wb/index.php output_filter request changed to adopt new output_filter
-08 Nov-2011 Build 1519 Dietmar Woellbrink (Luisehahne)
-! corrected properties
-26 Okt-2011 Build 1518 Dietmar Woellbrink (Luisehahne)
-# fix anchor jump in sections (not work correctly with CKEditor)
-24 Okt-2011 Build 1517 Dietmar Woellbrink (Luisehahne)
-# fix SERVER_EMAIL in language files
-# fix encoded text in sections.php
-+ add missing image in argos_theme
-05 Okt-2011 Build 1516 Dietmar Woellbrink (Luisehahne)
-+ add forgotten language variable
-05 Okt-2011 Build 1515 Dietmar Woellbrink (Luisehahne)
-# typofix and changes in languages
-04 Okt-2011 Build 1514 Dietmar Woellbrink (Luisehahne)
-# account/signup.php, check if user is already logged
-# fix non object message in framework/functions.php
-04 Okt-2011 Build 1513 Dietmar Woellbrink (Luisehahne)
-! outputfilter now check and add missing slash in empty href if relative urls are enabled
-24 Sep-2011 Build 1512 Werner v.d.Decken(DarkViper)
-! settings for pwgen updated
-14 Sep-2011 Build 1511 Dietmar Woellbrink (Luisehahne)
-# fixed strict notice warning in class.wb
-! change editor for intropage to editarea
-! add missing slash in themes
-14 Sep-2011 Build 1510 Werner v.d.Decken(DarkViper)
-+ new constant 'DO_NOT_TRACK' set to true if a client sends the DNT-Header
-07 Sep-2011 Build 1509 Dietmar Woellbrink (Luisehahne)
-# continue fixing frontend account
-07 Sep-2011 Build 1508 Dietmar Woellbrink (Luisehahne)
-# fixed print_error exit in frontend account
-06 Sep-2011 Build 1507 Dietmar Woellbrink (Luisehahne)
-# fixed field_remove
-26 Aug-2011 Build 1506 Werner v.d.Decken(DarkViper)
-+ new class PasswordHash
-+ new Password-/Hash-generator
-19 Aug-2011 Build 1505 Dietmar Woellbrink (Luisehahne)
-# syntaxfix order::clean()
-19 Aug-2011 Build 1504 Werner v.d.Decken(DarkViper)
-# fixed order::clean()
-18 Aug-2011 Build 1503 Dietmar Woellbrink (Luisehahne)
-! change sql statements to strict in module droplets
-! fix vars in compatibility mode for versions before 2.8.1 in frontend.functions.php
-11 Aug-2011 Build 1502 Werner v.d.Decken(DarkViper)
-# fixed c&p mistake
-11 Aug-2011 Build 1501 Werner v.d.Decken(DarkViper)
-- removed stoneaged code from 2.4
-11 Aug-2011 Build 1500 Werner v.d.Decken(DarkViper)
-# sync working copy
-11 Aug-2011 Build 1499 Werner v.d.Decken(DarkViper)
-# little fix in calling globalExceptionHandler from inner core files
-11 Aug-2011 Build 1498 Werner v.d.Decken(DarkViper)
-# fixed secureform
-11 Aug-2011 Build 1497 Werner v.d.Decken(DarkViper)
-! sync changelog
-11 Aug-2011 Build 1496 Werner v.d.Decken(DarkViper)
-! activate globalExceptionHandler in inner core files
-11 Aug-2011 Build 1495 Werner v.d.Decken(DarkViper)
-# fix SQL-statements to SQL-strict
-11 Aug-2011 Build 1494 Dietmar Woellbrink (Luisehahne)
-# Fixed save wrong template directory in database 
-11 Aug-2011 Build 1493 Dietmar Woellbrink (Luisehahne)
-# Ticket #1106 FatalError in groups module
-11 Aug-2011 Build 1492 Dietmar Woellbrink (Luisehahne)
-# Ticket #1107 Deleting users not possible
-  Change handling, first user will be set to inactive
-  secound inactive user will be show in an extra dropdown
-  and can now deleted from user table or reactivated
-11 Aug-2011 Build 1491 Dietmar Woellbrink (Luisehahne)
-! comment out $email_body .= "\n\nIP: ".$_SERVER['REMOTE_ADDR'];
-11 Aug-2011 Build 1490 Dietmar Woellbrink (Luisehahne)
-! set default  FCKConfig.FillEmptyBlocks to true
-11 Aug-2011 Build 1489 Werner v.d.Decken(DarkViper)
-+ little fix in globalExceptionHandler
-11 Aug-2011 Build 1488 Werner v.d.Decken(DarkViper)
-+ globalExceptionHandler activated
-10 Aug-2011 Build 1487 Werner v.d.Decken(DarkViper)
-# class.order completely recoded to reduce SQL requests
-# all other files: fix SQL-statements to SQL-strict
-08 Aug-2011 Build 1486 Werner v.d.Decken(DarkViper)
-# database::field_modify() there was a bug to fix
-# all other files: fix SQL-statements to SQL-strict
-01 Aug-2011 Build 1485 Dietmar Woellbrink (Luisehahne)
-! rename config.php.bak to config.php.new
-# fixed rss.php SERVER_EMAIL
-31 Jul-2011 Build 1484 Dietmar Woellbrink (Luisehahne)
-! move fixes 2.8.2 to 2.8.3
-! fixes will be shown in an extra readme
-! an package with the fixed files will be created
-! for all users who downloaded the 2.8.2 before 29 Jul-2011
-------------------------------------- 2.8.2 ------------------------------------
-25 Jul-2011 Build 1480 Dietmar Woellbrink (Luisehahne)
-! Changed version to 2.8.2
-25 Jul-2011 Build 1479 Dietmar Woellbrink (Luisehahne)
-! preparing backend for the new installer
-+ add SecureFormSwitcher (Admintool)
-22 Jul-2011 Build 1478 Dietmar Woellbrink (Luisehahne)
-# fix mssing filename in intro.php
-! inactive user in dropwonlist are show with line-through
-21 Jul-2011 Build 1477 Dietmar Woellbrink (Luisehahne)
-! update DA language (Tks to Achrist)
-! update some languages variables (Tks to Rübenwurzel, Testör)
-! move function url_encode from admin/pages to framework/functions.php 
-! add missing svn properties in some headerinfos
-! font-size correction in wb_theme (Tks to Rübenwurzel)
-13 Jul-2011 Build 1476 Dietmar Woellbrink (Luisehahne)
-! optimize blacklist handling, add more separator ",#|;"
-  set of a wildcard ".*?" e.g. ph.*? proof ext like php, php3, php4 etc.
-# fix strict warnings in media if default theme ist not Argos Theme
-+ add new settings value in install, upgrade-script and core module
-13 Jul-2011 Build 1476 Dietmar Woellbrink (Luisehahne)
-! optimize blacklist handling, add more separator ",#|;"
-  set of a wildcard ".*?" e.g. ph.*? proof ext like php, php3, php4 etc.
-# fix strict warnings in media if default theme ist not Argos Theme
-+ add new settings value in install, upgrade-script and core module
-13 Jul-2011 Build 1475 Dietmar Woellbrink (Luisehahne)
-+ add SecureForm.mtab.php under maintenance by WebsiteBaker Community
-! security fixes media, groups, users, sections
-# change lang variable to remove upgrade-script
-! reworked add sections in pages
-! fix set empty href in show_menu2
-! set show_menu2 version to 4.9.6 
-! reworked Droplet LoginBox, add redirect query
-- remove unneeded folder js
-! set Droplet to version 1.1.0
-+ add checkboxes to change frontend absolute url to relative urls
-! set output_filter version to 0.2
-12 Jul-2011 Build 1474 Werner v.d.Decken(DarkViper)
-#  for security reasons the 'remember me' functionality is deaktivated in
-   class login
-!  'Get configuration values' is optimized
-09 Jul-2011 Build 1473 Dietmar Woellbrink (Luisehahne)
-# found more backlinks to fix
-- remove not working ftan in frontend
-# fixed redirect in login procedure (Tks to mr-fan)
-! update droplet LoginBox, additional parameter $redirect
-# remove double config call in media (Tks to Testör)
-07 Jul-2011 Build 1472 Dietmar Woellbrink (Luisehahne)
-# fixed version.php
-07 Jul-2011 Build 1471 Dietmar Woellbrink (Luisehahne)
-! change to Release Candiate 7 
-07 Jul-2011 Build 1470 Dietmar Woellbrink (Luisehahne)
-# languages Typo fix (Tks to pcwacht)
-! update intro, fixed saving
-# fixed install/save.php (Tks to pcwacht)
-07 Jul-2011 Build 1469 Dietmar Woellbrink (Luisehahne)
-! Forgotten upload changelog and version.php
-07 Jul-2011 Build 1468 Dietmar Woellbrink (Luisehahne)
-! update jquery-min to version 1.6.2
-! update jquery-ui-min to version 1.8.14
-# fix index error in media upload (Tks to DBS)
-+ add missing nopreview.jpg
-! update media browser not to show forbidden files
-- remove unused jquery archiv folder
-02 Jul-2011 Build 1467 Dietmar Woellbrink (Luisehahne)
-! update some headerinfos
-# fix missing header for some error messages
-01 Jul-2011 Build 1466 Dietmar Woellbrink (Luisehahne)
-# fix form modul (tks to our Tester)
-01 Jul-2011 Build 1465 Dietmar Woellbrink (Luisehahne)
-# bugfix in initialize including SecureForm
-! update admintools FTAN handling 
-01 Jul-2011 Build 1464 Werner v.d.Decken(DarkViper)
-#  Ticket 1102 fixed little bug in moveCssToHead() (Tks to Crnogorac081)
-01 Jul-2011 Build 1463 Dietmar Woellbrink (Luisehahne)
-# fixed Ticket 1050 Bug in include/phpmailer/class.phpmailer.php with Lotus Notes
-# fixed Ticket 573, 939 Bad formatting of e-mail received from form submissions
-# fixed Ticket 1009 cannot change user password without changing Email in preference
-30 Jun-2011 Build 1462 Werner v.d.Decken(DarkViper)
-+ class-switcher for SecureForm added
-30 Jun-2011 Build 1461 Dietmar Woellbrink (Luisehahne)
-! correct all misspellings on finnish language file (Tks to invisigoth)
-29 Jun-2011 Build 1460 Dietmar Woellbrink (Luisehahne)
-# Ticket 1101, phtml|php5|php4|php|cgi|pl|exe|com|bat|src| will be hardcoded
-  additional you can set more extension in settings extended in field rename_file_types
-  rename_file_types now is a blacklist and will no longer be renamed to .txt
-! update admintools modules to work with SecureForm Patch from NorHei
-26 Jun-2011 Build 1459 Dietmar Woellbrink (Luisehahne)
-# Ticket 1099: change title for add_child_page in page tree
-26 Jun-2011 Build 1458 Dietmar Woellbrink (Luisehahne)
-# Ticket 833 fixed markup for table cells in view.php
-! change themes.css to make style more flexible in success.htt and error.htt
-+ backend themes: add js function redirect_to_page(url, timer) to redirect without message
-25 Jun-2011 Build 1457 Dietmar Woellbrink (Luisehahne)
-! Preparing 2.8.2 stable, last tests
-10 Jun-2011 Build 1456 Dietmar Woellbrink (Luisehahne)
-+ add PL languages to news and captcha_control (tks to vixrealitum)
-! update PL language for WebsiteBaker (tks to vixrealitum)
-06 Jun-2011 Build 1455 Werner v.d.Decken(DarkViper)
-# fixed Bug-Ticket #1096: editing of files via modules/edit_module_files.php
-06 Jun-2011 Build 1454 Werner v.d.Decken(DarkViper)
-# in /framework/functions.php::media_filename - replace whitespaces by _
-# /upgrade-script.php - some small fixes
-02 Jun-2011 Build 1453 Dietmar Woellbrink (Luisehahne)
-# fix target in admin/media/browse.php 
-# http://www.websitebaker2.org/forum/index.php/topic,21688.msg145812.html#msg145812
-# Tks to the community
-02 Jun-2011 Build 1452 Dietmar Woellbrink (Luisehahne)
-! change status to RC6
-29 May-2011 Build 1451 Dietmar Woellbrink (Luisehahne)
-# replace eregi with pregmatch in search_modext (Tks to Thorn)
-22 May-2011 Build 1450 Werner v.d.Decken(DarkViper)
-# small fix at calling of moveCssToHead() in /index.php
-07 May-2011 Build 1449 Werner v.d.Decken(DarkViper)
-! cleanup some code in edit_module_files.php
-07 May-2011 Build 1448 Dietmar Woellbrink (Luisehahne)
-# secure fix edit_module_files.php
-# fix wb_wrapper_edit_area.php
-03 May-2011 Build 1447 Werner v.d.Decken(DarkViper)
-! syncronice version (no data changes)
-03 May-2011 Build 1446 Werner v.d.Decken(DarkViper)
-# fixed validation of username in users and signup
-27 Apr-2011 Build 1445 Dietmar Woellbrink (Luisehahne)
-# small validation fixes in backend themes
-22 Apr-2011 Build 1444 Dietmar Woellbrink (Luisehahne)
-# fix wrong url in captacha 
-19 Apr-2011 Build 1443 Dietmar Woellbrink (Luisehahne)
-! remove auto including YUI Framework in backend for modules, enable with ->print_footer(true)
-! ->print_error and ->print_success too accept a message as array
-! auto validate in frontend if style block inside body tag
-! captcha now XHTML valide
-15 Apr-2011 Build 1442 Dietmar Woellbrink (Luisehahne)
-# bug fixed in class.database.php methode field_add in call field_exists
-! update search, pls test, (Tks to Thorn)
-10 Apr-2011 Build 1441 Dietmar Woellbrink (Luisehahne)
-# recoded /modules/admin.php info_banner, now compare with modify in pages
-# security fixes remove defined WB_PATH for backend templates
-# fixed class.admin.php missing $TEXT declaration, add get_section_details
-26 Mar-2011 Build 1440 Dietmar Woellbrink (Luisehahne)
-# add missing methode is_group_match in class.wb.php 
-17 Mar-2011 Build 1439 Werner v.d.Decken(DarkViper)
-! syncronice version (no data changes)
-17 Mar-2011 Build 1438 Werner v.d.Decken(DarkViper)
-# little fixes for xhtml-validity in '/include/captcha/captcha.php'
-17 Mar-2011 Build 1437 Werner v.d.Decken(DarkViper)
-# little fixes for xhtml-validity module 'form'
-17 Mar-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
-! update jquery to Version 1.5.1 and jQuery UI to Version 1.8.10
-17 Mar-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
-# fix entities converting in select languages (Tks to the community)
-# see http://www.websitebaker2.org/forum/index.php/topic,20547.msg140512.html#msg140512
-13 Mar-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
-# fixed bug : Call to undefined method wb::preprocess() 
-14 Feb-2011 Build 1432 Dietmar Woellbrink (Luisehahne)
-# update NL language file (Tks to Argos)
-11 Feb-2011 Build 1431 Dietmar Woellbrink (Luisehahne)
-+ add page position in get_page_details 
-11 Feb-2011 Build 1430 Dietmar Woellbrink (Luisehahne)
-# fix save settings dir and file mode (Tks to the community)
-09 Feb-2011 Build 1429 Dietmar Woellbrink (Luisehahne)
-# add forgotten javascript variable
-07 Feb-2011 Build 1428 Dietmar Woellbrink (Luisehahne)
-! update Argostheme to version 1.5 (Tks to Argos)
-! validation fixes
-! call edit_full_area on the fly
-04 Feb-2011 Build 1427 Dietmar Woellbrink (Luisehahne)
-! validation fixes in wb_theme
-04 Feb-2011 Build 1426 Dietmar Woellbrink (Luisehahne)
-! validation fixes
-04 Feb-2011 Build 1425 Dietmar Woellbrink (Luisehahne)
-! redefined wrong admin backlinks
-31 Jan-2011 Build 1424 Werner v.d.Decken(DarkViper)
-# typo fix and simplify used_octets calculation
-30 Jan-2011 Build 1423 Werner v.d.Decken(DarkViper)
-! add FINGERPRINT_WITH_IP_OCTETS to table settings
-30 Jan-2011 Build 1422 Dietmar Woellbrink (Luisehahne)
-! update SecureForm.php to work behind Proxies
-27 Jan-2011 Build 1421 Dietmar Woellbrink (Luisehahne)
-# fix Undefined index: WARN_PAGE_LEAVE
-26 Jan-2011 Build 1420 Dietmar Woellbrink (Luisehahne)
-# YGN Ethical Hacker Group (2.8.2 / 2.9.0)
-26 Jan-2011 Build 1419 Dietmar Woellbrink (Luisehahne)
-! update rel handling FCKeditor for urls
-25 Jan-2011 Build 1418 Dietmar Woellbrink (Luisehahne)
-# remove new function see http://www.websitebaker2.org/forum/index.php/topic,20268.msg139557.html#msg139557
-24 Jan-2011 Build 1417 Dietmar Woellbrink (Luisehahne)
-! add redirect timer description in settings.php
-24 Jan-2011 Build 1416 Dietmar Woellbrink (Luisehahne)
-# fixed unsafe sql queries
-24 Jan-2011 Build 1415 Werner v.d.Decken(DarkViper)
-# fixed unsafe sql queries
-23 Jan-2011 Build 1414 Dietmar Woellbrink (Luisehahne)
-# fix wrong error message in media
-! backend start warning if upgrade-script exists
-23 Jan-2011 Build 1413 Frank Heyne (FrankH)
-# Bugfix for Ticket 900
-23 Jan-2011 Build 1412 Werner v.d.Decken(DarkViper)
-# fixed wb::password_chars 
-23 Jan-2011 Build 1411 Frank Heyne (FrankH)
-# Bugfix for Tickets 965, 966 and 910
-23 Jan-2011 Build 1410 Frank Heyne (FrankH)
-# Bugfix for build 1409
-23 Jan-2011 Build 1409 Frank Heyne (FrankH)
-+ Ticket 1058 added warn_page_leave (currently only in wysiwyg) 
-23 Jan-2011 Build 1408 Werner v.d.Decken(DarkViper)
-# small changes in sm2menu() [SM2_NO_TITLE + SM2_XHTML_STRICT]
-22 Jan-2011 Build 1407 Frank Heyne (FrankH)
-# various Security fixes, thanks to secunia and others 
-22 Jan-2011 Build 1406 Frank Heyne (FrankH)
-# Security fix to stop users from changing module contents without permission, thanks to Michael Schwarz 
-22 Jan-2011 Build 1405 Frank Heyne (FrankH)
-# Security fix (XSS) in form module, thanks to Michael Schwarz 
-22 Jan-2011 Build 1404 Dietmar Woellbrink (Luisehahne)
-# Security fix in pages 
-22 Jan-2011 Build 1403 Dietmar Woellbrink (Luisehahne)
-! small fix
-22 Jan-2011 Build 1402 Dietmar Woellbrink (Luisehahne)
-! secure peparing and beginning fix admin/pages
-21 Jan-2011 Build 1401 Frank Heyne (FrankH)
-! fixed changelog
-21 Jan-2011 Build 1400 Frank Heyne (FrankH)
-# Security fix in account 
-# Security fix in admin/media, thanks to hal 9000
-21 Jan-2011 Build 1399 Dietmar Woellbrink (Luisehahne)
-# Ticket 1090 fix wrong translation
-20 Jan-2011 Build 1398 Frank Heyne (FrankH)
-# Security fix in admin/admintools and admin/groups
-20 Jan-2011 Build 1397 Dietmar Woellbrink (Luisehahne)
-! recoded rediect timer in print_success (tks to Chio)
-19 Jan-2011 Build 1396 Werner von den Decken (DarkViper)
-! remove header redirect and add a die message 
-17 Jan-2011 Build 1395 Frank Heyne (FrankH)
-# Security fix in admin/addons
-16 Jan-2011 Build 1394 Dietmar Woellbrink (Luisehahne)
-! set construct to FRONTEND class.wb
-! set 2.8.2 to RC5
-16 Jan-2011 Build 1393 Frank Heyne (FrankH)
-# Bugfix in Security fix
-16 Jan-2011 Build 1392 Dietmar Woellbrink (Luisehahne)
-! update headerinfos, change secure messages
-16 Jan-2011 Build 1389-1391 Frank Heyne (FrankH)
-# Security fixes for modules captcha_control, code and droplets
-16 Jan-2011 Build 1388 Dietmar Woellbrink (Luisehahne)
-# more Security fix for admin/pages
-16 Jan-2011 Build 1387 Dietmar Woellbrink (Luisehahne)
-# fix class.wb
-16 Jan-2011 Build 1386 Dietmar Woellbrink (Luisehahne)
-! update headerinfos
-16 Jan-2011 Build 1385 Frank Heyne (FrankH)
-# Security fix to filter out droplets from user input in news and form modules
-16 Jan-2011 Build 1384 Dietmar Woellbrink (Luisehahne)
-! Security fix in admin/pages
-15 Jan-2011 Build 1383 Frank Heyne (FrankH)
-# Security fix for news module
-# Some more Security fixes, thanks to Gerben van Veenendaal
-14 Jan-2011 Build 1382 Dietmar Woellbrink (Luisehahne)
-# fix known error in drag and drop
-14 Jan-2011 Build 1381 Dietmar Woellbrink (Luisehahne)
-! update admin/modules unpack handling, overwrite newer files
-13 Jan-2011 Build 1380 Dietmar Woellbrink (Luisehahne)
-+ output fixings, known error in jsadmin will be fix later
-13 Jan-2011 Build 1379 Werner von den Decken (DarkViper)
-# fix class.admin 
-13 Jan-2011 Build 1378 Werner von den Decken (DarkViper)
-! fixed inclusion of SecureForm
-+ added IDNA/Punycode to  wb::validate_email()
-11 Jan-2011 Build 1377 Frank Heyne (FrankH)
-# Security fix for modules jsadmin, menu_link and output_filter
-11 Jan-2011 Build 1376 Frank Heyne (FrankH)
-# Security fix for WYSIWYG module 
-# Security fix for Wrapper module 
-10 Jan-2011 Build 1375 Frank Heyne (FrankH)
-# Security fix for Form module (new version is 2.8)
-# bugfix for delete_field in Form module
-10 Jan-2011 Build 1374 Dietmar Woellbrink (Luisehahne)
-# fixed headerinfos
-10 Jan-2011 Build 1373 Dietmar Woellbrink (Luisehahne)
-! update headerinfos
-10 Jan-2011 Build 1372 Dietmar Woellbrink (Luisehahne)
-# fixed class.wb.php to add class SecureForm
-09 Jan-2011 Build 1371 Dietmar Woellbrink (Luisehahne)
-# captcha patch (Tks to FrankH)
-! set status to 2.8.2 RC4
-09 Jan-2011 Build 1370 Dietmar Woellbrink (Luisehahne)
-! update install, changed some default settings to enabled
-06 Jan-2011 Build 1369 Dietmar Woellbrink (Luisehahne)
-+ add jquery-include.js (Tks to Stefek)
-! update bind jquery in frontend, jquery-include.js and jquery-insert.js are included
-31 Dec-2010 Build 1368 Dietmar Woellbrink (Luisehahne)
-- delete class.secureform.php
-+ add newest SecureForm 
-# fixed Call to a member function read() on a non-object in function register_frontend_modfiles
-29 Dec-2010 Build 1367 Dietmar Woellbrink (Luisehahne)
-# securtiy fix in class.login
-# see http://www.websitebaker2.org/forum/index.php/topic,20347.msg137554.html#msg137554
-29 Dec-2010 Build 1366 Dietmar Woellbrink (Luisehahne)
-# fixed showing system_default for search_template 
-29 Dec-2010 Build 1365 Dietmar Woellbrink (Luisehahne)
-! added some functions 
-! set status to 2.8.2 RC3
-29 Dec-2010 Build 1364 Dietmar Woellbrink (Luisehahne)
-! added function 'db_update_key_value()'
-29 Dec-2010 Build 1363 Dietmar Woellbrink (Luisehahne)
-# Ticket #1053, Ticket #941 show_breadcrumb
-29 Dec-2010 Build 1362 Dietmar Woellbrink (Luisehahne)
-! additional functions added in class.database
-28 Dec-2010 Build 1361 Dietmar Woellbrink (Luisehahne)
-! sync languages files with 2.9.0.dev
-! unzip addons now overwrite newer files
-28 Dec-2010 Build 1360 Dietmar Woellbrink (Luisehahne)
-! show_menu2 display Title-attribute fixed
-! tooltip added, change modul version to 4.9.5
-28 Dec-2010 Build 1359 Dietmar Woellbrink (Luisehahne)
-! upgrade FCKeditor to Version 2.6.6
-28 Dec-2010 Build 1358 Dietmar Woellbrink (Luisehahne)
-! validation fixes in pages backend theme
-27 Dec-2010 Build 1357 Frank Heyne (FrankH)
-# security fix: in path admin/pages/ - added FTAN check
-! had to enhance parameter for getFTAN() in framework/class.secureform.php 
-27 Dec-2010 Build 1356 Dietmar Woellbrink (Luisehahne)
-# more little fixes in settings
-! change to RC2
-27 Dec-2010 Build 1355 Frank Heyne (FrankH)
-# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-90/
-# security fix: in path admin/templates/ - added FTAN check
-# security fix: in path admin/settings/ - added FTAN check
-26 Dec-2010 Dietmar Woellbrink (Luisehahne)
-+ added admin/images
-# fixed save handling settings entries
-! local sync
-26 Dec-2010 Build 1353 Frank Heyne (FrankH)
-# security fix: in modules/admin.php - check whether section belongs to page
-! security fix: changed $section_required into $no_section_required (apparently used by no module at all)
-# security fix: in path admin/users/ - added FTAN check
-# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-91/
-# security fix:           vulnerabilities mentioned in http://secunia.com/secunia_research/2010-92/
-# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-93/
-21 Dec-2010 Dietmar Woellbrink (Luisehahne)
-# fix if upgrade module can now overwrite existing newer files in modules folder
-# same for upgrade templates
-21 Dec-2010 Dietmar Woellbrink (Luisehahne)
-# XHTML output fixed in show_menu2
-20 Dec-2010 Dietmar Woellbrink (Luisehahne)
-# syntaxfix in initialize.php
-19 Dec-2010 Dietmar Woellbrink (Luisehahne)
-+ add ini_set('display_errors', 1) (Tks to Thorn)
-! update headerinfos
-17 Dec-2010 Dietmar Woellbrink (Luisehahne)
-# fix save access rights in settings
-23 Nov-2010 Dietmar Woellbrink (Luisehahne)
-# fix Droplet LoginBox fronend_signup (tks to Maverik)
-# fix save user e-mail,
-12-May-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #999 wrong sql statement in admin/pages/index.php (Tks to Lucutus)
-12-May-2010 Dietmar Woellbrink (Luisehahne)
--	remove unneeded flags in backend themes
--	remove admin/images
-11-May-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #1004 Small typofixes needed in FR lang file (Tks to quinto)
-+	Ticket #1005 add FR Language for the admin templates (Tks to quinto)
-06-May-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #998 fix German language file from mixture of du and Sie (Tks to Erpe)
-02-May-2010 Dietmar Woellbrink (Luisehahne)
-!	remove some unneeded code in backend themes templates
-!	see forum: JQuery und Backend-Theme
-02-May-2010 Dietmar Woellbrink (Luisehahne)
-!	add lang variable for new userform
-02-May-2010 Dietmar Woellbrink (Luisehahne)
-!	added IdKey to class secureForm
-30-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	changes Backend javascripts from body to head
-28-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	insert modulename in sections, even for missing module, you can style it with class selector: module_disabled
-27-Apr-2010 Dietmar Woellbrink (Luisehahne)
-+	add an extra class class.secureform.php and extends it to class.wb.php
-!	check for installed modules before loading in content 
-27-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	remove forgotten debug line
-27-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Fixed update search settings
-#	Fixed bug in /modules/admin.php 
-22-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Fixed bug in /modules/admin.php 
-22-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	start recoding without style display:none	
-21-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #995 update jquery-ui.css and images (Tks to Ruebenwurzel)
-+	add languages files for jquery datepicker (tks to Ralf)	
-!	Ticket #994 WYSIWYG editors sorted by name (tks to Aldus)
-20-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	update class.login.php (tks to Ruud)
-19-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	update class.login.php
-18-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	Validation fix in preference
-18-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	fixed directory_list
-17-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	litte fix to show GMT value in default view
-!	fixed file_list
-15-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	Update headerinfos admin/interface
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	changed e-mail notification for backend login
-!	styling in preference.htt in themes
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Typo fixes with german umlaute
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #985 With #1318 no login in backend possible
-#	Ticket #986 Typo inside the german language file 
-#	Ticket #982 Unnessesary heredoc causes on errors while installation!
-#	Ticket #926/Ticket #928 Mail Notification on new user registration
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #984 Removing outdated comment-block in class.login.php
-#	Ticket #983 Sorting order of modules and templates inside groups.php
-14-Apr-2010 Dietrich Roland Pehlke (Aldus)
-#	Ticket #982 - Wrong use of heredoc-syntax in some language-files (BG, CS and HR) breaks the installation-process.
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #974 Usability bug in /preferences
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #976 Using md5 also for the username inside class.login.php
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #977 Templates sorted in alphabetical order
-14-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #978 Add additional PHP 5.2 check to installation
-#	Ticket #979 False PHP 4 requirements in install
-#	Ticket #980 Usebility - Bug in the settings-interface
-#	Ticket #981 typos in backend-theme "argos" in file groups.htt
-11-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	fix ticket #975 some weird /pages/ header infos
-11-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	little fixes for backwards compatible PHP4, pls test
-11-Apr-2010 Dietmar Woellbrink (Luisehahne)
-!	show_menu2 remove unneeded code for WB < 2.7
-!	class.wb.php, recoding backend preference
-+	add a language variable $MESSAGE['PREFERENCES']['INVALID_CHARS']
-!	update theme.css for preference.htt in argos_theme & wb_theme
--	remove classic_theme
-07-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #971 Using $_POST in Admin - account - login.php (tks to Aldus)
-!	update class.wb.php added tokens function
-07-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #967 Typo in the mysql-query results in "not" upgrading the modul info ( tks to Aldus)
-01-Apr-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket 963 Minor XSS issue in admin login
-!	update jquery-ui-min.js from 1.7.2 to 1.8.0
-#	Fixed typo in the english language file
-26-Mar-2010 Dietmar Woellbrink (Luisehahne)
-!	update changelog
-26-Mar-2010 Dietmar Woellbrink (Luisehahne)
--	remove deprecated backup modul
-19-Mar-2010 Dietmar Woellbrink (Luisehahne)
-!	rework admin/pages/save.php so that modules can use it
-!	fixed missing global install variable to work in modules
-17-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #957 Wrong status returned for visibility
-17-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #956 Useraccounts, now e-mail is required
-09-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	Fixed e-mail preg pattern, because issues with some php versions
-07-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	fixed search_modext.php ( Tks to Thorn )
-#	Ticket #953 is already fixed 
-#	Ticket #954 styles issues in theme.css ( Tks to Ruebenwurzel )
-07-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	Tickets #932 change deprecated eregi functions 
-#	Tickets #948 fixed Multiple use of same parametrised droplet - parameter handling
-!	Upgrade Droplets to Version 1.0.3
-!	update some headerinfos
-!	non existing pages will be created if clicking save in page settings
-07-Mar-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #950 missing classes in theme.css ( Tks to Ruebenwurzel )
-!	update jquery-min.js to version 1.4.2
-20-Feb-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #944 fixed double sections, with registered User
-20-Feb-2010 Dietmar Woellbrink (Luisehahne)
-#	fix corrupted changelog
-20-Feb-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #945 fixed reloads function 
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	update headerinfo in module droplets
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	Beginning with Ticket #901 
-+	add siteadd.png to backend themes
-!	change icon add child page
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	update headerinfo
-!	change $search_pattern for check if Javascript mailto encryption is enabled
-!	module output_filter set to version 0.12
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	change show_menu2 to correct modul version 4.9
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	insert $wb->preprocess($output), preprocess no longer needed in modules
-!	little modifaction in upgrade-script.php in function check_wb_tables
-!	updated module wysiwyg, set to module version 2.8
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	recoded function extract_permission in /framework/functions.php
-!	change URL_HELP to http://www.websitebaker2.org/  in /framework/class.admin.php
-!	recoded function preprocess in /framework/class.frontend.php
-!	optimize function getVersion in /framework/addon.precheck.inc.php
-19-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	change constant EDIT_ONE_SECTION to default false	
-------------------------------------- 2.8.1 -------------------------------------
-08-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	missunderstanding back to old logo
-08-Feb-2010 Dietmar Woellbrink (Luisehahne)
-#	Droplet emailfilter fixed search mdcr.js
-!	some little fixes in upgrade-script
-+	new WebsiteBaker Logo in themes
-05-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	Fixed wrong themes path in jquery_theme.js, that plugins works correctly
-+	images icons to run base theme
-01-Feb-2010 Dietmar Woellbrink (Luisehahne)
-!	to hold content, install don't drop existing tables (code, form, menu_link, news, wrapper, wysiwyg) 
-!	otherwise do it with uninstall
-30-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #931 bug in admin/access/index.php
-30-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	continue update headertext
-!	fixed tpyo Website Baker to WebsiteBaker in main language files
-30-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	continue update headertext
-#	Ticket #930 disabled SyntaxHighlighter from default WB Installation
-!	change help url to www.websitebaker2.org
-29-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	continue update headertext
-28-Jan-2010 Dietmar Woellbrink (Luisehahne)
-+	Ticket #927 news module language file in swedish
-!	update headertext
-28-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #925 Slovak Lang Missing in allowed install languages!
-28-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update headertext
-28-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update jquery 1.4.0 to 1.4.1, 
--	removed include/jquery/plugins
-!	update backend themes
-#24-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #923 argos_theme: Always Allowed Viewers in page_settings
-#	fixed css for pagetree to show in IE7
-24-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #921 fix issues in IE by using EditArea framework
-23-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #921 Update EditArea framework
-!	fix stylings wb_them
-!	fix upgradescript
-23-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update jquery to version 1.4, rename old one to jquery-min132.js
-#	fixed argos theme  
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	continue update header info
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	set svn keywords
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #869 Droplet-Engine does'nt work in some case
-!	continue update header info
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update header info
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update fckeditor, forgotten to upload a file
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #917 Update backend themes 
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #909 WYSIWYG Editor width destroyes backend layout
-!	Set EDITOR_WIDTH to 0, This way backend theme developper 
-!	can style the WYSIWYG Editor according to their themes.  
-22-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #916 Update backend theme footer
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	updated YUI 2.4.1 to 2.8.0r4
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Beginning header information update
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix login_form.php sometimes produce javascript errors in IE
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix more small css-errors in WB Backend (thanks to Ruebenwurzel)
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update header info
-!	change unknown user to guest in all languages
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update info.php fckeditor
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix wrong settings in image browser dialog
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #912 fix Search Template bug
-21-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #915 fix bug in search (utf-8 characters corrupted)(thanks to Thorn)
-19-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix some more small css-errors in WB Backend (thanks to Ruebenwurzel)
-19-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	removed wb_path as javascript var (thanks to Bianca)
-19-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix some more small css-errors in WB Backend (thanks to Ruebenwurzel)
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fixed snippets including frontend.css and frontend.js 
-#	without register_frontend_modfiles
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-+	Ticket #877 add slovak lang in Captcha and Advanced-Spam-Protection
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	update header
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 5. continue to fix CSS-errors in WB backend
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 4. continue to fix CSS-errors in WB backend
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 3. continue to fix CSS-errors in WB backend
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 2. continue to fix CSS-errors in WB backend
-14-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 1. continue to fix CSS-errors in WB backend
-13-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #911 Beginning to fix More CSS-errors in WB backend
-+	add SVN- Revision to backend theme
-12-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #906 Search Template bug
-!	update editor min width, dragableresize table
-12-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	Ticket #907 js files in backend themes are stored at wrong places
-+	add include/jquery/plugins/toggle_zip.js
--	removed toggle_zip.js in backend themes
-12-Jan-2010 Dietmar Woellbrink (Luisehahne)
-#	fix open_basedir restriction in effect in save_post.php
-11-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	fix load_module, load_language (tks to Webbird)
-11-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #904 fix if templatename is equal language
-11-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #905 fix search.php 'registered' hardcoded
-10-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	Ticket #903 fix CSS-errors in WB backend
-!	add title class in show_breadcrumbs, now full css styling
-05-Jan-2010 Dietmar Woellbrink (Luisehahne)
-!	recoded function show_breadcrumbs
-30-Dec-2009 Dietmar Woellbrink (Luisehahne)
-#	fix Warning: stristr() [function.stristr]
-29-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	set revision constant to release version
-29-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	update release version
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-#	fix show date if only short content
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	check if load only one wysiwyg instance
-!	check update svn revision
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-#	fix syntax error
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	update header, check that all tables in WB package are installed 
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	update header, change variable
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	update header
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	update header
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	validate code
-28-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	change page_title to menu_title in dropdown list
-!	validate code
-23-Dec-2009 Dietmar Woellbrink (Luisehahne)
-!	check if revision $id will be updated
-21-Dec-2009 Moritz Stapelfeldt
-#	Ticket #896: Bugfix in framework/functions.php > added test is_dir to function rm_full_dir
-16-Dec-2009 Ruud Eisinga
-#	Ticket #894: Bugfixes in newsmodule > rss.php
-16-DEC-2009 Manuel Lang (MaGnaL)
-#	Minor bugfixes: Use localized messages in preference forms on frontend and backend,
-	correct html/php syntax in upgrade-script.php and NL localization of show_menu2 snippet  
-14-DEC-2009 Manuel lang (MaGnaL)
-#	Ticket #832: Fix wrong configuration of timezone-handling when saving
-	preferences-form on backend and frontend 
-12-DEC-2009 Manuel Lang (MaGnaL)
-#	Ticket #827: Fix false form-parameter when javascript is deactivated
-	on users and groups temps (admintool).
-12-DEC-2009 Manuel Lang	(MaGnaL)
-#	Bugfix of rev. 1211 search_modext.php (ticket #863): Use isset and
-	given unknown-user instead of counting all users. 
-12-Dez-2009 Dietrich Roland Pehlke (Aldus)
-#	Bugfix inside "search_modext.php" to avoid warings if the search found
-	a page last modified by a user witch has been deleted. (ticket #863)
-03-Dez-2009 Dietmar Woellbrink (Luisehahne)
-!	Ticket #890 fixed visability proprty uses non valid value 'none' 
-03-Dez-2009 Dietmar Woellbrink (Luisehahne)
-!	change searchstring mdcr.js, workout crypt emails in output_filter/filter-routines.php
-!	comment out ob_end_flush line 259 in form/view.php
-02-Dez-2009 Dietmar Woellbrink (Luisehahne)
-!	next step to validate backend themes
-01-Dez-2009 Dietmar Woellbrink (Luisehahne)
-!	add Revision IDs to added files - Thanks to Ruebenwurzel
-01-Dez-2009 Dietmar Woellbrink (Luisehahne)
-!	updated pclzip class
-29-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	update module info.php (thanks to Waldschwein)
-29-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	added missing swobject plugin in FCKeditor
-!	bug fixed in flvplayer
-29-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	stop working plugin flvplayer in FCKeditor until fixed
-29-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fixed an undefined index in settings.php
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Update FCKeditor Version 2.6.5 to Modulversion 2.9.3
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	updated theme.css in wb_theme
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Ticket #886 fix validation email, check tld between 2-4 letters
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Ticket #874 add slovak lang in install
-    and validate output
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Ticket #880 fixes language file SK.php
-28-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Ticket #828 fix deprecated eregi
-27-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fixes language file SK.php
-27-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fixed parse error ticket #878 
-26-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	found and fix some deprecated functions
-26-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	validate some output files
-26-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fix some PHP 5.3 deprecated functions 
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Fix to load edit_full_area only if needed
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	change page_title to menu_title for parent dropdown list in index.php and sections.php
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	more bug fixes language file SK.php
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	Many hosts disable error_log() in various and sundry ways. 
-	In WB we do something like this to avoid triggering warnings and errors. 
-	Even this is sometimes not sufficient to avoid problems with some hosts, but accommodates most.
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fix show_menu2 include.php, page crashes, if php error_log is disabled
-25-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fixes language files HU.php and SK.php
-24-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	fixed php 5.3 depricated function in show_menu2
-24-Nov-2009 Dietmar Woellbrink (Luisehahne)
-+ 	add two constants in /framework/initialize.php for later feature in database settings
-+	define('EDIT_ONE_SECTION', true) to edit only one section with editor in manage sections
-	modify page will be loading all sections with editor
-+	define('EDITOR_WIDTH', 900) set min width for editor
-+	adding more information in editor header 1) block 2) module 3) section_id
-24-Nov-2009 Dietmar Woellbrink (Luisehahne)
-+	add register_frontend_modfiles('jquery'); adds jquery basis scripts in head
-+	add register_frontend_modfiles_body('jquery'); adds jquery basis scripts before body end
-+	add jquery_theme.js to choose a ui theme, basis is loaded, can be change 
-24-Nov-2009 Dietmar Woellbrink (Luisehahne)
-+	add a child page is cumbersome when the parent dropdown list gets to be too large. (Ticket #821)
-24-Nov-2009 Dietmar Woellbrink (Luisehahne)
-!	validate captcha control
-13-Oct-2009 Ruud Eisinga
-#	fixed breaking droplets by highlighting search-words in search result pages.
-13-Oct-2009 Dietmar Woellbrink (Luisehahne)
-+	added forgotten jquery-fancybox.js Version 1.0
-13-Oct-2009 Dietrich Roland Pehlke (Aldus)
-#	Fixed typo in the finnish language file (ticket #814).
-12-Oct-2009 Dietmar Woellbrink
-!	security update FCKeditor (tks to Ruebenwurzel)
-12-Oct-2009 Dietmar Woellbrink
-+	added old version of fancybox.js
-!	rename new version fancybox 
-+	added missing language variables in newsmodul
-12-Oct-2009 Dietmar Woellbrink
-#	fixes Bugs headersend errors in some core files
-12-Oct-2009 Dietmar Woellbrink
-!	update function show_bread_crumb in framework/frontend.functions.php
-!	replace separator with entities char, add title for multilingual
-!	set breakcrumb in div container class="breadcrumb"
-!	set separator in span tag class="separator"
-12-Oct-2009 Dietmar Woellbrink
-!	update jquery fancybox from 1.0 to 1.2.1 
-+	fancybox imagefolder incl. fancybox.css
-12-Oct-2009 Dietmar Woellbrink
-!	shows more details in wysiwyg editor
-10-Oct-2009 Dietmar Woellbrink
-!	small update upgrade.php to reset newsfiles to created dates
-10-Oct-2009 Dietmar Woellbrink
-!	Update FCKeditor to Version 2.6.5 Modulversion 2.9.1
-09-Oct-2009 Dietmar Woellbrink
-!	Update FCKeditor to Version 2.6.5 Modulversion 2.9.1
-09-Oct-2009 Dietmar Woellbrink
-+	upgrade.php to reset newsfiles to created dates
-09-Oct-2009 Dietmar Woellbrink
-#	Ticket #770, #785, #792, #807, #809, 
-#	fixes and recoded news module
-09-Oct-2009 Dietmar Woellbrink
-#	Ticket #815 Fix Warning: open_basedir restriction in effect. File is in wrong directory in load_module
-#	same fix to load_template
-07-Oct-2009 Dietrich Roland Pehlke
-#	Missing contiue inside search.php to avoid access to an non-object if the query fails. (ticket #793). Thanks to Thorn.
-06-Oct-2009 Dietmar Woellbrink
-#	Security fix - wrong placed "exit()" inside class.wb.
-22-Sep-2009 Dietmar Woellbrink
-#   Fixed: Pagetree changed menu titles instead of page titles (ticket #805) thanks to Ralf (Berlin)
-21-Sep-2009 Dietrrich Roland Pehlke
-!	Dutch tranlation(-s) for the captcha-control. [Ticket: #777] (Thanks to Argos)
-#	Missing code inside "framework/addon.precheck.php" (ticket #798).
-#	Changes inside "upgrade-script" to avoid "mysql_list_tables is deprecated" warnings (ticket #800).
-#	Add "global $admin" to the install.php of the droplets-module to avoid (variable isn't declared) warnings. (ticket #800).
-18-Sep-2009 Dietmar Woellbrink
-#   french translation updated for WB 2.8 (tks to Ploc)
-16-Sep-2009 Dietmar Woellbrink
-#	Fixed bug changed URL_HELP in class.admin.php to http://help.websitebaker.org/ (ticket #801).
-#	Fixed bug: inside the FCK-Editor wbmodul: missing 'OK' button when inserting WB link with Safari/Chrome (ticket #795).
-#	Fixed bug changed png fix and path to jquery-pngFix.js inside footer.htt for backend themes (ticket #786).
-#	Fixed bug: inside the FCK-Editor include.php: add $oFCKeditor->Width  = $width; (ticket #799).
-15-Sep-2009 Dietrich Roland Pehlke
-#	Fixed bug: group-restrictions and sections (ticket #791).
-#	Fixed bug inside the FCK-Editor wbmodul: displaying the correct page-tree by
-	adding "order by position"
-25-Aug-2009 Dietrich Roland Pehlke
-#	Fixed bug in upgrate-script. Constant 'DEFAULT_THEME' doesn't exists (ticket #784).
-25-Aug-2009 Ruud Eisinga
-#	Fixed bug in droplets. Multiple droplets with the same parameter did not extract the new parameter.
-	(problem introduced by code optimisations for WB2.8) 
-#	Fixed usage of the depriciated (PHP 5.3.0) split() function in class.wb. (ticket #772)
-#	Fixed notice ob_end_clean..failed to delete buffer. (ticket #779)
-22-Aug-2009 Ruud Eisinga
-# 	Changed the default searchform name in the installer. (ticket #775)
-#	Fixed the recursive redirect problem when a page is called with a wrong language parm (ticket #780)
-------------------------------------- 2.8.0 -------------------------------------
-14-Aug-2009 Matthias Gallas
-#	Fixed typo in dutch language file (Thanks to Argos)
-#	Changed FCKEditor to not show index.php files in browse media window (ticket #774)
-	(Thanks to BerndJM)
-12-Aug-2009 Matthias Gallas
-#	Fixed some display issues in all backend themes
-!	Again updated dutch language file (Thanks to Argos)
-#	Fixed missing language variable in form modul (Thanks to Argos)
-+	Added missing images to argos_theme (forgotten in changeset [1117])
-11-Aug-2009 Matthias Gallas
-!	commentet out the droplets logo for a more similar backend design with
-	other admin tools
-!	Updated icons in argos_theme (Thanks to Argos)
-!	Updated Dutch language file (Thanks to Argos)
-!	Updated show_menu2 to version 4.9
-9-Aug-2009 Matthias Gallas
-#	Replaced function mime_content_type as the old one causes shell_exec warnings
-	on some servers (Thanks to Aldus)
-!	updated argos_theme to version 1.4 (Thanks to Argos)
-!	some code cleaning of admin/pages/sections.php
-#	Fixed possible xss injection in login/forgot/index.php
-#	Fixed bug in news modul introduced in changeset [1057]
-#	Added missing variables also to preferences.php. Forgot in Changeset [1112]
-8-Aug-2009 Matthias Gallas
-#	Added some missing variables to backend_themes (Thanks to Stefek)
-6-Aug-2009 Matthias Gallas
-!	Set Version to 2.8
-!	Updated upgrade_script to make use of the changed news settings
-+	Added to show_menu2 the aOption 'SM2_HIDEPAGES'. If set all hidden pages are
-	hidden again (Thanks to DarkViper)
-#	Fixed again some bugs in news modul (ticket #756) (Thanks to Aldus and Luisehahne)
-#	Fixed bug that frontend.js, frontend.css and frontend_body.js are not used
-	from snippets (ticket #764) (Thanks to Luisehahne)
-+	Added new function 'register_frontend_modfiles_body' to default templates
-+	Added option to use a frontend_body.js in modules to include javascript from modules
-	in the body of the frontend (Thanks to Luisehahne)
-!	Updated Danish language Files (Thanks to Achrist)
-#	Fixed some display issues in argos_theme (Thanks to Argos)
-30-July-2009 Ruud Eisinga (Ruud)
-#	Fixed a bug in the /admin/media resizer parameters for dirs with whitespaces (thnx to tiesy)
-#	Fixed a bug in FCKeditor include.php. Now the editor can be used from other 
-	subdirectories than WB_PATH/modules/mymodule
-29-July 2009 Dietrich Roland Pehlke (Aldus)
-#	changes in framework/class.wb.php to avoid the "print->footer()" bug in the frontend,
-	as this function/method doesn't exists for the frontend.
-#	Changes inside index.php and save.php in settings to get rid of the situation
-	that a SMTP-Password could not contain an "<" char (right chars are craped),
-	and also "<" is not transformed into an entitie "&lt;". (Thanks to FrankH)
-#	Modify of "addon.precheck.inc.php" to get rid of the problematic that version_compare
-	could faild if words like "alpha", "beta" are inside a version-string. (missing in changelog 1100)
-28-July 2009 Matthias Gallas
-#	fixed some smaller issues in rss.php (Thanks to Kibmcz)
-27-July 2009 Matthias Gallas
-+	Added German language file to droplets
-+	Added modul_description to language files of droplets
-+	Added Danish language files to modules (Thanks to Achrist)
-!	Updated Danish language file (Thanks to Achrist)
-#	Fixed improper spelling in language files (#754)
-#	Fixed bug introduced in changeset [1092]
-25-July 2009 Matthias Gallas
-#	fixed some language bugs in search.php (Thanks to Thorn)
-23-July 2009 Matthias Gallas
-#	fixed bug with missing filetype icon in media section of classic_theme (ticket #752)
-#	fixed bug with page not showing if 2 sections active (ticket #751) (Thanks to Pumpi)
-#	readded to phplib/template.inc $clear: whether to delete undefined vars or not
-	was already added in WB 2.7 but was deleted for unknown reasons (Thanks to FrankH)
-22-July 2009 Matthias Gallas
-!	set Version to RC2
-!	small modification on german language file (ticket #746)
-#	Fixed E_ALL&E_STRICT warning on PHP5 servers (Thanks to Aldus) 
-#	Fixed bug with home folders are viewable and writable from other users
-	(ticket #605 and #748) (Thanks to Aldus)
-20-July 2009 Matthias Gallas
-!	Moved backend.js back from <body> to <head>
-+	Added possibility to add a backend_body.js to modules wich is then called in <body>
-+	Readded admin/images folder to keep backward compatibility to old modules
-19-July 2009 Matthias Gallas
-#	Fixed display issue of jsadmin in backend themes (Thanks to Argos)
-18-July 2009 Matthias Gallas
-!	Updated german laguage file in argos_theme
-+	Added multilnaguage support to media section of argos_theme (Thanks to Argos)
-#	Fixed smaller display issue in argos_theme (Thanks to Argos)
-+	Added more meta tags to backend themes
-!	Updated Argos_theme (Thanks to Argos and Luisehahne)
-#	Again added some &amp; to news and form to get more valid output (Thanks to Luisehahne)
-#	Fixed wrong set </form> tag to get valid output (Thanks to Luisehahne)
-!	Replaced in some alt tags hardcoded signs with language variables (Thanks to argos)
-!	Updated Dutch language File (Thanks to argos)
-!	Updated French language File (Thanks to mylesk42)
-16-July 2009 Matthias Gallas
-#	Fixed E_ALL notice in news/view.php
-!	replaced in form and news delimiter "&amp;" with "&"
-	was introduced with changeset [1069] but didn't work on all servers
-#	Removed double </form> tags in pages/intro.php and wysiwyg/modify.php
-!	replaced all remaining mktime() with time(), except from third party scripts
-15-July 2009 Matthias Gallas
-!	changed in modules/admin.php and admin/pages/add.php mktime() to time()
-!	changed in wrapper modul modify.html to modify.htt
-#	Fixed some validiation bugs in core and different modules (Thanks to luisehahne)
-#	fixed display issue of jscalendar in news modul (Thanks to Aldus)
-!	changed modules/admin.php to also make use of backend theme templates
-!	changed in class_login.php mktime() to time()
-14-July 2009 Matthias Gallas
-#	Fixed bug with sections are only editable in new backend-themes if blocks are enabled
-	(Thanks to Luisehahne)
-#	Fixed some validiation bugs in news modul (ticket #742) (Thanks to Luisehahne)
-14-July 2009 Dietrich Roland Pehlke
-!	changes in frontend.functions.php, line 323: 'date' to 'gmdate' to avoid E_STRICT warnings.
-!	changes in wb-setup.php, line 50: 'date' to 'gmdate' to avoid E_STRICT warnings. See also #741.
-13-July 2009 Matthias Gallas
-+	added changes from news/add.php to the upgrade-script.php
-13-July-2009 Ruud Eisinga
-#	admin / media / browse reported an error in E_STRICT mode.
-13-July 2009 Dietrich Roland Pehlke
-!	Change inside "date_formats.php" and "time_formats.php" mktime() within time()
-	to avoid warnings and strict messages. See #741. Minor cosmetic changes.
-#	News-Modul: add the unlink-routine for the ".news" folder inside uninstall.php
-	so the groupe-images are also unlink.
-!	News-Modul: add <tr><td> and </td></tr>-tags to the "none found" part in the view.php to 
-	get valid output inside a table.
-!	Change the setting of $display_image and $display_groupe to avoid the 
-	empty display roule problematic (<tr style="display: ">) for valid output.
-!	Add &gt;&gt; in "add.php" instead of >> to avoid invalid output.
-11-July-2009 Ruud Eisinga
-!	The news module post_title link made unclickable when there is no full post.
-11-July-2009 Matthias Gallas
-+	Added changed news settings to upgrade-script
-09-July-2009 Ruud Eisinga
-!	Added a better option to hide the READ_MORE link in the news module. (ticket #739)
-09-July-2009 Matthias Gallas
-#	Fixed bug that backend.js is not loaded in backend themes (ticket #740)
-#	Fixed wrong path to unitpngfix.js and added missing script
-#	Fixed invalid output of page_sections Page in Backend (Thanks to Luisehahne)
-08-July-2009 Matthias Gallas
-+	Added PageID and SectionID to all backend themes (Thanks to Luiseshahne)
-#	Fixed some display issues in all backend themes (Thanks to Luisehahne)
-!	Replaced wbmodules.gif in FCKEditor Plugins (Thanks to Stefek)
-08-July-2009 Dietrich Roland Pehlke
-!	Removed unused marker {USERS} inside the "groups.htt" of the wb-theme.
-!	admin -> users -> index.php
-!	admin -> groups -> index.php
-	Codechanges using blocks to avoid to generate the "switch"-link right-top,
-	if the user has no permission to edit the other one.
-!	wb_theme|classic_theme|argos_theme -> templates -> users.htt
-!	wb_theme|classic_theme|argos_theme -> templates -> groups.htt
- 	Add block-comments
-!	admin -> addons -> index.php	codechanges
-!	admin -> access -> index.php	codechanges
-	Codechanges to get rid of the empty display(style) declaration "style='display: ;'",
-	and to avoid to generate (hidden) elements if the user isn't alowed to edit one.
-!	wb_theme|classic_theme|argos_theme -> templates -> addons.htt
-!	wb_theme|classic_theme|argos_theme -> templates -> access.htt
-	add block-comments
-#	Bugfix inside wb/admin/groups/get_permissions.php - replacing wrong "AND" within "OR" in line 64
-	if one checkbox of "user" or "group" is selected (like in line 178; advanced settings).
-07-July-2009 Matthias Gallas
-#	Fixed some minor bugs in argos_theme (Thanks to Argos)
-#	Fixed bugs in admin additons for argos_theme (Thanks to Argos)
-!	Updated Version Number in upgrade_script to 2.8RC1
-!	Updated FCKEditor Modul Version Number to 2.89
-+	added in FCKEditor Advisory Relation to Links (thanks to Luisehahne)
-06-July-2009 Matthias Gallas
-!	Updated FCKEditor to Version 2.6.4.1 (ticket #738) (Thanks to doc)
-#	Fixed Backend-Themes to get more valide output (Thanks to Luisehahne)
-+	Added argos_theme
-+	Added new functions to admin dir (Thanks Argos and Ruud)
-!	Updated install and upgrade-script
-!	Adapted wb_theme and classic_theme to changed admin dir files
-04-July-2009 Dietrich Roland Pehlke
-!	FCK-Editor Modul: Droplet Select: change "page_list_block" to "droplets_list_block",
-	also "cmbPages" to "cmbDroplets" as we are listen droplets not pages.
-!	Remove unneeded empty lines and spaces/blanks;
-	minor cosmetic changes in the source to keep the string more readable.
-04-July-2009 Matthias Gallas
-!	Replaced droplet icon for FCKEditor Toolbar (thanks to Stefek)
-#	Fixed two bugs in droplets-plugin for FCKEditor (thanks to Aldus)
-!	Changed Template from FCKEditor plugin WBModules to .htt
-+	Added Droplets plugin to FCKEditor (ticket #737) (Big Thanks to vizmotion)
-03-July-2009 Matthias Gallas
-+	Fixed IE Bug in Wrapper modul (ticket #736)
-03-July-2009 Ruud Eisinga
-#	Fixed the wrong handling of htmlentities in Droplet parameter parsing
-02-July-2009 Matthias Gallas
-+	Added missing fancy_progress.png
-01-July-2009 Matthias Gallas
-#	Fixed backend display issues in IE6 and IE7
-!	Set Version to WB2.8RC1
-!	Minor tweaks in pages_sections.htt
-+	Added posibility to upload and unzip .zip packages to media section
-	(Thanks to BerndJM)
-!	Updated Browse Media Window in wb_theme now supports file icons, more file
-	informations and a new preview function (Thanks to BerndJM)
-29-June-2009 Matthias Gallas
-#	Replaced in FCKEdiotor folder all index.html with index.php (ticket #691)
-!	Update PHPMailer to version 2.0.4 (ticket #733)
-!	Update Editarea to version 0.8.1.1 (ticket #732)
-!	Update JQuery UI to version 1.7.2 (ticket #731)
-27-June-2009 Ruud Eisinga
-#	Fixed email encryption bug in output filter. Introduced by adding droplets.
-	(Thanks to Luisehahne)
-25-June-2009 Matthias Gallas
-+	Added missing admin/settings/setting.js
-!	Changed name of classic theme from "classic" to "classic_theme"
-+	Added output-filter warning to all language files
-#	Fixed admintool jsadmin to get XHTML valid output (Thanks to Luisehahne)
-#	Major fixes on backend to get XHTML valid output (Thanks to Luisehahne)
-+	Added option to use also MYSQL_ASSOC and MYSQL_NUM with mysql_fetch_array
-	(Thanks to Luisehahne)
-#	Bugfix for Error-Level settings (Thanks to Luisehahne)
-23-June-2009 Matthias Gallas
-#	Moved styles from admin/pages/sections.php to sections.htt in backend themes
-	(Thanks to Luisehahne)
-!	Moved javascript files from admin/pages/index.php to external js files
-	(Thanks to Luisehahne)
-#	Major improovements and changes to all backend files to get more valide Code
-	output (Thanks to Luisehahne)
-22-June-2009 Matthias Gallas
-#	fixed wrong position id when adding a new page
--	removed obsolete code/modify.html
-22-June-2009 Dietrich Roland Pehlke
-#	Changes on module "code": add the section_id to the name of the textarea,
-	to keep the functionality if you are using more than one code-section on a page.
-!	Moving the html-template inside a "htt" folder and rename the suffix to ".htt" to
-	keep it consitant to other modules. Minor cosmetic changes inside the code.
-22-June-2009 Ruud Eisinga
-#	Fixed a bug in Menu_link module that made childpages of the menu_link page 
-	not selectable. (thnx to Luisehahne)
-21-June-2009 Matthias Gallas
-#	Fixed small bug introduced in changeset [999]
-19-June-2009 Matthias Gallas
-#	Fixed bug that parent pages didn't inherit language settings to kind pages
-17-June-2009 Ruud Eisinga
-#	Bugfix in "droplets/upgrade.php" - wrong parameter order for adding fields.
-	also the query for "normal" upgrades had a typo.
-!	Added warning in output_filter that the function will be removed in 2.9
-17-June-2009 Dietrich Roland Pehlke
-#	Bugfix in "droplets/upgrade.php" - wrong tablename change to the correct one
-+	Add upgrade-script to droplets
-!	Changes on upgrade-script to avoid droping droplet-modul-tables if the exists.
-!	calling "upgrate.php" or "install.php" instead of hard-coded lines to avoid
-	future conflicts by upgrading the modul
-15-June-2009 Matthias Gallas
-+	Added install routine for droplets to the upgrade script
-#	Fixed bug in menu_link modul with wrong displayed pages tree (Thanks to thorn)
-#	Fixed small bug introduced in changeset [989]
-+	Added missing id tags and copyright notices to droplets modul
-15-June-2009 Dietrich Roland Pehlke (aldus)
-#	Bugfix for ticket #725
-+	Add "$wb->strip_slashes" again for backslashes are displayed in the output (view.php).
-+	Add Droplets (Ruud)
-+	modifications inside frontend.functions.php for backwart compatiblity (Ruud)
-+	modifications inside the search to get the droplets seachable (Ruud)
-14-June-2009 Dietrich Roland Pehlke (aldus)
-#	Bugfixes for (ticket #728)
-+	Add additional constant to "install/save.php" to avoid conflikts during
-	installation inside "/framework/initialize.php".
-+	Add condition inside "/framework/initialize.php" to avoid conflikts
-	during installation; table "mod_captcha_control" doesn't exsits at runtime.
-+	Add test for tables inside "install/save.php" if the user uncheck "install table" option.
-+	Additional Errormessage if nessesary tables are not found (english).
-13-June-2009 Matthias Gallas
-+	Added jQuery-insert.js and jQuery plugins (Thanks to Luisehahne)
-!	Moved images in lQuery plugins folder (Thanks to Luisehahne)
-#	fixed small german language issue in jscalendar (Thanks to Luisehahne)
-26-May-2009 Matthias Gallas
-+	Added jQuery(1.3.2) and jQueryUI(1.7.1) to WB core (ticket #708)
-21-May-2009 Matthias Gallas
-#	Fixed some strange backend layout issues (ticket #722)
-09-May-2009 Matthias Gallas
-+	Added index.php to all WB-Theme folders to prevent directory spoofing
-06-May-2009 Matthias Gallas
-!	Updated Norsk language File (Thanks to oeh)
-#	Fixed bug with not always included stylesheets in backend (ticket #717)
-27-Apr-2009 Matthias Gallas
-#	Fixed bug with missing option for admin-tools in advanced view of access
-	settings (ticket #714)
-#	Fixed bug with backup fails if a user has only permissions to admin-tools (ticket #715)
-#	Fixed bug with missing template object in groups and user settings(ticket #716)
-25-Apr-2009 Matthias Gallas
-!	Updated Dutch language files for modules (Thanks to LuckyLuke)
-23-Apr-2009 Matthias Gallas
-#	Fixed bug with dropdownlist in pages settings (ticket #713)
-20-Apr-2009 Matthias Gallas
-!	Update show_menu2 to version 4.8 (ticket #712)
-#	Fixed small error in Spain language file (ticket #711)
-18-Apr-2009 Matthias Gallas
-!	Updated Dutch language file (Thanks to Luckyluke)
-17-Apr-2009 Matthias Gallas
-#	Fixed MenuLink timeout with many large wysiwyg-pages (ticket #710)
-!	Updated again Norsk language File (Thanks to oeh)
-!	Updated Dutch language file (Thanks to Luckyluke)
-13-Apr-2009 Matthias Gallas
-#	Fixed minor dispay issue in upgrade script
-!	Updated Norsk language File (Thanks to oeh)
-!	Updated French language files (Thanks to Quinto and VotreEspace)
-!	Updated Danish language file (Thanks to Achrist)
-12-Apr-2009 Matthias Gallas
-#	Fixed not defined language variable in account/email.php (Thanks to BlackTiger)
-#	Fixed Typo in group_form.htt (ticket #705)
-01-Mar-2009 Christian Sommer
-!	Added disclaimer to upgrade-script.php	
-28-Feb-2009 Christian Sommer
-#	Removed hardcoded admin path from JSAdmin module (jsadmin/js/dragdrop.js)
-25-Feb-2009 Matthias Gallas
-+	Added language support for template_description (affects templates and themes)
-#	fixed wrong path to images in news and form modul
-#	fixed manage section is showed twice (ticket #694)
--	removed unneeded icons from wb_theme
--	removed unneeded stylesheet.css from account dir
-#	renamed warning.htt to warning.html to fix display of sourcecode after invalid logins
-+	added fixed error.htt also to classic theme
-+	corrected info.php of news-modul
-24-Feb-2009 Dietrich Roland Pehlke
-!	Changes in warning.htt templates to get valid XHTL1.1 output - replace the center-tag with div
-#	add "AND section_id='$section_id'" to the delete-query to avoid conflicts if there are more
-	than one Form on one single page.
-#	Modify error.htt template in wb_theme for valid XHTML1.1 output - replace the center-tag with a div
-	and replace the br-tag with valid p-tags.
-22-Feb-2009 Matthias Gallas
-+	added skinable Admin Interface
-21-Feb-2009 Christian Sommer
-+	added update of search table missing in Changeset 941
-#	fixed wrong index in language array
-!	removed some comment lines (changes are tracked by SVN)
-20-Feb-2009 Dietrich Roland Pehlke (aldus)
-!	add additional tr and td tags to the text_no_results message to get valid XHMTL output
-19-Feb-2009 Christian Sommer
-!	addon overview to show advanced options after redirect from reload.php
-#	fixed bug if language folder contains none language files (XX.php) or sub folders
-+	added option to invoke module upgrade.php/uninstall.php files from backend (for modules uploaded via FTP)
-18-Feb-2009 Dietrich Roland Pehlke (aldus)
-#	fixed: typos in the section_id inside the action-link 
-!	Remove test_trash and unused variables in query, added suggetions from #588
-#	Bugfix for form bug (ticket #688)
-17-Feb-2009 Christian Sommer
-+	added option to invoke module install.php from backend (for modules uploaded via FTP)
-!	admin Add-on settings no hidden by default (can be set visible via advanced link)
-16-Feb-2009 Christian Sommer
-!	moved reload option of Add-ons to main Add-on section
-!	reworked logout to reset possible remember key in database when logging out
-15-Feb-2009 Christian Sommer
-#	fixed bug with smart login option (remember me) (ticket #689)
-#	special chars like &nbsp; are shown when editing Add-on CSS files (ticket #678)
-!	redirect time for function print_success can now be defined in Settings (ticket #603)
--	removed reload admin tool
-+	added possibility to reload Add-ons via the Add-on section
-14-Feb-2009 Christian Sommer
-!	added option to display current user name in backend template
-#	fixed wrong redirect path and added SVN Id
-13-Feb-2009 Christian Sommer
-+	added option to perform pre-installation checks to test requirements of Add-Ons
-#	added error messages to installation process for Add-Ons with wrong file type
-08-Feb-2009 Christian Sommer
-#	fixed warning if database connection failed during installation process
-06-Feb-2009 Christian Sommer
-!	fixed some typos in German language file (thanks to freeSbee)
-!	added new captcha fonts and replaced old background images with the ones created by thorn
-05-Feb-2009 Christian Sommer
-!	mail text for register, signup and forgot mail now taken from WB language file (ticket #684)
-02-Feb-2009 Christian Sommer
-#	removed PHPMailer fix introduced with 2.0.3 to get SMTP working again (line 1041 in class.smtp.php)
-02-Feb-2009 Matthias Gallas
-#	Fixed bug wich causes that install of captcha-control may fail (ticket #682 thanks to thorn)
-01-Feb-2009 Matthias Gallas
-!	Update FCKEditor to version 2.6.4
-22-Jan-2009 Christian Sommer
-!	Added default target attribut to backend menu links
-21-Jan-2009 Matthias Gallas
-!	Copyright notices now includes 2009
-20-Jan-2009 Matthias Gallas
-#	fixed form-module select (multiple) doesn't work (ticket #681 Thanks to thorn)
-17-Jan-2009 Matthias Gallas
-+	added French languages to modules
-!	changed handling of post_date in news modul (thanks to susigross)
-+	added hour and minute support to default published_when field in news modul
-13-Jan-2009 Christian Sommer
--	removed the obsolete Codepress framework from the include folder
-+	added Javascript syntax highlighting framework EditArea as replacement for Codepress
-!	updated external PHPMailer class to latest version (v2.0.3)
-08-Jan-2009 Christian Sommer
-#	fixed error message in admin class if type array not defined
-05-Jan-2009 Dietrich Roland Pehlke
-#	Code-Snippets are no longer shown as type: unknown. 
-+	Additional key in the languagefiles "$TEXT['CODE_SNIPPET']";
-#	fixed bug for the rss of news, see ticket #609
-04-Jan-2009 Matthias Gallas
-#	made news Modul multilingual, see ticket #676 (some additional translations are needed)
-03-Jan-2009 Matthias Gallas
-#	fixed bug in view.php of news module (ticket #676 Thanks to susigross)
-#	fixed another bug in view.php of news modul introduced in changeset [892]
-30-Dec-2008 Matthias Gallas
-+	added default new language variables to all language files
--	modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC)
-!	modul_uninstall: added language variable $TEXT['FILE'] instead of "Datei"
-29-Dec-2008 Dietrich Roland Pehlke
-+	add language support for the errormessages inside the uninstall.php files for modules
-	and templates.
-!	add new keys inside the german de.php language-file.
--	removed my own debugging-code (was in 893 by mistake)
-!	Correct the last date in the changelog
-29-Dec-2008 Matthias Gallas
-!	set version to 2.8 BETA
-#	replaced in news modul special chars with entities to get valid output
-!	changed SESSION ID Separator from '&' to '&amp;' to get valid output 
--	Removed the <p> tag around the news as it is added from the editor  
-28-Dec-2008 Dietrich Roland Pehlke (aldus)
-+	ticket 610: add ip-address to the email-body in the form-modul.
-+	ticket 607: include the frontend.css in the comment_page.php file of the news-module.
-#	File: admin/admintools/index.php - add "order by name" to the query to display the admintools in alphabetic order.
-#	File: admin/modules/uninstall.php - remove a db-query to a db-field that doesn't exists in wb 2.7 anymore 
-26-Dec-2008 Thomas Hornik
-#	fixed two issues with searchresult-highlighting: do not highlight in <pre>/<code>-tags, do not convert &lt; to &amp;lt; anymore. 
-13-Dec-2008 Christian Sommer
-!	changed mailer to not extract line break of alternative body text (thanks to freeSbee)
-28-Oct-2008 Christian Sommer
-!	updated output filter regex to exclude mail addresses contained in input fields
-27-Nov-2008 Thomas Hornik
-!	added redirect-type (301/302) to menu_link
-24-Nov-2008 Matthias Gallas
-!	updated upgrade-script.php to add sec_anchor field to settings table
-22-Nov-2008 Thomas Hornik
-!	search: replaced most of $string_ul_umlauts (from search_convert.php) through use of preg's u-switch.
-!	search: replaced strtr() by str_replace() (it's just faster). Changed &#39; to &#039;
-06-Nov-2008 Thomas Hornik
-#	Module code: curly backets get deleted by pparse() from phplib --> old fix in #569 wasn't that smart. Fixed.
-#	fixed some typos in DE language-file, added missing tab in search.php
-02-Nov-2008 Thomas Hornik
-!	news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php)
-01-Nov-2008 Thomas Hornik
-!	improved ext_charset to work with latin1,cp1252,cp1251,latin2,hebrew,greek,latin5,latin7,utf8
-+	added config for section anchor. ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script.
-!	updated menulink and search to use configureable section-anchor
-29-Oct-2008 Thomas Hornik
-# News: total number of news wasn't calculated correctly
-!	Captcha: removed IFRAME for Calculation-as-text captcha
--	removed useless init_utf8funcs()-function
-+	search: added search_lang for use in search-form. Using DE, the search will search ä=ae,... (alternate spelling of german umlauts)
--	search: removed undocumented word-boundary search
-!	search: search_path is now anchored to the beginning of link ("link LIKE '$path%'" instead of "link LIKE '%$path%'")
-+	search: added key 'ext_charset' to search-extension to query external databases
-25-Oct-2008 Christian Sommer
-!	updated basic templates according the template guidelines
-24-Oct-2008 Dietrich Roland Pehlke
-#	applied bugfix for ticket #608 (redeclaration of news module)
-23-Oct-2008 Dietrich Roland Pehlke
-!	modified module delete function to provide additional information when module is in use when trying to delete
-!	modified template delete function to provide additional information when template is in when trying to delete
-21-Oct-2008 Matthias Gallas
-#	fixed display issue in news modul
-!	updated show_menu2 to version 4.7
-18-Sep-2008 Thomas Hornik
-+	Added captcha-reload
-16-Sep-2008 Thomas Hornik
-#	search: fixed windows-related regex issue
-19-Aug-2008 Matthias Gallas
-!	updated to latest FCKEditor version 2.6.3
-02-Aug-2008 Thomas Hornik
-#	fixed sorting order of search-results
-25-Jul-2008 Thomas Hornik
-#	fixed an issues related to search, changed one SQL inner join (to use USING instead of WHERE)
-!	added $database = new Database(); in front of output-filter
-05-Jul-2008 Thomas Hornik
-#	fixed MODI_DATE/PUBLISHED_DATE issue in news-module. Added PUBLISHED_TIME, removed PUBL_DATE,PUBL_TIME. Thanks to forum-member timorotha
-02-Jul-2008 Christian Sommer
-!	updated to latest FCKEditor version 2.6.2
-01-Jul-2008 Thomas Hornik
-#	page-names with doubled (or more) points can not be handled if php runs as cgi. Thanks to forum member hgi2001.
-29-June-2008 Christian Sommer
-!	applied additional mail check to forgot login form
-28-June-2008 Christian Sommer
-!	class and id attributes in mailto links are no longer ignored by the output filter
-22-Jun-2008 Thomas Hornik
-#	fixed issue with captcha (mt_rand() instead of rand())
-#	fixed bug in search (link to http://.../search/index.php performs a search with string 'unset')
-22-June-2008 Christian Sommer
-!	added output of block number to section admin if no block name is specified
-21-June-2008 Christian Sommer
-+	added output of block names to modify pages dialogue if blocks are enabled
-!	updated show_menu2 to version 4.60 (to avoid disappearing menus)
-08-Jun-2008 Thomas Hornik
-#	hebrew-table in charsets-table.php was faultily imported - fixed. Thanks to forum-member iti.
-24-May-2008 Christian Sommer
-!	modified output filter routine to prevent errors if database entries do not exist
-04-May-2008 Thomas Hornik
-!	changed register_backend_modfile() to work with wysiwyg-module, too
-01-May-2008 Thomas Hornik
-#	fixed file-naming issue when old page-names (from before 2.7) contains "&"
-26-Apr-2008 Thomas Hornik
-#	class.admin.php deletes actual query-string while redirection. fixed.
-25-Apr-2008 Matthias Gallas
-#	fixed validiation bug in option fields of form modul
-------------------------------------- 2.7.0 -------------------------------------
-21-Apr-2008 Christian Sommer
-!	set version to 2.7
-#	fixed bug in the PL language file of the JS calendar
-+	added some basic functions for module developers
-20-Apr-2008 Thomas Hornik
-#	fix: allow external urls for search-results
-17-Apr-2008 Thomas Hornik
-#	fixed jscalendar's language-files
-16-Apr-2008 Christian Sommer
-#	fixed possible clashes with intro page feature and WB core file /pages/index.php
-15-Apr-2008 Thomas Hornik
-!	revert back to pagename-creation from $page_menu, instead of $page_title
-15-Apr-2008 Christian Sommer
-#	fixed bug introduced with Changeset 826
-14-Apr-2008 Christian Sommer
-+	added show_menu2() to pre-installed WB modules (many thanks to Brodie Thiesfield for this great menu function replacment)
-!	allowed tags for multi-lingual module descriptions
-14-Apr-2008 Thomas Hornik
-#	fixed issue with multigroups (level 0 page-creation)
-13-Apr-2008 Thomas Hornik
-!	ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string.
-#	fixed language-files
-10-Apr-2008 Christian Sommer
-!	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
-09-Apr-2008 Christian Sommer
-!	modified FCKEditor WB-Link Plugin to work also with WB versions below 2.7
-07-Apr-2008 Matthias Gallas
-#	fixed error in german laguage file
-07-Apr-2008 Christian Sommer
-+	added the latest FCKEditor v2.60
--	removed the outdated FCKEditor v2.51
-!	set version from 2.7 (RC3) to 2.7 (RC3a)
-07-Apr-2008 Thomas Hornik
-!	added missing group_id in INSERT-query
-!	removed PHP5 function stripos from installation script
-06-Apr-2008 Christian Sommer
-!	removed some obsolete language variables from news and form module (now defined in global WB language files)
-!	enlarged admin tool icon to match size 50x50px of the other icons
-05-Apr-2008 Matthias Gallas
-!	Moved language variables for edit module CSS from modules language files to core language files
-+	Added norwegian translation (Thanks OEH)
-05-Apr-2008 Thomas Hornik
-!	some small fixes: group_id/groups_id-handling, safe_mode-query in install, better work-around for issue with phplib and code-module (removed {})
-#	fixed viewing_groups-handling in /admin/pages/add.php
-!	imported new russian translation from User shlack. Many Thanks
-05-Apr-2008 Christian Sommer
-!	added workaround for template parser class
-!	moved functions to edit module CSS files into the WB core to avoid duplication of code
-!	minor layout change
-!	allowed the character "-" to be used in database names
-04-Apr-2008 Thomas Hornik
-#	fixed: Language-redirect removed query-string from URL
-04-Apr-2008 Christian Sommer
-!	set WB version to 2.7 (RC3) for the next upcoming release candidate
-03-Apr-2008 Christian Sommer
-!	some code clean up in news/form module
-!	small adaption of the edit CSS function file css.functions.php
-!	updated edit module CSS functions to include backend.css into head if possible
-#	fixed bug in Javascript decryption routines of the Output-Filter module
-02-Apr-2008 Matthias Gallas
-#	fixed bug with registration of users are not added to signup group
-02-Apr-2008 Christian Sommer
-#	added handling of missing characters to mailto encryption routines
-!	some code clean-up in News module
-!	fixed some layout issues with Form module (combination with Output-filter)
-!	fixed layout issue with optional subject/body text of encrypted mailto links
-#	fixed bug in the mailto Javascript encryption code of the Output-Filter module
-01-Apr-2008 Christian Sommer
-!	removed typo in English language file
-!	added updated edit CSS functions to the News module
-!	added updated edit CSS functions to the Form module
-31-Mar-2008 Christian Sommer
-#	fixed bug in output filter (mailto links with HTML entities in optional part)
-29-Mar-2008 Christian Sommer
-!	added missing translation to Dutch language file (thanks Bramus)
-28-Mar-2008 Thomas Hornik
-!	Some cleanup in search.php
-!	WYSIWYG: changed field text to LONGTEXT, too.
-25-Mar-2008 Matthias Gallas
-!	Updated Dutch language file (Thanks to Bramus)
-26-Mar-2008 Tomas Hornik
-#	fixed E_NOTICE-message in admin/modules/details.php
-25-Mar-2008 Thomas Hornik
-+	search: added search_time_limit in settings (mainly for sites with PHP < 4.3.3 and slow search)
-+	search: added missing code to allow query of external data and to process the search data itself
-25-Mar-2008 Matthias Gallas
-#	Fixed missing <body> tag in Admin Interface (ticket #572)
-24-Mar-2008 Matthias Gallas
-!	Updated Danish Language file (Thanks to Achrist)
-! 	Added class nixhier to frontend.css from form and news Modul (required for ASP)
-24-Mar-2008 Thomas Hornik
-+	Added RU-language-files, provided by user shlack; converted to entities.
-#	search: great speed-up with large pages - requires PHP >= 4.3.3; small speed-up for PHP < 4.3.3
-#	FCK-Editor: loads large pages faster
--	removed include/captcha/asp.php. css have to be added to module's css-files.
-23-Mar-2008 Matthias Gallas
-! 	Updated form modul for valid output, removed all javascript (Big thanks to BerndJM)
-17-Mar-2008 Thomas Hornik
-#	fixed an issue with utf8_check() (too slow with many ~100KB pages)
-15-Mar-2008 Thomas Hornik
-#	menulink: link can be menulink or subpage of menulink, too
-#	call_captcha: added parameter 'style', fixed some issue with parameter 'image' and text-style captchas
-13-Mar-2008 Christian Sommer
-! 	adjusted error/warning templates to the updated backend layout
-13-Mar-2008 Matthias Gallas
-! 	replaced one icon in admin interface
-12-Mar-2008 Matthias Gallas
-# 	fixed loading time and some display issues in IE6 of the new admin interface
-!	tweaked the new admin interface a little bit
-12-Mar-2008 Christian Sommer
-! 	adjusted background color of installation and upgrade script
-! 	set version number to 2.7 (RC2) for the upcoming second release candidate
-! 	removed hardcoded /admin folder strings from WB core files where possible
-! 	added WB home folder fix proposed by the forum member spawnferkel (thanks)
-! 	defined <strong> and <em> instead of <b> and <i> as default tags
-12-Mar-2008 Thomas Hornik
-+	CAPTCHA: added parameter to call_captcha (can be one of: 'image', 'input' or 'text')
-11-Mar-2008 Christian Sommer
-#	fixed issue with output filter (all .@ in descriptive mailto part: >xxxxx</a> were replaced; now restricted to emails)
-#	fixed issue with WYSIWYG pages (appears if backend language and page frontend language differs)
-08-Mar-2008 Thomas Hornik
-#	fixed issue with news and end-date
-04-Mar-2008 Christian Sommer
-#	fixed issue with smart view URL link
-03-Mar-2008 Thomas Hornik
-#	fixed an issue with text-captcha (default text got saved). Changes default text.
-#	fixed an issue with highlighting
-02-Mar-2008 Thomas Hornik
-#	added missing text in language-files
-+	added missing sorting to language dropdown in admin/pages/settings.php
-01-Mar-2008 Thomas Hornik
-#	fixed ticket #562, applied changes from user tavitar with some own additions
-+	added check for AddDefaultCharset to install
-29-Feb-2008 Thomas Hornik
-#	fixed issue in pagename generation if AddDefaultCharset is set (as work-around).
-28-Feb-2008 Thomas Hornik
-#	fixed hebrew transliteration-table. Thanks to forum-member iti.
-28-Feb-2008	Christian Sommer
-#	added bugfix from the forum member tavitar to fix an issue with multiple groups (module permission do not add up properly)
-25-Feb-2008	Matthias Gallas
-+	added missing Dutch language files for core modules
-24-Feb-2008 Thomas Hornik
-#	issue with menulink in upgrade-script. Fixed.
-23-Feb-2008 Christian Sommer
-!	suppressed warnings in initialize.php if constant already defined; modified upgrade script to make FCK the new default editor
-#	fixed bug in upgrade script (WBMailer setting)
-22-Feb-2008 Christian Sommer
-#	some layout changes on the upgrade-script, fixed error in precheck
-#	restricted database name and table prefix to "a-zA-Z0-9_" (avoid problems with non quoted table/field names)
-20-Feb-2008 Thomas Hornik
-!	added workaround for language sorting-problem
-20-Feb-2008	Christian Sommer
-!	added WYSIWYG DB update and missing WBMAILER settings to upgrade script (added some status messages)
-!	modified upgrade script and suppressed headers already send message (avoid issues with error reporting E_ALL)
-#	added the FCKEditor module PHP connector fix found by the forum member Luisehahne (thanks man)
-!	Updated upgrade script (added WB2.7 basic styles, pre-checks and disclaimer)
-19-Feb-2008	Matthias Gallas
-!	Updated upgrade script
-!	Changed language sorting from directory to name (needs additional to be escaped!)
-+	added new languages to install script
-#	fixed some issues and typos in languagefiles
-18-Feb-2008 Thomas Hornik
-+	Converted and added some old language-files (BG, CS, PL, RU)
-18-Feb-2008	Christian Sommer
-#	Fixed two broken links
-!	Modified news module to create a default index.php during installation (directory spoofing)
-17-Feb-2008	Matthias Gallas
--	Removed colloquially german language files as the filename causes issues
-17-Feb-2008	Christian Sommer
-!	removed German Umlauts in some language file (PHP comments)
-#	fixed language bug (backend language switched to the pages language viewed in frontend)
-16-Feb-2008	Thomas Hornik
-!	updated upgrade-script (menulink)
-13-Feb-2008 Thomas Hornik
-+	allow externl links in menulink-module
-#	fixed an highlighting-issue: highlighting a page with more than one sections mangled umlauts in the second to last section.
-10-Feb-2008 Matthias Gallas
-#	fixed some errors in standard german language file
-+	added new colloquially german language file
-10-Feb-2008 Thomas Hornik
-#	CAPTCHA: Wrong text for calc_ttf-captcha. 
-10-Feb-2008 Christian Sommer
-#	fixed E_NOTICE warning with already defined module frontend constants
--	removed all stuff other than page_content from the blank template
-!	adapted color for onmouseover effect
-!	added disclaimer to the upgrade-script as the script is not sufficiently tested yet
-!	made Website Header field in Settings visible per default
-!	modified all templates (display Website Header, use show_menu instead of page_menu)
-!	added highlighting of active input elements to all WB backend areas; changed some colors
-!	removed hover highlighting of input fields to avoid possible confusion
-!	added visualization of wrong/empty input fields
-#	fixed a bug with re-enter admin password
-09-Feb-2008 Christian Sommer
-!	modified some colors and CSS definitions of pages, media and section interface
-#	output_filter: fixed bug in regular expression (eats up characters in mailto links)
-#	output_filter: removed word boundary from mailto regex part
-#	fixed bug in menu_link module (IE 7 did not show the select boxes at all)
-#	fixed bug in user signup
-!	output_filter: added word boundary for the mailto regex part
-09-Feb-2008 Thomas Hornwik
-!	jsadmin: added latest changes from swen, fixes most (or all?) issues.
-08-Feb-2008 Matthias Gallas
-+	added kewyword id to all new files
-08-Feb-2008 Christian Sommer
--	Removed admin module mail_filter
-+	Added revised version of the output filter module
-08-Feb-2008 Thomas Hornik
-!	module news: set focus on captcha-field if user have to re-enter captcha
-!	Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have.
--	Removed unused function is_access_denied() from search
-04-Feb-2008 Thomas Hornik
-!	email-addresses are excluded from search-results page.
-#	Fixed possible XSS in account/login.php and forgot-form.php
-04-Feb-2008 Christian Sommer
-#	allowed usage of tags in settings fields: website_header, website_footer
-03-Feb-2008 Thomas Hornik
-#	out-of-date default page isn't shown anymore, instead shows next public page.
-#	fck_wbmodules.php: foreign privates pages in dropdown, fixed.
-03-Feb-2008 Matthias Gallas
-+	added kewyword id to all new files
-02-Feb-2008 Christian Sommer
-#	fixed wrong redirect in /admin/images
-02-Feb-2008 Thomas Hornik
-!	search shows email-addresses, even if email-filter is activated (on page with highlighting). Fixed.
-+	Added missing text in languages files for jscalendar
-!	settings: pages-directory '/' will be converted to '' (empty string) on save.
-!	changed last remaining call to my_htmlspecialchars() to htmlspecialchars()
-#	fixed path in jscalendar-css
-01-Feb-2008 Christian Sommer
-#	Added default index.php to all folders (directory spoofing)
-01-Feb-2008 Thomas Hornik
-#	Added some missing add_slashes(), get_post_escaped(), and strip_tags() for $_POST, $_GET and $_REQUEST-data. Also for $_SERVER['PHP_SELF'].
-#	Fixed possible XSS-vulnerability in wb/search/search.php
-31-Jan-2008 Thomas Hornik
-!	Adjusted clock-red icon to match wb colors
-#	admin/pages: the parent dropdown-list in index.php and settings.php showed foreign private pages, too. Fixed.
-+	Added multi-group to upgrade-script
-30-Jan-2008 Christian Sommer
-#	fixed bug with text Captcha (input was restricted to 10 chars.) and a small layout issue
-30-Jan-2008 Thomas Hornik
-#	registered pages didn't appear in menu. fixed.
-!	Updated upgrade-script. (Some upgrades still missing)
-29-Jan-2008 Thomas Hornik
-#	strtotime()'s behavior differ in PHP4 and PHP5.
-	Had to fix some issues in admin/pages/sections and module news.
-#	Security bugfix: Text file for text-captcha was world-readable. Moved to database.
-#	Text-captcha: empty line in text file, following a question, was accepted as answer. Fixed.
-28-Jan-2008 Matthias Gallas
-#	Replaced all special chars in language files with htmlentities or unicode
-+	Added some missing lines in language files
-+	Added missing keyword Id
-28-Jan-2008 Christian Sommer
-#	fixed issue with top bar icon alt tag
-!	added some more backend layout modifications
-!	corrected bug in NL.php language file
-!	added missing session cookie forgotten in Changeset 593
-!	added possibility to select the default backend language during installation process
-!	Re-introduced Changeset 593 (filename in pages/ from page_title instead of menu_title)
-#	Fixed some bugs in the Javascript Admin modul
-28-Jan-2008 Thomas Hornik
-+	Allow a user-supplied From-Name in form-settings for email und success-email.
-!	changeset 627: menu_link and search/search.php needs some minor changes, too.
-+	Added Text-CAPTCHA on request. The captcha-text will be stored in temp/.captcha_text.txt
-27-Jan-2008 Christian Sommer
-!	fixed CSS background color of the installer CSS
-!	replaced static text with variable text from language file
-!	introduced the WB 2.7 backend style developed by Michael Brinsteiner (escpro), thanks man
-!	added missing ID tags
-27-Jan-2008 Christian Sommer
-!	added missing ID tags
-!	added default language for users to avoid empty language fields
-27-Jan-2008 Matthias Gallas
-+	added kewyword id to new file
-#	Fixed some spelling errors in german language file
-27-Jan-2008 Thomas Hornik
-!	Module form: user supplied input isn't lost on captcha-failure anymore.
-#	fixed 100%-cpu-load-event in CAPTCHA admin-tool.
-+	Added Calc_ttf_image CAPTCHA.
-!	Changed captcha/captcha.php to use table-layout for CAPTCHA.
-!	Some minor changes in CAPTCHA-code.
-!	Added some text to CAPTCHA admin-tool.
-#	Module form: dropdown "success page" listed foreign private pages, too. Fixed.
-+	Added preview-images for CAPTCHA.
-!	Improved security: CAPTCHAS can't be loaded from outside WB
-!	CAPTCHA ttf_image: added variant. Adjusted character-pool and one background for better readability.
-26-Jan-2008 Christian Sommer
-!	changed WYSIWYG content field from text to longtext (allows more than 65'534 characters) 
-+	Added Javascript Admin module (developed by Stepan Riha, adapted for WB2.7 by Swen Uth)
-26-Jan-2008 Matthias Gallas
-#	fixed bug in Javascript Admin module
-+	Added new language files
-+	Added keywords to files where they are missing
-26-Jan-2008 Thomas Hornik
-!	fixed some issues with CAPTCHA and ASP. Adjusted baseline of '*' in supplyed fonts to meet
-	baseline of numbers. Added counter to ttf_image generation-loop. Removed now unneeded GD-lib verification.
-	Improved ASP in news-module.
-+	module news: added publish_until field to control the visibility of a news-posting by date and time
-!	added strongly "condensed" fonts with many intersections for ttf-CAPTCHA as default fonts.
-	It should be very difficult for spam-bots to recognize intersected characters.
-25-Jan-2008 Christian Sommer
-!	removed changes introduced with changeset 593 (we need to think off if we want to implement that feature)
-25-Jan-2008 Thomas Hornik
-+	Added new CAPTCHA. Adapted core: signup and modules: news and form.
-+	Added Advanced Spam Protection (ASP) to core: signup and modules news and form.
-#	module news: it was possible to post comments to postings with commenting disabled
-	or to inactive postings. Fixed
-24-Jan-2008 Thomas Hornik
-!	Generate filename in pages/ from page_title instead of menu_title.
-24-Jan-2008 Christian Sommer
-#	fixed bug in Codepress integration (if codepress framework not installed)
-+	added language support to all integrated modules (except for news and form module)
-#	fixed another E_NOTICE warning
-24-Jan-2008 Matthias Gallas
-+	Added keywords to files where they are missing
-23-Jan-2008 Christian Sommer
-+	Added German language file for WB 2.7
-22-Jan-2008 Christian Sommer
-+	Added language support for the Admin tools (backup, reload, mail_filter)
--	Removed all admin tool text outputs from global language file to module language files
-!	Introduced language support for the overview page of the Admin tools
-+	Added function get_variable_content to allow extraction of variable content without including files
-!	Changed language support for Addons -> Moduls -> Details
-22-Jan-2008 Matthias Gallas
-+	Added keywords to new mail filter files
-22-Jan-2008 Thomas Hornik
-+	manage-sections: changed calendar-icon to clock-icon, added second icon to empty date-field.
-21-Jan-2008 Christian Sommer
-!	Removed the manage section icon from the page admin (sections managed by publish by date function) 
-#	Fixed bug with the edit module CSS file implementation (IE7, Opera)
-21-Jan-2008 Thomas Hornik
-+	Unique session-identifier for each website baker installation. fixes #354
-20-Jan-2008 Christian Sommer
-#	fixed E_NOTICE-warning in save.php when input data was wrong
-+	added the new admin tool email output filter which allows to transform
-	emails before displaying them on the frontend
-20-Jan-2008 Thomas Hornik
-!	upgrade-script.php: fixed mysql_error() handling
-!	upgrade-script.php: added code to update menu_links
-#	fixed a typo in upgrade-script.php
-!	updated admin/pages/sections.php to changed jscalendar-api from changeset 571
-!	module menu_link: after adding a menu_link, the anchor dropdown shows "#"; fixed 
-#	fixed E_NOTICE-warning in news-module (about SECTION_ID in comment.php)
-19-Jan-2008 Christian Sommer
-!	Reduced the success time out and set WYSIWSY background to white
-#	Fixed some errors in form module (only in conjunction with E_ALL)
-!	Added support to configure the mailer settings via the backend
-19-Jan-2008 Matthias Gallas
-#	Fixed bug in news modul with missing variable PAGE_DIRECTORY
-+	Added keywords to new files
-19-Jan-2008 Thomas Hornik
--	Module news: removed old calendar
-+	Module news: adapted news to use the new include/jscalendar
-+	added installation-instructions to include/jscalendar
-#	Module code: curly backets get deleted by pparse() from phplib. fixed
-+	Module menu_link: added dropdown-listbox to select anchor
-!	upgrade-script: added code to convert old menu_links to new ones (partly)
-18-Jan-2008 Matthias Gallas
-!	Updated news modul with features from the advanced news modul
-!	Updated form modul with features from the advanced form modul
-#	Fixed hardcoded /pages issue in intro page feature
-+	Added example .htaccess to parse .html files, fixed bug in changeset 555
-!	Revoked parts of changeset 547 and again introduced changeset 540
-+	Added keywords to modules/fckeditor and all other new files
-18-Jan-2008 Thomas Hornik
-#	fixed two E_NOTICE-warnings in admin/pages/index.php
-+	added new module-based search-function
-+	added new publish-by-date code
-17-Jan-2008 Christian Sommer
-#	fixed bug in frontend login and multiple groups (only in conjunction with E_ALL)
-!	removed the PAGE_EXTENSION from frontend login
-17-Jan-2008 Matthias Gallas
-#	Reintroduced changes from changeset 520 and 540 wich where overwritten 
-	by changeset 546
-#	Revoked changeset 541 end removed all PAGE_EXTENSION variables and the related
-	option in WB settings as this function only works on Apache Servers
-	together with .htaccess and mod_rewrite
-+	Added keywords to file menu_link/uninstall.php and new admintools files
-17-Jan-2008 Christian Sommer
-!	added the "users in multiple groups" feature (closes parts of ticket #546)
-16-Jan-2008 Thomas Hornik
-!	changed admin/pages/save.php to allow hidden config-elements in table search.
-!	changed module menu_link: added table mod_menu_link, fixed page-deleting-bug,
-	fixed odd behavior in case of menu_link as default-page.
-#	changing PHP-error-level within website baker does not work - fixed (fixed ticket 532)
-14-Jan-2008 Matthias Gallas
-#	Replaced hardcoded .php with the variable PAGE_EXTENSION for the use in pagenames.
-	(!!Attention!! To get extenions other than .php working additional fixes are necessary!)
-#	Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the
-	pathes points to WB Corefiles with the page extension .php
-#	Replaced hardcoded text in login.php with language variables (fixes ticket 386)
-14-Jan-2008 Christian Sommer
-!	added a missing </tr> tag
-#	re-introduced bugfix of Changeset 472 (fixes ticket 402) accidentally 
-	removed by Changeset 529 (enhanced pages admin)
-13-Jan-2008 Christian Sommer
-#	moved administration tools from Settings to the new section Admin-Tools
-#	this bugfix closes the ticket 529 (WB upgrades modules with identical version)	
-!	increased redirection time after success message, corrected HOME link of the login panel
-!	updated PHPMailer framework to version 2.0.0 (/include/phpmailer)
-#	this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database)
-#	fixed error with redirection to admin panel after installation
-12-Jan-2008 Christian Sommer
-!	introduced smart URL detection for the 'View' menu in the WB backend
-	(if page_id is set, redirect to this page instead of the root)
-!	introduced the enhanced pages admin dialogue (thanks to icouto)
-11-Jan-2008 Christian Sommer
-+	added the FCKEditor module files missing in Changeset 527 (/modules/fckeditor)
--	removed the hmtlarea files in /modules/htmlarea
-!	set the fckeditor as the new default editor /install/save.php
-!	Updated function: register_frontend_modfiles in /framework/frontend.functions.php
-	(added constants MOD_FRONTEND_CSS_REGISTERED, MOD_FRONTEND_JAVASCRIPT_REGISTERED)
-11-Jan-2008 Matthias Gallas
-!	Update codepress to Version 0.9.6
-!	Update phplib to Version 7.4a
-09-Jan-2008 Matthias Gallas
-!	Upgrade pclzip to the newer more php5 complaint version 2.6, see ticket #526
-#	Fixed ticket #542 (Thanks to Thorn)
-23-Dec-2007 Matthias Gallas
-!	Changed all copyright notices to include now 2008
-21-Sep-2007 Matthias Gallas
-#	Fixed a typo in /framework/frontend.functions.php cause that websites using
-	the new register_frontend_modifles() functions do not validate
-24-Jan-2007 Christian Sommer
-!	Replaced some core files to allow configuration of wbmailer via admin settings panel
-------------------------------------- 2.6.7 -------------------------------------
-02-Jan-2007 Christian Sommer
-+	Added missing converting file for changeset [504]
-------------------------------------- 2.6.6 -------------------------------------
-01-Jul-2007 Matthias Gallas
-#	Fixed converting issue with some ISO-charsets and speeded up converting on large pages (thanks to Thorn)
-01-Jul-2007 Ryan Djurovich
-#	Fixed bug where error message not displayed when script fails to create a page
-#	Fixed bugs introduced in [484]
-14-May-2007 Matthias Gallas
-+	Added support for ISO-8859-6.(Thanks to thorn)
-12-May-2007 Christian Sommer
-+	Replaced functions page_css and page_javascript by register_frontend_modfiles
-+	Added function register_backend_modfiles to allow backend modules to use optional CSS and JS files
-+	Added the JS framework codepress to allow syntax highlighting for JS, HTML, PHP code (textarea)
-+	Added the new function register_frontend_modfiles to the built in templates
-08-May-2007 Matthias Gallas
-+	Added wrapper to functions.php if mb_string is not available (Thanks to thorn)
-+	Added new functions page_css and page_javascript to the built in templates
-+	Added search highlight class to css files of the built in templates
-30-Apr-2007 Matthias Gallas
-#	Fixed ticket #392; root_parent not being set correctly (Thanks to eggsurplus)
-10-Apr-2007 Matthias Gallas
-+	Optimized search and highlighting funktions (Thanks to thorn)
-03-Apr-2007 Matthias Gallas
-#	Fixed a bug in menulink; if you deleted a menulink page the linked page was also deleted
-	in the pages directory (Special thanks to "Funky_MF" for the fix)
-01-Apr-2007 Matthias Gallas
-#	Fixed issues with some languages when UTF8 is used. Removed all htmlentites
-	from the code (revoked changeset 396) and added new functions instead. Adapted the
-	search and the highlighting to use the new functions. With this changes WB can now
-	be used with charset UTF8 for all languages. Very special thanks to Thorn who wrote
-	and tested this changes.
-12-Mar-2007 Matthias Gallas
-+	Added multilingual support to search
-03-Mar-2007 Matthias Gallas
-+	Added new function for highlighting search results in the content area
-	(Special thanks to "thorn" and "Funky_MF")
-#	Fixed some issues in search with special chars
-	(Special thanks to "thorn" and "Funky_MF")
-22-Feb-2007 Christian Sommer
-#	Fixed bug in changeset 428 (page files were not deleted in /pages folder due to a typo in wb/framework/function.php)
-16-Feb-2007 Christian Sommer
-!	Suppressed PHP warnings and errors when reading empty intro.php
-16-Feb-2007 Christian Sommer
-#	Applied fix to enable parsing of PHP code in the intro.php 
-12-Feb-2007 Christian Sommer
-!	Added functions page_css and page_javascript which allow to include optional
-	module files module.css and module.js into the <head> section. This allows to 
-	create valid (X)HTML, as CSS definitions of modules are included in the head section
-12-Feb-2007 Christian Sommer
-!	Security enhancement (reduced number of login trials from 50 to 3)
-02-Feb-2007 Matthias Gallas
-#	Applied fix for ticket #380 (Thanks to pcwacht)
-30-Jan-2007 Ryan Djurovich
-#	Applied fix for ticket #376
-29-Jan-2007 Matthias Gallas
-+	Added new variable $MODULE_DESCRIPTION wich allows to have optional a language
-	specific description of the modules in the language files of the modules.
-21-Jan-2007 Matthias Gallas
-#	Fixed issue in the search table entries of form modul
-13-Jan-2007 Matthias Gallas
-#	Fixed some bugs in rss.php
-07-Jan-2007 Matthias Gallas
-#	Fixed error when uninstalling the news modul
-02-Jan-2007 Matthias Gallas
-+   Added id keywords to all missing files
-#	Fixed issue with Permissions for pages sections
-27-Dec-2006 Matthias Gallas
-#	Fixed form modul stores empty records
-------------------------------------- 2.6.5 -------------------------------------
-25-Dec-2006 Ryan Djurovich
-!	Changed links to WB help website
-24-Dec-2006 Matthias Gallas
-#	Fixed some minor javascript errors in admin (thanks to pcwacht)
-#	Fixed root_parent doesn't get updated when moving item in menu (#305)
-!	Changed all copyright notices to include now 2007
-23-Dec-2006 Matthias Gallas
-#	Fixed IE allows to set a page as parent of itself (#320)
-#	Fixed problem with Page Title has to be escaped (#287)
-#	Fixed the possibility to call the index.php of the templates directly in the browser (#291)
-21-Dec-2006 Matthias Gallas
-#	Fixed missing message when adding a site without page title (#300)
-21-Dec-2006 Ryan Djurovich
-#	Fixed bug with captcha script (#346)
-20-Dec-2006 Matthias Gallas
-#	Fixed Return to Search Results Page (#365)
-!	Set Version to 2.6.5
--	Removed Changeset 365 because this will be a part of WB 2.7.x
-#	Fixed a little typo error in class.admin.php (#364)
-26-Nov-2006 Ryan Djurovich
-+	Added new script that could possibly be apart of 2.7.x as a replacement
-	for having the pages directory 
-17-Nov-2006 Matthias Gallas
-#	Fixed fatal error in line 46 news/comment.php (thanks to eki)(#358)
-15-Nov-2006 Matthias Gallas
-#	Fixed again intropage doesn't work (#71)
-20-Oct-2006 Matthias Gallas
-+	Added phpmailer class (thanks to doc)
-+	Added Remember-expanded-pages-in-admin (thanks to ephraimt)
-+	Added List sorting in admin area (thanks to rsmith)
-#	Fixed table width 100% are wrong displayed in container templates
-	when IE is used (#350)
-#	Fixed large space between menupoints in IE (#349)
-#	Fixed Website description is not displayed when no page description
-	available (#348)
-#	Fixed group images in news modul cannot be stored (#342)
-#	Fixed Typo in form/save_field.php (#341)
-#	Fixed files in /pages/posts folder are not deleted (#340)
-#	Fixed specialchars problem in the news modul (#339)
-#	Fixed news modul stores empty records (#338)
-#	Fixed Captcha didn't work in news comments (#337)
-#	Fixed various php notices (#334)
-+	Added new upgrade_function (thanks to kozmoz)
-#	Fixed addons table isn't updated when a modul is updated (#332)
-#	Fixed spelling errors in the signup2.php (#330)
-#	Fixed MySQL 5.x missing default values for INT fields in all system
-	and modules tables (#329)
-#	Fixed installer does not insert admin user (#328)
-+	Added support for getting page ID of page that referred search
-	request (#327) (thanks to brofield)
-#	Fixed search results generate invalid XHTML and notify warnings (#326)
-Stefan Braunewell
-#	Fixed Field 'last_reset' doesn't have a default value (#313)
-+	Added get_post_escaped to wb class which automatically calls add_slashes
-	on get_post output and used it in form/save_field.php
-------------------------------------- 2.6.4 -------------------------------------
-20-May-2006 Ryan Djurovich
-#	Fixed security issues related to #237
-#	Fixed typo in news save comment page (#282)
-#	Fixed typo in news delete post page (#283)
-!	Added multi-submission protection to form module (#119)
-#	Added notice for when PHP Session Support appears to be disabled in installer,
-	even if it is enabled and the problem actually lies in the users browser (#154)
-19-May-2006 Ryan Djurovich
-#	Fixed problem in forgotten login form where email field is too short (#207)
-#	Fixed typo in forgotten login details email (#190)
-15-May-2006 Stefan Braunewell
-#	Fixed security issues (#237)
-03-May-2006 Stefan Braunewell
-#	Fixed problems with pre-2.6.0 modules in section list
-#	Fixed e-mail bug caused by From: headers in internal mail function calls
-	(#189)
-#	E-mail validation in install script now accepts new top-level domains
-	(#162)
-#	Error status is now overwritten by next database query (#182)
-#	Fixed obscure problem in htmlarea install script
-------------------------------------- 2.6.3 -------------------------------------
-19-Mar-2006 Stefan Braunewell
-#	Fixed ticket #146: problems removing groups from viewers list of a page
-16-Mar-2006 Stefan Braunewell
-!	Changed link target selection. Now self, top and new. (Ticket #145)
-#	Fixed ticket #143. Charset setting is now used in admin login and forgot
-	password pages.
-#	Some changes to the SQL code in the install script for improved 
-	compatibility with new MySQL versions
-#	Fixed ticket #134 - error on browsing media.
-+	Improved backup module: new choice between full database or WB-related
-	backup.
-#	Fixed ticket #141 - admin now sees all folders in media
-#	Fixed e-mail sending problems due to additional parameter in mail call.
-#	Applied fix regarding ticket #138: new users now get deleted if
-	sending e-mail fails.
-#	Fixed ticket #137: Last Reset timer not reset in frontend forgotten 
-	password process
-#	Removed duplicate expression from modules/news/install.php which caused
-	problems in installation
-
-01-Mar-2006 Stefan Braunewell
-#	Fixed ticket #68 - Safari problem with displaying all parents.
-#	Fixed ticket #136 - mailing forgotten password in admin login screen leads 
-	to fatal error.
-!	Renamed tag [PROCESSTIME] to [PROCESS_TIME]
-------------------------------------- 2.6.2 -------------------------------------
-03-Feb-2006 Stefan Braunewell (very big special thanks to John and Alex)
-#	Fixed ticket #104 - commas in form field descriptions not allowed.
-#	Cookie REMEMBER_KEY wasn't cleared in account/logout 
-	and expiration date is now set to time in the past.
-#	Smart login not working.
-!	Changed mail calls to new function $wb->mail.
-#	Form: ticket 124 added captcha settings check 
-#	Ticket 118 added formfield type to check for email/text 
-#	Ticket 115 changed comparision /modules/form/view.php 
-#	Added correct timecheck in form submissions
-!	Changed captcha.php call to include timestamp
-!	Changed the e-mail validation code and added a mail function to class wb.
-!	Forgotten password: if sending of e-mail fails, restore old password.
-	Ticket #110
-!	Added more charset options. Ticket #102 - thanks to ruebenwurzel!
-!	Character encoding setting also affects admin backend.
-	Mentioned in ticket #102.
-!	Reintroduced page languages setting. If switched to off, page
-	languages are only used to determine the language file for the
-	universal texts. If on, displayed page and menu are affected by
-	the language session variable.
-#	Fixed bugs in show_breadcrumbs code and added parameter "depth"
-	to set the number of levels to be show.
-#	Fixed a bug where access settings of registered and private pages
-	were displayed incorrectly.
-#	Fixed captcha being cached.
-#	Added an exit call after every heading("Location:...")
-	redirector to prevent unwanted execution of code.
-#	Bug #122. Replaced empty field check by check that setting name is
-	not "wb_version".
-#	Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.
-#	Fixed bug #99 and two additional instances of typo 
-	catpcha instead of captcha.
-#	Fixed some typos
-#	Fixed some notices and warnings.
-#	Fixed bug #105 - back buttons in addon detail pages not editable.
-!	Replace 'admin' by 'wb' in all account pages. 
-!/#	Moved print_success and print_error code to class.wb.php.
-	Added correct parameters to these functions in account pages. 
-------------------------------------- 2.6.1 -------------------------------------
-12-Dec-2005 Ryan Djurovich
-#	Fixed security vulnerability in class.login.php
-#	Fixed typo in EN language file
-#	Fixed captcha problems (when feature is disabled) in form module and sign-up
-!	Added charset encoding to admin templates
-!	Added extra code to check for selection of addon upon uninstalling
-#	Fixed bugs in RSS news feeder
-#	Fixed bug with PAGE_DESCRIPTION not being set on any page
-------------------------------------- 2.6.0 -------------------------------------
-28-Nov-2005 Ryan Djurovich
-+	Added default charset option to (advanced) settings
-#	Form module email fields now have email address validation
-#	Fixed spacing in form submissions
-27-Nov-2005 Ryan Djurovich
-+	Added captcha verification to sign-up form
-+	Added Captcha to News module
-24-Nov-2005 Stefan Braunewell
-!	Applied aportale's patch to use label instead of javascript toggle code
-20-Nov-2005 Ryan Djurovich
-!	News mod now hides read more link if no need for it (see ticket #56)
-+	Added support for mailto: links in the menu link mod
-#	Added direct-access redirection on some files (see ticket #37)
-+	Added extra characters to convert.php (see ticket #64)
-#	Fixed ticket #65 (last_reset check in account/forgot_form.php)
-29-Sep-2005 Ryan Djurovich
-!	Cleaned up form buttons in Settings
-!	Moved some options into Advanced Settings
-#	Semi-disabled "separate" page trash option
-+	Created a backup module/tool for backing-up the database
-	(thanks to John (pcwacht) for the original code)
-+	Created new "blank template", which can be used in case where you don't
-	want anything wrapping page-content.
-19-Sep-2005 Ryan Djurovich
-+	Added _license field for all add-ons to specify a license
-!	Renamed _designed_for variables (for all addons) to _platform
-+	Created addons table for faster internal referencing of installed addons
-!	Fixed some links, including the "Help" button in Admin
-#	Used nl2br to display body correctly when viewing form-submissions
-15-Sep-2005 Stefan Braunewell
-+	Added table module with columns 'name','type' and 'directory' as an
-	index.
-+	Added entry to settings table 'wb_version' which holds the version
-	number and can be utilized in future upgrade scripts.
-!	Added upgrade functionality also for templates and languages.
-#/!	Template/modules installation now respects paths.
-!	Moved updates from config.php to database.
-	Created initialize.php (required by config.php) to read settings.
-11-Sep-2005 Stefan Braunewell
-!	HTMLArea is now a module instead of a core component. Files moved
-	from "include" to "modules".
-+	Implemented Installation of modules on top of an older version. This is 
-	done via checking $module_version. Instead of install.php, upgrade.php
-	is then called if it exists in the module package. 
-	For module developers: $module_version and $new_module_version are 
-	accessible in upgrade.php to find out what upgrade steps need to be taken.
-!	Changed column names in mod_news_posts from short,long to content_short,
-	content_long.
-09-Sep-2005 Stefan Braunewell
-+	Added new advanced setting "Rename Files On Upload". File extensions can be
-	given so that respective files will have a ".txt" appended on media upload.
-#	Fixed "None found" message bug when user has no top level page edit
-	rights.
-#	Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.
-+	Added breadcrumbs code. Call using $wb->breadcrumbs().
-+	Added utf-8 character encoding meta tag into all stock templates.
-#	Fixed bug when changing a page's parent
-!	Changed the way blocks are treated. Added new frontend class attribute
-	default_block_content that controls what is shown on pages such as
-	search, login, etc. (Ticket #16)
-+	Added support for WYSIWYG editor modules (wysiwygmod)
-+	When trying to access a registered page, user is automatically redirected
-	there on successful login.
-#	Fixed various issues with system search (mainly related to stripslashes()
-#	Removed stripslashes() in many places in the code. Added check for
-	magic_quotes_gpc to new wb class method add_slashes(). Now database contest
-	is independent of magic_quotes setting..
-05-Sep-2005 Stefan Braunewell
-#	Fixed bug concerning direct access of preferences page.
-#	Reworked page visibility and menu item visibility code (frontend login
-	problem).
-#	Pages in link list in htmlarea popup are now correctly ordered.
-#	Fixed bug where group with existing name can be added.
-04-Sep-2005 Ryan Djurovich
-+	Added and RSS newsfeed script to the News module
-04-Sep-2005 Stefan Braunewell
-!	Rewrote menu function. Parameters are now given as attributes to frontend class.
-#	Fixed some occurrences of potential direct access path disclosure
-#	Added directory check to browse.php to prevent xss exploit by trusted users.
-!	Updated code to reflect move to Subversion repository system.
-27-Aug-2005 Stefan Braunewell
-#	Fixed bugs 4,5,6,8,9 in bug tracker
-!	Removed 'USER_LANGUAGE' and 'GET_LANGUAGE' constants.
-	A GET['lang'] now sets the session language variable.
-26-Aug-2005 Stefan Braunewell
-!	Moved redundant code into the new class functions. Created 
-	'compatibility.php' for backward compatibility with
-	modules and templates. Variables and functions can still be accessed
-	in the old way.
-!/+	Reorganized core frontend files, added new base class 'wb' from
-	which 'admin' and the new 'frontend' class inherit. Moved all frontend
-	function into new class. Completely rewrote core index.php.
-	Now all variables and functions that are available to templates and
-	modules are attributes and methods of the frontend and the wb classes
-------------------------------------- 2.5.2 -------------------------------------
-23-Jun-2005 Ryan Djurovich
-!	create_access_file now creates all parent directories if needed
-#	Fixed bug when moving page with subpages to another level
-#	Fixed bug when saving "Settings" (in Admin) on Windows/IIS
-#	Fixed bug where query was not setting error correctly in class.database.php
-22-Jun-2005 Ryan Djurovich
-#	Fixed bug where template permissions were not saved when a adding group
-21-Jun-2005 Ryan Djurovich
-#	Added htmlspecialchars for modifying WYSIWYG, news, etc. modules (Bug #78)
-#	Fixed language problems in some area's of Admin. (Bug #70)
-#	Added a space in website/page keywords (Bug #69)
-#	Fixed bugs on settings2.php (Bug #52)
-!	Links inserted with HTMLArea now use [wblink--PAGE_ID--] instead of raw URL
-13-Jun-2005 Ryan Djurovich
-#	Fixed bug (#88) with news module
-!	Title of Administration login page now taken from language file (Bug #72)
-#	Fixed redirection admin/home to admin/start on admin/index.php
-#	Fixed bug with forgotten password page in admin (Bug #81)
-25-Apr-2005 Ryan Djurovich
-#	Fixed numerous bugs with module uninstallation
-#	Fixed bug when uploading files in Administration -> Media
-!	Installer no-longer requires you to accept the GNU GPL
-------------------------------------- 2.5.1 -------------------------------------
-16-Apr-2005 Ryan Djurovich
-#	Fixed two bugs with account login/logout
-------------------------------------- 2.5.1 -------------------------------------
-15-Apr-2005 Ryan Djurovich
-#	Fixed bug where non-english characters can get used in page filenames. Many
-	measuers have been added (including a new file: wb/framework/convert.php),
-	to prevent any possible errors that can occur in page filenames.
-#	Fixed invalid meta tags in stock templates (meta tags were not closed)
-#	Removed lines 401, 402, and 425 of wb/index.php - not needed
-#	Fixed bug where search and account pages are shown in every block
-	that is in a template
-#	Fixed numerous bugs with media home directories feature
-10-Apr-2005 Ryan Djurovich
-#	Fixed bugs in account/login.php and logout.php where users
-	gets redirected to /pages
-------------------------------------- 2.5.0 -------------------------------------
-08-Apr-2005 Ryan Djurovich
--	Removed section language feature
-+	Added page language feature (replaces need for sections language feature)
-#	Fixed bug where pages using menu_link module can have the URL changed
--	Page directory no longer stored in link field in pages table, it is now added
-	when the page_link function is called - this makes changing the pages
-	directory much easier and quicker
-!	Pages with visibility of "none" are now no longer directly accessable
-+	Added new visibility setting "hidden", acts exactly like none did previously
-!	Template info file can now specify number of menu's available and relative names
-!	Template info file can now specify number of blocks's available and relative names
-------------------------------------- 2.4.3 -------------------------------------
-07-Apr-2005 Ryan Djurovich
-#	page_filename function has been rewritten using str_replace
-	function, which should be faster and will allow characters
-	from other languages into filenames
-!	Created new media_filename function, which is now used
-	by all media functions (create,upload,rename) to determine
-	which characters should be removed from a desired filename
-+	New button in Administration page list to view specific page
-#	Updated the page_link function to now be compatible with menu link
-	module when setting pages directory to root
-#	Fixed bugs in search when using "Any Words" option
-#	Fixed bug with news module when pages directory set to root
-!	Changed URL of documentation website on Administration Start page
-------------------------------------- 2.4.2 -------------------------------------
-05-Apr-2005 Ryan Djurovich
-#	Fixed bug where file could be renamed to nothing in Media
-!	Optimised Media create folder, upload file, and rename functions
-#	Fixed bug where stripslashes not run on news post titles in admin
-05-Apr-2005 Stefan Braunewell
-#	Fixed bug concerning usage of the private_sql variable
-#	Fixed bug conerning sub-pages being displayed in menus incorrectly
-------------------------------------- 2.4.1 -------------------------------------
-04-Apr-2005 Ryan Djurovich
-!	Pages with visibility of "none" are again directly accessable
-#	Fixed bugs regarding renaming files and directories in Media section
-!	When home folders disabled, all folders now visible in Media section
-------------------------------------- 2.4.0 -------------------------------------
-03-Apr-2005 Ryan Djurovich
--	Removed recently added visibility setting of "heading", and relative config vars
-+	Added new "menu" field to pages table, and new setting "multiple menus"
-	which replaces the need for the menu headings feature
-+	Added links to top of groups and users sections, linking to each other
-!	Change menu width in "Round" template to 170px (was 150px)
-#	Change page "are you sure" deletion message to mention that it will delete
-	all sub-pages as well
-#	Fixed many bugs with news module when viewing posts by group
-!	Pages with visibility of "none" are now no longer directly accessable
-02-Apr-2005 Ryan Djurovich
--	Removed need to specify DB_URL when calling database class
-#	Stopped fields without a type specified from being shown in form mod
-#	Changed '/media' to MEDIA_DIRECTORY on HTMLArea popup windows
-	for insert link and insert image
-+	Added setting which allows you to specify the default WYSIWYG style
-+	Added "Server Email" option, to specify what is used in "From" field when
-	sending emails using the PHP mail function. Default is admins email address.
-#	Search now excludes pages which have a visibility of none or heading
-!	Pages are now given modified_when and modified_by when added
-01-Apr-2005 Ryan Djurovich
-+	Added option to News module to specify how many posts should be listed
-	per page (by default it is set to unlimited, which functions like previous version)
-#	Added stripslashes when display page titles in search
-+	Page descriptions and last updated date now shown in search by default
-30-Mar-2005 Ryan Djurovich
-+	Added new feature for Media home folders, where a folder can be specified
-	for a specific user or group of users only
-!	Changed URL of Help button to http://www.websitebaker.org/docs/
-+	Added new feature for "Page Trash" - two modes available: inline and separate
-!	When pages are deleted, all sub-pages are now deleted (instead of being moved
-	up a level)
-29-Mar-2005 Ryan Djurovich
--	Removed Database Settings from Administration Settings (options will not be
-	available in 3.x, so trying to match interface with WB 3.x plans
-!	Changed the name of Path Settings to Filesystem Settings in Administration
-	Settings, and removed ability to change path/url options - matching interface
-	plans for WB 3.x
-+	Added same options for OS and file permissions as installer to Settings
-!	Sessions now named with APP_NAME.'_session_id' (e.g. default is wb_session_id)
-28-Mar-2005 Ryan Djurovich
-+	New functions available to templates to simplify creation of them. This aims
-	to "future-proof" templates for WB 3.x plans.
-!	Default templates updated to support some of the new functions
-+	Added field to pages table "page_trail" which stores a list of the pages
-	parents. This field was needed by the new page_menu function
-+	Added option for page visibility "heading" to enabled support for multiple
-	menu's. Also, this helps to "future-proof" templates for WB 3.x plans
-+	Added option for page visibility "registered", which acts a little like
-	private, but is still shown in the menu (although users need to log in to view
-	the pages content)
-+	Form module submissions now saved to database, and feature now added to
-	limit number of submissions per hour to prevent spamming
-+	New field for Form module: email. Allows you to specify their email in
-	"from" field on module settings.
-#	Fixed bug when displaying comments in News module (WB Bug #14)
-+	New "under contruction" message if no pages exist
-!	Cleaned-up wb/index.php
-27-Mar-2005 Ryan Djurovich
-+	Created advanced mkdir and chmod functions
-#	Fixed bug in media where wrong file/folder is deleted
-+	Complete overhall of installer - now only one step! It has been greatly
-	simplified in many ways, has much better validation, reports error much more
-	nicely, and automatically logs the user into the Administrations
-+	Must now specify OS type - allows for customizable file permission settings
-+	Sections can now have a language code assigned to them
-+	Sections can now have a block name/id assigned to them
-!	Home section of Administration renamed to Start, to save confusion with saying
-	Homepage (because this term could either mean the main website or Home section
-	in	Administration). Also, this aims to unify the interface with WB 3.x plans
-!	Moved Users and Groups sections under Access section. This aims to unify the
-	interface with WB 3.x plans, which help to unclutter the menu
-!	Interface for Settings section has been imporved for usability purposes
-#	Fixed HTMLArea where no scrollbar for "insert link" and "insert image" dialogs
-	by placing media list inside an iframe
-#	Fixed stripslashes problem for viewing news comments
-!	Added code from Formesque module (an advanced version of the original Form
-	module, modified by Rudolph Lartey from www.carbonect.com), and made further
-	interface improvements for select box/checkbox group/radio group options.
-#	Possibly fixed bugs where an S appears before file and dir modes
-#	Fixed bug where users can be added with same emails (in Administration)
--	Removed support for PEAR, as it was deemed an unnecessary addition which only
-	makes code more bulky, and removing it will decrease package size a lot
-+	New "homepage redirect" option so first page is included and not redirected to
-#	Fixed text not being shown when module uninstalled
-!	Imporved interface for basic group permissions
-26-Mar-2005 Stefan Braunewell
-#	Fixed bug with front-end logins
-#	Fixed bug when saving intro page 
-+	Added check on sign-up if e-mail exists (thanks to P. Melief)
-#	Fixed bugs concerning moving/deleting pages
-#	Fixed list of parents in page settings
-#	Fixed mkdir without mode parameter
-#	Added a check on install to ensure PHP 4.1.x compatibility (thanks to Wanderer)
-+	Added support for PAGES_DIRECTORY set to root
-+	Search form now supports quotes (thanks to Manafta)
-#	Fixed page section ordering
-#	News items are displayed with name of poster instead of "Unknown"
-#	Deletion confirmation popup window in media section now shows correct file name
-------------------------------------- 2.3.1 -------------------------------------
-03-Fed-2005 Ryan Djurovich
-+	Now there is two types of "filesystem modes", one for directories and one
-	for files. Having different settings is very common for most servers, so
-	this addition should fix many problems people had with 2.3.0.
--	Removed filesystem mode options from installation
-!	Removed duplicate text on installation step 3 for timezone
-!	All "access files" for the news module now stored in pages/posts instead
-	of a sub-dir relative to the page (this fixes many bugs)
-#	Fixed major bugs when deleting pages with sub-pages
-!	Removed the restrictions that prevent a user for changing a pages level
-#	Fixed bug with "toggle" plus/minus in IE for pages list
-#	Fixed some bugs where /pages was not replaced with PAGES_DIRECTORY constant
-------------------------------------- 2.3.0 -------------------------------------
-26-Jan-2005 Ryan Djurovich
-#	Fixed bug in framework/functions.php that made root parent always equal 8
-#	Added missing braces in lines 182 and 208 of admin/pages/settings2.php
-#	Fixed SQL-query on line 172, placing a / after $old_link
-#	Added eregi checks for PAGES_DIRECTORY on lines 140 and 150 of
-	admin/pages/settings2.php
-#	Added ordering cleaning to delete_post.php on line 53 for news module
-!	GMT option is selected for "Default Timezone" in the installer, instead
-	of the old "Please select" message (which had the same value as GMT)
-28-Jan-2005 Ryan Djurovich
-!	Ability to specify the chmod number when WB uploads files, etc.
-!	Modified file headers (copyright/license notice) so they now look almost the
-	same, independant of font. Also, it now covers copyright for 2005.
-30-Jan-2005 Ryan Djurovich
-#	Added code on wb/admin/pages/delete.php to remove sections from the sections
-	table when a page is deleted.
-+	New 'Smart Login' prevents users from using external password managers,
-	and can be set to remember the users password using cookies.
-!	SourceForge CVS module now called websitebaker2 (instead of just
-	websitebaker). Also, all file versions have been reset.
-01-Fed-2005 Ryan Djurovich
-!	Added code to prevent from changing a pages level (it simply disables
-	the select box), to prevent many possible bugs.
-------------------------------------- 2.2.4 -------------------------------------
-23-Dec-2004 Ryan Djurovich
-!	Change 'EXACT_PHRASE' to 'EXACT_MATCH' on line 261 of wb/languages/EN.php
-#	Fixed multi-language support in search
-+	Added more detailed options to list of PHP error reporting level's
--	Removed ability to change language and PHP error reporting level
-	on installation to make things easier for newbie's
-+	Ability to select custom spacer for page filename's
-!	Changed the way a language code is found on language installation
-+	Added template permissions to groups
-#	Fixed bug when trying to change email from Preferences (admin and frontend)
-#	Fixed bug with auto-selection of "System Default" for Preferences
-!	News module now use's WYSIWYG for modifying news posts
-+	Ability to specify both the pages and media target directories
------------------------------------- 2.2.3-c ------------------------------------
-22-Dec-2004 Ryan Djurovich
-#	Fixed problem with DB password being reset if Settings saved in basic mode
------------------------------------- 2.2.3-b ------------------------------------
-21-Dec-2004 Ryan Djurovich
-#	Fixed minor bug on admin templates section
-#	Fixed bug on rename.php and rename2.php in admin media section
-------------------------------------- 2.2.3 -------------------------------------
-20-Dec-2004 Ryan Djurovich
-+	Added WB release version in Administration (top right corner)
-!	New option to prevent users from adding level 0 pages
-#	Fixed bug when deleting post's in News module
-+	Added new field in pages table for "root" parent (level 0 parent), for
-	extra flexability in creating templates
-!	Round template now supports unlimited page levels
-------------------------------------- 2.2.2 -------------------------------------
-18-Dec-2004 Ryan Djurovich
-+	New option under Search Settings for selecting custom template for search
-+	New option when changing page settings to set the target
-#	Fixed error when saving a user after editing
-!	Users can now modify sub-page if they dont have permissions on the parent
-------------------------------------- 2.2.1 -------------------------------------
-15-Dec-2004 Ryan Djurovich
-#	Fixed bug when changing password on preferences form (front-end)
-#	Fixed bug when retrieving user details (administration)
-#	Added check to see if module, template, or language is in use when deleting
-#	Fixed up email that is sent to user from a submitted form
-#	Fixed major problem with module permissions which stopped it from working
-------------------------------------- 2.2.0 -------------------------------------
-14-Dec-2004 (Correct date[s] unkown) Ryan Djurovich
-+	Multiple-level page support
-+	Multiple section's for pages (including interface)
-!	Removed text created using two words on all areas
-	(e.g. {Intro} {PAGE} is now {INTRO_PAGE})
-	this is for better language support
-+	Added Languages section
-!	Moved Templates and Modules under Add-ons section
-!	Changed name of "Default" template to "Round"
-+	Added "All CSS" template
-+	Added "Jump"
-+	Added 
-!	Modified "Box" template to support multiple page levels
-+	Added "Menu Link" module
-+	Added "News" module
-+	Added "Code" module
-+	Added "Form" module
-+	Added "Wrapper" module
-!	Changed name of "Normal Page" module to "WYSIWYG"
-+	Created new admin wrapper script to ease module develpment
-+	Media now automatically creates index.php file for every
-	sub-folder made (for security purposes)
-!	Change "Help" link in Administration menu so it now directs
-	to the the new Website Baker documentation website found at:
-	http://www.websitebaker.org/documentation
-!	Password is now required to change email in preferences
-+	User can now select custom Language and Date & Time Formats
-+	Added search functionality, with three different "methods":
-	1. Using all words  2. Using any words  3. Exact match
-+	Added native MySQL database support
+﻿Change Log
+===============================================================================
+Please note: This change log may not be accurate
+
+$Id$
+
+Legend:
++ = Added
+- = Removed
+# = Bugfix
+! = Update/Change
+===============================================================================
+
+
+08 Jan-2013 Build 1857 Dietmar Woellbrink (Luisehahne)
++ add deleted files and images in jqauery
+08 Jan-2013 Build 1856 Dietmar Woellbrink (Luisehahne)
+- remove wrong files and images in jquery
+08 Jan-2013 Build 1855 Dietmar Woellbrink (Luisehahne)
+! forgot the jQuery UI css
+08 Jan-2013 Build 1854 Dietmar Woellbrink (Luisehahne)
+! forgot the jQuery UI
+08 Jan-2013 Build 1853 Dietmar Woellbrink (Luisehahne)
+! update phpmailer to version 5.2.1
+! update jquery to 1.8.3 and jQuery UI to 1.9.2
+07 Jan-2013 Build 1852 Werner v.d.Decken(DarkViper)
+! updated Twig template engine to stable version 1.11.1 step 2
+07 Jan-2013 Build 1851 Werner v.d.Decken(DarkViper)
+! updated Twig template engine to stable version 1.11.1
+06 Jan-2013 Build 1850 Dietmar Woellbrink (Luisehahne)
+! add default_timezone in admin account by new installation 
+06 Jan-2013 Build 1849 Dietmar Woellbrink (Luisehahne)
+# typofix page_extended in admin/settings and admin/pages/
+! Fill empty option modules dropdown in admin/pages/sections.php
+05 Jan-2013 Build 1848 Werner v.d.Decken(DarkViper)
+# fixed reinitialisation of class frontend in /index.php
+05 Jan-2013 Build 1847 Werner v.d.Decken(DarkViper)
+# PageTree: fixed icon requests
++ added 2 icons in wb_theme and argos_theme
+05 Jan-2013 Build 1846 Werner v.d.Decken(DarkViper)
++ added variable root page for tree generation in class a_pages_PageTree
+# added missing CSS class jsadmin for drop/down activation
+28 Dez-2012 Build 1845 Dietmar Woellbrink (Luisehahne)
+# bugfix redclare function in preferences_form
+! add infobox, if you have to change the language before working in preferences
+28 Dez-2012 Build 1844 Dietmar Woellbrink (Luisehahne)
+# fixed Use of undefined constant PAGE_ID in /account/forgot.php
+! change return value to boolean in user management delete.php, add.php
+! change WEBSITE_SIGNATURE to WBMAIL_SIGNATURE 
+27 Dez-2012 Build 1843 Dietmar Woellbrink (Luisehahne)
+! trash only will be shown in sectionmanagement if more than one section exists
+! In the server settings the renaming of the page_directory is only possible, if no page exists
+26 Dez-2012 Build 1842 Dietmar Woellbrink (Luisehahne)
+# fixed output activation conformation
+# fixed deleting Users awaiting activation
+! add YYYY-MM-DD in date_formats dropdown
+23 Dez-2012 Build 1841 Dietmar Woellbrink (Luisehahne)
+# fixed index depth in access files
+23 Dez-2012 Build 1840 Dietmar Woellbrink (Luisehahne)
+! settings move website_signature to mailer settings
+! fix html validate error in pages sections
+! add pages field page_code to class.frontend.php
+! optimized jsadmin backend.css
+21 Dez-2012 Build 1839 Werner v.d.Decken(DarkViper)
+! the second optimization of runtime by recoding /admin/pages/index.php
++ new class a_pages_PageTree() for use with /admin/pages/index.php
+13 Dez-2012 Build 1838 Dietmar Woellbrink (Luisehahne)
+! groups management now completely html valide
+13 Dez-2012 Build 1837 Dietmar Woellbrink (Luisehahne)
+! runtime optimized in /admin/pages/index.php 
+12 Dez-2012 Build 1836 Dietmar Woellbrink (Luisehahne)
+# fixed WB admin wrapper script, could never run at end if section_id == 0
+10 Dez-2012 Build 1835 Dietmar Woellbrink (Luisehahne)
+! update dragdrop reorder positions of a page tree
+10 Dez-2012 Build 1834 Dietmar Woellbrink (Luisehahne)
+# fixed redirect checking in class.login.php
+10 Dez-2012 Build 1833 Dietmar Woellbrink (Luisehahne)
+# security fix CRLF injection/HTTP response splitting
+09 Dez-2012 Build 1832 Dietmar Woellbrink (Luisehahne)
+# security Application error message fix in search/search.php
+05 Dez-2012 Build 1831 Dietmar Woellbrink (Luisehahne)
+# fixed dragdrop for pages overview
+22 Nov-2012 Build 1830 Dietmar Woellbrink (Luisehahne)
+# deactivate caching in backend to fix display faults
+22 Nov-2012 Build 1829 Dietmar Woellbrink (Luisehahne)
+# bugfix check existing tables in upgrade-script
+22 Nov-2012 Build 1828 Dietmar Woellbrink (Luisehahne)
+! Update Checks if a browser's user agent string is compatible with the FCKeditor.
+! Set WebsiteBaker Module Version to 2.9.8
+20 Nov-2012 Build 1827 Dietmar Woellbrink (Luisehahne)
+# force FCKeditor to work with Firefox 17
+20 Nov-2012 Build 1826 Dietmar Woellbrink (Luisehahne)
+# fixed to big preview images in media
+20 Nov-2012 Build 1825 Dietmar Woellbrink (Luisehahne)
+! update page settings, add save & back Button, add extended hide/show
+  redesign the page settings for a better overview  
+20 Nov-2012 Build 1824 Dietmar Woellbrink (Luisehahne)
+! update media in look to the changes in user management
+20 Nov-2012 Build 1823 Dietmar Woellbrink (Luisehahne)
+! update user management, now home folder only will be created
+  if homefolders in settings are enabled
+  add save & back in user modify
+20 Nov-2012 Build 1822 Dietmar Woellbrink (Luisehahne)
+! update installer, strict difference between table structure and data 
+# fixed wrong constant for settings table
+! update redirect to upgrade-script in /admin/start/index.php
+16 Nov-2012 Build 1821 Dietmar Woellbrink (Luisehahne)
+! forgot to upload the /install/save.php
+16 Nov-2012 Build 1820 Dietmar Woellbrink (Luisehahne)
++ added sql folder including  websitebaker.sql, wb_search.sql
+! update /install/save.php, will now created the tables with $database->SqlImport() 
+! update search layout in settings
+16 Nov-2012 Build 1819 Dietmar Woellbrink (Luisehahne)
+# bugfix media, Undefined index /admin/media/upload.php on line 108
+- removed obselete resize_img.php
+16 Nov-2012 Build 1818 Dietmar Woellbrink (Luisehahne)
+# bugfix Ticket 10 usergroup show homefolder in media
+! update users, create username homefolder in media/homefolders
+# add mssing values in table settings by installing WebsiteBaker
+11 Nov-2012 Build 1817 Dietmar Woellbrink (Luisehahne)
+# Bugfix upgrde-script, syntaxerror in sql strict statement
+11 Nov-2012 Build 1816 Dietmar Woellbrink (Luisehahne)
+! fixed adminstrator rights to change groups
+11 Nov-2012 Build 1815 Dietmar Woellbrink (Luisehahne)
+! Complex code refactoring users management
+10 Nov-2012 Build 1814 Dietmar Woellbrink (Luisehahne)
+! update jQuery to jQuery 1.8.2 and jQuery UI 1.9.1
+10 Nov-2012 Build 1813 Dietmar Woellbrink (Luisehahne)
+! upgrade-script fixed wrong users group_id, (Bug in users management)
+10 Nov-2012 Build 1812 Dietmar Woellbrink (Luisehahne)
+# fixed always show "no modul rights" in admintools
+09 Nov-2012 Build 1811 Dietmar Woellbrink (Luisehahne)
+! forgot to upload class.wb.php
+09 Nov-2012 Build 1810 Dietmar Woellbrink (Luisehahne)
+! account signup check that display_name is unique in whole system
+  (prevents from User-faking)
+! add POST Request to admintools 
+07 Nov-2012 Build 1809 Dietmar Woellbrink (Luisehahne)
+! remove login_ip after 60days set in /admin/start/index.php
+! add confirm_code and confirm_timeout fields in users table in /install/save.php
+07 Nov-2012 Build 1808 Dietmar Woellbrink (Luisehahne)
+! add ErrorMsgException in /framework/globalExceptionHandler.php
+! ErrorMessage "ADMIN_INSUFFICIENT_PRIVELLIGES" now can be styled 
+  by the /admin/skel/themes/htt/ErrorMsgFile.htt template 
+! add css selectors to wb_theme
+! rename maintance.htt to maintenance.htt
+07 Nov-2012 Build 1807 Dietmar Woellbrink (Luisehahne)
+! fallback remove Timezone abbreviation in time format
+04 Nov-2012 Build 1806 Dietmar Woellbrink (Luisehahne)
+# Bugfix show double header in admintools
+04 Nov-2012 Build 1805 Dietmar Woellbrink (Luisehahne)
+# fixed Undefined variable: nNumRows in \admin\users\index.php
+# fixed Undefined variable: admin in \admin\admintools\tool.php
+! show more information in awaiting activation /admin/users
+! set input passord to autocomplete off /admin/users and /admin/prfeferences
+! add Timezone abbreviation to time format
+! change time and date formats fill with leading zeros
+! optimize REQUEST_METHOD to get page_id and section_id
+! more request vars are possible by this method
+02 Nov-2012 Build 1804 Dietmar Woellbrink (Luisehahne)
+# fixed Illegal string offset 'time' in \framework\SecureForm.mtab.php
+! add delete Outdated Confirmations in backend
+! show waiting Activations if exists in user management
+# fixed html validaton errors in user management
+! security fixes in admin/preferences/
+! update form modul, change text "unknown#" to "Guest"
+  in view_submission and emailheader email_fromname
+01 Nov-2012 Build 1803 Dietmar Woellbrink (Luisehahne)
+! update submission form with designer friendly css classes  
+31 Oct-2012 Build 1802 Dietmar Woellbrink (Luisehahne)
+! change installation info "Please rename to config.php"
+31 Oct-2012 Build 1801 Dietmar Woellbrink (Luisehahne)
+! upgrade-script: update if filesRemove or remove dirs failed
+! update methode StripCodeFromText, add remove <?php ... ?>,    
+! security fixes in form modul with StripCodeFromText
+29 Oct-2012 Build 1800 Dietmar Woellbrink (Luisehahne)
+# add missing lang var in account/languages/EN.PHP 
+29 Oct-2012 Build 1799 Dietmar Woellbrink (Luisehahne)
+! media iframe browser now is html XHTML 1.0 Transitional valide
+28 Oct-2012 Build 1798 Dietmar Woellbrink (Luisehahne)
+! admin/media: change preview size, remove CAPTION, STICKY
+27 Oct-2012 Build 1797 Dietmar Woellbrink (Luisehahne)
++ add new image class to admin/media for better images preview
+24 Oct-2012 Build 1796 Dietmar Woellbrink (Luisehahne)
+! supress frontend preferences, if user have no permission for it
+24 Oct-2012 Build 1795 Dietmar Woellbrink (Luisehahne)
+! change setting of the $_SESSION['SYSTEM_PERMISSIONS']
+  from get_user_id to ami_group_member, sp that all Users
+  with Administrators Group, don't need to login again  
+24 Oct-2012 Build 1794 Dietmar Woellbrink (Luisehahne)
+! upgrade-script: system_permission changes for group Administrators 
+  will be change in $_SESSION['SYSTEM_PERMISSIONS'], if you are logged in as user_id == 1
+24 Oct-2012 Build 1793 Dietmar Woellbrink (Luisehahne)
++ add missing warning icon
+24 Oct-2012 Build 1792 Dietmar Woellbrink (Luisehahne)
+! all changes in folder account, Signup with confirmation Mail
+! frontend.css now included by account script
+24 Oct-2012 Build 1791 Dietmar Woellbrink (Luisehahne)
+# fixed save search settings
+14 Oct-2012 Build 1790 Dietmar Woellbrink (Luisehahne)
+! update group permission, 
+14 Oct-2012 Build 1789 Dietmar Woellbrink (Luisehahne)
+! update Group Permission, add module_advanced
+! upgrade-script will be updating Adminitrator Group
+13 Oct-2012 Build 1788 Dietmar Woellbrink (Luisehahne)
+# fixed page settings for php Version less 5.2.9
+13 Oct-2012 Build 1787 Dietmar Woellbrink (Luisehahne)
+# fixed parsing error in signup 
+12 Oct-2012 Build 1786 Dietmar Woellbrink (Luisehahne)
+# fixed double content
+12 Oct-2012 Build 1785 Dietmar Woellbrink (Luisehahne)
+# fixed language uninstall, change mysql to strict
+! secure fix for search update in settings, search_footer now can be empty
+! change ->fetchRow() to ->fetchRow(MYSQL_ASSOC) in frontend.functions.php
+12 Oct-2012 Build 1784 Dietmar Woellbrink (Luisehahne)
+# fixed security warning if a group will be deleted
+11 Oct-2012 Build 1783 Dietmar Woellbrink (Luisehahne)
+# fixed maintenance frontend
+11 Oct-2012 Build 1782 Dietmar Woellbrink (Luisehahne)
++ add maintance modus in backend
+10 Oct-2012 Build 1781 Dietmar Woellbrink (Luisehahne)
+! fixed form modul (Tks to Ruebenwurzel)
+! Send forgotten Theme CSS in Revision 1780
+10 Oct-2012 Build 1780 Dietmar Woellbrink (Luisehahne)
+! change help mouseover to onclick in page settings only on help icon
++ add help to input filename
+! /framework/initialize.php now accept _GET and _POST to set user language
+09 Oct-2012 Build 1779 Dietmar Woellbrink (Luisehahne)
+# fixed wrong variable in admin/settings/index.php line 409
+! correcting url to WB help in readme files module showmenu2
+05 Oct-2012 Build 1778 Dietmar Woellbrink (Luisehahne)
+# fixed empty template variable in admin/start
+01 Oct-2012 Build 1777 Dietmar Woellbrink (Luisehahne)
++ add methode StripCodeFromText in class.wb to clean injection
+! rebranding the admin/settings and security fixes
+! a few new styling in backend wb_theme
+! beginning aa lot of account changes like correction of $_SESSION indexe, security fixes
++ add head.load.min.js and head.min.js to /include/jquery/ to style HTML5 templates
+28 Sep-2012 Build 1776 Dietmar Woellbrink (Luisehahne)
+! wb theme styling
+28 Sep-2012 Build 1775 Dietmar Woellbrink (Luisehahne)
+! update loginBox.htt and loginForgot.htt
+28 Sep-2012 Build 1774 Dietmar Woellbrink (Luisehahne)
+! update argos theme css
+28 Sep-2012 Build 1773 Dietmar Woellbrink (Luisehahne)
+! account split html and code
++ add signup activation registering
++ add missing icons in themes
+28 Sep-2012 Build 1772 Dietmar Woellbrink (Luisehahne)
+# fixed show e-mail in submission overview
+! set  title to tooltip if you add a pageX
+! optimize upgrade-script, add new fields to user table
+24 Sep-2012 Build 1771 Dietmar Woellbrink (Luisehahne)
+# typofix in upgrade-scripts
+# fixed form form284db.sql, change hardcoded engine to "{TABLE_ENGINE};"
+24 Sep-2012 Build 1770 Dietmar Woellbrink (Luisehahne)
+# fixed issues with database names
+  WbDatabase::getTableEngine() changed SQL statement to strikt.
+! remove empty warning box if you aren't sysadmin
+! change order errorhandling in installation save.php
+# typofix in news/upgrade.php $MESSAGE
+! Framework/frontend.functions.php change file_exists to is_readable
+23 Sep-2012 Build 1769 Dietmar Woellbrink (Luisehahne)
+# typofix in upgrade-script, fixed wrong count for language and modules folder
+23 Sep-2012 Build 1768 Dietmar Woellbrink (Luisehahne)
++ add 2 fields custom01, custom02 with VARCHAR( 255 ) to table pages
+! update upgrade-script with this 2 fields
+22 Sep-2012 Build 1767 Dietmar Woellbrink (Luisehahne)
+! change page_extended to extended settings under page language
+22 Sep-2012 Build 1766 Dietmar Woellbrink (Luisehahne)
+! typofix in EN language,
+! empty seo_title will set to menu_title
+! continue  rebranding wb_theme
+22 Sep-2012 Build 1765 Dietmar Woellbrink (Luisehahne)
+! recoded module news,form,wysiwyg upgrade to work with upgrade-script
+22 Sep-2012 Build 1764 Dietmar Woellbrink (Luisehahne)
+# remove jquery core backups
+22 Sep-2012 Build 1763 Dietmar Woellbrink (Luisehahne)
+# fixed methode index_add in WbDatabase, always faild
+18 Sep-2012 Build 1762 Dietmar Woellbrink (Luisehahne)
+# fixed upgrade-script wrong Adding/updating page_icon_dir to settings table
+18 Sep-2012 Build 1761 Dietmar Woellbrink (Luisehahne)
+# fixed wrong MODULE_URL in form modul
+# fixed loginForgot.htt missing vars in <title></title> 
+18 Sep-2012 Build 1760 Dietmar Woellbrink (Luisehahne)
+! fallback changes in wysiwyg Revision 1754
+  because it's required that section_id is the PRIMARY KEY
+  Fallback will be done in upgrade-script until the final version  
+! build in extra input seo title in page settings
+! beginning rebranding wb_theme
+17 Sep-2012 Build 1759 Dietmar Woellbrink (Luisehahne)
+! during Reformat/rebuild all existing access files in upgrade-script
+  root_parent will be set to page_id
+! change multi-dimensional arrays (variables) to similar arrays in framework/functions.php
+16 Sep-2012 Build 1758 Dietmar Woellbrink (Luisehahne)
+! forgot to upload the install.php from wysiwyg modul in Revision 1756
+! correcting some more SEC_ANCHOR 
+16 Sep-2012 Build 1757 Dietmar Woellbrink (Luisehahne)
+# fixed mysql_fetch_array() expects parameter 1 to be resource, boolean given
+  by adding a new form on page, 
+! refactroring form/install.php to SqlImport, add a form sql dump
+! correcting some SEC_ANCHOR in form
+15 Sep-2012 Build 1756 Dietmar Woellbrink (Luisehahne)
+! update wysiwyg install.php, now using methode SqlImport from WBDatabase
+15 Sep-2012 Build 1755 Dietmar Woellbrink (Luisehahne)
+! update upgrade-script, see Revsion 1735
+15 Sep-2012 Build 1754 Dietmar Woellbrink (Luisehahne)
+# fixed Duplicate entry  for key 'PRIMARY' if adding a new  pageX
+  search for ->page['root_parent'] == 0 in module and shoe_menu2 calls
+  page['root_parent'] has always the page_id from the first adding new page in level  
+15 Sep-2012 Build 1753 Dietmar Woellbrink (Luisehahne)
+! remove summary="" in captcha tables frontend
+! fixed calendar time, now all Calendar in WB shows right user TIMEZONE
+  please check module for saving timestamp minus TIMEZONE
+# recoded sections in admin/pages/, now save all fields
+  there was a problem, if blocks and menus are disabled
+14 Sep-2012 Build 1752 Dietmar Woellbrink (Luisehahne)
+! forgot to upload CHANGELOG and version.php
+14 Sep-2012 Build 1751 Dietmar Woellbrink (Luisehahne)
+- remove Template Engine Quickskin, but don't delete by upgrade-script on your webspace
+! see Revsion 1749 set pages field menu to default 1 by new install
++ add folder DOCS to Twig with changelog, authours and licence
+  please find the Twig Book as pdf, This is the documentation for Twig,
+14 Sep-2012 Build 1750 Dietmar Woellbrink (Luisehahne)
+# fixed missing ({missing: TEXT_TEMPLATE}) in template details
+14 Sep-2012 Build 1749 Dietmar Woellbrink (Luisehahne)
+# fixed save pagesettings, if multiple menus is disabled, set page['menu'] to default = 1
+12 Sep-2012 Build 1748 Werner v.d.Decken(DarkViper)
+! 3th party class idna_convert updated to version 0.8.0
+08 Sep-2012 Build 1747 Dietmar Woellbrink (Luisehahne)
+# fixed issues with older table strucure for earlier WB installations
+08 Sep-2012 Build 1746 Dietmar Woellbrink (Luisehahne)
+# add prefix wb_ to class name for content container 
+  if module has the same name as a html markup e.g code
+08 Sep-2012 Build 1745 Dietmar Woellbrink (Luisehahne)
+! add div container in page_content for each sections,
+! update droplets SectionPicker, ShowWysiwyg and ShowRandomWysiwyg
+! put sec_anchor in this div, sec_anchor fixed in all found files
+  sec_anchor default now set to "section_", 
+  sec_anchor can't be empty for future developement
+08 Sep-2012 Build 1744 Dietmar Woellbrink (Luisehahne)
+# typofix upgrade-script Adding redirect timer to settings table
+07 Sep-2012 Build 1743 Dietmar Woellbrink (Luisehahne)
+! styling permissions blocks in page settings by backend theme css
+07 Sep-2012 Build 1742 Dietmar Woellbrink (Luisehahne)
+! Now you can style account login with your frontend Template CSS
+  this change is in work for the whole account
+07 Sep-2012 Build 1741 Dietmar Woellbrink (Luisehahne)
+! Preparing Separation of code and HTML in Droplets
+05 Sep-2012 Build 1740 Dietmar Woellbrink (Luisehahne)
+! frontend.functions.php remove return $content in page_content(), 
+  incompatible with search logic
+! /include/jquery forgot jquery version.txt 
+# /form/view.php fixed wrong compare syntax 
+! group management, design style, set max-heights for permission boxes
+05 Sep-2012 Build 1739 Dietmar Woellbrink (Luisehahne)
+! update jquery ui to version 1.8.23
+05 Sep-2012 Build 1738 Dietmar Woellbrink (Luisehahne)
+! remove folder structure in zip file for backup droplets
+05 Sep-2012 Build 1737 Dietmar Woellbrink (Luisehahne)
+# fixed sql statement groups_added in settings
+! set stored passwords in $session to empty string
+! installer now detect browser language and operating_system
+31 Aug-2012 Build 1736 Dietmar Woellbrink (Luisehahne)
+! replace more invalid char in secureform.mtab to work with settings_page
+31 Aug-2012 Build 1735 Dietmar Woellbrink (Luisehahne)
+# fixed missing $admin-print_header() by security warning
+# fixed secureform.mtab because settings_page failed
+31 Aug-2012 Build 1734 Dietmar Woellbrink (Luisehahne)
+# typofix in /install/save.php and /admin/settings_page.php
+31 Aug-2012 Build 1733 Dietmar Woellbrink (Luisehahne)
++ forgot the jquery version.txt 
+31 Aug-2012 Build 1732 Dietmar Woellbrink (Luisehahne)
+! update jquery to version 1.8.1
+31 Aug-2012 Build 1731 Dietmar Woellbrink (Luisehahne)
++ add Page extended to settings, 
+! to show experten mode in page settings
+! shows some more settings like icon dir
+31 Aug-2012 Build 1730 Dietmar Woellbrink (Luisehahne)
++ add gobal javascript var LANGUAGE
+30 Aug-2012 Build 1729 Dietmar Woellbrink (Luisehahne)
+! Fixed missin WB_URL in media_browse
+30 Aug-2012 Build 1728 Dietmar Woellbrink (Luisehahne)
+! change redirect logic for registered pages
+30 Aug-2012 Build 1727 Dietmar Woellbrink (Luisehahne)
+# fixed upgrading group systempermission by upgrading WebsiteBaker
+! set svn properties /media/upload.php
+30 Aug-2012 Build 1726 Dietmar Woellbrink (Luisehahne)
+! change multi-dimensional arrays (variables) to similar arrays
+! change message if uploaded file exists
+30 Aug-2012 Build 1725 Dietmar Woellbrink (Luisehahne)
++ add missing preferences rights for sysadmin in install
+30 Aug-2012 Build 1724 Dietmar Woellbrink (Luisehahne)
+# fixed form submission output if no entry exist
+30 Aug-2012 Build 1723 Dietmar Woellbrink (Luisehahne)
+# fixed missing class.admin
+# check droplet skype if no existing user 
+30 Aug-2012 Build 1722 Dietmar Woellbrink (Luisehahne)
+# fixed missing login template after install
+29 Aug-2012 Build 1721 Dietmar Woellbrink (Luisehahne)
+# fixed admin/settings, remove unknown variables
+29 Aug-2012 Build 1720 Dietmar Woellbrink (Luisehahne)
+! FCKEditor remove som php endtags in connector
+29 Aug-2012 Build 1719 Dietmar Woellbrink (Luisehahne)
+! beginning update frontend account
+! remove html markup from code
+29 Aug-2012 Build 1718 Dietmar Woellbrink (Luisehahne)
+! update headerinfo
+! change multi-dimensional arrays (variables) to similar arrays
+29 Aug-2012 Build 1717 Dietmar Woellbrink (Luisehahne)
+! update droplets uninstall, upgrade
+! add $database=WbDatabase::getInstance();
+! update /examples/
+29 Aug-2012 Build 1716 Dietmar Woellbrink (Luisehahne)
+! update folder admin/settings admin/skel/htt
+! change Template to div container
+29 Aug-2012 Build 1715 Dietmar Woellbrink (Luisehahne)
+! forgot some files in folder admin
+29 Aug-2012 Build 1714 Dietmar Woellbrink (Luisehahne)
+! update module form
+! not auth users get no confirmation mail, but can print message
+! add replyto to received messages, so answer is possible by e-mail client
+! add pagination to submissionlist
+29 Aug-2012 Build 1713 Dietmar Woellbrink (Luisehahne)
+! remove html markup from code to a template
+29 Aug-2012 Build 1712 Dietmar Woellbrink (Luisehahne)
+! update folder admin/addons admin/skel/htt
+29 Aug-2012 Build 1711 Dietmar Woellbrink (Luisehahne)
+! update folder admin/start, admin/admintools, admin/skel/htt
+29 Aug-2012 Build 1710 Dietmar Woellbrink (Luisehahne)
+! update folder admin/groups, admin/users, admin/skel/htt
+29 Aug-2012 Build 1709 Dietmar Woellbrink (Luisehahne)
+! update folder framework class.login, admin/login, admin/skel/htt
+29 Aug-2012 Build 1708 Dietmar Woellbrink (Luisehahne)
+! update folder templates/wb_theme, templates/argos_theme,admin/skel/htt
+! add new icons, recoded css
+29 Aug-2012 Build 1707 Dietmar Woellbrink (Luisehahne)
+! update folder admin/pages, admin/skel/htt
+! change multi-dimensional arrays (variables) to similar arrays
+! change default templates, change code to new templates
+29 Aug-2012 Build 1706 Dietmar Woellbrink (Luisehahne)
+# fixed save page option 
+27 Aug-2012 Build 1705 Dietmar Woellbrink (Luisehahne)
+! update headerinfo
+! change os_version request if os is not windows
+27 Aug-2012 Build 1704 Dietmar Woellbrink (Luisehahne)
++ add overlib_mini.js to include/jquery/ will be needed for help
+27 Aug-2012 Build 1703 Dietmar Woellbrink (Luisehahne)
+! update headerinfo
+! change multi-dimensional arrays (variables) to similar arrays
+27 Aug-2012 Build 1702 Dietmar Woellbrink (Luisehahne)
+! /framework/class.frontend.php
+! set $_SESSION['HTTP_REFERER'] to WB_URL if menu url is a registered page
+! set some header("Location:.. to new method send_header(
+27 Aug-2012 Build 1701 Dietmar Woellbrink (Luisehahne)
+! /framework/frontend.functions
+! change multi-dimensional arrays (variables) to similar arrays
+! method page_content, add parameter $echo true to print $content, false return $content
+27 Aug-2012 Build 1700 Dietmar Woellbrink (Luisehahne)
+! change multi-dimensional arrays (variables) to similar arrays
++ add variables for backend-menu, header.htt and footer.htt 
+27 Aug-2012 Build 1699 Dietmar Woellbrink (Luisehahne)
+! Fixed IDKEY in Secureform.mtab to solve issues whith Security warnings 
+! on pages that used a lot of IDKEYS. (fixed by NorHei)
+27 Aug-2012 Build 1698 Dietmar Woellbrink (Luisehahne)
+! optimize some methods
++ add method send_header, replace header('Location:...  with new method
++ if header send failed you get a manuell redirected link, so script don't break
+27 Aug-2012 Build 1697 Dietmar Woellbrink (Luisehahne)
+# Bugfixed issues whith storing text for Search function on WYSIWYG module.
+# Html tags where not filtered out.
+27 Aug-2012 Build 1696 Dietmar Woellbrink (Luisehahne)
+! move extra handling of menu links in index.php to the view.php of module menu links {Tks to NorHei)
+18 Aug-2012 Build 1695 Dietmar Woellbrink (Luisehahne)
+# fixed $install_tables in install/save.php 
+18 Aug-2012 Build 1694 Dietmar Woellbrink (Luisehahne)
++ add var $iPhpDeclaredClasses = sizeof(get_declared_classes() set by PHP in initialize.php
+18 Aug-2012 Build 1693 Dietmar Woellbrink (Luisehahne)
+# fixed deprecated erigi in captcha
+08 Aug-2012 Build 1692 Werner v.d.Decken(DarkViper)
+# corrected pageID in forwarding links
+! changed request of permission to ami_group_member() and is_group_match()
+10 Jun-2012 Build 1691 Werner v.d.Decken(DarkViper)
+# fixed the order of loading languages
+31 May-2012 Build 1690 Werner v.d.Decken(DarkViper)
+! ModLanguage modified for auto fallback to DEFAULT_LANGUAGE
+! globalExceptionHandler added AppException, SecurityException, SecDirectoryTraversalException
+! Errormessage for old class.database modified
+08 May-2012 Build 1689 Werner v.d.Decken(DarkViper)
+# fixed Errorhandling for old class.database
+08 May-2012 Build 1688 Dietmar Woellbrink (Luisehahne)
+! update upgrade-script first remove access files in an existing pages folder
+  before rebuilding them 
+! for security upgrade don't remove access files in root
+07 May-2012 Build 1687 Werner v.d.Decken(DarkViper)
+# Drop tables in installer fixed
++ Twig_Autoloader activated
+07 May-2012 Build 1686 Werner v.d.Decken(DarkViper)
+! some modifications concerning the new autoloader
++ Twig Template engine v.1.7.0
+! unfinished change in installer
+! some droplets actualisized
+06 May-2012 Build 1685 Werner v.d.Decken(DarkViper)
+! last fixes for use of page_icon s.o.
+06 May-2012 Build 1684 Dietmar Woellbrink (Luisehahne)
+! update upgrade-script, now don't overwrite existings values in settings
++ add field tooltip to table pages in installer
+! change some module tool_icon.png (Tks to Stefek) 
+! add date_time string to backup_droplets.zip
+- search and comment out founded require_once(WB_PATH."/framework/class.database.php"); 
+- this will be never needed anymore and produce errors
+! rename class.msg_queue.php in msgQueue.php to work with autokoader
++ add function format_message to class.wb.php 
+03 May-2012 Build 1683 Werner v.d.Decken(DarkViper)
+! changed class Database into a Singleton-Class
+# added forgotten 'static' keyword in ModLanguage
+# removed version control from sm2 - include.php
+03 May-2012 Build 1682 Werner v.d.Decken(DarkViper)
+! some little corrections ModLanguage/Database/initialize.php
+03 May-2012 Build 1681 Werner v.d.Decken(DarkViper)
+! reorganisation of default theme of oage-settings
++ added menu_icon_0 and menu_icon_1
+! update show_menu2 to handle the new icon fields (see README.de|en.txt)
++ add new droplet 'iParentIcon' for use with the new icons
++ added new module-depending language files (not complete yet) in admin/pages
+03 May-2012 Build 1680 Werner v.d.Decken(DarkViper)
+! renamed file class.database.php to Database.php
+! renamed class database into Database
++ classes SecurityException and SecDirectoryTraversalException added in globalExceptionHandler.php
++ CoreAutoloader() added in initialize.php
++ new Constants 'WB_REL' and 'DOCUMENT_ROOT' in initialize.php
+! class Database is able now to create multiple connections at same time
++ class ModLanguage added for easy handle of languages from modules
+28 Apr-2012 Build 1679 Dietmar Woellbrink (Luisehahne)
++ add tool_icon.png to admintools
+27 Apr-2012 Build 1678 Dietmar Woellbrink (Luisehahne)
+# validation fix in print_footer, class.database
+! replace settings and default header
+27 Apr-2012 Build 1677 Dietmar Woellbrink (Luisehahne)
+! preparing new groups management and page settings
+! upgrade-script insert or update page access files
+24 Apr-2012 Build 1676 Dietmar Woellbrink (Luisehahne)
+# fixed backup_droplets working with php as Apache Module (Tks to Ruebenwurzel)
+! update function rm_full_dir in /framework/functions.php
+! To disable Run-time notices and receive warnings
+24 Apr-2012 Build 1675 Dietmar Woellbrink (Luisehahne)
+# fixed /framework/functions.php missing global $MESSAGE in function rebuildFolderProtectFile
+18 Apr-2012 Build 1674 Dietmar Woellbrink (Luisehahne)
+# fixed add-ons upload error (tks to DBS)
++ add tool_icon.png to core module
+! update outpu_filter success an error messages
+! small redesign wb_themes
+# fixed old.format.inc.php fileformat to unix
+18 Apr-2012 Build 1673 Dietmar Woellbrink (Luisehahne)
+! fixed signup, remove $admin->print_error methods
++ add send registation mail to systemadministartor
+18 Apr-2012 Build 1672 Dietmar Woellbrink (Luisehahne)
++ add languages vars for signup
+18 Apr-2012 Build 1671 Dietmar Woellbrink (Luisehahne)
+# fixes installer and upgrade-script
+17 Apr-2012 Build 1670 Werner v.d.Decken(DarkViper)
++ added new global exceptionhandler (class AppException)
+17 Apr-2012 Build 1669 Werner v.d.Decken(DarkViper)
+# little fixes in /admin/addons/reload.php
+17 Apr-2012 Build 1668 Dietmar Woellbrink (Luisehahne)
+! settigs.php add fields dev_infos and page_icon_dir
++ add developer info to footer
+! update class.admin.php, footer.htt
+17 Apr-2012 Build 1667 Dietmar Woellbrink (Luisehahne)
++ add folder /templates/round/title_images to work with page_icon
+17 Apr-2012 Build 1666 Dietmar Woellbrink (Luisehahne)
+! update of installer and upgradescript for Revision 1664/1665
++ add fields page_icon, menu_icon_0, menu_icon_1 to pages
++ add settings values dev_infos and page_icon_dir
+! update languages files 
+17 Apr-2012 Build 1665 Werner v.d.Decken(DarkViper)
+! update page_settings - CSS for wb_theme and argos_theme (for Rev.1664)
+17 Apr-2012 Build 1664 Werner v.d.Decken(DarkViper)
++ added additional rights for AdminUsers/ViewerUsers in /pages/page_settings
+! /pages/settings2.php renamed into /pages/settings_save.php
+17 Apr-2012 Build 1663 Dietmar Woellbrink (Luisehahne)
+! update round print.css for better output
+17 Apr-2012 Build 1662 Werner v.d.Decken(DarkViper)
++ added new getter 'getQueryCount' in class database
+11 Apr-2012 Build 1661 Dietmar Woellbrink (Luisehahne)
++ add new language vars
+06 Apr-2012 Build 1660 Dietmar Woellbrink (Luisehahne)
+! add group_id to news group overview
+# fixed Fatal error: Cannot redeclare show_wysiwyg_editor()
+06 Apr-2012 Build 1659 Dietmar Woellbrink (Luisehahne)
+! more validation fixes in backend (Tks to Ruebenwurzel)
+05 Apr-2012 Build 1658 Werner v.d.Decken(DarkViper)
+# fixed alternating row styles in droplet listing
+04 Apr-2012 Build 1657 Dietmar Woellbrink (Luisehahne)
+! some validation fixes in backend
+02 Apr-2012 Build 1656 Werner v.d.Decken(DarkViper)
+# fixed filter to serve malformed/nested HTML also.
+01 Apr-2012 Build 1655 Dietmar Woellbrink (Luisehahne)
++ add replyto to form module (see DEVINFOS)
+01 Apr-2012 Build 1654 Dietmar Woellbrink (Luisehahne)
+# Fixed SERVER_EMAIL in languages, needs double brackets
+! Installer redesign Step 2
+28 Mar-2012 Build 1653 Werner v.d.Decken(DarkViper)
+# fixed change_mode() against a very old problem with
+invalid calling arguments
+27 Mar-2012 Build 1652 Dietmar Woellbrink (Luisehahne)
+! fixed path to globalExceptionHandler.php in wysiwyg
+26 Mar-2012 Build 1651 Werner v.d.Decken(DarkViper)
+# fixed a little problem with chmod()
+24 Mar-2012 Build 1650 Werner v.d.Decken(DarkViper)
++ add argument 'replyTo' into class.wb::mail()
+24 Mar-2012 Build 1649 Dietmar Woellbrink (Luisehahne)
+! rebranding banner.jpg and powered.jpg round template
+24 Mar-2012 Build 1648 Werner v.d.Decken(DarkViper)
+# a litte fix in /admin/addons/index.php.
++ added unregister_Theme to CopyTheme::_doRollback()
++ added CopyTheme::_activateTheme()
+23 Mar-2012 Build 1647 Werner v.d.Decken(DarkViper)
++ add additional exeptionhandling in globalExceptionHandler
+23 Mar-2012 Build 1646 Dietmar Woellbrink (Luisehahne)
+# typofix in templates to include jquery
+22 Mar-2012 Build 1645 Dietmar Woellbrink (Luisehahne)
++ add language variable for template details
+22 Mar-2012 Build 1644 Werner v.d.Decken(DarkViper)
+# prevent from empty theme-name in CopyTheme::_SanitizeNewName()
+22 Mar-2012 Build 1643 Werner v.d.Decken(DarkViper)
++ added backend functions to copy themes and import htt-template files
+  according to the the new theme fallback functionality
+22 Mar-2012 Build 1642 Dietmar Woellbrink (Luisehahne)
+! update header info.php wb_themes
+22 Mar-2012 Build 1641 Dietmar Woellbrink (Luisehahne)
++ move admin/themes/templates/ to admin/skel/themes/htt/
+! and update class.wb.php, upgrade-script.php
+22 Mar-2012 Build 1640 Dietmar Woellbrink (Luisehahne)
+! optimize modules WYSIWYG for editors
+22 Mar-2012 Build 1639 Dietmar Woellbrink (Luisehahne)
++ Installer add const DEBUG to config.php (see DEVINFOS)
+! move const DEBUG and var $starttime from index.php to initialize.php
+14 Mar-2012 Build 1638 Werner v.d.Decken(DarkViper)
++ config.php added define to set admin-directory
+13 Mar-2012 Build 1637 Werner v.d.Decken(DarkViper)
+! made handling of config.php a little bit more easy
+09 Mar-2012 Build 1636 Dietmar Woellbrink (Luisehahne)
++ add missing language variables for the theme handling
+09 Mar-2012 Build 1635 Dietmar Woellbrink (Luisehahne)
+! fallback signuo2.php revision 1633
+09 Mar-2012 Build 1634 Dietmar Woellbrink (Luisehahne)
+! update language files and rework some core files (read DEVINFOS)
+! compress mdcr.js
++ add DEVINFOS Instructions/Informations for modulecoder
+08 Mar-2012 Build 1633 Werner v.d.Decken(DarkViper)
+# fixed class::methode print_error(...) overwrite in /install/save.php
+02 Mar-2012 Build 1632 Dietmar Woellbrink (Luisehahne)
+! small design update for wb theme, login und login_forgot
+02 Mar-2012 Build 1631 Dietmar Woellbrink (Luisehahne)
+! FCKeditor Fallback not working with IE9
+01 Mar-2012 Build 1630 Dietmar Woellbrink (Luisehahne)
+# fixed fckeditorcode_ie.js in IE9 ( not the end of fixing )
+01 Mar-2012 Build 1629 Dietmar Woellbrink (Luisehahne)
+# fixed wrong file format, fckeditor and outputfilter
+01 Mar-2012 Build 1628 Dietmar Woellbrink (Luisehahne)
+! forgot changelog and version in Revision 1627
+01 Mar-2012 Build 1627 Dietmar Woellbrink (Luisehahne)
+# Fixed FCKeditor to work with IE9 (Tks to marmot for the source)
+29 Feb-2012 Build 1626 Werner v.d.Decken(DarkViper)
+! started rebuild and reorganize the OutputFilter-System
+29 Feb-2012 Build 1625 Dietmar Woellbrink (Luisehahne)
+! update correct_theme_source and fixed the call in all files
+29 Feb-2012 Build 1624 Dietmar Woellbrink (Luisehahne)
+# fixed index warning in form modul (Tks to DBS)
+29 Feb-2012 Build 1623 Dietmar Woellbrink (Luisehahne)
+# fixed FCKeditor to work in IE7/8, IE9 not tested
+! redesign filemanager FCKeditor
+! set Moduleversion to 2.9.7.1
+25 Feb-2012 Build 1622 Werner v.d.Decken(DarkViper)
+# typofix in Droplet [ShowRandomWysiwyg]
+24 Feb-2012 Build 1621 Werner v.d.Decken(DarkViper)
+# Droplet [SectionPiocker] fixed
++ Added new droplets [ShowWysiwyg] and [ShowRandomWysiwyg]
+24 Feb-2012 Build 1620 Dietmar Woellbrink (Luisehahne)
+# fixed FCKeditor lang files to utf-8 (Tks to Ruebenwurzel)
+24 Feb-2012 Build 1619 Dietmar Woellbrink (Luisehahne)
+! forgot info.php
+24 Feb-2012 Build 1618 Dietmar Woellbrink (Luisehahne)
+# fixed FCKeditor to work in IE9 (Tks to marmot)
+! update module version to 2.9.7
+22 Feb-2012 Build 1617 Werner v.d.Decken(DarkViper)
+# fixed function SanitizeHttpReferer() in consideration of subdirectories
+18 Feb-2012 Build 1616 Dietmar Woellbrink (Luisehahne)
+! update INSTALL and UPGRADE instruction to 2.8.3 (Tks to Ruebenwurzel)
+18 Feb-2012 Build 1615 Dietmar Woellbrink (Luisehahne)
++ Validationfix, add qx_rawlang.php in quickSkin_alpha to solve
+  <a> escaping malformed URI reference messages in javascript
+! fixed magic_quotes_gpc=on, magic_quotes going to be removed in PHP6.
+  and some hoster do not set it to off  
+18 Feb-2012 Build 1614 Dietmar Woellbrink (Luisehahne)
+# fixed tabindex in installer (Tks to Easyuser)
+# fixed installer call in /admin/index.php
+16 Feb-2012 Build 1613 Werner v.d.Decken(DarkViper)
+# little fixes in classs database and add new readonly property DbName
+11 Feb-2012 Build 1612 Werner v.d.Decken(DarkViper)
+! Number of version and revision updated in branch.
+11 Feb-2012 Build 1611 Werner v.d.Decken(DarkViper)
+! Number of version and revision updated.
+11 Feb-2012 Build 1610 Werner v.d.Decken(DarkViper)
+! Version 2.8.3 tagged
+----------------------------------- 2.8.3 --------------------------------
+09 Feb-2012 Build 1609 Dietmar Woellbrink (Luisehahne)
+! change Website Baker to WebsiteBaker in installer
+09 Feb-2012 Build 1608 Dietmar Woellbrink (Luisehahne)
+! A small optical correction of the installer.
+09 Feb-2012 Build 1607 Dietmar Woellbrink (Luisehahne)
+# typofix in /modules/form/view.php (Tks to jacobi22)
+08 Feb-2012 Build 1606 Dietmar Woellbrink (Luisehahne)
+# some little changes and fixes in template allcss and round
++ add // register_frontend_modfiles('jquery'); to activate comment out
+! Set version to 2.71
+08 Feb-2012 Build 1605 Dietmar Woellbrink (Luisehahne)
+! login.php fallback to revision 1602
+08 Feb-2012 Build 1604 Dietmar Woellbrink (Luisehahne)
+# fixed parse error in login.php
+08 Feb-2012 Build 1603 Dietmar Woellbrink (Luisehahne)
+! fix local module reload and module manuell install
+! forgot to upload login.php
+08 Feb-2012 Build 1602 Dietmar Woellbrink (Luisehahne)
+! a quick simple stylesheet fix in wb_theme, 
+07 Feb-2012 Build 1601 Dietmar Woellbrink (Luisehahne)
+! little designfix in forgot_form.php
+! fix media if uploading zip files with folder, than create FolderProtectFiles
+07 Feb-2012 Build 1600 Dietmar Woellbrink (Luisehahne)
+# more fixed issues with get_magic_quotes_gpc and FCKeditor
+! remove create and upload in FCKeditor Filemanager
+06 Feb-2012 Build 1599 Dietmar Woellbrink (Luisehahne)
+! update all used files with redirect_url to $_SESSION['HTTP_REFERER']
+06 Feb-2012 Build 1598 Dietmar Woellbrink (Luisehahne)
+# fixed undefined fragment index in initialize.php 
+! add $_SESSION['HTTP_REFERER'] storing active pagelink if page_id != 0
+05 Feb-2012 Build 1597 Dietmar Woellbrink (Luisehahne)
+# fixed issues with get_magic_quotes_gpc and FCKeditor
+04 Feb-2012 Build 1596 Dietmar Woellbrink (Luisehahne)
+# highly critical security-fix
+# announced on http://www.darksecurity.de/advisories/2012/SSCHADV2012-003.txt
+04 Feb-2012 Build 1595 Dietmar Woellbrink (Luisehahne)
+# fix form language vars for better understanding (Tks to Maverik)
+! change request if HTTP_REFERER is not empty in logout.php 
+03 Feb-2012 Build 1594 Dietmar Woellbrink (Luisehahne)
+# fixed use of undefined constant fri in /form/view.php
+01 Feb-2012 Build 1593 Dietmar Woellbrink (Luisehahne)
+# rebuild protectfile in pages/posts
+31 Jan-2012 Build 1592 Werner v.d.Decken(DarkViper)
+# little Typo-fix in database::SqlImport(). (grummel)
+31 Jan-2012 Build 1591 Werner v.d.Decken(DarkViper)
+# little Regex-fix in database::SqlImport().
+25 Jan-2012 Build 1590 Werner v.d.Decken(DarkViper)
+! mod form: added request var to submit a request identifier.
+! argument ?fri=12345 on GET-view will submit 'FormRequestId: 12345' by email
+25 Jan-2012 Build 1589 Dietmar Woellbrink (Luisehahne)
+# fixed starting upgrade-script if missing revision in settings
+25 Jan-2012 Build 1588 Werner v.d.Decken(DarkViper)
+# all module depending code removed, some little fixes, better integration for module-upgrade
+25 Jan-2012 Build 1587 Werner v.d.Decken(DarkViper)
++ module news: added sql-dump to create database tables
+# module news: some little fixes in install/upgrade
+24 Jan-2012 Build 1586 Werner v.d.Decken(DarkViper)
++ added new method SqlImport() to class database
+19 Jan-2012 Build 1585 Dietmar Woellbrink (Luisehahne)
+# fixed double table width in modify.php form module ((Tks to Ruebenwurzel)
+19 Jan-2012 Build 1584 Dietmar Woellbrink (Luisehahne)
+! form module, shows email-adress from body tag
+- remove scrollable table in overview form module 
+19 Jan-2012 Build 1583 Dietmar Woellbrink (Luisehahne)
+! forgot upload save.php in wysiwyg module
+19 Jan-2012 Build 1582 Dietmar Woellbrink (Luisehahne)
+# wysiwyg module, fix issues with magic_quote_gpc if on
+# form module, fix regex for radio and checkbox (Tks to Ruud)
+! form module, make show submission table scrollable
+17 Jan-2012 Build 1581 Werner v.d.Decken(DarkViper)
+# wysiwyg module some little typo fixes a.s.o.
+17 Jan-2012 Build 1580 Dietmar Woellbrink (Luisehahne)
+! dropdown list to choose recipient for email confirmation
+16 Jan-2012 Build 1579 Dietmar Woellbrink (Luisehahne)
+- remove unneeded input fields in form settings
+16 Jan-2012 Build 1578 Dietmar Woellbrink (Luisehahne)
+# fixed warning in domain independend image links
+16 Jan-2012 Build 1577 Dietmar Woellbrink (Luisehahne)
+# fixed save dirmode and filmode to 0 if not superadmin
+16 Jan-2012 Build 1576 Werner v.d.Decken(DarkViper)
+# wysiwyg module changed to domain independend image links
+16 Jan-2012 Build 1575 Dietmar Woellbrink (Luisehahne)
+# fixed captcha error message in form module
+! set form module to version 2.8.4
+16 Jan-2012 Build 1574 Dietmar Woellbrink (Luisehahne)
++ add instruction README.de.txt in form module
+! update jquery to jQuery 1.7.1 and jQuery UI 1.8.17
+16 Jan-2012 Build 1573 Dietmar Woellbrink (Luisehahne)
++ add automatically generated e-mail language form variable
+! send confirmation mail with details to superadmin from SERVER_EMAIL
+! send confirmation mail without details to sender from SERVER_EMAIL
+14 Jan-2012 Build 1572 Dietmar Woellbrink (Luisehahne)
+! security fix, force SMTP Authentifikation
+! server and email settings only for superadmin
+12 Jan-2012 Build 1571 Dietmar Woellbrink (Luisehahne)
+# remove session_start() in /account/logout.php
+10 Jan-2012 Build 1570 Dietmar Woellbrink (Luisehahne)
+!  added $module_directory to make quickskin directory changes dynamically
+10 Jan-2012 Build 1569 Werner v.d.Decken(DarkViper)
+# possible errors on 'save password' fixed. Minimum length of password set to 6 chars
+10 Jan-2012 Build 1568 Dietmar Woellbrink (Luisehahne)
+! fix show_menu2 2th parameter for template round and allcss (Tks to Ruebenwurzel)
+! set fingerprint_with_ip_octets default to 2 in a new installation
+07 Jan-2012 Build 1567 Dietmar Woellbrink (Luisehahne)
+# fix wbmailer_smtp_auth, could not be disabled after enabled 
+07 Jan-2012 Build 1566 Dietmar Woellbrink (Luisehahne)
+# fix class.login, when name and pass are both empty no longer call increase_attemps
+! some redirect updates in frontend account files
+06 Jan-2012 Build 1565 Dietmar Woellbrink (Luisehahne)
+! fixed:: detection of serverdefined charsets more different
+06 Jan-2012 Build 1564 Dietmar Woellbrink (Luisehahne)
+# entities fixes in FI and TR languages files (Tks to Ruebenwurzel)
+06 Jan-2012 Build 1563 Dietmar Woellbrink (Luisehahne)
+! add linebreak in backend message for 'delete install folder...' 
+05 Jan-2012 Build 1562 Dietmar Woellbrink (Luisehahne)
+! only superadmin can start the upgrade-script from backend
+05 Jan-2012 Build 1561 Dietmar Woellbrink (Luisehahne)
+# secureForm Fix for hosting with load balancing
+04 Jan-2012 Build 1560 Dietmar Woellbrink (Luisehahne)
+! upgrade script start automatically after uploading a new version and login to the backend
+04 Jan-2012 Build 1559 Dietmar Woellbrink (Luisehahne)
+! change quickSkin to alpha status, ATTENTION rename folder to quickSkin_alpha 
+02 Jan-2012 Build 1558 Dietmar Woellbrink (Luisehahne)
+# remove backslash in $_CONFIG['extensions_dir']
+! update editor.css for allcssand round  (Tks to Ruebenwurzel)
+# bugfix in forgot_form.php
+02 Jan-2012 Build 1556 Dietmar Woellbrink (Luisehahne)
+# typofix in function make_dir
+02 Jan-2012 Build 1555 Dietmar Woellbrink (Luisehahne)
+! wb_quickSkin_28.php create _skin folders with folder protect file 
+! add a 3th parameter to function make_dir to allows the creation of nested directories specified in the pathname. Defaults to TRUE
+01 Jan-2012 Build 1554 Dietmar Woellbrink (Luisehahne)
+# typofixes in DE languages files (Tks to Ruebenwurzel)
+31 Dez-2011 Build 1553 Dietmar Woellbrink (Luisehahne)
+! recoded  formmodul, add dropdown email_fromname_field
+31 Dez-2011 Build 1552 Dietmar Woellbrink (Luisehahne)
+# fix mdcr.js $scriptLink to absolute url
+! change separator breadcrumb admintools
+27 Dez-2011 Build 1551 Dietmar Woellbrink (Luisehahne)
++ add languages vars in languages files
++ add upload error mesages moduleinstall
++ add index.php if not exists in function createFolderProtectFile
+! corrected changed coding between login_form and forgot_form
+21 Dez-2011 Build 1550 Dietmar Woellbrink (Luisehahne)
+! update php mailer to version 5.2
+19 Dez-2011 Build 1549 Dietmar Woellbrink (Luisehahne)
+! christmas time corrected wrong files
+19 Dez-2011 Build 1548 Dietmar Woellbrink (Luisehahne)
+- remove quickSkin /temp/folder/ for a later solution
+18 Dez-2011 Build 1547 Dietmar Woellbrink (Luisehahne)
++ forgot a file in quickSkin Folder
+18 Dez-2011 Build 1546 Dietmar Woellbrink (Luisehahne)
+! recoded /account/forgot_form.php
+! update quickSkin 
+! update languages files 
++ add /temp/quickSkin/ folder
+! begin fixing sec_anchor in urls
+15 Dez-2011 Build 1545 Dietmar Woellbrink (Luisehahne)
+! update admin/pages/modify.php now you can send page_id with GET and POST
+15 Dez-2011 Build 1544 Dietmar Woellbrink (Luisehahne)
+# fix droplet import after new wb installtion
+14 Dez-2011 Build 1543 Dietmar Woellbrink (Luisehahne)
+# fix droplet sectionPicker
+# fix install config.php not writeable 
+# check table droplet if empty import examples
+12 Dez-2011 Build 1542 Dietmar Woellbrink (Luisehahne)
+# fix wrong background url in "Website Under Construction"
+12 Dez-2011 Build 1541 Dietmar Woellbrink (Luisehahne)
+! change block BEGIN to LOOP in quickskin (Tks to Stefek)
+11 Dez-2011 Build 1540 Dietmar Woellbrink (Luisehahne)
+! did some changes and fixes found by testers
+10 Dez-2011 Build 1539 Dietmar Woellbrink (Luisehahne)
+! update phpmailer to version 5.1
+10 Dez-2011 Build 1538 Dietmar Woellbrink (Luisehahne)
+! add table db engine in module install scripts
+! some small updates in modules
+10 Dez-2011 Build 1537 Dietmar Woellbrink (Luisehahne)
+! continue updating headerinfos, adding upgrade scripts to module
+10 Dez-2011 Build 1536 Dietmar Woellbrink (Luisehahne)
++ add upgrade.php to captcha_control and small changes
++ add FolderProtectFile to quickskin
+10 Dez-2011 Build 1535 Dietmar Woellbrink (Luisehahne)
+! changes in code modul
++ add function getTableEngine to class.database 
++ add Quickskin to include folder
++ add reworkes Droplet SectionPicker to load modules frontend.css
+08 Dez-2011 Build 1534 Werner v.d.Decken(DarkViper)
+# /output_filter/filter-routines.php rel-URL Filter fixed for mailto-links
+08 Dez-2011 Build 1533 Dietmar Woellbrink (Luisehahne)
++ new backend theme handling (Tks to Stefek)
+# some fixes in install
+28 Nov-2011 Build 1532 Dietmar Woellbrink (Luisehahne)
+! small changes in INSTALL and UPGRADE (Tks to unawave2)
+! update upgrade-script showing from Version to Version (Tks to unawave2)
++ add Servicepack version to header.htt
+28 Nov-2011 Build 1531 Dietmar Woellbrink (Luisehahne)
+! add Instructions for droplets
+27 Nov-2011 Build 1530 Dietmar Woellbrink (Luisehahne)
+! update templates allcss and round (Tks to Rübenwurzel)
++ Add UPGRADE Instructions
+! Update INSTALL Instructions
+! Optimize config.php handling for installation
+25 Nov-2011 Build 1529 Dietmar Woellbrink (Luisehahne)
++ add new backend theme handling (Tks to Stefek)
+----------------------------------- Fixes 2.8.2 --------------------------------
+23 Nov-2011 Build 1528 Dietmar Woellbrink (Luisehahne)
+! rework login and show_menu in templates allcss and round 
+22 Nov-2011 Build 1527 Dietmar Woellbrink (Luisehahne)
+# fix redirect login
+20 Nov-2011 Build 1526 Dietmar Woellbrink (Luisehahne)
+# typofix in BG and RU
+15 Nov-2011 Build 1525 Dietmar Woellbrink (Luisehahne)
+# fix versions compare upgrade from WB version 2.7
+13 Nov-2011 Build 1524 Dietmar Woellbrink (Luisehahne)
+! fix secureform was not uploaded
+13 Nov-2011 Build 1523 Dietmar Woellbrink (Luisehahne)
+# fix fingerprint in secureform 
+! update jquery to version 1.7
+12 Nov-2011 Build 1522 Werner v.d.Decken(DarkViper)
+# /modules/output_filter/filter-routines.php little fix to inserting mdcr.js
+# /modules/form/view.php little fix depending from recoded output filter
+09 Nov-2011 Build 1521 Dietmar Woellbrink (Luisehahne)
+! update jquery to version 1.6.4
+09 Nov-2011 Build 1520 Werner v.d.Decken(DarkViper)
+! /modules/output_filter completely recoded
++ new filter for relative-URL added
++ some small fixes
+! /admin/admintools/tool.php completely recoded
+! /wb/index.php output_filter request changed to adopt new output_filter
+08 Nov-2011 Build 1519 Dietmar Woellbrink (Luisehahne)
+! corrected properties
+26 Okt-2011 Build 1518 Dietmar Woellbrink (Luisehahne)
+# fix anchor jump in sections (not work correctly with CKEditor)
+24 Okt-2011 Build 1517 Dietmar Woellbrink (Luisehahne)
+# fix SERVER_EMAIL in language files
+# fix encoded text in sections.php
++ add missing image in argos_theme
+05 Okt-2011 Build 1516 Dietmar Woellbrink (Luisehahne)
++ add forgotten language variable
+05 Okt-2011 Build 1515 Dietmar Woellbrink (Luisehahne)
+# typofix and changes in languages
+04 Okt-2011 Build 1514 Dietmar Woellbrink (Luisehahne)
+# account/signup.php, check if user is already logged
+# fix non object message in framework/functions.php
+04 Okt-2011 Build 1513 Dietmar Woellbrink (Luisehahne)
+! outputfilter now check and add missing slash in empty href if relative urls are enabled
+24 Sep-2011 Build 1512 Werner v.d.Decken(DarkViper)
+! settings for pwgen updated
+14 Sep-2011 Build 1511 Dietmar Woellbrink (Luisehahne)
+# fixed strict notice warning in class.wb
+! change editor for intropage to editarea
+! add missing slash in themes
+14 Sep-2011 Build 1510 Werner v.d.Decken(DarkViper)
++ new constant 'DO_NOT_TRACK' set to true if a client sends the DNT-Header
+07 Sep-2011 Build 1509 Dietmar Woellbrink (Luisehahne)
+# continue fixing frontend account
+07 Sep-2011 Build 1508 Dietmar Woellbrink (Luisehahne)
+# fixed print_error exit in frontend account
+06 Sep-2011 Build 1507 Dietmar Woellbrink (Luisehahne)
+# fixed field_remove
+26 Aug-2011 Build 1506 Werner v.d.Decken(DarkViper)
++ new class PasswordHash
++ new Password-/Hash-generator
+19 Aug-2011 Build 1505 Dietmar Woellbrink (Luisehahne)
+# syntaxfix order::clean()
+19 Aug-2011 Build 1504 Werner v.d.Decken(DarkViper)
+# fixed order::clean()
+18 Aug-2011 Build 1503 Dietmar Woellbrink (Luisehahne)
+! change sql statements to strict in module droplets
+! fix vars in compatibility mode for versions before 2.8.1 in frontend.functions.php
+11 Aug-2011 Build 1502 Werner v.d.Decken(DarkViper)
+# fixed c&p mistake
+11 Aug-2011 Build 1501 Werner v.d.Decken(DarkViper)
+- removed stoneaged code from 2.4
+11 Aug-2011 Build 1500 Werner v.d.Decken(DarkViper)
+# sync working copy
+11 Aug-2011 Build 1499 Werner v.d.Decken(DarkViper)
+# little fix in calling globalExceptionHandler from inner core files
+11 Aug-2011 Build 1498 Werner v.d.Decken(DarkViper)
+# fixed secureform
+11 Aug-2011 Build 1497 Werner v.d.Decken(DarkViper)
+! sync changelog
+11 Aug-2011 Build 1496 Werner v.d.Decken(DarkViper)
+! activate globalExceptionHandler in inner core files
+11 Aug-2011 Build 1495 Werner v.d.Decken(DarkViper)
+# fix SQL-statements to SQL-strict
+11 Aug-2011 Build 1494 Dietmar Woellbrink (Luisehahne)
+# Fixed save wrong template directory in database 
+11 Aug-2011 Build 1493 Dietmar Woellbrink (Luisehahne)
+# Ticket #1106 FatalError in groups module
+11 Aug-2011 Build 1492 Dietmar Woellbrink (Luisehahne)
+# Ticket #1107 Deleting users not possible
+  Change handling, first user will be set to inactive
+  secound inactive user will be show in an extra dropdown
+  and can now deleted from user table or reactivated
+11 Aug-2011 Build 1491 Dietmar Woellbrink (Luisehahne)
+! comment out $email_body .= "\n\nIP: ".$_SERVER['REMOTE_ADDR'];
+11 Aug-2011 Build 1490 Dietmar Woellbrink (Luisehahne)
+! set default  FCKConfig.FillEmptyBlocks to true
+11 Aug-2011 Build 1489 Werner v.d.Decken(DarkViper)
++ little fix in globalExceptionHandler
+11 Aug-2011 Build 1488 Werner v.d.Decken(DarkViper)
++ globalExceptionHandler activated
+10 Aug-2011 Build 1487 Werner v.d.Decken(DarkViper)
+# class.order completely recoded to reduce SQL requests
+# all other files: fix SQL-statements to SQL-strict
+08 Aug-2011 Build 1486 Werner v.d.Decken(DarkViper)
+# database::field_modify() there was a bug to fix
+# all other files: fix SQL-statements to SQL-strict
+01 Aug-2011 Build 1485 Dietmar Woellbrink (Luisehahne)
+! rename config.php.bak to config.php.new
+# fixed rss.php SERVER_EMAIL
+31 Jul-2011 Build 1484 Dietmar Woellbrink (Luisehahne)
+! move fixes 2.8.2 to 2.8.3
+! fixes will be shown in an extra readme
+! an package with the fixed files will be created
+! for all users who downloaded the 2.8.2 before 29 Jul-2011
+------------------------------------- 2.8.2 ------------------------------------
+25 Jul-2011 Build 1480 Dietmar Woellbrink (Luisehahne)
+! Changed version to 2.8.2
+25 Jul-2011 Build 1479 Dietmar Woellbrink (Luisehahne)
+! preparing backend for the new installer
++ add SecureFormSwitcher (Admintool)
+22 Jul-2011 Build 1478 Dietmar Woellbrink (Luisehahne)
+# fix mssing filename in intro.php
+! inactive user in dropwonlist are show with line-through
+21 Jul-2011 Build 1477 Dietmar Woellbrink (Luisehahne)
+! update DA language (Tks to Achrist)
+! update some languages variables (Tks to Rübenwurzel, Testör)
+! move function url_encode from admin/pages to framework/functions.php 
+! add missing svn properties in some headerinfos
+! font-size correction in wb_theme (Tks to Rübenwurzel)
+13 Jul-2011 Build 1476 Dietmar Woellbrink (Luisehahne)
+! optimize blacklist handling, add more separator ",#|;"
+  set of a wildcard ".*?" e.g. ph.*? proof ext like php, php3, php4 etc.
+# fix strict warnings in media if default theme ist not Argos Theme
++ add new settings value in install, upgrade-script and core module
+13 Jul-2011 Build 1476 Dietmar Woellbrink (Luisehahne)
+! optimize blacklist handling, add more separator ",#|;"
+  set of a wildcard ".*?" e.g. ph.*? proof ext like php, php3, php4 etc.
+# fix strict warnings in media if default theme ist not Argos Theme
++ add new settings value in install, upgrade-script and core module
+13 Jul-2011 Build 1475 Dietmar Woellbrink (Luisehahne)
++ add SecureForm.mtab.php under maintenance by WebsiteBaker Community
+! security fixes media, groups, users, sections
+# change lang variable to remove upgrade-script
+! reworked add sections in pages
+! fix set empty href in show_menu2
+! set show_menu2 version to 4.9.6 
+! reworked Droplet LoginBox, add redirect query
+- remove unneeded folder js
+! set Droplet to version 1.1.0
++ add checkboxes to change frontend absolute url to relative urls
+! set output_filter version to 0.2
+12 Jul-2011 Build 1474 Werner v.d.Decken(DarkViper)
+#  for security reasons the 'remember me' functionality is deaktivated in
+   class login
+!  'Get configuration values' is optimized
+09 Jul-2011 Build 1473 Dietmar Woellbrink (Luisehahne)
+# found more backlinks to fix
+- remove not working ftan in frontend
+# fixed redirect in login procedure (Tks to mr-fan)
+! update droplet LoginBox, additional parameter $redirect
+# remove double config call in media (Tks to Testör)
+07 Jul-2011 Build 1472 Dietmar Woellbrink (Luisehahne)
+# fixed version.php
+07 Jul-2011 Build 1471 Dietmar Woellbrink (Luisehahne)
+! change to Release Candiate 7 
+07 Jul-2011 Build 1470 Dietmar Woellbrink (Luisehahne)
+# languages Typo fix (Tks to pcwacht)
+! update intro, fixed saving
+# fixed install/save.php (Tks to pcwacht)
+07 Jul-2011 Build 1469 Dietmar Woellbrink (Luisehahne)
+! Forgotten upload changelog and version.php
+07 Jul-2011 Build 1468 Dietmar Woellbrink (Luisehahne)
+! update jquery-min to version 1.6.2
+! update jquery-ui-min to version 1.8.14
+# fix index error in media upload (Tks to DBS)
++ add missing nopreview.jpg
+! update media browser not to show forbidden files
+- remove unused jquery archiv folder
+02 Jul-2011 Build 1467 Dietmar Woellbrink (Luisehahne)
+! update some headerinfos
+# fix missing header for some error messages
+01 Jul-2011 Build 1466 Dietmar Woellbrink (Luisehahne)
+# fix form modul (tks to our Tester)
+01 Jul-2011 Build 1465 Dietmar Woellbrink (Luisehahne)
+# bugfix in initialize including SecureForm
+! update admintools FTAN handling 
+01 Jul-2011 Build 1464 Werner v.d.Decken(DarkViper)
+#  Ticket 1102 fixed little bug in moveCssToHead() (Tks to Crnogorac081)
+01 Jul-2011 Build 1463 Dietmar Woellbrink (Luisehahne)
+# fixed Ticket 1050 Bug in include/phpmailer/class.phpmailer.php with Lotus Notes
+# fixed Ticket 573, 939 Bad formatting of e-mail received from form submissions
+# fixed Ticket 1009 cannot change user password without changing Email in preference
+30 Jun-2011 Build 1462 Werner v.d.Decken(DarkViper)
++ class-switcher for SecureForm added
+30 Jun-2011 Build 1461 Dietmar Woellbrink (Luisehahne)
+! correct all misspellings on finnish language file (Tks to invisigoth)
+29 Jun-2011 Build 1460 Dietmar Woellbrink (Luisehahne)
+# Ticket 1101, phtml|php5|php4|php|cgi|pl|exe|com|bat|src| will be hardcoded
+  additional you can set more extension in settings extended in field rename_file_types
+  rename_file_types now is a blacklist and will no longer be renamed to .txt
+! update admintools modules to work with SecureForm Patch from NorHei
+26 Jun-2011 Build 1459 Dietmar Woellbrink (Luisehahne)
+# Ticket 1099: change title for add_child_page in page tree
+26 Jun-2011 Build 1458 Dietmar Woellbrink (Luisehahne)
+# Ticket 833 fixed markup for table cells in view.php
+! change themes.css to make style more flexible in success.htt and error.htt
++ backend themes: add js function redirect_to_page(url, timer) to redirect without message
+25 Jun-2011 Build 1457 Dietmar Woellbrink (Luisehahne)
+! Preparing 2.8.2 stable, last tests
+10 Jun-2011 Build 1456 Dietmar Woellbrink (Luisehahne)
++ add PL languages to news and captcha_control (tks to vixrealitum)
+! update PL language for WebsiteBaker (tks to vixrealitum)
+06 Jun-2011 Build 1455 Werner v.d.Decken(DarkViper)
+# fixed Bug-Ticket #1096: editing of files via modules/edit_module_files.php
+06 Jun-2011 Build 1454 Werner v.d.Decken(DarkViper)
+# in /framework/functions.php::media_filename - replace whitespaces by _
+# /upgrade-script.php - some small fixes
+02 Jun-2011 Build 1453 Dietmar Woellbrink (Luisehahne)
+# fix target in admin/media/browse.php 
+# http://www.websitebaker2.org/forum/index.php/topic,21688.msg145812.html#msg145812
+# Tks to the community
+02 Jun-2011 Build 1452 Dietmar Woellbrink (Luisehahne)
+! change status to RC6
+29 May-2011 Build 1451 Dietmar Woellbrink (Luisehahne)
+# replace eregi with pregmatch in search_modext (Tks to Thorn)
+22 May-2011 Build 1450 Werner v.d.Decken(DarkViper)
+# small fix at calling of moveCssToHead() in /index.php
+07 May-2011 Build 1449 Werner v.d.Decken(DarkViper)
+! cleanup some code in edit_module_files.php
+07 May-2011 Build 1448 Dietmar Woellbrink (Luisehahne)
+# secure fix edit_module_files.php
+# fix wb_wrapper_edit_area.php
+03 May-2011 Build 1447 Werner v.d.Decken(DarkViper)
+! syncronice version (no data changes)
+03 May-2011 Build 1446 Werner v.d.Decken(DarkViper)
+# fixed validation of username in users and signup
+27 Apr-2011 Build 1445 Dietmar Woellbrink (Luisehahne)
+# small validation fixes in backend themes
+22 Apr-2011 Build 1444 Dietmar Woellbrink (Luisehahne)
+# fix wrong url in captacha 
+19 Apr-2011 Build 1443 Dietmar Woellbrink (Luisehahne)
+! remove auto including YUI Framework in backend for modules, enable with ->print_footer(true)
+! ->print_error and ->print_success too accept a message as array
+! auto validate in frontend if style block inside body tag
+! captcha now XHTML valide
+15 Apr-2011 Build 1442 Dietmar Woellbrink (Luisehahne)
+# bug fixed in class.database.php methode field_add in call field_exists
+! update search, pls test, (Tks to Thorn)
+10 Apr-2011 Build 1441 Dietmar Woellbrink (Luisehahne)
+# recoded /modules/admin.php info_banner, now compare with modify in pages
+# security fixes remove defined WB_PATH for backend templates
+# fixed class.admin.php missing $TEXT declaration, add get_section_details
+26 Mar-2011 Build 1440 Dietmar Woellbrink (Luisehahne)
+# add missing methode is_group_match in class.wb.php 
+17 Mar-2011 Build 1439 Werner v.d.Decken(DarkViper)
+! syncronice version (no data changes)
+17 Mar-2011 Build 1438 Werner v.d.Decken(DarkViper)
+# little fixes for xhtml-validity in '/include/captcha/captcha.php'
+17 Mar-2011 Build 1437 Werner v.d.Decken(DarkViper)
+# little fixes for xhtml-validity module 'form'
+17 Mar-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
+! update jquery to Version 1.5.1 and jQuery UI to Version 1.8.10
+17 Mar-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
+# fix entities converting in select languages (Tks to the community)
+# see http://www.websitebaker2.org/forum/index.php/topic,20547.msg140512.html#msg140512
+13 Mar-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
+# fixed bug : Call to undefined method wb::preprocess() 
+14 Feb-2011 Build 1432 Dietmar Woellbrink (Luisehahne)
+# update NL language file (Tks to Argos)
+11 Feb-2011 Build 1431 Dietmar Woellbrink (Luisehahne)
++ add page position in get_page_details 
+11 Feb-2011 Build 1430 Dietmar Woellbrink (Luisehahne)
+# fix save settings dir and file mode (Tks to the community)
+09 Feb-2011 Build 1429 Dietmar Woellbrink (Luisehahne)
+# add forgotten javascript variable
+07 Feb-2011 Build 1428 Dietmar Woellbrink (Luisehahne)
+! update Argostheme to version 1.5 (Tks to Argos)
+! validation fixes
+! call edit_full_area on the fly
+04 Feb-2011 Build 1427 Dietmar Woellbrink (Luisehahne)
+! validation fixes in wb_theme
+04 Feb-2011 Build 1426 Dietmar Woellbrink (Luisehahne)
+! validation fixes
+04 Feb-2011 Build 1425 Dietmar Woellbrink (Luisehahne)
+! redefined wrong admin backlinks
+31 Jan-2011 Build 1424 Werner v.d.Decken(DarkViper)
+# typo fix and simplify used_octets calculation
+30 Jan-2011 Build 1423 Werner v.d.Decken(DarkViper)
+! add FINGERPRINT_WITH_IP_OCTETS to table settings
+30 Jan-2011 Build 1422 Dietmar Woellbrink (Luisehahne)
+! update SecureForm.php to work behind Proxies
+27 Jan-2011 Build 1421 Dietmar Woellbrink (Luisehahne)
+# fix Undefined index: WARN_PAGE_LEAVE
+26 Jan-2011 Build 1420 Dietmar Woellbrink (Luisehahne)
+# YGN Ethical Hacker Group (2.8.2 / 2.9.0)
+26 Jan-2011 Build 1419 Dietmar Woellbrink (Luisehahne)
+! update rel handling FCKeditor for urls
+25 Jan-2011 Build 1418 Dietmar Woellbrink (Luisehahne)
+# remove new function see http://www.websitebaker2.org/forum/index.php/topic,20268.msg139557.html#msg139557
+24 Jan-2011 Build 1417 Dietmar Woellbrink (Luisehahne)
+! add redirect timer description in settings.php
+24 Jan-2011 Build 1416 Dietmar Woellbrink (Luisehahne)
+# fixed unsafe sql queries
+24 Jan-2011 Build 1415 Werner v.d.Decken(DarkViper)
+# fixed unsafe sql queries
+23 Jan-2011 Build 1414 Dietmar Woellbrink (Luisehahne)
+# fix wrong error message in media
+! backend start warning if upgrade-script exists
+23 Jan-2011 Build 1413 Frank Heyne (FrankH)
+# Bugfix for Ticket 900
+23 Jan-2011 Build 1412 Werner v.d.Decken(DarkViper)
+# fixed wb::password_chars 
+23 Jan-2011 Build 1411 Frank Heyne (FrankH)
+# Bugfix for Tickets 965, 966 and 910
+23 Jan-2011 Build 1410 Frank Heyne (FrankH)
+# Bugfix for build 1409
+23 Jan-2011 Build 1409 Frank Heyne (FrankH)
++ Ticket 1058 added warn_page_leave (currently only in wysiwyg) 
+23 Jan-2011 Build 1408 Werner v.d.Decken(DarkViper)
+# small changes in sm2menu() [SM2_NO_TITLE + SM2_XHTML_STRICT]
+22 Jan-2011 Build 1407 Frank Heyne (FrankH)
+# various Security fixes, thanks to secunia and others 
+22 Jan-2011 Build 1406 Frank Heyne (FrankH)
+# Security fix to stop users from changing module contents without permission, thanks to Michael Schwarz 
+22 Jan-2011 Build 1405 Frank Heyne (FrankH)
+# Security fix (XSS) in form module, thanks to Michael Schwarz 
+22 Jan-2011 Build 1404 Dietmar Woellbrink (Luisehahne)
+# Security fix in pages 
+22 Jan-2011 Build 1403 Dietmar Woellbrink (Luisehahne)
+! small fix
+22 Jan-2011 Build 1402 Dietmar Woellbrink (Luisehahne)
+! secure peparing and beginning fix admin/pages
+21 Jan-2011 Build 1401 Frank Heyne (FrankH)
+! fixed changelog
+21 Jan-2011 Build 1400 Frank Heyne (FrankH)
+# Security fix in account 
+# Security fix in admin/media, thanks to hal 9000
+21 Jan-2011 Build 1399 Dietmar Woellbrink (Luisehahne)
+# Ticket 1090 fix wrong translation
+20 Jan-2011 Build 1398 Frank Heyne (FrankH)
+# Security fix in admin/admintools and admin/groups
+20 Jan-2011 Build 1397 Dietmar Woellbrink (Luisehahne)
+! recoded rediect timer in print_success (tks to Chio)
+19 Jan-2011 Build 1396 Werner von den Decken (DarkViper)
+! remove header redirect and add a die message 
+17 Jan-2011 Build 1395 Frank Heyne (FrankH)
+# Security fix in admin/addons
+16 Jan-2011 Build 1394 Dietmar Woellbrink (Luisehahne)
+! set construct to FRONTEND class.wb
+! set 2.8.2 to RC5
+16 Jan-2011 Build 1393 Frank Heyne (FrankH)
+# Bugfix in Security fix
+16 Jan-2011 Build 1392 Dietmar Woellbrink (Luisehahne)
+! update headerinfos, change secure messages
+16 Jan-2011 Build 1389-1391 Frank Heyne (FrankH)
+# Security fixes for modules captcha_control, code and droplets
+16 Jan-2011 Build 1388 Dietmar Woellbrink (Luisehahne)
+# more Security fix for admin/pages
+16 Jan-2011 Build 1387 Dietmar Woellbrink (Luisehahne)
+# fix class.wb
+16 Jan-2011 Build 1386 Dietmar Woellbrink (Luisehahne)
+! update headerinfos
+16 Jan-2011 Build 1385 Frank Heyne (FrankH)
+# Security fix to filter out droplets from user input in news and form modules
+16 Jan-2011 Build 1384 Dietmar Woellbrink (Luisehahne)
+! Security fix in admin/pages
+15 Jan-2011 Build 1383 Frank Heyne (FrankH)
+# Security fix for news module
+# Some more Security fixes, thanks to Gerben van Veenendaal
+14 Jan-2011 Build 1382 Dietmar Woellbrink (Luisehahne)
+# fix known error in drag and drop
+14 Jan-2011 Build 1381 Dietmar Woellbrink (Luisehahne)
+! update admin/modules unpack handling, overwrite newer files
+13 Jan-2011 Build 1380 Dietmar Woellbrink (Luisehahne)
++ output fixings, known error in jsadmin will be fix later
+13 Jan-2011 Build 1379 Werner von den Decken (DarkViper)
+# fix class.admin 
+13 Jan-2011 Build 1378 Werner von den Decken (DarkViper)
+! fixed inclusion of SecureForm
++ added IDNA/Punycode to  wb::validate_email()
+11 Jan-2011 Build 1377 Frank Heyne (FrankH)
+# Security fix for modules jsadmin, menu_link and output_filter
+11 Jan-2011 Build 1376 Frank Heyne (FrankH)
+# Security fix for WYSIWYG module 
+# Security fix for Wrapper module 
+10 Jan-2011 Build 1375 Frank Heyne (FrankH)
+# Security fix for Form module (new version is 2.8)
+# bugfix for delete_field in Form module
+10 Jan-2011 Build 1374 Dietmar Woellbrink (Luisehahne)
+# fixed headerinfos
+10 Jan-2011 Build 1373 Dietmar Woellbrink (Luisehahne)
+! update headerinfos
+10 Jan-2011 Build 1372 Dietmar Woellbrink (Luisehahne)
+# fixed class.wb.php to add class SecureForm
+09 Jan-2011 Build 1371 Dietmar Woellbrink (Luisehahne)
+# captcha patch (Tks to FrankH)
+! set status to 2.8.2 RC4
+09 Jan-2011 Build 1370 Dietmar Woellbrink (Luisehahne)
+! update install, changed some default settings to enabled
+06 Jan-2011 Build 1369 Dietmar Woellbrink (Luisehahne)
++ add jquery-include.js (Tks to Stefek)
+! update bind jquery in frontend, jquery-include.js and jquery-insert.js are included
+31 Dec-2010 Build 1368 Dietmar Woellbrink (Luisehahne)
+- delete class.secureform.php
++ add newest SecureForm 
+# fixed Call to a member function read() on a non-object in function register_frontend_modfiles
+29 Dec-2010 Build 1367 Dietmar Woellbrink (Luisehahne)
+# securtiy fix in class.login
+# see http://www.websitebaker2.org/forum/index.php/topic,20347.msg137554.html#msg137554
+29 Dec-2010 Build 1366 Dietmar Woellbrink (Luisehahne)
+# fixed showing system_default for search_template 
+29 Dec-2010 Build 1365 Dietmar Woellbrink (Luisehahne)
+! added some functions 
+! set status to 2.8.2 RC3
+29 Dec-2010 Build 1364 Dietmar Woellbrink (Luisehahne)
+! added function 'db_update_key_value()'
+29 Dec-2010 Build 1363 Dietmar Woellbrink (Luisehahne)
+# Ticket #1053, Ticket #941 show_breadcrumb
+29 Dec-2010 Build 1362 Dietmar Woellbrink (Luisehahne)
+! additional functions added in class.database
+28 Dec-2010 Build 1361 Dietmar Woellbrink (Luisehahne)
+! sync languages files with 2.9.0.dev
+! unzip addons now overwrite newer files
+28 Dec-2010 Build 1360 Dietmar Woellbrink (Luisehahne)
+! show_menu2 display Title-attribute fixed
+! tooltip added, change modul version to 4.9.5
+28 Dec-2010 Build 1359 Dietmar Woellbrink (Luisehahne)
+! upgrade FCKeditor to Version 2.6.6
+28 Dec-2010 Build 1358 Dietmar Woellbrink (Luisehahne)
+! validation fixes in pages backend theme
+27 Dec-2010 Build 1357 Frank Heyne (FrankH)
+# security fix: in path admin/pages/ - added FTAN check
+! had to enhance parameter for getFTAN() in framework/class.secureform.php 
+27 Dec-2010 Build 1356 Dietmar Woellbrink (Luisehahne)
+# more little fixes in settings
+! change to RC2
+27 Dec-2010 Build 1355 Frank Heyne (FrankH)
+# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-90/
+# security fix: in path admin/templates/ - added FTAN check
+# security fix: in path admin/settings/ - added FTAN check
+26 Dec-2010 Dietmar Woellbrink (Luisehahne)
++ added admin/images
+# fixed save handling settings entries
+! local sync
+26 Dec-2010 Build 1353 Frank Heyne (FrankH)
+# security fix: in modules/admin.php - check whether section belongs to page
+! security fix: changed $section_required into $no_section_required (apparently used by no module at all)
+# security fix: in path admin/users/ - added FTAN check
+# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-91/
+# security fix:           vulnerabilities mentioned in http://secunia.com/secunia_research/2010-92/
+# security fix: remaining vulnerabilities mentioned in http://secunia.com/secunia_research/2010-93/
+21 Dec-2010 Dietmar Woellbrink (Luisehahne)
+# fix if upgrade module can now overwrite existing newer files in modules folder
+# same for upgrade templates
+21 Dec-2010 Dietmar Woellbrink (Luisehahne)
+# XHTML output fixed in show_menu2
+20 Dec-2010 Dietmar Woellbrink (Luisehahne)
+# syntaxfix in initialize.php
+19 Dec-2010 Dietmar Woellbrink (Luisehahne)
++ add ini_set('display_errors', 1) (Tks to Thorn)
+! update headerinfos
+17 Dec-2010 Dietmar Woellbrink (Luisehahne)
+# fix save access rights in settings
+23 Nov-2010 Dietmar Woellbrink (Luisehahne)
+# fix Droplet LoginBox fronend_signup (tks to Maverik)
+# fix save user e-mail,
+12-May-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #999 wrong sql statement in admin/pages/index.php (Tks to Lucutus)
+12-May-2010 Dietmar Woellbrink (Luisehahne)
+-	remove unneeded flags in backend themes
+-	remove admin/images
+11-May-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #1004 Small typofixes needed in FR lang file (Tks to quinto)
++	Ticket #1005 add FR Language for the admin templates (Tks to quinto)
+06-May-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #998 fix German language file from mixture of du and Sie (Tks to Erpe)
+02-May-2010 Dietmar Woellbrink (Luisehahne)
+!	remove some unneeded code in backend themes templates
+!	see forum: JQuery und Backend-Theme
+02-May-2010 Dietmar Woellbrink (Luisehahne)
+!	add lang variable for new userform
+02-May-2010 Dietmar Woellbrink (Luisehahne)
+!	added IdKey to class secureForm
+30-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	changes Backend javascripts from body to head
+28-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	insert modulename in sections, even for missing module, you can style it with class selector: module_disabled
+27-Apr-2010 Dietmar Woellbrink (Luisehahne)
++	add an extra class class.secureform.php and extends it to class.wb.php
+!	check for installed modules before loading in content 
+27-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	remove forgotten debug line
+27-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Fixed update search settings
+#	Fixed bug in /modules/admin.php 
+22-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Fixed bug in /modules/admin.php 
+22-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	start recoding without style display:none	
+21-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #995 update jquery-ui.css and images (Tks to Ruebenwurzel)
++	add languages files for jquery datepicker (tks to Ralf)	
+!	Ticket #994 WYSIWYG editors sorted by name (tks to Aldus)
+20-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	update class.login.php (tks to Ruud)
+19-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	update class.login.php
+18-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	Validation fix in preference
+18-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	fixed directory_list
+17-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	litte fix to show GMT value in default view
+!	fixed file_list
+15-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	Update headerinfos admin/interface
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	changed e-mail notification for backend login
+!	styling in preference.htt in themes
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Typo fixes with german umlaute
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #985 With #1318 no login in backend possible
+#	Ticket #986 Typo inside the german language file 
+#	Ticket #982 Unnessesary heredoc causes on errors while installation!
+#	Ticket #926/Ticket #928 Mail Notification on new user registration
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #984 Removing outdated comment-block in class.login.php
+#	Ticket #983 Sorting order of modules and templates inside groups.php
+14-Apr-2010 Dietrich Roland Pehlke (Aldus)
+#	Ticket #982 - Wrong use of heredoc-syntax in some language-files (BG, CS and HR) breaks the installation-process.
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #974 Usability bug in /preferences
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #976 Using md5 also for the username inside class.login.php
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #977 Templates sorted in alphabetical order
+14-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #978 Add additional PHP 5.2 check to installation
+#	Ticket #979 False PHP 4 requirements in install
+#	Ticket #980 Usebility - Bug in the settings-interface
+#	Ticket #981 typos in backend-theme "argos" in file groups.htt
+11-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	fix ticket #975 some weird /pages/ header infos
+11-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	little fixes for backwards compatible PHP4, pls test
+11-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	show_menu2 remove unneeded code for WB < 2.7
+!	class.wb.php, recoding backend preference
++	add a language variable $MESSAGE['PREFERENCES']['INVALID_CHARS']
+!	update theme.css for preference.htt in argos_theme & wb_theme
+-	remove classic_theme
+07-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #971 Using $_POST in Admin - account - login.php (tks to Aldus)
+!	update class.wb.php added tokens function
+07-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #967 Typo in the mysql-query results in "not" upgrading the modul info ( tks to Aldus)
+01-Apr-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket 963 Minor XSS issue in admin login
+!	update jquery-ui-min.js from 1.7.2 to 1.8.0
+#	Fixed typo in the english language file
+26-Mar-2010 Dietmar Woellbrink (Luisehahne)
+!	update changelog
+26-Mar-2010 Dietmar Woellbrink (Luisehahne)
+-	remove deprecated backup modul
+19-Mar-2010 Dietmar Woellbrink (Luisehahne)
+!	rework admin/pages/save.php so that modules can use it
+!	fixed missing global install variable to work in modules
+17-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #957 Wrong status returned for visibility
+17-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #956 Useraccounts, now e-mail is required
+09-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	Fixed e-mail preg pattern, because issues with some php versions
+07-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	fixed search_modext.php ( Tks to Thorn )
+#	Ticket #953 is already fixed 
+#	Ticket #954 styles issues in theme.css ( Tks to Ruebenwurzel )
+07-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	Tickets #932 change deprecated eregi functions 
+#	Tickets #948 fixed Multiple use of same parametrised droplet - parameter handling
+!	Upgrade Droplets to Version 1.0.3
+!	update some headerinfos
+!	non existing pages will be created if clicking save in page settings
+07-Mar-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #950 missing classes in theme.css ( Tks to Ruebenwurzel )
+!	update jquery-min.js to version 1.4.2
+20-Feb-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #944 fixed double sections, with registered User
+20-Feb-2010 Dietmar Woellbrink (Luisehahne)
+#	fix corrupted changelog
+20-Feb-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #945 fixed reloads function 
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	update headerinfo in module droplets
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	Beginning with Ticket #901 
++	add siteadd.png to backend themes
+!	change icon add child page
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	update headerinfo
+!	change $search_pattern for check if Javascript mailto encryption is enabled
+!	module output_filter set to version 0.12
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	change show_menu2 to correct modul version 4.9
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	insert $wb->preprocess($output), preprocess no longer needed in modules
+!	little modifaction in upgrade-script.php in function check_wb_tables
+!	updated module wysiwyg, set to module version 2.8
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	recoded function extract_permission in /framework/functions.php
+!	change URL_HELP to http://www.websitebaker2.org/  in /framework/class.admin.php
+!	recoded function preprocess in /framework/class.frontend.php
+!	optimize function getVersion in /framework/addon.precheck.inc.php
+19-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	change constant EDIT_ONE_SECTION to default false	
+------------------------------------- 2.8.1 -------------------------------------
+08-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	missunderstanding back to old logo
+08-Feb-2010 Dietmar Woellbrink (Luisehahne)
+#	Droplet emailfilter fixed search mdcr.js
+!	some little fixes in upgrade-script
++	new WebsiteBaker Logo in themes
+05-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	Fixed wrong themes path in jquery_theme.js, that plugins works correctly
++	images icons to run base theme
+01-Feb-2010 Dietmar Woellbrink (Luisehahne)
+!	to hold content, install don't drop existing tables (code, form, menu_link, news, wrapper, wysiwyg) 
+!	otherwise do it with uninstall
+30-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #931 bug in admin/access/index.php
+30-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	continue update headertext
+!	fixed tpyo Website Baker to WebsiteBaker in main language files
+30-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	continue update headertext
+#	Ticket #930 disabled SyntaxHighlighter from default WB Installation
+!	change help url to www.websitebaker2.org
+29-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	continue update headertext
+28-Jan-2010 Dietmar Woellbrink (Luisehahne)
++	Ticket #927 news module language file in swedish
+!	update headertext
+28-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #925 Slovak Lang Missing in allowed install languages!
+28-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update headertext
+28-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update jquery 1.4.0 to 1.4.1, 
+-	removed include/jquery/plugins
+!	update backend themes
+#24-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #923 argos_theme: Always Allowed Viewers in page_settings
+#	fixed css for pagetree to show in IE7
+24-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #921 fix issues in IE by using EditArea framework
+23-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #921 Update EditArea framework
+!	fix stylings wb_them
+!	fix upgradescript
+23-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update jquery to version 1.4, rename old one to jquery-min132.js
+#	fixed argos theme  
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	continue update header info
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	set svn keywords
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #869 Droplet-Engine does'nt work in some case
+!	continue update header info
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update header info
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update fckeditor, forgotten to upload a file
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #917 Update backend themes 
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #909 WYSIWYG Editor width destroyes backend layout
+!	Set EDITOR_WIDTH to 0, This way backend theme developper 
+!	can style the WYSIWYG Editor according to their themes.  
+22-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #916 Update backend theme footer
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	updated YUI 2.4.1 to 2.8.0r4
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Beginning header information update
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix login_form.php sometimes produce javascript errors in IE
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix more small css-errors in WB Backend (thanks to Ruebenwurzel)
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update header info
+!	change unknown user to guest in all languages
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update info.php fckeditor
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix wrong settings in image browser dialog
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #912 fix Search Template bug
+21-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #915 fix bug in search (utf-8 characters corrupted)(thanks to Thorn)
+19-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix some more small css-errors in WB Backend (thanks to Ruebenwurzel)
+19-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	removed wb_path as javascript var (thanks to Bianca)
+19-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix some more small css-errors in WB Backend (thanks to Ruebenwurzel)
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fixed snippets including frontend.css and frontend.js 
+#	without register_frontend_modfiles
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
++	Ticket #877 add slovak lang in Captcha and Advanced-Spam-Protection
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	update header
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 5. continue to fix CSS-errors in WB backend
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 4. continue to fix CSS-errors in WB backend
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 3. continue to fix CSS-errors in WB backend
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 2. continue to fix CSS-errors in WB backend
+14-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 1. continue to fix CSS-errors in WB backend
+13-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #911 Beginning to fix More CSS-errors in WB backend
++	add SVN- Revision to backend theme
+12-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #906 Search Template bug
+!	update editor min width, dragableresize table
+12-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #907 js files in backend themes are stored at wrong places
++	add include/jquery/plugins/toggle_zip.js
+-	removed toggle_zip.js in backend themes
+12-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	fix open_basedir restriction in effect in save_post.php
+11-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	fix load_module, load_language (tks to Webbird)
+11-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #904 fix if templatename is equal language
+11-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #905 fix search.php 'registered' hardcoded
+10-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	Ticket #903 fix CSS-errors in WB backend
+!	add title class in show_breadcrumbs, now full css styling
+05-Jan-2010 Dietmar Woellbrink (Luisehahne)
+!	recoded function show_breadcrumbs
+30-Dec-2009 Dietmar Woellbrink (Luisehahne)
+#	fix Warning: stristr() [function.stristr]
+29-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	set revision constant to release version
+29-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	update release version
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+#	fix show date if only short content
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	check if load only one wysiwyg instance
+!	check update svn revision
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+#	fix syntax error
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	update header, check that all tables in WB package are installed 
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	update header, change variable
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	update header
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	update header
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	validate code
+28-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	change page_title to menu_title in dropdown list
+!	validate code
+23-Dec-2009 Dietmar Woellbrink (Luisehahne)
+!	check if revision $id will be updated
+21-Dec-2009 Moritz Stapelfeldt
+#	Ticket #896: Bugfix in framework/functions.php > added test is_dir to function rm_full_dir
+16-Dec-2009 Ruud Eisinga
+#	Ticket #894: Bugfixes in newsmodule > rss.php
+16-DEC-2009 Manuel Lang (MaGnaL)
+#	Minor bugfixes: Use localized messages in preference forms on frontend and backend,
+	correct html/php syntax in upgrade-script.php and NL localization of show_menu2 snippet  
+14-DEC-2009 Manuel lang (MaGnaL)
+#	Ticket #832: Fix wrong configuration of timezone-handling when saving
+	preferences-form on backend and frontend 
+12-DEC-2009 Manuel Lang (MaGnaL)
+#	Ticket #827: Fix false form-parameter when javascript is deactivated
+	on users and groups temps (admintool).
+12-DEC-2009 Manuel Lang	(MaGnaL)
+#	Bugfix of rev. 1211 search_modext.php (ticket #863): Use isset and
+	given unknown-user instead of counting all users. 
+12-Dez-2009 Dietrich Roland Pehlke (Aldus)
+#	Bugfix inside "search_modext.php" to avoid warings if the search found
+	a page last modified by a user witch has been deleted. (ticket #863)
+03-Dez-2009 Dietmar Woellbrink (Luisehahne)
+!	Ticket #890 fixed visability proprty uses non valid value 'none' 
+03-Dez-2009 Dietmar Woellbrink (Luisehahne)
+!	change searchstring mdcr.js, workout crypt emails in output_filter/filter-routines.php
+!	comment out ob_end_flush line 259 in form/view.php
+02-Dez-2009 Dietmar Woellbrink (Luisehahne)
+!	next step to validate backend themes
+01-Dez-2009 Dietmar Woellbrink (Luisehahne)
+!	add Revision IDs to added files - Thanks to Ruebenwurzel
+01-Dez-2009 Dietmar Woellbrink (Luisehahne)
+!	updated pclzip class
+29-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	update module info.php (thanks to Waldschwein)
+29-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	added missing swobject plugin in FCKeditor
+!	bug fixed in flvplayer
+29-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	stop working plugin flvplayer in FCKeditor until fixed
+29-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fixed an undefined index in settings.php
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Update FCKeditor Version 2.6.5 to Modulversion 2.9.3
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	updated theme.css in wb_theme
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Ticket #886 fix validation email, check tld between 2-4 letters
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Ticket #874 add slovak lang in install
+    and validate output
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Ticket #880 fixes language file SK.php
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Ticket #828 fix deprecated eregi
+27-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fixes language file SK.php
+27-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fixed parse error ticket #878 
+26-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	found and fix some deprecated functions
+26-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	validate some output files
+26-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fix some PHP 5.3 deprecated functions 
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Fix to load edit_full_area only if needed
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	change page_title to menu_title for parent dropdown list in index.php and sections.php
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	more bug fixes language file SK.php
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Many hosts disable error_log() in various and sundry ways. 
+	In WB we do something like this to avoid triggering warnings and errors. 
+	Even this is sometimes not sufficient to avoid problems with some hosts, but accommodates most.
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fix show_menu2 include.php, page crashes, if php error_log is disabled
+25-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fixes language files HU.php and SK.php
+24-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	fixed php 5.3 depricated function in show_menu2
+24-Nov-2009 Dietmar Woellbrink (Luisehahne)
++ 	add two constants in /framework/initialize.php for later feature in database settings
++	define('EDIT_ONE_SECTION', true) to edit only one section with editor in manage sections
+	modify page will be loading all sections with editor
++	define('EDITOR_WIDTH', 900) set min width for editor
++	adding more information in editor header 1) block 2) module 3) section_id
+24-Nov-2009 Dietmar Woellbrink (Luisehahne)
++	add register_frontend_modfiles('jquery'); adds jquery basis scripts in head
++	add register_frontend_modfiles_body('jquery'); adds jquery basis scripts before body end
++	add jquery_theme.js to choose a ui theme, basis is loaded, can be change 
+24-Nov-2009 Dietmar Woellbrink (Luisehahne)
++	add a child page is cumbersome when the parent dropdown list gets to be too large. (Ticket #821)
+24-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	validate captcha control
+13-Oct-2009 Ruud Eisinga
+#	fixed breaking droplets by highlighting search-words in search result pages.
+13-Oct-2009 Dietmar Woellbrink (Luisehahne)
++	added forgotten jquery-fancybox.js Version 1.0
+13-Oct-2009 Dietrich Roland Pehlke (Aldus)
+#	Fixed typo in the finnish language file (ticket #814).
+12-Oct-2009 Dietmar Woellbrink
+!	security update FCKeditor (tks to Ruebenwurzel)
+12-Oct-2009 Dietmar Woellbrink
++	added old version of fancybox.js
+!	rename new version fancybox 
++	added missing language variables in newsmodul
+12-Oct-2009 Dietmar Woellbrink
+#	fixes Bugs headersend errors in some core files
+12-Oct-2009 Dietmar Woellbrink
+!	update function show_bread_crumb in framework/frontend.functions.php
+!	replace separator with entities char, add title for multilingual
+!	set breakcrumb in div container class="breadcrumb"
+!	set separator in span tag class="separator"
+12-Oct-2009 Dietmar Woellbrink
+!	update jquery fancybox from 1.0 to 1.2.1 
++	fancybox imagefolder incl. fancybox.css
+12-Oct-2009 Dietmar Woellbrink
+!	shows more details in wysiwyg editor
+10-Oct-2009 Dietmar Woellbrink
+!	small update upgrade.php to reset newsfiles to created dates
+10-Oct-2009 Dietmar Woellbrink
+!	Update FCKeditor to Version 2.6.5 Modulversion 2.9.1
+09-Oct-2009 Dietmar Woellbrink
+!	Update FCKeditor to Version 2.6.5 Modulversion 2.9.1
+09-Oct-2009 Dietmar Woellbrink
++	upgrade.php to reset newsfiles to created dates
+09-Oct-2009 Dietmar Woellbrink
+#	Ticket #770, #785, #792, #807, #809, 
+#	fixes and recoded news module
+09-Oct-2009 Dietmar Woellbrink
+#	Ticket #815 Fix Warning: open_basedir restriction in effect. File is in wrong directory in load_module
+#	same fix to load_template
+07-Oct-2009 Dietrich Roland Pehlke
+#	Missing contiue inside search.php to avoid access to an non-object if the query fails. (ticket #793). Thanks to Thorn.
+06-Oct-2009 Dietmar Woellbrink
+#	Security fix - wrong placed "exit()" inside class.wb.
+22-Sep-2009 Dietmar Woellbrink
+#   Fixed: Pagetree changed menu titles instead of page titles (ticket #805) thanks to Ralf (Berlin)
+21-Sep-2009 Dietrrich Roland Pehlke
+!	Dutch tranlation(-s) for the captcha-control. [Ticket: #777] (Thanks to Argos)
+#	Missing code inside "framework/addon.precheck.php" (ticket #798).
+#	Changes inside "upgrade-script" to avoid "mysql_list_tables is deprecated" warnings (ticket #800).
+#	Add "global $admin" to the install.php of the droplets-module to avoid (variable isn't declared) warnings. (ticket #800).
+18-Sep-2009 Dietmar Woellbrink
+#   french translation updated for WB 2.8 (tks to Ploc)
+16-Sep-2009 Dietmar Woellbrink
+#	Fixed bug changed URL_HELP in class.admin.php to http://help.websitebaker.org/ (ticket #801).
+#	Fixed bug: inside the FCK-Editor wbmodul: missing 'OK' button when inserting WB link with Safari/Chrome (ticket #795).
+#	Fixed bug changed png fix and path to jquery-pngFix.js inside footer.htt for backend themes (ticket #786).
+#	Fixed bug: inside the FCK-Editor include.php: add $oFCKeditor->Width  = $width; (ticket #799).
+15-Sep-2009 Dietrich Roland Pehlke
+#	Fixed bug: group-restrictions and sections (ticket #791).
+#	Fixed bug inside the FCK-Editor wbmodul: displaying the correct page-tree by
+	adding "order by position"
+25-Aug-2009 Dietrich Roland Pehlke
+#	Fixed bug in upgrate-script. Constant 'DEFAULT_THEME' doesn't exists (ticket #784).
+25-Aug-2009 Ruud Eisinga
+#	Fixed bug in droplets. Multiple droplets with the same parameter did not extract the new parameter.
+	(problem introduced by code optimisations for WB2.8) 
+#	Fixed usage of the depriciated (PHP 5.3.0) split() function in class.wb. (ticket #772)
+#	Fixed notice ob_end_clean..failed to delete buffer. (ticket #779)
+22-Aug-2009 Ruud Eisinga
+# 	Changed the default searchform name in the installer. (ticket #775)
+#	Fixed the recursive redirect problem when a page is called with a wrong language parm (ticket #780)
+------------------------------------- 2.8.0 -------------------------------------
+14-Aug-2009 Matthias Gallas
+#	Fixed typo in dutch language file (Thanks to Argos)
+#	Changed FCKEditor to not show index.php files in browse media window (ticket #774)
+	(Thanks to BerndJM)
+12-Aug-2009 Matthias Gallas
+#	Fixed some display issues in all backend themes
+!	Again updated dutch language file (Thanks to Argos)
+#	Fixed missing language variable in form modul (Thanks to Argos)
++	Added missing images to argos_theme (forgotten in changeset [1117])
+11-Aug-2009 Matthias Gallas
+!	commentet out the droplets logo for a more similar backend design with
+	other admin tools
+!	Updated icons in argos_theme (Thanks to Argos)
+!	Updated Dutch language file (Thanks to Argos)
+!	Updated show_menu2 to version 4.9
+9-Aug-2009 Matthias Gallas
+#	Replaced function mime_content_type as the old one causes shell_exec warnings
+	on some servers (Thanks to Aldus)
+!	updated argos_theme to version 1.4 (Thanks to Argos)
+!	some code cleaning of admin/pages/sections.php
+#	Fixed possible xss injection in login/forgot/index.php
+#	Fixed bug in news modul introduced in changeset [1057]
+#	Added missing variables also to preferences.php. Forgot in Changeset [1112]
+8-Aug-2009 Matthias Gallas
+#	Added some missing variables to backend_themes (Thanks to Stefek)
+6-Aug-2009 Matthias Gallas
+!	Set Version to 2.8
+!	Updated upgrade_script to make use of the changed news settings
++	Added to show_menu2 the aOption 'SM2_HIDEPAGES'. If set all hidden pages are
+	hidden again (Thanks to DarkViper)
+#	Fixed again some bugs in news modul (ticket #756) (Thanks to Aldus and Luisehahne)
+#	Fixed bug that frontend.js, frontend.css and frontend_body.js are not used
+	from snippets (ticket #764) (Thanks to Luisehahne)
++	Added new function 'register_frontend_modfiles_body' to default templates
++	Added option to use a frontend_body.js in modules to include javascript from modules
+	in the body of the frontend (Thanks to Luisehahne)
+!	Updated Danish language Files (Thanks to Achrist)
+#	Fixed some display issues in argos_theme (Thanks to Argos)
+30-July-2009 Ruud Eisinga (Ruud)
+#	Fixed a bug in the /admin/media resizer parameters for dirs with whitespaces (thnx to tiesy)
+#	Fixed a bug in FCKeditor include.php. Now the editor can be used from other 
+	subdirectories than WB_PATH/modules/mymodule
+29-July 2009 Dietrich Roland Pehlke (Aldus)
+#	changes in framework/class.wb.php to avoid the "print->footer()" bug in the frontend,
+	as this function/method doesn't exists for the frontend.
+#	Changes inside index.php and save.php in settings to get rid of the situation
+	that a SMTP-Password could not contain an "<" char (right chars are craped),
+	and also "<" is not transformed into an entitie "&lt;". (Thanks to FrankH)
+#	Modify of "addon.precheck.inc.php" to get rid of the problematic that version_compare
+	could faild if words like "alpha", "beta" are inside a version-string. (missing in changelog 1100)
+28-July 2009 Matthias Gallas
+#	fixed some smaller issues in rss.php (Thanks to Kibmcz)
+27-July 2009 Matthias Gallas
++	Added German language file to droplets
++	Added modul_description to language files of droplets
++	Added Danish language files to modules (Thanks to Achrist)
+!	Updated Danish language file (Thanks to Achrist)
+#	Fixed improper spelling in language files (#754)
+#	Fixed bug introduced in changeset [1092]
+25-July 2009 Matthias Gallas
+#	fixed some language bugs in search.php (Thanks to Thorn)
+23-July 2009 Matthias Gallas
+#	fixed bug with missing filetype icon in media section of classic_theme (ticket #752)
+#	fixed bug with page not showing if 2 sections active (ticket #751) (Thanks to Pumpi)
+#	readded to phplib/template.inc $clear: whether to delete undefined vars or not
+	was already added in WB 2.7 but was deleted for unknown reasons (Thanks to FrankH)
+22-July 2009 Matthias Gallas
+!	set Version to RC2
+!	small modification on german language file (ticket #746)
+#	Fixed E_ALL&E_STRICT warning on PHP5 servers (Thanks to Aldus) 
+#	Fixed bug with home folders are viewable and writable from other users
+	(ticket #605 and #748) (Thanks to Aldus)
+20-July 2009 Matthias Gallas
+!	Moved backend.js back from <body> to <head>
++	Added possibility to add a backend_body.js to modules wich is then called in <body>
++	Readded admin/images folder to keep backward compatibility to old modules
+19-July 2009 Matthias Gallas
+#	Fixed display issue of jsadmin in backend themes (Thanks to Argos)
+18-July 2009 Matthias Gallas
+!	Updated german laguage file in argos_theme
++	Added multilnaguage support to media section of argos_theme (Thanks to Argos)
+#	Fixed smaller display issue in argos_theme (Thanks to Argos)
++	Added more meta tags to backend themes
+!	Updated Argos_theme (Thanks to Argos and Luisehahne)
+#	Again added some &amp; to news and form to get more valid output (Thanks to Luisehahne)
+#	Fixed wrong set </form> tag to get valid output (Thanks to Luisehahne)
+!	Replaced in some alt tags hardcoded signs with language variables (Thanks to argos)
+!	Updated Dutch language File (Thanks to argos)
+!	Updated French language File (Thanks to mylesk42)
+16-July 2009 Matthias Gallas
+#	Fixed E_ALL notice in news/view.php
+!	replaced in form and news delimiter "&amp;" with "&"
+	was introduced with changeset [1069] but didn't work on all servers
+#	Removed double </form> tags in pages/intro.php and wysiwyg/modify.php
+!	replaced all remaining mktime() with time(), except from third party scripts
+15-July 2009 Matthias Gallas
+!	changed in modules/admin.php and admin/pages/add.php mktime() to time()
+!	changed in wrapper modul modify.html to modify.htt
+#	Fixed some validiation bugs in core and different modules (Thanks to luisehahne)
+#	fixed display issue of jscalendar in news modul (Thanks to Aldus)
+!	changed modules/admin.php to also make use of backend theme templates
+!	changed in class_login.php mktime() to time()
+14-July 2009 Matthias Gallas
+#	Fixed bug with sections are only editable in new backend-themes if blocks are enabled
+	(Thanks to Luisehahne)
+#	Fixed some validiation bugs in news modul (ticket #742) (Thanks to Luisehahne)
+14-July 2009 Dietrich Roland Pehlke
+!	changes in frontend.functions.php, line 323: 'date' to 'gmdate' to avoid E_STRICT warnings.
+!	changes in wb-setup.php, line 50: 'date' to 'gmdate' to avoid E_STRICT warnings. See also #741.
+13-July 2009 Matthias Gallas
++	added changes from news/add.php to the upgrade-script.php
+13-July-2009 Ruud Eisinga
+#	admin / media / browse reported an error in E_STRICT mode.
+13-July 2009 Dietrich Roland Pehlke
+!	Change inside "date_formats.php" and "time_formats.php" mktime() within time()
+	to avoid warnings and strict messages. See #741. Minor cosmetic changes.
+#	News-Modul: add the unlink-routine for the ".news" folder inside uninstall.php
+	so the groupe-images are also unlink.
+!	News-Modul: add <tr><td> and </td></tr>-tags to the "none found" part in the view.php to 
+	get valid output inside a table.
+!	Change the setting of $display_image and $display_groupe to avoid the 
+	empty display roule problematic (<tr style="display: ">) for valid output.
+!	Add &gt;&gt; in "add.php" instead of >> to avoid invalid output.
+11-July-2009 Ruud Eisinga
+!	The news module post_title link made unclickable when there is no full post.
+11-July-2009 Matthias Gallas
++	Added changed news settings to upgrade-script
+09-July-2009 Ruud Eisinga
+!	Added a better option to hide the READ_MORE link in the news module. (ticket #739)
+09-July-2009 Matthias Gallas
+#	Fixed bug that backend.js is not loaded in backend themes (ticket #740)
+#	Fixed wrong path to unitpngfix.js and added missing script
+#	Fixed invalid output of page_sections Page in Backend (Thanks to Luisehahne)
+08-July-2009 Matthias Gallas
++	Added PageID and SectionID to all backend themes (Thanks to Luiseshahne)
+#	Fixed some display issues in all backend themes (Thanks to Luisehahne)
+!	Replaced wbmodules.gif in FCKEditor Plugins (Thanks to Stefek)
+08-July-2009 Dietrich Roland Pehlke
+!	Removed unused marker {USERS} inside the "groups.htt" of the wb-theme.
+!	admin -> users -> index.php
+!	admin -> groups -> index.php
+	Codechanges using blocks to avoid to generate the "switch"-link right-top,
+	if the user has no permission to edit the other one.
+!	wb_theme|classic_theme|argos_theme -> templates -> users.htt
+!	wb_theme|classic_theme|argos_theme -> templates -> groups.htt
+ 	Add block-comments
+!	admin -> addons -> index.php	codechanges
+!	admin -> access -> index.php	codechanges
+	Codechanges to get rid of the empty display(style) declaration "style='display: ;'",
+	and to avoid to generate (hidden) elements if the user isn't alowed to edit one.
+!	wb_theme|classic_theme|argos_theme -> templates -> addons.htt
+!	wb_theme|classic_theme|argos_theme -> templates -> access.htt
+	add block-comments
+#	Bugfix inside wb/admin/groups/get_permissions.php - replacing wrong "AND" within "OR" in line 64
+	if one checkbox of "user" or "group" is selected (like in line 178; advanced settings).
+07-July-2009 Matthias Gallas
+#	Fixed some minor bugs in argos_theme (Thanks to Argos)
+#	Fixed bugs in admin additons for argos_theme (Thanks to Argos)
+!	Updated Version Number in upgrade_script to 2.8RC1
+!	Updated FCKEditor Modul Version Number to 2.89
++	added in FCKEditor Advisory Relation to Links (thanks to Luisehahne)
+06-July-2009 Matthias Gallas
+!	Updated FCKEditor to Version 2.6.4.1 (ticket #738) (Thanks to doc)
+#	Fixed Backend-Themes to get more valide output (Thanks to Luisehahne)
++	Added argos_theme
++	Added new functions to admin dir (Thanks Argos and Ruud)
+!	Updated install and upgrade-script
+!	Adapted wb_theme and classic_theme to changed admin dir files
+04-July-2009 Dietrich Roland Pehlke
+!	FCK-Editor Modul: Droplet Select: change "page_list_block" to "droplets_list_block",
+	also "cmbPages" to "cmbDroplets" as we are listen droplets not pages.
+!	Remove unneeded empty lines and spaces/blanks;
+	minor cosmetic changes in the source to keep the string more readable.
+04-July-2009 Matthias Gallas
+!	Replaced droplet icon for FCKEditor Toolbar (thanks to Stefek)
+#	Fixed two bugs in droplets-plugin for FCKEditor (thanks to Aldus)
+!	Changed Template from FCKEditor plugin WBModules to .htt
++	Added Droplets plugin to FCKEditor (ticket #737) (Big Thanks to vizmotion)
+03-July-2009 Matthias Gallas
++	Fixed IE Bug in Wrapper modul (ticket #736)
+03-July-2009 Ruud Eisinga
+#	Fixed the wrong handling of htmlentities in Droplet parameter parsing
+02-July-2009 Matthias Gallas
++	Added missing fancy_progress.png
+01-July-2009 Matthias Gallas
+#	Fixed backend display issues in IE6 and IE7
+!	Set Version to WB2.8RC1
+!	Minor tweaks in pages_sections.htt
++	Added posibility to upload and unzip .zip packages to media section
+	(Thanks to BerndJM)
+!	Updated Browse Media Window in wb_theme now supports file icons, more file
+	informations and a new preview function (Thanks to BerndJM)
+29-June-2009 Matthias Gallas
+#	Replaced in FCKEdiotor folder all index.html with index.php (ticket #691)
+!	Update PHPMailer to version 2.0.4 (ticket #733)
+!	Update Editarea to version 0.8.1.1 (ticket #732)
+!	Update JQuery UI to version 1.7.2 (ticket #731)
+27-June-2009 Ruud Eisinga
+#	Fixed email encryption bug in output filter. Introduced by adding droplets.
+	(Thanks to Luisehahne)
+25-June-2009 Matthias Gallas
++	Added missing admin/settings/setting.js
+!	Changed name of classic theme from "classic" to "classic_theme"
++	Added output-filter warning to all language files
+#	Fixed admintool jsadmin to get XHTML valid output (Thanks to Luisehahne)
+#	Major fixes on backend to get XHTML valid output (Thanks to Luisehahne)
++	Added option to use also MYSQL_ASSOC and MYSQL_NUM with mysql_fetch_array
+	(Thanks to Luisehahne)
+#	Bugfix for Error-Level settings (Thanks to Luisehahne)
+23-June-2009 Matthias Gallas
+#	Moved styles from admin/pages/sections.php to sections.htt in backend themes
+	(Thanks to Luisehahne)
+!	Moved javascript files from admin/pages/index.php to external js files
+	(Thanks to Luisehahne)
+#	Major improovements and changes to all backend files to get more valide Code
+	output (Thanks to Luisehahne)
+22-June-2009 Matthias Gallas
+#	fixed wrong position id when adding a new page
+-	removed obsolete code/modify.html
+22-June-2009 Dietrich Roland Pehlke
+#	Changes on module "code": add the section_id to the name of the textarea,
+	to keep the functionality if you are using more than one code-section on a page.
+!	Moving the html-template inside a "htt" folder and rename the suffix to ".htt" to
+	keep it consitant to other modules. Minor cosmetic changes inside the code.
+22-June-2009 Ruud Eisinga
+#	Fixed a bug in Menu_link module that made childpages of the menu_link page 
+	not selectable. (thnx to Luisehahne)
+21-June-2009 Matthias Gallas
+#	Fixed small bug introduced in changeset [999]
+19-June-2009 Matthias Gallas
+#	Fixed bug that parent pages didn't inherit language settings to kind pages
+17-June-2009 Ruud Eisinga
+#	Bugfix in "droplets/upgrade.php" - wrong parameter order for adding fields.
+	also the query for "normal" upgrades had a typo.
+!	Added warning in output_filter that the function will be removed in 2.9
+17-June-2009 Dietrich Roland Pehlke
+#	Bugfix in "droplets/upgrade.php" - wrong tablename change to the correct one
++	Add upgrade-script to droplets
+!	Changes on upgrade-script to avoid droping droplet-modul-tables if the exists.
+!	calling "upgrate.php" or "install.php" instead of hard-coded lines to avoid
+	future conflicts by upgrading the modul
+15-June-2009 Matthias Gallas
++	Added install routine for droplets to the upgrade script
+#	Fixed bug in menu_link modul with wrong displayed pages tree (Thanks to thorn)
+#	Fixed small bug introduced in changeset [989]
++	Added missing id tags and copyright notices to droplets modul
+15-June-2009 Dietrich Roland Pehlke (aldus)
+#	Bugfix for ticket #725
++	Add "$wb->strip_slashes" again for backslashes are displayed in the output (view.php).
++	Add Droplets (Ruud)
++	modifications inside frontend.functions.php for backwart compatiblity (Ruud)
++	modifications inside the search to get the droplets seachable (Ruud)
+14-June-2009 Dietrich Roland Pehlke (aldus)
+#	Bugfixes for (ticket #728)
++	Add additional constant to "install/save.php" to avoid conflikts during
+	installation inside "/framework/initialize.php".
++	Add condition inside "/framework/initialize.php" to avoid conflikts
+	during installation; table "mod_captcha_control" doesn't exsits at runtime.
++	Add test for tables inside "install/save.php" if the user uncheck "install table" option.
++	Additional Errormessage if nessesary tables are not found (english).
+13-June-2009 Matthias Gallas
++	Added jQuery-insert.js and jQuery plugins (Thanks to Luisehahne)
+!	Moved images in lQuery plugins folder (Thanks to Luisehahne)
+#	fixed small german language issue in jscalendar (Thanks to Luisehahne)
+26-May-2009 Matthias Gallas
++	Added jQuery(1.3.2) and jQueryUI(1.7.1) to WB core (ticket #708)
+21-May-2009 Matthias Gallas
+#	Fixed some strange backend layout issues (ticket #722)
+09-May-2009 Matthias Gallas
++	Added index.php to all WB-Theme folders to prevent directory spoofing
+06-May-2009 Matthias Gallas
+!	Updated Norsk language File (Thanks to oeh)
+#	Fixed bug with not always included stylesheets in backend (ticket #717)
+27-Apr-2009 Matthias Gallas
+#	Fixed bug with missing option for admin-tools in advanced view of access
+	settings (ticket #714)
+#	Fixed bug with backup fails if a user has only permissions to admin-tools (ticket #715)
+#	Fixed bug with missing template object in groups and user settings(ticket #716)
+25-Apr-2009 Matthias Gallas
+!	Updated Dutch language files for modules (Thanks to LuckyLuke)
+23-Apr-2009 Matthias Gallas
+#	Fixed bug with dropdownlist in pages settings (ticket #713)
+20-Apr-2009 Matthias Gallas
+!	Update show_menu2 to version 4.8 (ticket #712)
+#	Fixed small error in Spain language file (ticket #711)
+18-Apr-2009 Matthias Gallas
+!	Updated Dutch language file (Thanks to Luckyluke)
+17-Apr-2009 Matthias Gallas
+#	Fixed MenuLink timeout with many large wysiwyg-pages (ticket #710)
+!	Updated again Norsk language File (Thanks to oeh)
+!	Updated Dutch language file (Thanks to Luckyluke)
+13-Apr-2009 Matthias Gallas
+#	Fixed minor dispay issue in upgrade script
+!	Updated Norsk language File (Thanks to oeh)
+!	Updated French language files (Thanks to Quinto and VotreEspace)
+!	Updated Danish language file (Thanks to Achrist)
+12-Apr-2009 Matthias Gallas
+#	Fixed not defined language variable in account/email.php (Thanks to BlackTiger)
+#	Fixed Typo in group_form.htt (ticket #705)
+01-Mar-2009 Christian Sommer
+!	Added disclaimer to upgrade-script.php	
+28-Feb-2009 Christian Sommer
+#	Removed hardcoded admin path from JSAdmin module (jsadmin/js/dragdrop.js)
+25-Feb-2009 Matthias Gallas
++	Added language support for template_description (affects templates and themes)
+#	fixed wrong path to images in news and form modul
+#	fixed manage section is showed twice (ticket #694)
+-	removed unneeded icons from wb_theme
+-	removed unneeded stylesheet.css from account dir
+#	renamed warning.htt to warning.html to fix display of sourcecode after invalid logins
++	added fixed error.htt also to classic theme
++	corrected info.php of news-modul
+24-Feb-2009 Dietrich Roland Pehlke
+!	Changes in warning.htt templates to get valid XHTL1.1 output - replace the center-tag with div
+#	add "AND section_id='$section_id'" to the delete-query to avoid conflicts if there are more
+	than one Form on one single page.
+#	Modify error.htt template in wb_theme for valid XHTML1.1 output - replace the center-tag with a div
+	and replace the br-tag with valid p-tags.
+22-Feb-2009 Matthias Gallas
++	added skinable Admin Interface
+21-Feb-2009 Christian Sommer
++	added update of search table missing in Changeset 941
+#	fixed wrong index in language array
+!	removed some comment lines (changes are tracked by SVN)
+20-Feb-2009 Dietrich Roland Pehlke (aldus)
+!	add additional tr and td tags to the text_no_results message to get valid XHMTL output
+19-Feb-2009 Christian Sommer
+!	addon overview to show advanced options after redirect from reload.php
+#	fixed bug if language folder contains none language files (XX.php) or sub folders
++	added option to invoke module upgrade.php/uninstall.php files from backend (for modules uploaded via FTP)
+18-Feb-2009 Dietrich Roland Pehlke (aldus)
+#	fixed: typos in the section_id inside the action-link 
+!	Remove test_trash and unused variables in query, added suggetions from #588
+#	Bugfix for form bug (ticket #688)
+17-Feb-2009 Christian Sommer
++	added option to invoke module install.php from backend (for modules uploaded via FTP)
+!	admin Add-on settings no hidden by default (can be set visible via advanced link)
+16-Feb-2009 Christian Sommer
+!	moved reload option of Add-ons to main Add-on section
+!	reworked logout to reset possible remember key in database when logging out
+15-Feb-2009 Christian Sommer
+#	fixed bug with smart login option (remember me) (ticket #689)
+#	special chars like &nbsp; are shown when editing Add-on CSS files (ticket #678)
+!	redirect time for function print_success can now be defined in Settings (ticket #603)
+-	removed reload admin tool
++	added possibility to reload Add-ons via the Add-on section
+14-Feb-2009 Christian Sommer
+!	added option to display current user name in backend template
+#	fixed wrong redirect path and added SVN Id
+13-Feb-2009 Christian Sommer
++	added option to perform pre-installation checks to test requirements of Add-Ons
+#	added error messages to installation process for Add-Ons with wrong file type
+08-Feb-2009 Christian Sommer
+#	fixed warning if database connection failed during installation process
+06-Feb-2009 Christian Sommer
+!	fixed some typos in German language file (thanks to freeSbee)
+!	added new captcha fonts and replaced old background images with the ones created by thorn
+05-Feb-2009 Christian Sommer
+!	mail text for register, signup and forgot mail now taken from WB language file (ticket #684)
+02-Feb-2009 Christian Sommer
+#	removed PHPMailer fix introduced with 2.0.3 to get SMTP working again (line 1041 in class.smtp.php)
+02-Feb-2009 Matthias Gallas
+#	Fixed bug wich causes that install of captcha-control may fail (ticket #682 thanks to thorn)
+01-Feb-2009 Matthias Gallas
+!	Update FCKEditor to version 2.6.4
+22-Jan-2009 Christian Sommer
+!	Added default target attribut to backend menu links
+21-Jan-2009 Matthias Gallas
+!	Copyright notices now includes 2009
+20-Jan-2009 Matthias Gallas
+#	fixed form-module select (multiple) doesn't work (ticket #681 Thanks to thorn)
+17-Jan-2009 Matthias Gallas
++	added French languages to modules
+!	changed handling of post_date in news modul (thanks to susigross)
++	added hour and minute support to default published_when field in news modul
+13-Jan-2009 Christian Sommer
+-	removed the obsolete Codepress framework from the include folder
++	added Javascript syntax highlighting framework EditArea as replacement for Codepress
+!	updated external PHPMailer class to latest version (v2.0.3)
+08-Jan-2009 Christian Sommer
+#	fixed error message in admin class if type array not defined
+05-Jan-2009 Dietrich Roland Pehlke
+#	Code-Snippets are no longer shown as type: unknown. 
++	Additional key in the languagefiles "$TEXT['CODE_SNIPPET']";
+#	fixed bug for the rss of news, see ticket #609
+04-Jan-2009 Matthias Gallas
+#	made news Modul multilingual, see ticket #676 (some additional translations are needed)
+03-Jan-2009 Matthias Gallas
+#	fixed bug in view.php of news module (ticket #676 Thanks to susigross)
+#	fixed another bug in view.php of news modul introduced in changeset [892]
+30-Dec-2008 Matthias Gallas
++	added default new language variables to all language files
+-	modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC)
+!	modul_uninstall: added language variable $TEXT['FILE'] instead of "Datei"
+29-Dec-2008 Dietrich Roland Pehlke
++	add language support for the errormessages inside the uninstall.php files for modules
+	and templates.
+!	add new keys inside the german de.php language-file.
+-	removed my own debugging-code (was in 893 by mistake)
+!	Correct the last date in the changelog
+29-Dec-2008 Matthias Gallas
+!	set version to 2.8 BETA
+#	replaced in news modul special chars with entities to get valid output
+!	changed SESSION ID Separator from '&' to '&amp;' to get valid output 
+-	Removed the <p> tag around the news as it is added from the editor  
+28-Dec-2008 Dietrich Roland Pehlke (aldus)
++	ticket 610: add ip-address to the email-body in the form-modul.
++	ticket 607: include the frontend.css in the comment_page.php file of the news-module.
+#	File: admin/admintools/index.php - add "order by name" to the query to display the admintools in alphabetic order.
+#	File: admin/modules/uninstall.php - remove a db-query to a db-field that doesn't exists in wb 2.7 anymore 
+26-Dec-2008 Thomas Hornik
+#	fixed two issues with searchresult-highlighting: do not highlight in <pre>/<code>-tags, do not convert &lt; to &amp;lt; anymore. 
+13-Dec-2008 Christian Sommer
+!	changed mailer to not extract line break of alternative body text (thanks to freeSbee)
+28-Oct-2008 Christian Sommer
+!	updated output filter regex to exclude mail addresses contained in input fields
+27-Nov-2008 Thomas Hornik
+!	added redirect-type (301/302) to menu_link
+24-Nov-2008 Matthias Gallas
+!	updated upgrade-script.php to add sec_anchor field to settings table
+22-Nov-2008 Thomas Hornik
+!	search: replaced most of $string_ul_umlauts (from search_convert.php) through use of preg's u-switch.
+!	search: replaced strtr() by str_replace() (it's just faster). Changed &#39; to &#039;
+06-Nov-2008 Thomas Hornik
+#	Module code: curly backets get deleted by pparse() from phplib --> old fix in #569 wasn't that smart. Fixed.
+#	fixed some typos in DE language-file, added missing tab in search.php
+02-Nov-2008 Thomas Hornik
+!	news: added PAGE_SPACER to $page_title (creates e.g. title-32.php instead of title32.php)
+01-Nov-2008 Thomas Hornik
+!	improved ext_charset to work with latin1,cp1252,cp1251,latin2,hebrew,greek,latin5,latin7,utf8
++	added config for section anchor. ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script.
+!	updated menulink and search to use configureable section-anchor
+29-Oct-2008 Thomas Hornik
+# News: total number of news wasn't calculated correctly
+!	Captcha: removed IFRAME for Calculation-as-text captcha
+-	removed useless init_utf8funcs()-function
++	search: added search_lang for use in search-form. Using DE, the search will search ä=ae,... (alternate spelling of german umlauts)
+-	search: removed undocumented word-boundary search
+!	search: search_path is now anchored to the beginning of link ("link LIKE '$path%'" instead of "link LIKE '%$path%'")
++	search: added key 'ext_charset' to search-extension to query external databases
+25-Oct-2008 Christian Sommer
+!	updated basic templates according the template guidelines
+24-Oct-2008 Dietrich Roland Pehlke
+#	applied bugfix for ticket #608 (redeclaration of news module)
+23-Oct-2008 Dietrich Roland Pehlke
+!	modified module delete function to provide additional information when module is in use when trying to delete
+!	modified template delete function to provide additional information when template is in when trying to delete
+21-Oct-2008 Matthias Gallas
+#	fixed display issue in news modul
+!	updated show_menu2 to version 4.7
+18-Sep-2008 Thomas Hornik
++	Added captcha-reload
+16-Sep-2008 Thomas Hornik
+#	search: fixed windows-related regex issue
+19-Aug-2008 Matthias Gallas
+!	updated to latest FCKEditor version 2.6.3
+02-Aug-2008 Thomas Hornik
+#	fixed sorting order of search-results
+25-Jul-2008 Thomas Hornik
+#	fixed an issues related to search, changed one SQL inner join (to use USING instead of WHERE)
+!	added $database = new Database(); in front of output-filter
+05-Jul-2008 Thomas Hornik
+#	fixed MODI_DATE/PUBLISHED_DATE issue in news-module. Added PUBLISHED_TIME, removed PUBL_DATE,PUBL_TIME. Thanks to forum-member timorotha
+02-Jul-2008 Christian Sommer
+!	updated to latest FCKEditor version 2.6.2
+01-Jul-2008 Thomas Hornik
+#	page-names with doubled (or more) points can not be handled if php runs as cgi. Thanks to forum member hgi2001.
+29-June-2008 Christian Sommer
+!	applied additional mail check to forgot login form
+28-June-2008 Christian Sommer
+!	class and id attributes in mailto links are no longer ignored by the output filter
+22-Jun-2008 Thomas Hornik
+#	fixed issue with captcha (mt_rand() instead of rand())
+#	fixed bug in search (link to http://.../search/index.php performs a search with string 'unset')
+22-June-2008 Christian Sommer
+!	added output of block number to section admin if no block name is specified
+21-June-2008 Christian Sommer
++	added output of block names to modify pages dialogue if blocks are enabled
+!	updated show_menu2 to version 4.60 (to avoid disappearing menus)
+08-Jun-2008 Thomas Hornik
+#	hebrew-table in charsets-table.php was faultily imported - fixed. Thanks to forum-member iti.
+24-May-2008 Christian Sommer
+!	modified output filter routine to prevent errors if database entries do not exist
+04-May-2008 Thomas Hornik
+!	changed register_backend_modfile() to work with wysiwyg-module, too
+01-May-2008 Thomas Hornik
+#	fixed file-naming issue when old page-names (from before 2.7) contains "&"
+26-Apr-2008 Thomas Hornik
+#	class.admin.php deletes actual query-string while redirection. fixed.
+25-Apr-2008 Matthias Gallas
+#	fixed validiation bug in option fields of form modul
+------------------------------------- 2.7.0 -------------------------------------
+21-Apr-2008 Christian Sommer
+!	set version to 2.7
+#	fixed bug in the PL language file of the JS calendar
++	added some basic functions for module developers
+20-Apr-2008 Thomas Hornik
+#	fix: allow external urls for search-results
+17-Apr-2008 Thomas Hornik
+#	fixed jscalendar's language-files
+16-Apr-2008 Christian Sommer
+#	fixed possible clashes with intro page feature and WB core file /pages/index.php
+15-Apr-2008 Thomas Hornik
+!	revert back to pagename-creation from $page_menu, instead of $page_title
+15-Apr-2008 Christian Sommer
+#	fixed bug introduced with Changeset 826
+14-Apr-2008 Christian Sommer
++	added show_menu2() to pre-installed WB modules (many thanks to Brodie Thiesfield for this great menu function replacment)
+!	allowed tags for multi-lingual module descriptions
+14-Apr-2008 Thomas Hornik
+#	fixed issue with multigroups (level 0 page-creation)
+13-Apr-2008 Thomas Hornik
+!	ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string.
+#	fixed language-files
+10-Apr-2008 Christian Sommer
+!	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
+09-Apr-2008 Christian Sommer
+!	modified FCKEditor WB-Link Plugin to work also with WB versions below 2.7
+07-Apr-2008 Matthias Gallas
+#	fixed error in german laguage file
+07-Apr-2008 Christian Sommer
++	added the latest FCKEditor v2.60
+-	removed the outdated FCKEditor v2.51
+!	set version from 2.7 (RC3) to 2.7 (RC3a)
+07-Apr-2008 Thomas Hornik
+!	added missing group_id in INSERT-query
+!	removed PHP5 function stripos from installation script
+06-Apr-2008 Christian Sommer
+!	removed some obsolete language variables from news and form module (now defined in global WB language files)
+!	enlarged admin tool icon to match size 50x50px of the other icons
+05-Apr-2008 Matthias Gallas
+!	Moved language variables for edit module CSS from modules language files to core language files
++	Added norwegian translation (Thanks OEH)
+05-Apr-2008 Thomas Hornik
+!	some small fixes: group_id/groups_id-handling, safe_mode-query in install, better work-around for issue with phplib and code-module (removed {})
+#	fixed viewing_groups-handling in /admin/pages/add.php
+!	imported new russian translation from User shlack. Many Thanks
+05-Apr-2008 Christian Sommer
+!	added workaround for template parser class
+!	moved functions to edit module CSS files into the WB core to avoid duplication of code
+!	minor layout change
+!	allowed the character "-" to be used in database names
+04-Apr-2008 Thomas Hornik
+#	fixed: Language-redirect removed query-string from URL
+04-Apr-2008 Christian Sommer
+!	set WB version to 2.7 (RC3) for the next upcoming release candidate
+03-Apr-2008 Christian Sommer
+!	some code clean up in news/form module
+!	small adaption of the edit CSS function file css.functions.php
+!	updated edit module CSS functions to include backend.css into head if possible
+#	fixed bug in Javascript decryption routines of the Output-Filter module
+02-Apr-2008 Matthias Gallas
+#	fixed bug with registration of users are not added to signup group
+02-Apr-2008 Christian Sommer
+#	added handling of missing characters to mailto encryption routines
+!	some code clean-up in News module
+!	fixed some layout issues with Form module (combination with Output-filter)
+!	fixed layout issue with optional subject/body text of encrypted mailto links
+#	fixed bug in the mailto Javascript encryption code of the Output-Filter module
+01-Apr-2008 Christian Sommer
+!	removed typo in English language file
+!	added updated edit CSS functions to the News module
+!	added updated edit CSS functions to the Form module
+31-Mar-2008 Christian Sommer
+#	fixed bug in output filter (mailto links with HTML entities in optional part)
+29-Mar-2008 Christian Sommer
+!	added missing translation to Dutch language file (thanks Bramus)
+28-Mar-2008 Thomas Hornik
+!	Some cleanup in search.php
+!	WYSIWYG: changed field text to LONGTEXT, too.
+25-Mar-2008 Matthias Gallas
+!	Updated Dutch language file (Thanks to Bramus)
+26-Mar-2008 Tomas Hornik
+#	fixed E_NOTICE-message in admin/modules/details.php
+25-Mar-2008 Thomas Hornik
++	search: added search_time_limit in settings (mainly for sites with PHP < 4.3.3 and slow search)
++	search: added missing code to allow query of external data and to process the search data itself
+25-Mar-2008 Matthias Gallas
+#	Fixed missing <body> tag in Admin Interface (ticket #572)
+24-Mar-2008 Matthias Gallas
+!	Updated Danish Language file (Thanks to Achrist)
+! 	Added class nixhier to frontend.css from form and news Modul (required for ASP)
+24-Mar-2008 Thomas Hornik
++	Added RU-language-files, provided by user shlack; converted to entities.
+#	search: great speed-up with large pages - requires PHP >= 4.3.3; small speed-up for PHP < 4.3.3
+#	FCK-Editor: loads large pages faster
+-	removed include/captcha/asp.php. css have to be added to module's css-files.
+23-Mar-2008 Matthias Gallas
+! 	Updated form modul for valid output, removed all javascript (Big thanks to BerndJM)
+17-Mar-2008 Thomas Hornik
+#	fixed an issue with utf8_check() (too slow with many ~100KB pages)
+15-Mar-2008 Thomas Hornik
+#	menulink: link can be menulink or subpage of menulink, too
+#	call_captcha: added parameter 'style', fixed some issue with parameter 'image' and text-style captchas
+13-Mar-2008 Christian Sommer
+! 	adjusted error/warning templates to the updated backend layout
+13-Mar-2008 Matthias Gallas
+! 	replaced one icon in admin interface
+12-Mar-2008 Matthias Gallas
+# 	fixed loading time and some display issues in IE6 of the new admin interface
+!	tweaked the new admin interface a little bit
+12-Mar-2008 Christian Sommer
+! 	adjusted background color of installation and upgrade script
+! 	set version number to 2.7 (RC2) for the upcoming second release candidate
+! 	removed hardcoded /admin folder strings from WB core files where possible
+! 	added WB home folder fix proposed by the forum member spawnferkel (thanks)
+! 	defined <strong> and <em> instead of <b> and <i> as default tags
+12-Mar-2008 Thomas Hornik
++	CAPTCHA: added parameter to call_captcha (can be one of: 'image', 'input' or 'text')
+11-Mar-2008 Christian Sommer
+#	fixed issue with output filter (all .@ in descriptive mailto part: >xxxxx</a> were replaced; now restricted to emails)
+#	fixed issue with WYSIWYG pages (appears if backend language and page frontend language differs)
+08-Mar-2008 Thomas Hornik
+#	fixed issue with news and end-date
+04-Mar-2008 Christian Sommer
+#	fixed issue with smart view URL link
+03-Mar-2008 Thomas Hornik
+#	fixed an issue with text-captcha (default text got saved). Changes default text.
+#	fixed an issue with highlighting
+02-Mar-2008 Thomas Hornik
+#	added missing text in language-files
++	added missing sorting to language dropdown in admin/pages/settings.php
+01-Mar-2008 Thomas Hornik
+#	fixed ticket #562, applied changes from user tavitar with some own additions
++	added check for AddDefaultCharset to install
+29-Feb-2008 Thomas Hornik
+#	fixed issue in pagename generation if AddDefaultCharset is set (as work-around).
+28-Feb-2008 Thomas Hornik
+#	fixed hebrew transliteration-table. Thanks to forum-member iti.
+28-Feb-2008	Christian Sommer
+#	added bugfix from the forum member tavitar to fix an issue with multiple groups (module permission do not add up properly)
+25-Feb-2008	Matthias Gallas
++	added missing Dutch language files for core modules
+24-Feb-2008 Thomas Hornik
+#	issue with menulink in upgrade-script. Fixed.
+23-Feb-2008 Christian Sommer
+!	suppressed warnings in initialize.php if constant already defined; modified upgrade script to make FCK the new default editor
+#	fixed bug in upgrade script (WBMailer setting)
+22-Feb-2008 Christian Sommer
+#	some layout changes on the upgrade-script, fixed error in precheck
+#	restricted database name and table prefix to "a-zA-Z0-9_" (avoid problems with non quoted table/field names)
+20-Feb-2008 Thomas Hornik
+!	added workaround for language sorting-problem
+20-Feb-2008	Christian Sommer
+!	added WYSIWYG DB update and missing WBMAILER settings to upgrade script (added some status messages)
+!	modified upgrade script and suppressed headers already send message (avoid issues with error reporting E_ALL)
+#	added the FCKEditor module PHP connector fix found by the forum member Luisehahne (thanks man)
+!	Updated upgrade script (added WB2.7 basic styles, pre-checks and disclaimer)
+19-Feb-2008	Matthias Gallas
+!	Updated upgrade script
+!	Changed language sorting from directory to name (needs additional to be escaped!)
++	added new languages to install script
+#	fixed some issues and typos in languagefiles
+18-Feb-2008 Thomas Hornik
++	Converted and added some old language-files (BG, CS, PL, RU)
+18-Feb-2008	Christian Sommer
+#	Fixed two broken links
+!	Modified news module to create a default index.php during installation (directory spoofing)
+17-Feb-2008	Matthias Gallas
+-	Removed colloquially german language files as the filename causes issues
+17-Feb-2008	Christian Sommer
+!	removed German Umlauts in some language file (PHP comments)
+#	fixed language bug (backend language switched to the pages language viewed in frontend)
+16-Feb-2008	Thomas Hornik
+!	updated upgrade-script (menulink)
+13-Feb-2008 Thomas Hornik
++	allow externl links in menulink-module
+#	fixed an highlighting-issue: highlighting a page with more than one sections mangled umlauts in the second to last section.
+10-Feb-2008 Matthias Gallas
+#	fixed some errors in standard german language file
++	added new colloquially german language file
+10-Feb-2008 Thomas Hornik
+#	CAPTCHA: Wrong text for calc_ttf-captcha. 
+10-Feb-2008 Christian Sommer
+#	fixed E_NOTICE warning with already defined module frontend constants
+-	removed all stuff other than page_content from the blank template
+!	adapted color for onmouseover effect
+!	added disclaimer to the upgrade-script as the script is not sufficiently tested yet
+!	made Website Header field in Settings visible per default
+!	modified all templates (display Website Header, use show_menu instead of page_menu)
+!	added highlighting of active input elements to all WB backend areas; changed some colors
+!	removed hover highlighting of input fields to avoid possible confusion
+!	added visualization of wrong/empty input fields
+#	fixed a bug with re-enter admin password
+09-Feb-2008 Christian Sommer
+!	modified some colors and CSS definitions of pages, media and section interface
+#	output_filter: fixed bug in regular expression (eats up characters in mailto links)
+#	output_filter: removed word boundary from mailto regex part
+#	fixed bug in menu_link module (IE 7 did not show the select boxes at all)
+#	fixed bug in user signup
+!	output_filter: added word boundary for the mailto regex part
+09-Feb-2008 Thomas Hornwik
+!	jsadmin: added latest changes from swen, fixes most (or all?) issues.
+08-Feb-2008 Matthias Gallas
++	added kewyword id to all new files
+08-Feb-2008 Christian Sommer
+-	Removed admin module mail_filter
++	Added revised version of the output filter module
+08-Feb-2008 Thomas Hornik
+!	module news: set focus on captcha-field if user have to re-enter captcha
+!	Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have.
+-	Removed unused function is_access_denied() from search
+04-Feb-2008 Thomas Hornik
+!	email-addresses are excluded from search-results page.
+#	Fixed possible XSS in account/login.php and forgot-form.php
+04-Feb-2008 Christian Sommer
+#	allowed usage of tags in settings fields: website_header, website_footer
+03-Feb-2008 Thomas Hornik
+#	out-of-date default page isn't shown anymore, instead shows next public page.
+#	fck_wbmodules.php: foreign privates pages in dropdown, fixed.
+03-Feb-2008 Matthias Gallas
++	added kewyword id to all new files
+02-Feb-2008 Christian Sommer
+#	fixed wrong redirect in /admin/images
+02-Feb-2008 Thomas Hornik
+!	search shows email-addresses, even if email-filter is activated (on page with highlighting). Fixed.
++	Added missing text in languages files for jscalendar
+!	settings: pages-directory '/' will be converted to '' (empty string) on save.
+!	changed last remaining call to my_htmlspecialchars() to htmlspecialchars()
+#	fixed path in jscalendar-css
+01-Feb-2008 Christian Sommer
+#	Added default index.php to all folders (directory spoofing)
+01-Feb-2008 Thomas Hornik
+#	Added some missing add_slashes(), get_post_escaped(), and strip_tags() for $_POST, $_GET and $_REQUEST-data. Also for $_SERVER['PHP_SELF'].
+#	Fixed possible XSS-vulnerability in wb/search/search.php
+31-Jan-2008 Thomas Hornik
+!	Adjusted clock-red icon to match wb colors
+#	admin/pages: the parent dropdown-list in index.php and settings.php showed foreign private pages, too. Fixed.
++	Added multi-group to upgrade-script
+30-Jan-2008 Christian Sommer
+#	fixed bug with text Captcha (input was restricted to 10 chars.) and a small layout issue
+30-Jan-2008 Thomas Hornik
+#	registered pages didn't appear in menu. fixed.
+!	Updated upgrade-script. (Some upgrades still missing)
+29-Jan-2008 Thomas Hornik
+#	strtotime()'s behavior differ in PHP4 and PHP5.
+	Had to fix some issues in admin/pages/sections and module news.
+#	Security bugfix: Text file for text-captcha was world-readable. Moved to database.
+#	Text-captcha: empty line in text file, following a question, was accepted as answer. Fixed.
+28-Jan-2008 Matthias Gallas
+#	Replaced all special chars in language files with htmlentities or unicode
++	Added some missing lines in language files
++	Added missing keyword Id
+28-Jan-2008 Christian Sommer
+#	fixed issue with top bar icon alt tag
+!	added some more backend layout modifications
+!	corrected bug in NL.php language file
+!	added missing session cookie forgotten in Changeset 593
+!	added possibility to select the default backend language during installation process
+!	Re-introduced Changeset 593 (filename in pages/ from page_title instead of menu_title)
+#	Fixed some bugs in the Javascript Admin modul
+28-Jan-2008 Thomas Hornik
++	Allow a user-supplied From-Name in form-settings for email und success-email.
+!	changeset 627: menu_link and search/search.php needs some minor changes, too.
++	Added Text-CAPTCHA on request. The captcha-text will be stored in temp/.captcha_text.txt
+27-Jan-2008 Christian Sommer
+!	fixed CSS background color of the installer CSS
+!	replaced static text with variable text from language file
+!	introduced the WB 2.7 backend style developed by Michael Brinsteiner (escpro), thanks man
+!	added missing ID tags
+27-Jan-2008 Christian Sommer
+!	added missing ID tags
+!	added default language for users to avoid empty language fields
+27-Jan-2008 Matthias Gallas
++	added kewyword id to new file
+#	Fixed some spelling errors in german language file
+27-Jan-2008 Thomas Hornik
+!	Module form: user supplied input isn't lost on captcha-failure anymore.
+#	fixed 100%-cpu-load-event in CAPTCHA admin-tool.
++	Added Calc_ttf_image CAPTCHA.
+!	Changed captcha/captcha.php to use table-layout for CAPTCHA.
+!	Some minor changes in CAPTCHA-code.
+!	Added some text to CAPTCHA admin-tool.
+#	Module form: dropdown "success page" listed foreign private pages, too. Fixed.
++	Added preview-images for CAPTCHA.
+!	Improved security: CAPTCHAS can't be loaded from outside WB
+!	CAPTCHA ttf_image: added variant. Adjusted character-pool and one background for better readability.
+26-Jan-2008 Christian Sommer
+!	changed WYSIWYG content field from text to longtext (allows more than 65'534 characters) 
++	Added Javascript Admin module (developed by Stepan Riha, adapted for WB2.7 by Swen Uth)
+26-Jan-2008 Matthias Gallas
+#	fixed bug in Javascript Admin module
++	Added new language files
++	Added keywords to files where they are missing
+26-Jan-2008 Thomas Hornik
+!	fixed some issues with CAPTCHA and ASP. Adjusted baseline of '*' in supplyed fonts to meet
+	baseline of numbers. Added counter to ttf_image generation-loop. Removed now unneeded GD-lib verification.
+	Improved ASP in news-module.
++	module news: added publish_until field to control the visibility of a news-posting by date and time
+!	added strongly "condensed" fonts with many intersections for ttf-CAPTCHA as default fonts.
+	It should be very difficult for spam-bots to recognize intersected characters.
+25-Jan-2008 Christian Sommer
+!	removed changes introduced with changeset 593 (we need to think off if we want to implement that feature)
+25-Jan-2008 Thomas Hornik
++	Added new CAPTCHA. Adapted core: signup and modules: news and form.
++	Added Advanced Spam Protection (ASP) to core: signup and modules news and form.
+#	module news: it was possible to post comments to postings with commenting disabled
+	or to inactive postings. Fixed
+24-Jan-2008 Thomas Hornik
+!	Generate filename in pages/ from page_title instead of menu_title.
+24-Jan-2008 Christian Sommer
+#	fixed bug in Codepress integration (if codepress framework not installed)
++	added language support to all integrated modules (except for news and form module)
+#	fixed another E_NOTICE warning
+24-Jan-2008 Matthias Gallas
++	Added keywords to files where they are missing
+23-Jan-2008 Christian Sommer
++	Added German language file for WB 2.7
+22-Jan-2008 Christian Sommer
++	Added language support for the Admin tools (backup, reload, mail_filter)
+-	Removed all admin tool text outputs from global language file to module language files
+!	Introduced language support for the overview page of the Admin tools
++	Added function get_variable_content to allow extraction of variable content without including files
+!	Changed language support for Addons -> Moduls -> Details
+22-Jan-2008 Matthias Gallas
++	Added keywords to new mail filter files
+22-Jan-2008 Thomas Hornik
++	manage-sections: changed calendar-icon to clock-icon, added second icon to empty date-field.
+21-Jan-2008 Christian Sommer
+!	Removed the manage section icon from the page admin (sections managed by publish by date function) 
+#	Fixed bug with the edit module CSS file implementation (IE7, Opera)
+21-Jan-2008 Thomas Hornik
++	Unique session-identifier for each website baker installation. fixes #354
+20-Jan-2008 Christian Sommer
+#	fixed E_NOTICE-warning in save.php when input data was wrong
++	added the new admin tool email output filter which allows to transform
+	emails before displaying them on the frontend
+20-Jan-2008 Thomas Hornik
+!	upgrade-script.php: fixed mysql_error() handling
+!	upgrade-script.php: added code to update menu_links
+#	fixed a typo in upgrade-script.php
+!	updated admin/pages/sections.php to changed jscalendar-api from changeset 571
+!	module menu_link: after adding a menu_link, the anchor dropdown shows "#"; fixed 
+#	fixed E_NOTICE-warning in news-module (about SECTION_ID in comment.php)
+19-Jan-2008 Christian Sommer
+!	Reduced the success time out and set WYSIWSY background to white
+#	Fixed some errors in form module (only in conjunction with E_ALL)
+!	Added support to configure the mailer settings via the backend
+19-Jan-2008 Matthias Gallas
+#	Fixed bug in news modul with missing variable PAGE_DIRECTORY
++	Added keywords to new files
+19-Jan-2008 Thomas Hornik
+-	Module news: removed old calendar
++	Module news: adapted news to use the new include/jscalendar
++	added installation-instructions to include/jscalendar
+#	Module code: curly backets get deleted by pparse() from phplib. fixed
++	Module menu_link: added dropdown-listbox to select anchor
+!	upgrade-script: added code to convert old menu_links to new ones (partly)
+18-Jan-2008 Matthias Gallas
+!	Updated news modul with features from the advanced news modul
+!	Updated form modul with features from the advanced form modul
+#	Fixed hardcoded /pages issue in intro page feature
++	Added example .htaccess to parse .html files, fixed bug in changeset 555
+!	Revoked parts of changeset 547 and again introduced changeset 540
++	Added keywords to modules/fckeditor and all other new files
+18-Jan-2008 Thomas Hornik
+#	fixed two E_NOTICE-warnings in admin/pages/index.php
++	added new module-based search-function
++	added new publish-by-date code
+17-Jan-2008 Christian Sommer
+#	fixed bug in frontend login and multiple groups (only in conjunction with E_ALL)
+!	removed the PAGE_EXTENSION from frontend login
+17-Jan-2008 Matthias Gallas
+#	Reintroduced changes from changeset 520 and 540 wich where overwritten 
+	by changeset 546
+#	Revoked changeset 541 end removed all PAGE_EXTENSION variables and the related
+	option in WB settings as this function only works on Apache Servers
+	together with .htaccess and mod_rewrite
++	Added keywords to file menu_link/uninstall.php and new admintools files
+17-Jan-2008 Christian Sommer
+!	added the "users in multiple groups" feature (closes parts of ticket #546)
+16-Jan-2008 Thomas Hornik
+!	changed admin/pages/save.php to allow hidden config-elements in table search.
+!	changed module menu_link: added table mod_menu_link, fixed page-deleting-bug,
+	fixed odd behavior in case of menu_link as default-page.
+#	changing PHP-error-level within website baker does not work - fixed (fixed ticket 532)
+14-Jan-2008 Matthias Gallas
+#	Replaced hardcoded .php with the variable PAGE_EXTENSION for the use in pagenames.
+	(!!Attention!! To get extenions other than .php working additional fixes are necessary!)
+#	Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the
+	pathes points to WB Corefiles with the page extension .php
+#	Replaced hardcoded text in login.php with language variables (fixes ticket 386)
+14-Jan-2008 Christian Sommer
+!	added a missing </tr> tag
+#	re-introduced bugfix of Changeset 472 (fixes ticket 402) accidentally 
+	removed by Changeset 529 (enhanced pages admin)
+13-Jan-2008 Christian Sommer
+#	moved administration tools from Settings to the new section Admin-Tools
+#	this bugfix closes the ticket 529 (WB upgrades modules with identical version)	
+!	increased redirection time after success message, corrected HOME link of the login panel
+!	updated PHPMailer framework to version 2.0.0 (/include/phpmailer)
+#	this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database)
+#	fixed error with redirection to admin panel after installation
+12-Jan-2008 Christian Sommer
+!	introduced smart URL detection for the 'View' menu in the WB backend
+	(if page_id is set, redirect to this page instead of the root)
+!	introduced the enhanced pages admin dialogue (thanks to icouto)
+11-Jan-2008 Christian Sommer
++	added the FCKEditor module files missing in Changeset 527 (/modules/fckeditor)
+-	removed the hmtlarea files in /modules/htmlarea
+!	set the fckeditor as the new default editor /install/save.php
+!	Updated function: register_frontend_modfiles in /framework/frontend.functions.php
+	(added constants MOD_FRONTEND_CSS_REGISTERED, MOD_FRONTEND_JAVASCRIPT_REGISTERED)
+11-Jan-2008 Matthias Gallas
+!	Update codepress to Version 0.9.6
+!	Update phplib to Version 7.4a
+09-Jan-2008 Matthias Gallas
+!	Upgrade pclzip to the newer more php5 complaint version 2.6, see ticket #526
+#	Fixed ticket #542 (Thanks to Thorn)
+23-Dec-2007 Matthias Gallas
+!	Changed all copyright notices to include now 2008
+21-Sep-2007 Matthias Gallas
+#	Fixed a typo in /framework/frontend.functions.php cause that websites using
+	the new register_frontend_modifles() functions do not validate
+24-Jan-2007 Christian Sommer
+!	Replaced some core files to allow configuration of wbmailer via admin settings panel
+------------------------------------- 2.6.7 -------------------------------------
+02-Jan-2007 Christian Sommer
++	Added missing converting file for changeset [504]
+------------------------------------- 2.6.6 -------------------------------------
+01-Jul-2007 Matthias Gallas
+#	Fixed converting issue with some ISO-charsets and speeded up converting on large pages (thanks to Thorn)
+01-Jul-2007 Ryan Djurovich
+#	Fixed bug where error message not displayed when script fails to create a page
+#	Fixed bugs introduced in [484]
+14-May-2007 Matthias Gallas
++	Added support for ISO-8859-6.(Thanks to thorn)
+12-May-2007 Christian Sommer
++	Replaced functions page_css and page_javascript by register_frontend_modfiles
++	Added function register_backend_modfiles to allow backend modules to use optional CSS and JS files
++	Added the JS framework codepress to allow syntax highlighting for JS, HTML, PHP code (textarea)
++	Added the new function register_frontend_modfiles to the built in templates
+08-May-2007 Matthias Gallas
++	Added wrapper to functions.php if mb_string is not available (Thanks to thorn)
++	Added new functions page_css and page_javascript to the built in templates
++	Added search highlight class to css files of the built in templates
+30-Apr-2007 Matthias Gallas
+#	Fixed ticket #392; root_parent not being set correctly (Thanks to eggsurplus)
+10-Apr-2007 Matthias Gallas
++	Optimized search and highlighting funktions (Thanks to thorn)
+03-Apr-2007 Matthias Gallas
+#	Fixed a bug in menulink; if you deleted a menulink page the linked page was also deleted
+	in the pages directory (Special thanks to "Funky_MF" for the fix)
+01-Apr-2007 Matthias Gallas
+#	Fixed issues with some languages when UTF8 is used. Removed all htmlentites
+	from the code (revoked changeset 396) and added new functions instead. Adapted the
+	search and the highlighting to use the new functions. With this changes WB can now
+	be used with charset UTF8 for all languages. Very special thanks to Thorn who wrote
+	and tested this changes.
+12-Mar-2007 Matthias Gallas
++	Added multilingual support to search
+03-Mar-2007 Matthias Gallas
++	Added new function for highlighting search results in the content area
+	(Special thanks to "thorn" and "Funky_MF")
+#	Fixed some issues in search with special chars
+	(Special thanks to "thorn" and "Funky_MF")
+22-Feb-2007 Christian Sommer
+#	Fixed bug in changeset 428 (page files were not deleted in /pages folder due to a typo in wb/framework/function.php)
+16-Feb-2007 Christian Sommer
+!	Suppressed PHP warnings and errors when reading empty intro.php
+16-Feb-2007 Christian Sommer
+#	Applied fix to enable parsing of PHP code in the intro.php 
+12-Feb-2007 Christian Sommer
+!	Added functions page_css and page_javascript which allow to include optional
+	module files module.css and module.js into the <head> section. This allows to 
+	create valid (X)HTML, as CSS definitions of modules are included in the head section
+12-Feb-2007 Christian Sommer
+!	Security enhancement (reduced number of login trials from 50 to 3)
+02-Feb-2007 Matthias Gallas
+#	Applied fix for ticket #380 (Thanks to pcwacht)
+30-Jan-2007 Ryan Djurovich
+#	Applied fix for ticket #376
+29-Jan-2007 Matthias Gallas
++	Added new variable $MODULE_DESCRIPTION wich allows to have optional a language
+	specific description of the modules in the language files of the modules.
+21-Jan-2007 Matthias Gallas
+#	Fixed issue in the search table entries of form modul
+13-Jan-2007 Matthias Gallas
+#	Fixed some bugs in rss.php
+07-Jan-2007 Matthias Gallas
+#	Fixed error when uninstalling the news modul
+02-Jan-2007 Matthias Gallas
++   Added id keywords to all missing files
+#	Fixed issue with Permissions for pages sections
+27-Dec-2006 Matthias Gallas
+#	Fixed form modul stores empty records
+------------------------------------- 2.6.5 -------------------------------------
+25-Dec-2006 Ryan Djurovich
+!	Changed links to WB help website
+24-Dec-2006 Matthias Gallas
+#	Fixed some minor javascript errors in admin (thanks to pcwacht)
+#	Fixed root_parent doesn't get updated when moving item in menu (#305)
+!	Changed all copyright notices to include now 2007
+23-Dec-2006 Matthias Gallas
+#	Fixed IE allows to set a page as parent of itself (#320)
+#	Fixed problem with Page Title has to be escaped (#287)
+#	Fixed the possibility to call the index.php of the templates directly in the browser (#291)
+21-Dec-2006 Matthias Gallas
+#	Fixed missing message when adding a site without page title (#300)
+21-Dec-2006 Ryan Djurovich
+#	Fixed bug with captcha script (#346)
+20-Dec-2006 Matthias Gallas
+#	Fixed Return to Search Results Page (#365)
+!	Set Version to 2.6.5
+-	Removed Changeset 365 because this will be a part of WB 2.7.x
+#	Fixed a little typo error in class.admin.php (#364)
+26-Nov-2006 Ryan Djurovich
++	Added new script that could possibly be apart of 2.7.x as a replacement
+	for having the pages directory 
+17-Nov-2006 Matthias Gallas
+#	Fixed fatal error in line 46 news/comment.php (thanks to eki)(#358)
+15-Nov-2006 Matthias Gallas
+#	Fixed again intropage doesn't work (#71)
+20-Oct-2006 Matthias Gallas
++	Added phpmailer class (thanks to doc)
++	Added Remember-expanded-pages-in-admin (thanks to ephraimt)
++	Added List sorting in admin area (thanks to rsmith)
+#	Fixed table width 100% are wrong displayed in container templates
+	when IE is used (#350)
+#	Fixed large space between menupoints in IE (#349)
+#	Fixed Website description is not displayed when no page description
+	available (#348)
+#	Fixed group images in news modul cannot be stored (#342)
+#	Fixed Typo in form/save_field.php (#341)
+#	Fixed files in /pages/posts folder are not deleted (#340)
+#	Fixed specialchars problem in the news modul (#339)
+#	Fixed news modul stores empty records (#338)
+#	Fixed Captcha didn't work in news comments (#337)
+#	Fixed various php notices (#334)
++	Added new upgrade_function (thanks to kozmoz)
+#	Fixed addons table isn't updated when a modul is updated (#332)
+#	Fixed spelling errors in the signup2.php (#330)
+#	Fixed MySQL 5.x missing default values for INT fields in all system
+	and modules tables (#329)
+#	Fixed installer does not insert admin user (#328)
++	Added support for getting page ID of page that referred search
+	request (#327) (thanks to brofield)
+#	Fixed search results generate invalid XHTML and notify warnings (#326)
+Stefan Braunewell
+#	Fixed Field 'last_reset' doesn't have a default value (#313)
++	Added get_post_escaped to wb class which automatically calls add_slashes
+	on get_post output and used it in form/save_field.php
+------------------------------------- 2.6.4 -------------------------------------
+20-May-2006 Ryan Djurovich
+#	Fixed security issues related to #237
+#	Fixed typo in news save comment page (#282)
+#	Fixed typo in news delete post page (#283)
+!	Added multi-submission protection to form module (#119)
+#	Added notice for when PHP Session Support appears to be disabled in installer,
+	even if it is enabled and the problem actually lies in the users browser (#154)
+19-May-2006 Ryan Djurovich
+#	Fixed problem in forgotten login form where email field is too short (#207)
+#	Fixed typo in forgotten login details email (#190)
+15-May-2006 Stefan Braunewell
+#	Fixed security issues (#237)
+03-May-2006 Stefan Braunewell
+#	Fixed problems with pre-2.6.0 modules in section list
+#	Fixed e-mail bug caused by From: headers in internal mail function calls
+	(#189)
+#	E-mail validation in install script now accepts new top-level domains
+	(#162)
+#	Error status is now overwritten by next database query (#182)
+#	Fixed obscure problem in htmlarea install script
+------------------------------------- 2.6.3 -------------------------------------
+19-Mar-2006 Stefan Braunewell
+#	Fixed ticket #146: problems removing groups from viewers list of a page
+16-Mar-2006 Stefan Braunewell
+!	Changed link target selection. Now self, top and new. (Ticket #145)
+#	Fixed ticket #143. Charset setting is now used in admin login and forgot
+	password pages.
+#	Some changes to the SQL code in the install script for improved 
+	compatibility with new MySQL versions
+#	Fixed ticket #134 - error on browsing media.
++	Improved backup module: new choice between full database or WB-related
+	backup.
+#	Fixed ticket #141 - admin now sees all folders in media
+#	Fixed e-mail sending problems due to additional parameter in mail call.
+#	Applied fix regarding ticket #138: new users now get deleted if
+	sending e-mail fails.
+#	Fixed ticket #137: Last Reset timer not reset in frontend forgotten 
+	password process
+#	Removed duplicate expression from modules/news/install.php which caused
+	problems in installation
+
+01-Mar-2006 Stefan Braunewell
+#	Fixed ticket #68 - Safari problem with displaying all parents.
+#	Fixed ticket #136 - mailing forgotten password in admin login screen leads 
+	to fatal error.
+!	Renamed tag [PROCESSTIME] to [PROCESS_TIME]
+------------------------------------- 2.6.2 -------------------------------------
+03-Feb-2006 Stefan Braunewell (very big special thanks to John and Alex)
+#	Fixed ticket #104 - commas in form field descriptions not allowed.
+#	Cookie REMEMBER_KEY wasn't cleared in account/logout 
+	and expiration date is now set to time in the past.
+#	Smart login not working.
+!	Changed mail calls to new function $wb->mail.
+#	Form: ticket 124 added captcha settings check 
+#	Ticket 118 added formfield type to check for email/text 
+#	Ticket 115 changed comparision /modules/form/view.php 
+#	Added correct timecheck in form submissions
+!	Changed captcha.php call to include timestamp
+!	Changed the e-mail validation code and added a mail function to class wb.
+!	Forgotten password: if sending of e-mail fails, restore old password.
+	Ticket #110
+!	Added more charset options. Ticket #102 - thanks to ruebenwurzel!
+!	Character encoding setting also affects admin backend.
+	Mentioned in ticket #102.
+!	Reintroduced page languages setting. If switched to off, page
+	languages are only used to determine the language file for the
+	universal texts. If on, displayed page and menu are affected by
+	the language session variable.
+#	Fixed bugs in show_breadcrumbs code and added parameter "depth"
+	to set the number of levels to be show.
+#	Fixed a bug where access settings of registered and private pages
+	were displayed incorrectly.
+#	Fixed captcha being cached.
+#	Added an exit call after every heading("Location:...")
+	redirector to prevent unwanted execution of code.
+#	Bug #122. Replaced empty field check by check that setting name is
+	not "wb_version".
+#	Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.
+#	Fixed bug #99 and two additional instances of typo 
+	catpcha instead of captcha.
+#	Fixed some typos
+#	Fixed some notices and warnings.
+#	Fixed bug #105 - back buttons in addon detail pages not editable.
+!	Replace 'admin' by 'wb' in all account pages. 
+!/#	Moved print_success and print_error code to class.wb.php.
+	Added correct parameters to these functions in account pages. 
+------------------------------------- 2.6.1 -------------------------------------
+12-Dec-2005 Ryan Djurovich
+#	Fixed security vulnerability in class.login.php
+#	Fixed typo in EN language file
+#	Fixed captcha problems (when feature is disabled) in form module and sign-up
+!	Added charset encoding to admin templates
+!	Added extra code to check for selection of addon upon uninstalling
+#	Fixed bugs in RSS news feeder
+#	Fixed bug with PAGE_DESCRIPTION not being set on any page
+------------------------------------- 2.6.0 -------------------------------------
+28-Nov-2005 Ryan Djurovich
++	Added default charset option to (advanced) settings
+#	Form module email fields now have email address validation
+#	Fixed spacing in form submissions
+27-Nov-2005 Ryan Djurovich
++	Added captcha verification to sign-up form
++	Added Captcha to News module
+24-Nov-2005 Stefan Braunewell
+!	Applied aportale's patch to use label instead of javascript toggle code
+20-Nov-2005 Ryan Djurovich
+!	News mod now hides read more link if no need for it (see ticket #56)
++	Added support for mailto: links in the menu link mod
+#	Added direct-access redirection on some files (see ticket #37)
++	Added extra characters to convert.php (see ticket #64)
+#	Fixed ticket #65 (last_reset check in account/forgot_form.php)
+29-Sep-2005 Ryan Djurovich
+!	Cleaned up form buttons in Settings
+!	Moved some options into Advanced Settings
+#	Semi-disabled "separate" page trash option
++	Created a backup module/tool for backing-up the database
+	(thanks to John (pcwacht) for the original code)
++	Created new "blank template", which can be used in case where you don't
+	want anything wrapping page-content.
+19-Sep-2005 Ryan Djurovich
++	Added _license field for all add-ons to specify a license
+!	Renamed _designed_for variables (for all addons) to _platform
++	Created addons table for faster internal referencing of installed addons
+!	Fixed some links, including the "Help" button in Admin
+#	Used nl2br to display body correctly when viewing form-submissions
+15-Sep-2005 Stefan Braunewell
++	Added table module with columns 'name','type' and 'directory' as an
+	index.
++	Added entry to settings table 'wb_version' which holds the version
+	number and can be utilized in future upgrade scripts.
+!	Added upgrade functionality also for templates and languages.
+#/!	Template/modules installation now respects paths.
+!	Moved updates from config.php to database.
+	Created initialize.php (required by config.php) to read settings.
+11-Sep-2005 Stefan Braunewell
+!	HTMLArea is now a module instead of a core component. Files moved
+	from "include" to "modules".
++	Implemented Installation of modules on top of an older version. This is 
+	done via checking $module_version. Instead of install.php, upgrade.php
+	is then called if it exists in the module package. 
+	For module developers: $module_version and $new_module_version are 
+	accessible in upgrade.php to find out what upgrade steps need to be taken.
+!	Changed column names in mod_news_posts from short,long to content_short,
+	content_long.
+09-Sep-2005 Stefan Braunewell
++	Added new advanced setting "Rename Files On Upload". File extensions can be
+	given so that respective files will have a ".txt" appended on media upload.
+#	Fixed "None found" message bug when user has no top level page edit
+	rights.
+#	Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.
++	Added breadcrumbs code. Call using $wb->breadcrumbs().
++	Added utf-8 character encoding meta tag into all stock templates.
+#	Fixed bug when changing a page's parent
+!	Changed the way blocks are treated. Added new frontend class attribute
+	default_block_content that controls what is shown on pages such as
+	search, login, etc. (Ticket #16)
++	Added support for WYSIWYG editor modules (wysiwygmod)
++	When trying to access a registered page, user is automatically redirected
+	there on successful login.
+#	Fixed various issues with system search (mainly related to stripslashes()
+#	Removed stripslashes() in many places in the code. Added check for
+	magic_quotes_gpc to new wb class method add_slashes(). Now database contest
+	is independent of magic_quotes setting..
+05-Sep-2005 Stefan Braunewell
+#	Fixed bug concerning direct access of preferences page.
+#	Reworked page visibility and menu item visibility code (frontend login
+	problem).
+#	Pages in link list in htmlarea popup are now correctly ordered.
+#	Fixed bug where group with existing name can be added.
+04-Sep-2005 Ryan Djurovich
++	Added and RSS newsfeed script to the News module
+04-Sep-2005 Stefan Braunewell
+!	Rewrote menu function. Parameters are now given as attributes to frontend class.
+#	Fixed some occurrences of potential direct access path disclosure
+#	Added directory check to browse.php to prevent xss exploit by trusted users.
+!	Updated code to reflect move to Subversion repository system.
+27-Aug-2005 Stefan Braunewell
+#	Fixed bugs 4,5,6,8,9 in bug tracker
+!	Removed 'USER_LANGUAGE' and 'GET_LANGUAGE' constants.
+	A GET['lang'] now sets the session language variable.
+26-Aug-2005 Stefan Braunewell
+!	Moved redundant code into the new class functions. Created 
+	'compatibility.php' for backward compatibility with
+	modules and templates. Variables and functions can still be accessed
+	in the old way.
+!/+	Reorganized core frontend files, added new base class 'wb' from
+	which 'admin' and the new 'frontend' class inherit. Moved all frontend
+	function into new class. Completely rewrote core index.php.
+	Now all variables and functions that are available to templates and
+	modules are attributes and methods of the frontend and the wb classes
+------------------------------------- 2.5.2 -------------------------------------
+23-Jun-2005 Ryan Djurovich
+!	create_access_file now creates all parent directories if needed
+#	Fixed bug when moving page with subpages to another level
+#	Fixed bug when saving "Settings" (in Admin) on Windows/IIS
+#	Fixed bug where query was not setting error correctly in class.database.php
+22-Jun-2005 Ryan Djurovich
+#	Fixed bug where template permissions were not saved when a adding group
+21-Jun-2005 Ryan Djurovich
+#	Added htmlspecialchars for modifying WYSIWYG, news, etc. modules (Bug #78)
+#	Fixed language problems in some area's of Admin. (Bug #70)
+#	Added a space in website/page keywords (Bug #69)
+#	Fixed bugs on settings2.php (Bug #52)
+!	Links inserted with HTMLArea now use [wblink--PAGE_ID--] instead of raw URL
+13-Jun-2005 Ryan Djurovich
+#	Fixed bug (#88) with news module
+!	Title of Administration login page now taken from language file (Bug #72)
+#	Fixed redirection admin/home to admin/start on admin/index.php
+#	Fixed bug with forgotten password page in admin (Bug #81)
+25-Apr-2005 Ryan Djurovich
+#	Fixed numerous bugs with module uninstallation
+#	Fixed bug when uploading files in Administration -> Media
+!	Installer no-longer requires you to accept the GNU GPL
+------------------------------------- 2.5.1 -------------------------------------
+16-Apr-2005 Ryan Djurovich
+#	Fixed two bugs with account login/logout
+------------------------------------- 2.5.1 -------------------------------------
+15-Apr-2005 Ryan Djurovich
+#	Fixed bug where non-english characters can get used in page filenames. Many
+	measuers have been added (including a new file: wb/framework/convert.php),
+	to prevent any possible errors that can occur in page filenames.
+#	Fixed invalid meta tags in stock templates (meta tags were not closed)
+#	Removed lines 401, 402, and 425 of wb/index.php - not needed
+#	Fixed bug where search and account pages are shown in every block
+	that is in a template
+#	Fixed numerous bugs with media home directories feature
+10-Apr-2005 Ryan Djurovich
+#	Fixed bugs in account/login.php and logout.php where users
+	gets redirected to /pages
+------------------------------------- 2.5.0 -------------------------------------
+08-Apr-2005 Ryan Djurovich
+-	Removed section language feature
++	Added page language feature (replaces need for sections language feature)
+#	Fixed bug where pages using menu_link module can have the URL changed
+-	Page directory no longer stored in link field in pages table, it is now added
+	when the page_link function is called - this makes changing the pages
+	directory much easier and quicker
+!	Pages with visibility of "none" are now no longer directly accessable
++	Added new visibility setting "hidden", acts exactly like none did previously
+!	Template info file can now specify number of menu's available and relative names
+!	Template info file can now specify number of blocks's available and relative names
+------------------------------------- 2.4.3 -------------------------------------
+07-Apr-2005 Ryan Djurovich
+#	page_filename function has been rewritten using str_replace
+	function, which should be faster and will allow characters
+	from other languages into filenames
+!	Created new media_filename function, which is now used
+	by all media functions (create,upload,rename) to determine
+	which characters should be removed from a desired filename
++	New button in Administration page list to view specific page
+#	Updated the page_link function to now be compatible with menu link
+	module when setting pages directory to root
+#	Fixed bugs in search when using "Any Words" option
+#	Fixed bug with news module when pages directory set to root
+!	Changed URL of documentation website on Administration Start page
+------------------------------------- 2.4.2 -------------------------------------
+05-Apr-2005 Ryan Djurovich
+#	Fixed bug where file could be renamed to nothing in Media
+!	Optimised Media create folder, upload file, and rename functions
+#	Fixed bug where stripslashes not run on news post titles in admin
+05-Apr-2005 Stefan Braunewell
+#	Fixed bug concerning usage of the private_sql variable
+#	Fixed bug conerning sub-pages being displayed in menus incorrectly
+------------------------------------- 2.4.1 -------------------------------------
+04-Apr-2005 Ryan Djurovich
+!	Pages with visibility of "none" are again directly accessable
+#	Fixed bugs regarding renaming files and directories in Media section
+!	When home folders disabled, all folders now visible in Media section
+------------------------------------- 2.4.0 -------------------------------------
+03-Apr-2005 Ryan Djurovich
+-	Removed recently added visibility setting of "heading", and relative config vars
++	Added new "menu" field to pages table, and new setting "multiple menus"
+	which replaces the need for the menu headings feature
++	Added links to top of groups and users sections, linking to each other
+!	Change menu width in "Round" template to 170px (was 150px)
+#	Change page "are you sure" deletion message to mention that it will delete
+	all sub-pages as well
+#	Fixed many bugs with news module when viewing posts by group
+!	Pages with visibility of "none" are now no longer directly accessable
+02-Apr-2005 Ryan Djurovich
+-	Removed need to specify DB_URL when calling database class
+#	Stopped fields without a type specified from being shown in form mod
+#	Changed '/media' to MEDIA_DIRECTORY on HTMLArea popup windows
+	for insert link and insert image
++	Added setting which allows you to specify the default WYSIWYG style
++	Added "Server Email" option, to specify what is used in "From" field when
+	sending emails using the PHP mail function. Default is admins email address.
+#	Search now excludes pages which have a visibility of none or heading
+!	Pages are now given modified_when and modified_by when added
+01-Apr-2005 Ryan Djurovich
++	Added option to News module to specify how many posts should be listed
+	per page (by default it is set to unlimited, which functions like previous version)
+#	Added stripslashes when display page titles in search
++	Page descriptions and last updated date now shown in search by default
+30-Mar-2005 Ryan Djurovich
++	Added new feature for Media home folders, where a folder can be specified
+	for a specific user or group of users only
+!	Changed URL of Help button to http://www.websitebaker.org/docs/
++	Added new feature for "Page Trash" - two modes available: inline and separate
+!	When pages are deleted, all sub-pages are now deleted (instead of being moved
+	up a level)
+29-Mar-2005 Ryan Djurovich
+-	Removed Database Settings from Administration Settings (options will not be
+	available in 3.x, so trying to match interface with WB 3.x plans
+!	Changed the name of Path Settings to Filesystem Settings in Administration
+	Settings, and removed ability to change path/url options - matching interface
+	plans for WB 3.x
++	Added same options for OS and file permissions as installer to Settings
+!	Sessions now named with APP_NAME.'_session_id' (e.g. default is wb_session_id)
+28-Mar-2005 Ryan Djurovich
++	New functions available to templates to simplify creation of them. This aims
+	to "future-proof" templates for WB 3.x plans.
+!	Default templates updated to support some of the new functions
++	Added field to pages table "page_trail" which stores a list of the pages
+	parents. This field was needed by the new page_menu function
++	Added option for page visibility "heading" to enabled support for multiple
+	menu's. Also, this helps to "future-proof" templates for WB 3.x plans
++	Added option for page visibility "registered", which acts a little like
+	private, but is still shown in the menu (although users need to log in to view
+	the pages content)
++	Form module submissions now saved to database, and feature now added to
+	limit number of submissions per hour to prevent spamming
++	New field for Form module: email. Allows you to specify their email in
+	"from" field on module settings.
+#	Fixed bug when displaying comments in News module (WB Bug #14)
++	New "under contruction" message if no pages exist
+!	Cleaned-up wb/index.php
+27-Mar-2005 Ryan Djurovich
++	Created advanced mkdir and chmod functions
+#	Fixed bug in media where wrong file/folder is deleted
++	Complete overhall of installer - now only one step! It has been greatly
+	simplified in many ways, has much better validation, reports error much more
+	nicely, and automatically logs the user into the Administrations
++	Must now specify OS type - allows for customizable file permission settings
++	Sections can now have a language code assigned to them
++	Sections can now have a block name/id assigned to them
+!	Home section of Administration renamed to Start, to save confusion with saying
+	Homepage (because this term could either mean the main website or Home section
+	in	Administration). Also, this aims to unify the interface with WB 3.x plans
+!	Moved Users and Groups sections under Access section. This aims to unify the
+	interface with WB 3.x plans, which help to unclutter the menu
+!	Interface for Settings section has been imporved for usability purposes
+#	Fixed HTMLArea where no scrollbar for "insert link" and "insert image" dialogs
+	by placing media list inside an iframe
+#	Fixed stripslashes problem for viewing news comments
+!	Added code from Formesque module (an advanced version of the original Form
+	module, modified by Rudolph Lartey from www.carbonect.com), and made further
+	interface improvements for select box/checkbox group/radio group options.
+#	Possibly fixed bugs where an S appears before file and dir modes
+#	Fixed bug where users can be added with same emails (in Administration)
+-	Removed support for PEAR, as it was deemed an unnecessary addition which only
+	makes code more bulky, and removing it will decrease package size a lot
++	New "homepage redirect" option so first page is included and not redirected to
+#	Fixed text not being shown when module uninstalled
+!	Imporved interface for basic group permissions
+26-Mar-2005 Stefan Braunewell
+#	Fixed bug with front-end logins
+#	Fixed bug when saving intro page 
++	Added check on sign-up if e-mail exists (thanks to P. Melief)
+#	Fixed bugs concerning moving/deleting pages
+#	Fixed list of parents in page settings
+#	Fixed mkdir without mode parameter
+#	Added a check on install to ensure PHP 4.1.x compatibility (thanks to Wanderer)
++	Added support for PAGES_DIRECTORY set to root
++	Search form now supports quotes (thanks to Manafta)
+#	Fixed page section ordering
+#	News items are displayed with name of poster instead of "Unknown"
+#	Deletion confirmation popup window in media section now shows correct file name
+------------------------------------- 2.3.1 -------------------------------------
+03-Fed-2005 Ryan Djurovich
++	Now there is two types of "filesystem modes", one for directories and one
+	for files. Having different settings is very common for most servers, so
+	this addition should fix many problems people had with 2.3.0.
+-	Removed filesystem mode options from installation
+!	Removed duplicate text on installation step 3 for timezone
+!	All "access files" for the news module now stored in pages/posts instead
+	of a sub-dir relative to the page (this fixes many bugs)
+#	Fixed major bugs when deleting pages with sub-pages
+!	Removed the restrictions that prevent a user for changing a pages level
+#	Fixed bug with "toggle" plus/minus in IE for pages list
+#	Fixed some bugs where /pages was not replaced with PAGES_DIRECTORY constant
+------------------------------------- 2.3.0 -------------------------------------
+26-Jan-2005 Ryan Djurovich
+#	Fixed bug in framework/functions.php that made root parent always equal 8
+#	Added missing braces in lines 182 and 208 of admin/pages/settings2.php
+#	Fixed SQL-query on line 172, placing a / after $old_link
+#	Added eregi checks for PAGES_DIRECTORY on lines 140 and 150 of
+	admin/pages/settings2.php
+#	Added ordering cleaning to delete_post.php on line 53 for news module
+!	GMT option is selected for "Default Timezone" in the installer, instead
+	of the old "Please select" message (which had the same value as GMT)
+28-Jan-2005 Ryan Djurovich
+!	Ability to specify the chmod number when WB uploads files, etc.
+!	Modified file headers (copyright/license notice) so they now look almost the
+	same, independant of font. Also, it now covers copyright for 2005.
+30-Jan-2005 Ryan Djurovich
+#	Added code on wb/admin/pages/delete.php to remove sections from the sections
+	table when a page is deleted.
++	New 'Smart Login' prevents users from using external password managers,
+	and can be set to remember the users password using cookies.
+!	SourceForge CVS module now called websitebaker2 (instead of just
+	websitebaker). Also, all file versions have been reset.
+01-Fed-2005 Ryan Djurovich
+!	Added code to prevent from changing a pages level (it simply disables
+	the select box), to prevent many possible bugs.
+------------------------------------- 2.2.4 -------------------------------------
+23-Dec-2004 Ryan Djurovich
+!	Change 'EXACT_PHRASE' to 'EXACT_MATCH' on line 261 of wb/languages/EN.php
+#	Fixed multi-language support in search
++	Added more detailed options to list of PHP error reporting level's
+-	Removed ability to change language and PHP error reporting level
+	on installation to make things easier for newbie's
++	Ability to select custom spacer for page filename's
+!	Changed the way a language code is found on language installation
++	Added template permissions to groups
+#	Fixed bug when trying to change email from Preferences (admin and frontend)
+#	Fixed bug with auto-selection of "System Default" for Preferences
+!	News module now use's WYSIWYG for modifying news posts
++	Ability to specify both the pages and media target directories
+------------------------------------ 2.2.3-c ------------------------------------
+22-Dec-2004 Ryan Djurovich
+#	Fixed problem with DB password being reset if Settings saved in basic mode
+------------------------------------ 2.2.3-b ------------------------------------
+21-Dec-2004 Ryan Djurovich
+#	Fixed minor bug on admin templates section
+#	Fixed bug on rename.php and rename2.php in admin media section
+------------------------------------- 2.2.3 -------------------------------------
+20-Dec-2004 Ryan Djurovich
++	Added WB release version in Administration (top right corner)
+!	New option to prevent users from adding level 0 pages
+#	Fixed bug when deleting post's in News module
++	Added new field in pages table for "root" parent (level 0 parent), for
+	extra flexability in creating templates
+!	Round template now supports unlimited page levels
+------------------------------------- 2.2.2 -------------------------------------
+18-Dec-2004 Ryan Djurovich
++	New option under Search Settings for selecting custom template for search
++	New option when changing page settings to set the target
+#	Fixed error when saving a user after editing
+!	Users can now modify sub-page if they dont have permissions on the parent
+------------------------------------- 2.2.1 -------------------------------------
+15-Dec-2004 Ryan Djurovich
+#	Fixed bug when changing password on preferences form (front-end)
+#	Fixed bug when retrieving user details (administration)
+#	Added check to see if module, template, or language is in use when deleting
+#	Fixed up email that is sent to user from a submitted form
+#	Fixed major problem with module permissions which stopped it from working
+------------------------------------- 2.2.0 -------------------------------------
+14-Dec-2004 (Correct date[s] unkown) Ryan Djurovich
++	Multiple-level page support
++	Multiple section's for pages (including interface)
+!	Removed text created using two words on all areas
+	(e.g. {Intro} {PAGE} is now {INTRO_PAGE})
+	this is for better language support
++	Added Languages section
+!	Moved Templates and Modules under Add-ons section
+!	Changed name of "Default" template to "Round"
++	Added "All CSS" template
++	Added "Jump"
++	Added 
+!	Modified "Box" template to support multiple page levels
++	Added "Menu Link" module
++	Added "News" module
++	Added "Code" module
++	Added "Form" module
++	Added "Wrapper" module
+!	Changed name of "Normal Page" module to "WYSIWYG"
++	Created new admin wrapper script to ease module develpment
++	Media now automatically creates index.php file for every
+	sub-folder made (for security purposes)
+!	Change "Help" link in Administration menu so it now directs
+	to the the new Website Baker documentation website found at:
+	http://www.websitebaker.org/documentation
+!	Password is now required to change email in preferences
++	User can now select custom Language and Date & Time Formats
++	Added search functionality, with three different "methods":
+	1. Using all words  2. Using any words  3. Exact match
++	Added native MySQL database support
Index: branches/2.8.x/wb/include/jquery/jquery-ui.css
===================================================================
--- branches/2.8.x/wb/include/jquery/jquery-ui.css	(nonexistent)
+++ branches/2.8.x/wb/include/jquery/jquery-ui.css	(revision 1857)
@@ -0,0 +1,462 @@
+/*! jQuery UI - v1.9.2 - 2012-11-23
+* http://jqueryui.com
+* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
+* To view and modify this theme, visit http://jqueryui.com/themeroller/
+* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
+.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
+.ui-helper-clearfix:after { clear: both; }
+.ui-helper-clearfix { zoom: 1; }
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; }
+.ui-accordion .ui-accordion-icons { padding-left: 2.2em; }
+.ui-accordion .ui-accordion-noicons { padding-left: .7em; }
+.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; }
+.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
+.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; zoom: 1; }
+.ui-autocomplete {
+	position: absolute;
+	top: 0;
+	left: 0;
+	cursor: default;
+}
+
+/* workarounds */
+* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
+.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
+.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; }
+.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
+button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
+.ui-button-icons-only { width: 3.4em; } 
+button.ui-button-icons-only { width: 3.7em; } 
+
+/*button text element */
+.ui-button .ui-button-text { display: block; line-height: 1.4;  }
+.ui-button-text-only .ui-button-text { padding: .4em 1em; }
+.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
+.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
+.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
+.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
+/* no icon support for input elements, provide padding by default */
+input.ui-button { padding: .4em 1em; }
+
+/*button icon element(s) */
+.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
+.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
+.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
+.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+
+/*button sets*/
+.ui-buttonset { margin-right: 7px; }
+.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
+
+/* workarounds */
+button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
+.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
+.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
+.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
+.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
+.ui-datepicker .ui-datepicker-prev { left:2px; }
+.ui-datepicker .ui-datepicker-next { right:2px; }
+.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
+.ui-datepicker .ui-datepicker-next-hover { right:1px; }
+.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
+.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
+.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
+.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
+.ui-datepicker select.ui-datepicker-month, 
+.ui-datepicker select.ui-datepicker-year { width: 49%;}
+.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
+.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
+.ui-datepicker td { border: 0; padding: 1px; }
+.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
+.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
+.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
+.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
+
+/* with multiple calendars */
+.ui-datepicker.ui-datepicker-multi { width:auto; }
+.ui-datepicker-multi .ui-datepicker-group { float:left; }
+.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
+.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
+.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
+.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
+.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
+.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
+
+/* RTL support */
+.ui-datepicker-rtl { direction: rtl; }
+.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+
+/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
+.ui-datepicker-cover {
+    position: absolute; /*must have*/
+    z-index: -1; /*must have*/
+    filter: mask(); /*must have*/
+    top: -4px; /*must have*/
+    left: -4px; /*must have*/
+    width: 200px; /*must have*/
+    height: 200px; /*must have*/
+}.ui-dialog { position: absolute; top: 0; left: 0; padding: .2em; width: 300px; overflow: hidden; }
+.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
+.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
+.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
+.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
+.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
+.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
+.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
+.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
+.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
+.ui-draggable .ui-dialog-titlebar { cursor: move; }
+.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; }
+.ui-menu .ui-menu { margin-top: -3px; position: absolute; }
+.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }
+.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
+.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
+.ui-menu .ui-menu-item a.ui-state-focus,
+.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; }
+
+.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
+.ui-menu .ui-state-disabled a { cursor: default; }
+
+/* icon support */
+.ui-menu-icons { position: relative; }
+.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
+
+/* left-aligned */
+.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
+
+/* right-aligned */
+.ui-menu .ui-menu-icon { position: static; float: right; }
+.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
+.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }.ui-resizable { position: relative;}
+.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
+.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
+.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
+.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
+.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
+.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
+.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
+.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
+.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
+.ui-slider { position: relative; text-align: left; }
+.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
+.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
+
+.ui-slider-horizontal { height: .8em; }
+.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
+.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
+.ui-slider-horizontal .ui-slider-range-min { left: 0; }
+.ui-slider-horizontal .ui-slider-range-max { right: 0; }
+
+.ui-slider-vertical { width: .8em; height: 100px; }
+.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
+.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
+.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
+.ui-slider-vertical .ui-slider-range-max { top: 0; }.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
+.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
+.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
+.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
+.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
+.ui-spinner-up { top: 0; }
+.ui-spinner-down { bottom: 0; }
+
+/* TR overrides */
+.ui-spinner .ui-icon-triangle-1-s {
+	/* need to fix icons sprite */
+	background-position:-65px -16px;
+}
+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
+.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
+.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 1px .2em 0 0; border-bottom: 0; padding: 0; white-space: nowrap; }
+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: text; }
+.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
+.ui-tooltip {
+	padding: 8px;
+	position: absolute;
+	z-index: 9999;
+	max-width: 300px;
+	-webkit-box-shadow: 0 0 5px #aaa;
+	box-shadow: 0 0 5px #aaa;
+}
+/* Fades and background-images don't work well together in IE6, drop the image */
+* html .ui-tooltip {
+	background-image: none;
+}
+body .ui-tooltip { border-width: 2px; }
+
+/* Component containers
+----------------------------------*/
+.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
+.ui-widget .ui-widget { font-size: 1em; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
+.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
+.ui-widget-content a { color: #222222; }
+.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
+.ui-widget-header a { color: #222222; }
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited { color: #212121; text-decoration: none; }
+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+.ui-state-disabled .ui-icon { filter:Alpha(Opacity=35); } /* For IE8 - See #6059 */
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
+
+/* positioning */
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-close { background-position: -80px -128px; }
+.ui-icon-closethick { background-position: -96px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-on { background-position: -96px -144px; }
+.ui-icon-radio-off { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-squaresmall-close { background-position: -80px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
+.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
+.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
+.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
+
+/* Overlays */
+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); }
+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
\ No newline at end of file
Index: branches/2.8.x/wb/include/jquery/jquery-ui-min.js
===================================================================
--- branches/2.8.x/wb/include/jquery/jquery-ui-min.js	(nonexistent)
+++ branches/2.8.x/wb/include/jquery/jquery-ui-min.js	(revision 1857)
@@ -0,0 +1,6 @@
+/*! jQuery UI - v1.9.2 - 2012-11-23
+* http://jqueryui.com
+* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
+
+(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().andSelf().filter(function(){return e.css(this,"visibility")==="hidden"}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));n.offsetHeight,e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart="onselectstart"in n,t.removeChild(n).style.display="none"}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),function(){var t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];e.ui.ie=t.length?!0:!1,e.ui.ie6=parseFloat(t[1],10)===6}(),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r<i.length;r++)e.options[i[r][0]]&&i[r][1].apply(e.element,n)}},contains:e.contains,hasScroll:function(t,n){if(e(t).css("overflow")==="hidden")return!1;var r=n&&n==="left"?"scrollLeft":"scrollTop",i=!1;return t[r]>0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)},isOverAxis:function(e,t,n){return e>t&&e<t+n},isOver:function(t,n,r,i,s,o){return e.ui.isOverAxis(t,r,s)&&e.ui.isOverAxis(n,i,o)}})})(jQuery);(function(e,t){var n=0,r=Array.prototype.slice,i=e.cleanData;e.cleanData=function(t){for(var n=0,r;(r=t[n])!=null;n++)try{e(r).triggerHandler("remove")}catch(s){}i(t)},e.widget=function(t,n,r){var i,s,o,u,a=t.split(".")[0];t=t.split(".")[1],i=a+"-"+t,r||(r=n,n=e.Widget),e.expr[":"][i.toLowerCase()]=function(t){return!!e.data(t,i)},e[a]=e[a]||{},s=e[a][t],o=e[a][t]=function(e,t){if(!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,s,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),u=new n,u.options=e.widget.extend({},u.options),e.each(r,function(t,i){e.isFunction(i)&&(r[t]=function(){var e=function(){return n.prototype[t].apply(this,arguments)},r=function(e){return n.prototype[t].apply(this,e)};return function(){var t=this._super,n=this._superApply,s;return this._super=e,this._superApply=r,s=i.apply(this,arguments),this._super=t,this._superApply=n,s}}())}),o.prototype=e.widget.extend(u,{widgetEventPrefix:s?u.widgetEventPrefix:t},r,{constructor:o,namespace:a,widgetName:t,widgetBaseClass:i,widgetFullName:i}),s?(e.each(s._childConstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete s._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o)},e.widget.extend=function(n){var i=r.call(arguments,1),s=0,o=i.length,u,a;for(;s<o;s++)for(u in i[s])a=i[s][u],i[s].hasOwnProperty(u)&&a!==t&&(e.isPlainObject(a)?n[u]=e.isPlainObject(n[u])?e.widget.extend({},n[u],a):e.widget.extend({},a):n[u]=a);return n},e.widget.bridge=function(n,i){var s=i.prototype.widgetFullName||n;e.fn[n]=function(o){var u=typeof o=="string",a=r.call(arguments,1),f=this;return o=!u&&a.length?e.widget.extend.apply(null,[o].concat(a)):o,u?this.each(function(){var r,i=e.data(this,s);if(!i)return e.error("cannot call methods on "+n+" prior to initialization; "+"attempted to call method '"+o+"'");if(!e.isFunction(i[o])||o.charAt(0)==="_")return e.error("no such method '"+o+"' for "+n+" widget instance");r=i[o].apply(i,a);if(r!==i&&r!==t)return f=r&&r.jquery?f.pushStack(r.get()):r,!1}):this.each(function(){var t=e.data(this,s);t?t.option(o||{})._init():e.data(this,s,new i(o,this))}),f}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetName,this),e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u<s.length-1;u++)o[s[u]]=o[s[u]]||{},o=o[s[u]];n=s.pop();if(r===t)return o[n]===t?null:o[n];o[n]=r}else{if(r===t)return this.options[n]===t?null:this.options[n];i[n]=r}}return this._setOptions(i),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,e==="disabled"&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(t,n,r){var i,s=this;typeof t!="boolean"&&(r=n,n=t,t=!1),r?(n=i=e(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),e.each(r,function(r,o){function u(){if(!t&&(s.options.disabled===!0||e(this).hasClass("ui-state-disabled")))return;return(typeof o=="string"?s[o]:o).apply(s,arguments)}typeof o!="string"&&(u.guid=o.guid=o.guid||u.guid||e.guid++);var a=r.match(/^(\w+)\s*(.*)$/),f=a[1]+s.eventNamespace,l=a[2];l?i.delegate(l,f,u):n.bind(f,u)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function n(){return(typeof e=="string"?r[e]:e).apply(r,arguments)}var r=this;return setTimeout(n,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,n,r){var i,s,o=this.options[t];r=r||{},n=e.Event(n),n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],s=n.originalEvent;if(s)for(i in s)i in n||(n[i]=s[i]);return this.element.trigger(n,r),!(e.isFunction(o)&&o.apply(this.element[0],[n].concat(r))===!1||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(r,i,s){typeof i=="string"&&(i={effect:i});var o,u=i?i===!0||typeof i=="number"?n:i.effect||n:t;i=i||{},typeof i=="number"&&(i={duration:i}),o=!e.isEmptyObject(i),i.complete=s,i.delay&&r.delay(i.delay),o&&e.effects&&(e.effects.effect[u]||e.uiBackCompat!==!1&&e.effects[u])?r[t](i):u!==t&&r[u]?r[u](i.duration,i.easing,s):r.queue(function(n){e(this)[t](),s&&s.call(r[0]),n()})}}),e.uiBackCompat!==!1&&(e.Widget.prototype._getCreateOptions=function(){return e.metadata&&e.metadata.get(this.element[0])[this.widgetName]})})(jQuery);(function(e,t){var n=!1;e(document).mouseup(function(e){n=!1}),e.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(n){if(!0===e.data(n.target,t.widgetName+".preventClickEvent"))return e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(n)return;this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var r=this,i=t.which===1,s=typeof this.options.cancel=="string"&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;if(!i||s||!this._mouseCapture(t))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)){this._mouseStarted=this._mouseStart(t)!==!1;if(!this._mouseStarted)return t.preventDefault(),!0}return!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return r._mouseMove(e)},this._mouseUpDelegate=function(e){return r._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0,!0},_mouseMove:function(t){return!e.ui.ie||document.documentMode>=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width<t.element[0].scrollWidth,s=r==="scroll"||r==="auto"&&t.height<t.element[0].scrollHeight;return{width:i?e.position.scrollbarWidth():0,height:s?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),r=e.isWindow(n[0]);return{element:n,isWindow:r,offset:n.offset()||{left:0,top:0},scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:r?n.width():n.outerWidth(),height:r?n.height():n.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);t=e.extend({},t);var n,l,d,v,m,g=e(t.of),y=e.position.getWithinInfo(t.within),b=e.position.getScrollInfo(y),w=g[0],E=(t.collision||"flip").split(" "),S={};return w.nodeType===9?(l=g.width(),d=g.height(),v={top:0,left:0}):e.isWindow(w)?(l=g.width(),d=g.height(),v={top:g.scrollTop(),left:g.scrollLeft()}):w.preventDefault?(t.at="left top",l=d=0,v={top:w.pageY,left:w.pageX}):(l=g.outerWidth(),d=g.outerHeight(),v=g.offset()),m=e.extend({},v),e.each(["my","at"],function(){var e=(t[this]||"").split(" "),n,r;e.length===1&&(e=o.test(e[0])?e.concat(["center"]):u.test(e[0])?["center"].concat(e):["center","center"]),e[0]=o.test(e[0])?e[0]:"center",e[1]=u.test(e[1])?e[1]:"center",n=a.exec(e[0]),r=a.exec(e[1]),S[this]=[n?n[0]:0,r?r[0]:0],t[this]=[f.exec(e[0])[0],f.exec(e[1])[0]]}),E.length===1&&(E[1]=E[0]),t.at[0]==="right"?m.left+=l:t.at[0]==="center"&&(m.left+=l/2),t.at[1]==="bottom"?m.top+=d:t.at[1]==="center"&&(m.top+=d/2),n=h(S.at,l,d),m.left+=n[0],m.top+=n[1],this.each(function(){var o,u,a=e(this),f=a.outerWidth(),c=a.outerHeight(),w=p(this,"marginLeft"),x=p(this,"marginTop"),T=f+w+p(this,"marginRight")+b.width,N=c+x+p(this,"marginBottom")+b.height,C=e.extend({},m),k=h(S.my,a.outerWidth(),a.outerHeight());t.my[0]==="right"?C.left-=f:t.my[0]==="center"&&(C.left-=f/2),t.my[1]==="bottom"?C.top-=c:t.my[1]==="center"&&(C.top-=c/2),C.left+=k[0],C.top+=k[1],e.support.offsetFractions||(C.left=s(C.left),C.top=s(C.top)),o={marginLeft:w,marginTop:x},e.each(["left","top"],function(r,i){e.ui.position[E[r]]&&e.ui.position[E[r]][i](C,{targetWidth:l,targetHeight:d,elemWidth:f,elemHeight:c,collisionPosition:o,collisionWidth:T,collisionHeight:N,offset:[n[0]+k[0],n[1]+k[1]],my:t.my,at:t.at,within:y,elem:a})}),e.fn.bgiframe&&a.bgiframe(),t.using&&(u=function(e){var n=v.left-C.left,s=n+l-f,o=v.top-C.top,u=o+d-c,h={target:{element:g,left:v.left,top:v.top,width:l,height:d},element:{element:a,left:C.left,top:C.top,width:f,height:c},horizontal:s<0?"left":n>0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};l<f&&i(n+s)<l&&(h.horizontal="center"),d<c&&i(o+u)<d&&(h.vertical="middle"),r(i(n),i(s))>r(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p<i(a))e.left+=l+c+h}else if(f>0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)<f)e.left+=l+c+h}},top:function(e,t){var n=t.within,r=n.offset.top+n.scrollTop,s=n.height,o=n.isWindow?n.scrollTop:n.offset.top,u=e.top-t.collisionPosition.marginTop,a=u-o,f=u+t.collisionHeight-s-o,l=t.my[1]==="top",c=l?-t.elemHeight:t.my[1]==="bottom"?t.elemHeight:0,h=t.at[1]==="top"?t.targetHeight:t.at[1]==="bottom"?-t.targetHeight:0,p=-2*t.offset[1],d,v;a<0?(v=e.top+c+h+p+t.collisionHeight-s-r,e.top+c+h+p>a&&(v<0||v<i(a))&&(e.top+=c+h+p)):f>0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)<f)&&(e.top+=c+h+p))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,n,r,i,s,o=document.getElementsByTagName("body")[0],u=document.createElement("div");t=document.createElement(o?"div":"body"),r={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&e.extend(r,{position:"absolute",left:"-1000px",top:"-1000px"});for(s in r)t.style[s]=r[s];t.appendChild(u),n=o||document.documentElement,n.insertBefore(t,n.firstChild),u.style.cssText="position: absolute; left: 10.7432222px;",i=e(u).offset().left,e.support.offsetFractions=i>10&&i<11,t.innerHTML="",n.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var n=e.fn.position;e.fn.position=function(r){if(!r||!r.offset)return n.call(this,r);var i=r.offset.split(" "),s=r.at.split(" ");return i.length===1&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),s.length===1&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),n.call(this,e.extend(r,{at:s[0]+i[0]+" "+s[1]+i[1],offset:t}))}}(jQuery)})(jQuery);(function(e,t){var n=0,r={},i={};r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",e.widget("ui.accordion",{version:"1.9.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n),r=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),!r.collapsible&&(r.active===!1||r.active==null)&&(r.active=0),r.active<0&&(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this._createIcons(),this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(n){var r=e(this),i=r.attr("id"),s=r.next(),o=s.attr("id");i||(i=t+"-header-"+n,r.attr("id",i)),o||(o=t+"-panel-"+n,s.attr("id",o)),r.attr("aria-controls",o),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(r.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this.options.heightStyle!=="content"&&e.css("height","")},_setOption:function(e,t){if(e==="active"){this._activate(t);return}e==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e==="collapsible"&&!t&&this.options.active===!1&&this._activate(0),e==="icons"&&(this._destroyIcons(),t&&this._createIcons()),e==="disabled"&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t,n,r=this.options.heightStyle,i=this.element.parent();r==="fill"?(e.support.minHeight||(n=i.css("overflow"),i.css("overflow","hidden")),t=i.height(),this.element.siblings(":visible").each(function(){var n=e(this),r=n.css("position");if(r==="absolute"||r==="fixed")return;t-=n.outerHeight(!0)}),n&&i.css("overflow",n),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):r==="auto"&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).css("height","").height())}).height(t))},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var n={};if(!t)return;e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._on(this.headers,n)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&&n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&&!n.collapsible||this._trigger("beforeActivate",t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-expanded":"false","aria-hidden":"true"}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&&(!t.length||e.index()<t.index()),c=this.options.animate||{},h=l&&c.down||c,p=function(){a._toggleComplete(n)};typeof h=="number"&&(u=h),typeof h=="string"&&(o=h),o=o||h.easing||c.easing,u=u||h.duration||c.duration;if(!t.length)return e.animate(i,u,o,p);if(!e.length)return t.animate(r,u,o,p);s=e.show().outerHeight(),t.animate(r,{duration:u,easing:o,step:function(e,t){t.now=Math.round(e)}}),e.hide().animate(i,{duration:u,easing:o,complete:p,step:function(e,n){n.now=Math.round(e),n.prop!=="height"?f+=n.now:a.options.heightStyle!=="content"&&(n.now=Math.round(s-t.outerHeight()-f),f=0)}})},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),e.uiBackCompat!==!1&&(function(e,t){e.extend(t.options,{navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}});var n=t._create;t._create=function(){if(this.options.navigation){var t=this,r=this.element.find(this.options.header),i=r.next(),s=r.add(i).find("a").filter(this.options.navigationFilter)[0];s&&r.add(i).each(function(n){if(e.contains(this,s))return t.options.active=Math.floor(n/2),!1})}n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options,{heightStyle:null,autoHeight:!0,clearStyle:!1,fillSpace:!1});var n=t._create,r=t._setOption;e.extend(t,{_create:function(){this.options.heightStyle=this.options.heightStyle||this._mergeHeightStyle(),n.call(this)},_setOption:function(e){if(e==="autoHeight"||e==="clearStyle"||e==="fillSpace")this.options.heightStyle=this._mergeHeightStyle();r.apply(this,arguments)},_mergeHeightStyle:function(){var e=this.options;if(e.fillSpace)return"fill";if(e.clearStyle)return"content";if(e.autoHeight)return"auto"}})}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options.icons,{activeHeader:null,headerSelected:"ui-icon-triangle-1-s"});var n=t._createIcons;t._createIcons=function(){this.options.icons&&(this.options.icons.activeHeader=this.options.icons.activeHeader||this.options.icons.headerSelected),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){t.activate=t._activate;var n=t._findActive;t._findActive=function(e){return e===-1&&(e=!1),e&&typeof e!="number"&&(e=this.headers.index(this.headers.filter(e)),e===-1&&(e=!1)),n.call(this,e)}}(jQuery,jQuery.ui.accordion.prototype),jQuery.ui.accordion.prototype.resize=jQuery.ui.accordion.prototype.refresh,function(e,t){e.extend(t.options,{change:null,changestart:null});var n=t._trigger;t._trigger=function(e,t,r){var i=n.apply(this,arguments);return i?(e==="beforeActivate"?i=n.call(this,"changestart",t,{oldHeader:r.oldHeader,oldContent:r.oldPanel,newHeader:r.newHeader,newContent:r.newPanel}):e==="activate"&&(i=n.call(this,"change",t,{oldHeader:r.oldHeader,oldContent:r.oldPanel,newHeader:r.newHeader,newContent:r.newPanel})),i):!1}}(jQuery,jQuery.ui.accordion.prototype),function(e,t){e.extend(t.options,{animate:null,animated:"slide"});var n=t._create;t._create=function(){var e=this.options;e.animate===null&&(e.animated?e.animated==="slide"?e.animate=300:e.animated==="bounceslide"?e.animate={duration:200,down:{easing:"easeOutBounce",duration:1e3}}:e.animate=e.animated:e.animate=!1),n.call(this)}}(jQuery,jQuery.ui.accordion.prototype))})(jQuery);(function(e,t){var n=0;e.widget("ui.autocomplete",{version:"1.9.2",defaultElement:"<input>",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:e(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var n=this.menu.element[0];e(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(r){r.target!==t.element[0]&&r.target!==n&&!e.contains(n,r.target)&&t.close()})})},menufocus:function(t,n){if(this.isNewMenu){this.isNewMenu=!1;if(t.originalEvent&&/^mouse/.test(t.originalEvent.type)){this.menu.blur(),this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)});return}}var r=n.item.data("ui-autocomplete-item")||n.item.data("item.autocomplete");!1!==this._trigger("focus",t,{item:r})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(e,t){var n=t.item.data("ui-autocomplete-item")||t.item.data("item.autocomplete"),r=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),e.fn.bgiframe&&this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),e==="source"&&this._initSource(),e==="appendTo"&&this.menu.element.appendTo(this.document.find(t||"body")[0]),e==="disabled"&&t&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){return this.element.is("textarea")?!0:this.element.is("input")?!1:this.element.prop("isContentEditable")},_initSource:function(){var t,n,r=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(n,r){r(e.ui.autocomplete.filter(t,n.term))}):typeof this.options.source=="string"?(n=this.options.source,this.source=function(t,i){r.xhr&&r.xhr.abort(),r.xhr=e.ajax({url:n,data:t,dataType:"json",success:function(e){i(e)},error:function(){i([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){e=e!=null?e:this._value(),this.term=this._value();if(e.length<this.options.minLength)return this.close(t);if(this._trigger("search",t)===!1)return;return this._search(e)},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=this,t=++n;return function(r){t===n&&e.__response(r),e.pending--,e.pending||e.element.removeClass("ui-autocomplete-loading")}},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return typeof t=="string"?{label:t,value:t}:e.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var n=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(n,t),this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var r=this;e.each(n,function(e,n){r._renderItemData(t,n)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,n){return e("<li>").append(e("<a>").text(n.label)).appendTo(t)},_move:function(e,t){if(!this.menu.element.is(":visible")){this.search(null,t);return}if(this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)){this._value(this.term),this.menu.blur();return}this.menu[e](t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){if(!this.isMultiLine||this.menu.element.is(":visible"))this._move(e,t),t.preventDefault()}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,n){var r=new RegExp(e.ui.autocomplete.escapeRegex(n),"i");return e.grep(t,function(e){return r.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments);if(this.options.disabled||this.cancelSearch)return;e&&e.length?t=this.options.messages.results(e.length):t=this.options.messages.noResults,this.liveRegion.text(t)}})})(jQuery);(function(e,t){var n,r,i,s,o="ui-button ui-widget ui-state-default ui-corner-all",u="ui-state-hover ui-state-active ",a="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",f=function(){var t=e(this).find(":ui-button");setTimeout(function(){t.button("refresh")},1)},l=function(t){var n=t.name,r=t.form,i=e([]);return n&&(r?i=e(r).find("[name='"+n+"']"):i=e("[name='"+n+"']",t.ownerDocument).filter(function(){return!this.form})),i};e.widget("ui.button",{version:"1.9.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,f),typeof this.options.disabled!="boolean"?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var t=this,u=this.options,a=this.type==="checkbox"||this.type==="radio",c=a?"":"ui-state-active",h="ui-state-focus";u.label===null&&(u.label=this.type==="input"?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(o).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){if(u.disabled)return;this===n&&e(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){if(u.disabled)return;e(this).removeClass(c)}).bind("click"+this.eventNamespace,function(e){u.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){t.buttonElement.addClass(h)}).bind("blur"+this.eventNamespace,function(){t.buttonElement.removeClass(h)}),a&&(this.element.bind("change"+this.eventNamespace,function(){if(s)return;t.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(e){if(u.disabled)return;s=!1,r=e.pageX,i=e.pageY}).bind("mouseup"+this.eventNamespace,function(e){if(u.disabled)return;if(r!==e.pageX||i!==e.pageY)s=!0})),this.type==="checkbox"?this.buttonElement.bind("click"+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).toggleClass("ui-state-active"),t.buttonElement.attr("aria-pressed",t.element[0].checked)}):this.type==="radio"?this.buttonElement.bind("click"+this.eventNamespace,function(){if(u.disabled||s)return!1;e(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var n=t.element[0];l(n).not(n).map(function(){return e(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(u.disabled)return!1;e(this).addClass("ui-state-active"),n=this,t.document.one("mouseup",function(){n=null})}).bind("mouseup"+this.eventNamespace,function(){if(u.disabled)return!1;e(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(t){if(u.disabled)return!1;(t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCode.ENTER)&&e(this).addClass("ui-state-active")}).bind("keyup"+this.eventNamespace,function(){e(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===e.ui.keyCode.SPACE&&e(this).click()})),this._setOption("disabled",u.disabled),this._resetButton()},_determineButtonType:function(){var e,t,n;this.element.is("[type=checkbox]")?this.type="checkbox":this.element.is("[type=radio]")?this.type="radio":this.element.is("input")?this.type="input":this.type="button",this.type==="checkbox"||this.type==="radio"?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),n=this.element.is(":checked"),n&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",n)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(o+" "+u+" "+a).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){this._super(e,t);if(e==="disabled"){t?this.element.prop("disabled",!0):this.element.prop("disabled",!1);return}this._resetButton()},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),this.type==="radio"?l(this.element[0]).each(function(){e(this).is(":checked")?e(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):e(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):this.type==="checkbox"&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if(this.type==="input"){this.options.label&&this.element.val(this.options.label);return}var t=this.buttonElement.removeClass(a),n=e("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),r=this.options.icons,i=r.primary&&r.secondary,s=[];r.primary||r.secondary?(this.options.text&&s.push("ui-button-text-icon"+(i?"s":r.primary?"-primary":"-secondary")),r.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+r.primary+"'></span>"),r.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+r.secondary+"'></span>"),this.options.text||(s.push(i?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",e.trim(n)))):s.push("ui-button-text-only"),t.addClass(s.join(" "))}}),e.widget("ui.buttonset",{version:"1.9.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){e==="disabled"&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var t=this.element.css("direction")==="rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return e(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return e(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})})(jQuery);(function($,undefined){function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function bindHover(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){$(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!=-1&&$(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!=-1&&$(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",function(){$.datepicker._isDisabledDatepicker(instActive.inline?e.parent()[0]:instActive.input[0])||($(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!=-1&&$(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!=-1&&$(this).addClass("ui-datepicker-next-hover"))})}function extendRemove(e,t){$.extend(e,t);for(var n in t)if(t[n]==null||t[n]==undefined)e[n]=t[n];return e}$.extend($.ui,{datepicker:{version:"1.9.2"}});var PROP_NAME="datepicker",dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline=nodeName=="div"||nodeName=="span";target.id||(this.uuid+=1,target.id="dp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName=="input"?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(e,t){var n=e[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')):this.dpDiv}},_connectDatepicker:function(e,t){var n=$(e);t.append=$([]),t.trigger=$([]);if(n.hasClass(this.markerClassName))return;this._attachments(n,t),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,n,r){t.settings[n]=r}).bind("getData.datepicker",function(e,n){return this._get(t,n)}),this._autoSize(t),$.data(e,PROP_NAME,t),t.settings.disabled&&this._disableDatepicker(e)},_attachments:function(e,t){var n=this._get(t,"appendText"),r=this._get(t,"isRTL");t.append&&t.append.remove(),n&&(t.append=$('<span class="'+this._appendClass+'">'+n+"</span>"),e[r?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove();var i=this._get(t,"showOn");(i=="focus"||i=="both")&&e.focus(this._showDatepicker);if(i=="button"||i=="both"){var s=this._get(t,"buttonText"),o=this._get(t,"buttonImage");t.trigger=$(this._get(t,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:o,alt:s,title:s}):$('<button type="button"></button>').addClass(this._triggerClass).html(o==""?s:$("<img/>").attr({src:o,alt:s,title:s}))),e[r?"before":"after"](t.trigger),t.trigger.click(function(){return $.datepicker._datepickerShowing&&$.datepicker._lastInput==e[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&&$.datepicker._lastInput!=e[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(e[0])):$.datepicker._showDatepicker(e[0]),!1})}},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t=new Date(2009,11,20),n=this._get(e,"dateFormat");if(n.match(/[DM]/)){var r=function(e){var t=0,n=0;for(var r=0;r<e.length;r++)e[r].length>t&&(t=e[r].length,n=r);return n};t.setMonth(r(this._get(e,n.match(/MM/)?"monthNames":"monthNamesShort"))),t.setDate(r(this._get(e,n.match(/DD/)?"dayNames":"dayNamesShort"))+20-t.getDay())}e.input.attr("size",this._formatDate(e,t).length)}},_inlineDatepicker:function(e,t){var n=$(e);if(n.hasClass(this.markerClassName))return;n.addClass(this.markerClassName).append(t.dpDiv).bind("setData.datepicker",function(e,n,r){t.settings[n]=r}).bind("getData.datepicker",function(e,n){return this._get(t,n)}),$.data(e,PROP_NAME,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block")},_dialogDatepicker:function(e,t,n,r,i){var s=this._dialogInst;if(!s){this.uuid+=1;var o="dp"+this.uuid;this._dialogInput=$('<input type="text" id="'+o+'" style="position: absolute; top: -100px; width: 0px;"/>'),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),s=this._dialogInst=this._newInst(this._dialogInput,!1),s.settings={},$.data(this._dialogInput[0],PROP_NAME,s)}extendRemove(s.settings,r||{}),t=t&&t.constructor==Date?this._formatDate(s,t):t,this._dialogInput.val(t),this._pos=i?i.length?i:[i.pageX,i.pageY]:null;if(!this._pos){var u=document.documentElement.clientWidth,a=document.documentElement.clientHeight,f=document.documentElement.scrollLeft||document.body.scrollLeft,l=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[u/2-100+f,a/2-150+l]}return this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),s.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,s),this},_destroyDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();$.removeData(e,PROP_NAME),r=="input"?(n.append.remove(),n.trigger.remove(),t.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):(r=="div"||r=="span")&&t.removeClass(this.markerClassName).empty()},_enableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r=="input")e.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if(r=="div"||r=="span"){var i=t.children("."+this._inlineClass);i.children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t})},_disableDatepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(!t.hasClass(this.markerClassName))return;var r=e.nodeName.toLowerCase();if(r=="input")e.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if(r=="div"||r=="span"){var i=t.children("."+this._inlineClass);i.children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]==e)return!0;return!1},_getInst:function(e){try{return $.data(e,PROP_NAME)}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,n){var r=this._getInst(e);if(arguments.length==2&&typeof t=="string")return t=="defaults"?$.extend({},$.datepicker._defaults):r?t=="all"?$.extend({},r.settings):this._get(r,t):null;var i=t||{};typeof t=="string"&&(i={},i[t]=n);if(r){this._curInst==r&&this._hideDatepicker();var s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(r,"min"),u=this._getMinMaxDate(r,"max");extendRemove(r.settings,i),o!==null&&i.dateFormat!==undefined&&i.minDate===undefined&&(r.settings.minDate=this._formatDate(r,o)),u!==null&&i.dateFormat!==undefined&&i.maxDate===undefined&&(r.settings.maxDate=this._formatDate(r,u)),this._attachments($(e),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r)}},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t=$.datepicker._getInst(e.target),n=!0,r=t.dpDiv.is(".ui-datepicker-rtl");t._keyEvent=!0;if($.datepicker._datepickerShowing)switch(e.keyCode){case 9:$.datepicker._hideDatepicker(),n=!1;break;case 13:var i=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",t.dpDiv);i[0]&&$.datepicker._selectDay(e.target,t.selectedMonth,t.selectedYear,i[0]);var s=$.datepicker._get(t,"onSelect");if(s){var o=$.datepicker._formatDate(t);s.apply(t.input?t.input[0]:null,[o,t])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,"stepBigMonths"):-$.datepicker._get(t,"stepMonths"),"M");break;case 34:$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,"stepBigMonths"):+$.datepicker._get(t,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&$.datepicker._clearDate(e.target),n=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&$.datepicker._gotoToday(e.target),n=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&$.datepicker._adjustDate(e.target,r?1:-1,"D"),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&$.datepicker._adjustDate(e.target,e.ctrlKey?-$.datepicker._get(t,"stepBigMonths"):-$.datepicker._get(t,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&$.datepicker._adjustDate(e.target,-7,"D"),n=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&$.datepicker._adjustDate(e.target,r?-1:1,"D"),n=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&$.datepicker._adjustDate(e.target,e.ctrlKey?+$.datepicker._get(t,"stepBigMonths"):+$.datepicker._get(t,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&$.datepicker._adjustDate(e.target,7,"D"),n=e.ctrlKey||e.metaKey;break;default:n=!1}else e.keyCode==36&&e.ctrlKey?$.datepicker._showDatepicker(this):n=!1;n&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t=$.datepicker._getInst(e.target);if($.datepicker._get(t,"constrainInput")){var n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=String.fromCharCode(e.charCode==undefined?e.keyCode:e.charCode);return e.ctrlKey||e.metaKey||r<" "||!n||n.indexOf(r)>-1}},_doKeyUp:function(e){var t=$.datepicker._getInst(e.target);if(t.input.val()!=t.lastVal)try{var n=$.datepicker.parseDate($.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,$.datepicker._getFormatConfig(t));n&&($.datepicker._setDateFromField(t),$.datepicker._updateAlternate(t),$.datepicker._updateDatepicker(t))}catch(r){$.datepicker.log(r)}return!0},_showDatepicker:function(e){e=e.target||e,e.nodeName.toLowerCase()!="input"&&(e=$("input",e.parentNode)[0]);if($.datepicker._isDisabledDatepicker(e)||$.datepicker._lastInput==e)return;var t=$.datepicker._getInst(e);$.datepicker._curInst&&$.datepicker._curInst!=t&&($.datepicker._curInst.dpDiv.stop(!0,!0),t&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var n=$.datepicker._get(t,"beforeShow"),r=n?n.apply(e,[e,t]):{};if(r===!1)return;extendRemove(t.settings,r),t.lastVal=null,$.datepicker._lastInput=e,$.datepicker._setDateFromField(t),$.datepicker._inDialog&&(e.value=""),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(e),$.datepicker._pos[1]+=e.offsetHeight);var i=!1;$(e).parents().each(function(){return i|=$(this).css("position")=="fixed",!i});var s={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.datepicker._updateDatepicker(t),s=$.datepicker._checkOffset(t,s,i),t.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?"static":i?"fixed":"absolute",display:"none",left:s.left+"px",top:s.top+"px"});if(!t.inline){var o=$.datepicker._get(t,"showAnim"),u=$.datepicker._get(t,"duration"),a=function(){var e=t.dpDiv.find("iframe.ui-datepicker-cover");if(!!e.length){var n=$.datepicker._getBorders(t.dpDiv);e.css({left:-n[0],top:-n[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()})}};t.dpDiv.zIndex($(e).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&($.effects.effect[o]||$.effects[o])?t.dpDiv.show(o,$.datepicker._get(t,"showOptions"),u,a):t.dpDiv[o||"show"](o?u:null,a),(!o||!u)&&a(),t.input.is(":visible")&&!t.input.is(":disabled")&&t.input.focus(),$.datepicker._curInst=t}},_updateDatepicker:function(e){this.maxRows=4;var t=$.datepicker._getBorders(e.dpDiv);instActive=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n=e.dpDiv.find("iframe.ui-datepicker-cover");!n.length||n.css({left:-t[0],top:-t[1],width:e.dpDiv.outerWidth(),height:e.dpDiv.outerHeight()}),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var r=this._getNumberOfMonths(e),i=r[1],s=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),i>1&&e.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",s*i+"em"),e.dpDiv[(r[0]!=1||r[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e==$.datepicker._curInst&&$.datepicker._datepickerShowing&&e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&e.input[0]!=document.activeElement&&e.input.focus();if(e.yearshtml){var o=e.yearshtml;setTimeout(function(){o===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),o=e.yearshtml=null},0)}},_getBorders:function(e){var t=function(e){return{thin:1,medium:2,thick:3}[e]||e};return[parseFloat(t(e.css("border-left-width"))),parseFloat(t(e.css("border-top-width")))]},_checkOffset:function(e,t,n){var r=e.dpDiv.outerWidth(),i=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,u=document.documentElement.clientWidth+(n?0:$(document).scrollLeft()),a=document.documentElement.clientHeight+(n?0:$(document).scrollTop());return t.left-=this._get(e,"isRTL")?r-s:0,t.left-=n&&t.left==e.input.offset().left?$(document).scrollLeft():0,t.top-=n&&t.top==e.input.offset().top+o?$(document).scrollTop():0,t.left-=Math.min(t.left,t.left+r>u&&u>r?Math.abs(t.left+r-u):0),t.top-=Math.min(t.top,t.top+i>a&&a>i?Math.abs(i+o):0),t},_findPos:function(e){var t=this._getInst(e),n=this._get(t,"isRTL");while(e&&(e.type=="hidden"||e.nodeType!=1||$.expr.filters.hidden(e)))e=e[n?"previousSibling":"nextSibling"];var r=$(e).offset();return[r.left,r.top]},_hideDatepicker:function(e){var t=this._curInst;if(!t||e&&t!=$.data(e,PROP_NAME))return;if(this._datepickerShowing){var n=this._get(t,"showAnim"),r=this._get(t,"duration"),i=function(){$.datepicker._tidyDialog(t)};$.effects&&($.effects.effect[n]||$.effects[n])?t.dpDiv.hide(n,$.datepicker._get(t,"showOptions"),r,i):t.dpDiv[n=="slideDown"?"slideUp":n=="fadeIn"?"fadeOut":"hide"](n?r:null,i),n||i(),this._datepickerShowing=!1;var s=this._get(t,"onClose");s&&s.apply(t.input?t.input[0]:null,[t.input?t.input.val():"",t]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(!$.datepicker._curInst)return;var t=$(e.target),n=$.datepicker._getInst(t[0]);(t[0].id!=$.datepicker._mainDivId&&t.parents("#"+$.datepicker._mainDivId).length==0&&!t.hasClass($.datepicker.markerClassName)&&!t.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&(!$.datepicker._inDialog||!$.blockUI)||t.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=n)&&$.datepicker._hideDatepicker()},_adjustDate:function(e,t,n){var r=$(e),i=this._getInst(r[0]);if(this._isDisabledDatepicker(r[0]))return;this._adjustInstDate(i,t+(n=="M"?this._get(i,"showCurrentAtPos"):0),n),this._updateDatepicker(i)},_gotoToday:function(e){var t=$(e),n=this._getInst(t[0]);if(this._get(n,"gotoCurrent")&&n.currentDay)n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear;else{var r=new Date;n.selectedDay=r.getDate(),n.drawMonth=n.selectedMonth=r.getMonth(),n.drawYear=n.selectedYear=r.getFullYear()}this._notifyChange(n),this._adjustDate(t)},_selectMonthYear:function(e,t,n){var r=$(e),i=this._getInst(r[0]);i["selected"+(n=="M"?"Month":"Year")]=i["draw"+(n=="M"?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(r)},_selectDay:function(e,t,n,r){var i=$(e);if($(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(i[0]))return;var s=this._getInst(i[0]);s.selectedDay=s.currentDay=$("a",r).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear))},_clearDate:function(e){var t=$(e),n=this._getInst(t[0]);this._selectDate(t,"")},_selectDate:function(e,t){var n=$(e),r=this._getInst(n[0]);t=t!=null?t:this._formatDate(r),r.input&&r.input.val(t),this._updateAlternate(r);var i=this._get(r,"onSelect");i?i.apply(r.input?r.input[0]:null,[t,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],typeof r.input[0]!="object"&&r.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var t=this._get(e,"altField");if(t){var n=this._get(e,"altFormat")||this._get(e,"dateFormat"),r=this._getDate(e),i=this.formatDate(n,r,this._getFormatConfig(e));$(t).each(function(){$(this).val(i)})}},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1},parseDate:function(e,t,n){if(e==null||t==null)throw"Invalid arguments";t=typeof t=="object"?t.toString():t+"";if(t=="")return null;var r=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff;r=typeof r!="string"?r:(new Date).getFullYear()%100+parseInt(r,10);var i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,s=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,u=(n?n.monthNames:null)||this._defaults.monthNames,a=-1,f=-1,l=-1,c=-1,h=!1,p=function(t){var n=y+1<e.length&&e.charAt(y+1)==t;return n&&y++,n},d=function(e){var n=p(e),r=e=="@"?14:e=="!"?20:e=="y"&&n?4:e=="o"?3:2,i=new RegExp("^\\d{1,"+r+"}"),s=t.substring(g).match(i);if(!s)throw"Missing number at position "+g;return g+=s[0].length,parseInt(s[0],10)},v=function(e,n,r){var i=$.map(p(e)?r:n,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)}),s=-1;$.each(i,function(e,n){var r=n[1];if(t.substr(g,r.length).toLowerCase()==r.toLowerCase())return s=n[0],g+=r.length,!1});if(s!=-1)return s+1;throw"Unknown name at position "+g},m=function(){if(t.charAt(g)!=e.charAt(y))throw"Unexpected literal at position "+g;g++},g=0;for(var y=0;y<e.length;y++)if(h)e.charAt(y)=="'"&&!p("'")?h=!1:m();else switch(e.charAt(y)){case"d":l=d("d");break;case"D":v("D",i,s);break;case"o":c=d("o");break;case"m":f=d("m");break;case"M":f=v("M",o,u);break;case"y":a=d("y");break;case"@":var b=new Date(d("@"));a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case"!":var b=new Date((d("!")-this._ticksTo1970)/1e4);a=b.getFullYear(),f=b.getMonth()+1,l=b.getDate();break;case"'":p("'")?m():h=!0;break;default:m()}if(g<t.length){var w=t.substr(g);if(!/^\s+/.test(w))throw"Extra/unparsed characters found in date: "+w}a==-1?a=(new Date).getFullYear():a<100&&(a+=(new Date).getFullYear()-(new Date).getFullYear()%100+(a<=r?0:-100));if(c>-1){f=1,l=c;do{var E=this._getDaysInMonth(a,f-1);if(l<=E)break;f++,l-=E}while(!0)}var b=this._daylightSavingAdjust(new Date(a,f-1,l));if(b.getFullYear()!=a||b.getMonth()+1!=f||b.getDate()!=l)throw"Invalid date";return b},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:function(e,t,n){if(!t)return"";var r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,i=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,o=(n?n.monthNames:null)||this._defaults.monthNames,u=function(t){var n=h+1<e.length&&e.charAt(h+1)==t;return n&&h++,n},a=function(e,t,n){var r=""+t;if(u(e))while(r.length<n)r="0"+r;return r},f=function(e,t,n,r){return u(e)?r[t]:n[t]},l="",c=!1;if(t)for(var h=0;h<e.length;h++)if(c)e.charAt(h)=="'"&&!u("'")?c=!1:l+=e.charAt(h);else switch(e.charAt(h)){case"d":l+=a("d",t.getDate(),2);break;case"D":l+=f("D",t.getDay(),r,i);break;case"o":l+=a("o",Math.round(((new Date(t.getFullYear(),t.getMonth(),t.getDate())).getTime()-(new Date(t.getFullYear(),0,0)).getTime())/864e5),3);break;case"m":l+=a("m",t.getMonth()+1,2);break;case"M":l+=f("M",t.getMonth(),s,o);break;case"y":l+=u("y")?t.getFullYear():(t.getYear()%100<10?"0":"")+t.getYear()%100;break;case"@":l+=t.getTime();break;case"!":l+=t.getTime()*1e4+this._ticksTo1970;break;case"'":u("'")?l+="'":c=!0;break;default:l+=e.charAt(h)}return l},_possibleChars:function(e){var t="",n=!1,r=function(t){var n=i+1<e.length&&e.charAt(i+1)==t;return n&&i++,n};for(var i=0;i<e.length;i++)if(n)e.charAt(i)=="'"&&!r("'")?n=!1:t+=e.charAt(i);else switch(e.charAt(i)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":r("'")?t+="'":n=!0;break;default:t+=e.charAt(i)}return t},_get:function(e,t){return e.settings[t]!==undefined?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()==e.lastVal)return;var n=this._get(e,"dateFormat"),r=e.lastVal=e.input?e.input.val():null,i,s;i=s=this._getDefaultDate(e);var o=this._getFormatConfig(e);try{i=this.parseDate(n,r,o)||s}catch(u){this.log(u),r=t?"":r}e.selectedDay=i.getDate(),e.drawMonth=e.selectedMonth=i.getMonth(),e.drawYear=e.selectedYear=i.getFullYear(),e.currentDay=r?i.getDate():0,e.currentMonth=r?i.getMonth():0,e.currentYear=r?i.getFullYear():0,this._adjustInstDate(e)},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(e,t,n){var r=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},i=function(t){try{return $.datepicker.parseDate($.datepicker._get(e,"dateFormat"),t,$.datepicker._getFormatConfig(e))}catch(n){}var r=(t.toLowerCase().match(/^c/)?$.datepicker._getDate(e):null)||new Date,i=r.getFullYear(),s=r.getMonth(),o=r.getDate(),u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=u.exec(t);while(a){switch(a[2]||"d"){case"d":case"D":o+=parseInt(a[1],10);break;case"w":case"W":o+=parseInt(a[1],10)*7;break;case"m":case"M":s+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s));break;case"y":case"Y":i+=parseInt(a[1],10),o=Math.min(o,$.datepicker._getDaysInMonth(i,s))}a=u.exec(t)}return new Date(i,s,o)},s=t==null||t===""?n:typeof t=="string"?i(t):typeof t=="number"?isNaN(t)?n:r(t):new Date(t.getTime());return s=s&&s.toString()=="Invalid Date"?n:s,s&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,i=e.selectedMonth,s=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),(i!=e.selectedMonth||s!=e.selectedYear)&&!n&&this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(r?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&e.input.val()==""?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(n,-t,"M")},next:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(n,+t,"M")},hide:function(){window["DP_jQuery_"+dpuuid].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+dpuuid].datepicker._gotoToday(n)},selectDay:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(n,this,"Y"),!1}};$(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t=new Date;t=this._daylightSavingAdjust(new Date(t.getFullYear(),t.getMonth(),t.getDate()));var n=this._get(e,"isRTL"),r=this._get(e,"showButtonPanel"),i=this._get(e,"hideIfNoPrevNext"),s=this._get(e,"navigationAsDateFormat"),o=this._getNumberOfMonths(e),u=this._get(e,"showCurrentAtPos"),a=this._get(e,"stepMonths"),f=o[0]!=1||o[1]!=1,l=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(e,"min"),h=this._getMinMaxDate(e,"max"),p=e.drawMonth-u,d=e.drawYear;p<0&&(p+=12,d--);if(h){var v=this._daylightSavingAdjust(new Date(h.getFullYear(),h.getMonth()-o[0]*o[1]+1,h.getDate()));v=c&&v<c?c:v;while(this._daylightSavingAdjust(new Date(d,p,1))>v)p--,p<0&&(p=11,d--)}e.drawMonth=p,e.drawYear=d;var m=this._get(e,"prevText");m=s?this.formatDate(m,this._daylightSavingAdjust(new Date(d,p-a,1)),this._getFormatConfig(e)):m;var g=this._canAdjustMonth(e,-1,d,p)?'<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click" title="'+m+'"><span class="ui-icon ui-icon-circle-triangle-'+(n?"e":"w")+'">'+m+"</span></a>":i?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+m+'"><span class="ui-icon ui-icon-circle-triangle-'+(n?"e":"w")+'">'+m+"</span></a>",y=this._get(e,"nextText");y=s?this.formatDate(y,this._daylightSavingAdjust(new Date(d,p+a,1)),this._getFormatConfig(e)):y;var b=this._canAdjustMonth(e,1,d,p)?'<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click" title="'+y+'"><span class="ui-icon ui-icon-circle-triangle-'+(n?"w":"e")+'">'+y+"</span></a>":i?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+y+'"><span class="ui-icon ui-icon-circle-triangle-'+(n?"w":"e")+'">'+y+"</span></a>",w=this._get(e,"currentText"),E=this._get(e,"gotoCurrent")&&e.currentDay?l:t;w=s?this.formatDate(w,E,this._getFormatConfig(e)):w;var S=e.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">'+this._get(e,"closeText")+"</button>",x=r?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(n?S:"")+(this._isInRange(e,E)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click">'+w+"</button>":"")+(n?"":S)+"</div>":"",T=parseInt(this._get(e,"firstDay"),10);T=isNaN(T)?0:T;var N=this._get(e,"showWeek"),C=this._get(e,"dayNames"),k=this._get(e,"dayNamesShort"),L=this._get(e,"dayNamesMin"),A=this._get(e,"monthNames"),O=this._get(e,"monthNamesShort"),M=this._get(e,"beforeShowDay"),_=this._get(e,"showOtherMonths"),D=this._get(e,"selectOtherMonths"),P=this._get(e,"calculateWeek")||this.iso8601Week,H=this._getDefaultDate(e),B="";for(var j=0;j<o[0];j++){var F="";this.maxRows=4;for(var I=0;I<o[1];I++){var q=this._daylightSavingAdjust(new Date(d,p,e.selectedDay)),R=" ui-corner-all",U="";if(f){U+='<div class="ui-datepicker-group';if(o[1]>1)switch(I){case 0:U+=" ui-datepicker-group-first",R=" ui-corner-"+(n?"right":"left");break;case o[1]-1:U+=" ui-datepicker-group-last",R=" ui-corner-"+(n?"left":"right");break;default:U+=" ui-datepicker-group-middle",R=""}U+='">'}U+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+R+'">'+(/all|left/.test(R)&&j==0?n?b:g:"")+(/all|right/.test(R)&&j==0?n?g:b:"")+this._generateMonthYearHeader(e,p,d,c,h,j>0||I>0,A,O)+'</div><table class="ui-datepicker-calendar"><thead>'+"<tr>";var z=N?'<th class="ui-datepicker-week-col">'+this._get(e,"weekHeader")+"</th>":"";for(var W=0;W<7;W++){var X=(W+T)%7;z+="<th"+((W+T+6)%7>=5?' class="ui-datepicker-week-end"':"")+">"+'<span title="'+C[X]+'">'+L[X]+"</span></th>"}U+=z+"</tr></thead><tbody>";var V=this._getDaysInMonth(d,p);d==e.selectedYear&&p==e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,V));var J=(this._getFirstDayOfMonth(d,p)-T+7)%7,K=Math.ceil((J+V)/7),Q=f?this.maxRows>K?this.maxRows:K:K;this.maxRows=Q;var G=this._daylightSavingAdjust(new Date(d,p,1-J));for(var Y=0;Y<Q;Y++){U+="<tr>";var Z=N?'<td class="ui-datepicker-week-col">'+this._get(e,"calculateWeek")(G)+"</td>":"";for(var W=0;W<7;W++){var et=M?M.apply(e.input?e.input[0]:null,[G]):[!0,""],tt=G.getMonth()!=p,nt=tt&&!D||!et[0]||c&&G<c||h&&G>h;Z+='<td class="'+((W+T+6)%7>=5?" ui-datepicker-week-end":"")+(tt?" ui-datepicker-other-month":"")+(G.getTime()==q.getTime()&&p==e.selectedMonth&&e._keyEvent||H.getTime()==G.getTime()&&H.getTime()==q.getTime()?" "+this._dayOverClass:"")+(nt?" "+this._unselectableClass+" ui-state-disabled":"")+(tt&&!_?"":" "+et[1]+(G.getTime()==l.getTime()?" "+this._currentClass:"")+(G.getTime()==t.getTime()?" ui-datepicker-today":""))+'"'+((!tt||_)&&et[2]?' title="'+et[2]+'"':"")+(nt?"":' data-handler="selectDay" data-event="click" data-month="'+G.getMonth()+'" data-year="'+G.getFullYear()+'"')+">"+(tt&&!_?"&#xa0;":nt?'<span class="ui-state-default">'+G.getDate()+"</span>":'<a class="ui-state-default'+(G.getTime()==t.getTime()?" ui-state-highlight":"")+(G.getTime()==l.getTime()?" ui-state-active":"")+(tt?" ui-priority-secondary":"")+'" href="#">'+G.getDate()+"</a>")+"</td>",G.setDate(G.getDate()+1),G=this._daylightSavingAdjust(G)}U+=Z+"</tr>"}p++,p>11&&(p=0,d++),U+="</tbody></table>"+(f?"</div>"+(o[0]>0&&I==o[1]-1?'<div class="ui-datepicker-row-break"></div>':""):""),F+=U}B+=F}return B+=x+($.ui.ie6&&!e.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),e._keyEvent=!1,B},_generateMonthYearHeader:function(e,t,n,r,i,s,o,u){var a=this._get(e,"changeMonth"),f=this._get(e,"changeYear"),l=this._get(e,"showMonthAfterYear"),c='<div class="ui-datepicker-title">',h="";if(s||!a)h+='<span class="ui-datepicker-month">'+o[t]+"</span>";else{var p=r&&r.getFullYear()==n,d=i&&i.getFullYear()==n;h+='<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';for(var v=0;v<12;v++)(!p||v>=r.getMonth())&&(!d||v<=i.getMonth())&&(h+='<option value="'+v+'"'+(v==t?' selected="selected"':"")+">"+u[v]+"</option>");h+="</select>"}l||(c+=h+(s||!a||!f?"&#xa0;":""));if(!e.yearshtml){e.yearshtml="";if(s||!f)c+='<span class="ui-datepicker-year">'+n+"</span>";else{var m=this._get(e,"yearRange").split(":"),g=(new Date).getFullYear(),y=function(e){var t=e.match(/c[+-].*/)?n+parseInt(e.substring(1),10):e.match(/[+-].*/)?g+parseInt(e,10):parseInt(e,10);return isNaN(t)?g:t},b=y(m[0]),w=Math.max(b,y(m[1]||""));b=r?Math.max(b,r.getFullYear()):b,w=i?Math.min(w,i.getFullYear()):w,e.yearshtml+='<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';for(;b<=w;b++)e.yearshtml+='<option value="'+b+'"'+(b==n?' selected="selected"':"")+">"+b+"</option>";e.yearshtml+="</select>",c+=e.yearshtml,e.yearshtml=null}}return c+=this._get(e,"yearSuffix"),l&&(c+=(s||!a||!f?"&#xa0;":"")+h),c+="</div>",c},_adjustInstDate:function(e,t,n){var r=e.drawYear+(n=="Y"?t:0),i=e.drawMonth+(n=="M"?t:0),s=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+(n=="D"?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,s)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),(n=="M"||n=="Y")&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&t<n?n:t;return i=r&&i>r?r:i,i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return t==null?[1,1]:typeof t=="number"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return(new Date(e,t,1)).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),s=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max");return(!n||t.getTime()>=n.getTime())&&(!r||t.getTime()<=r.getTime())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t=typeof t!="string"?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?typeof t=="object"?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var t=Array.prototype.slice.call(arguments,1);return typeof e!="string"||e!="isDisabled"&&e!="getDate"&&e!="widget"?e=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){typeof e=="string"?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.2",window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(e,t){var n="ui-dialog ui-widget ui-widget-content ui-corner-all ",r={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget("ui.dialog",{version:"1.9.2",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t=this,r=this.options,i=r.title||"&#160;",s,o,u,a,f;s=(this.uiDialog=e("<div>")).addClass(n+r.dialogClass).css({display:"none",outline:0,zIndex:r.zIndex}).attr("tabIndex",-1).keydown(function(n){r.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===e.ui.keyCode.ESCAPE&&(t.close(n),n.preventDefault())}).mousedown(function(e){t.moveToTop(!1,e)}).appendTo("body"),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s),o=(this.uiDialogTitlebar=e("<div>")).addClass("ui-dialog-titlebar  ui-widget-header  ui-corner-all  ui-helper-clearfix").bind("mousedown",function(){s.focus()}).prependTo(s),u=e("<a href='#'></a>").addClass("ui-dialog-titlebar-close  ui-corner-all").attr("role","button").click(function(e){e.preventDefault(),t.close(e)}).appendTo(o),(this.uiDialogTitlebarCloseText=e("<span>")).addClass("ui-icon ui-icon-closethick").text(r.closeText).appendTo(u),a=e("<span>").uniqueId().addClass("ui-dialog-title").html(i).prependTo(o),f=(this.uiDialogButtonPane=e("<div>")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),(this.uiButtonSet=e("<div>")).addClass("ui-dialog-buttonset").appendTo(f),s.attr({role:"dialog","aria-labelledby":a.attr("id")}),o.find("*").add(o).disableSelection(),this._hoverable(u),this._focusable(u),r.draggable&&e.fn.draggable&&this._makeDraggable(),r.resizable&&e.fn.resizable&&this._makeResizable(),this._createButtons(r.buttons),this._isOpen=!1,e.fn.bgiframe&&s.bgiframe(),this._on(s,{keydown:function(t){if(!r.modal||t.keyCode!==e.ui.keyCode.TAB)return;var n=e(":tabbable",s),i=n.filter(":first"),o=n.filter(":last");if(t.target===o[0]&&!t.shiftKey)return i.focus(1),!1;if(t.target===i[0]&&t.shiftKey)return o.focus(1),!1}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var e,t=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(!this._isOpen)return;if(!1===this._trigger("beforeClose",t))return;return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this._hide(this.uiDialog,this.options.hide,function(){n._trigger("close",t)}):(this.uiDialog.hide(),this._trigger("close",t)),e.ui.dialog.overlay.resize(),this.options.modal&&(r=0,e(".ui-dialog").each(function(){this!==n.uiDialog[0]&&(i=e(this).css("z-index"),isNaN(i)||(r=Math.max(r,i)))}),e.ui.dialog.maxZ=r),this},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this.options,i;return r.modal&&!t||!r.stack&&!r.modal?this._trigger("focus",n):(r.zIndex>e.ui.dialog.maxZ&&(e.ui.dialog.maxZ=r.zIndex),this.overlay&&(e.ui.dialog.maxZ+=1,e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ,this.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ)),i={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},e.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",e.ui.dialog.maxZ),this.element.attr(i),this._trigger("focus",n),this)},open:function(){if(this._isOpen)return;var t,n=this.options,r=this.uiDialog;return this._size(),this._position(n.position),r.show(n.show),this.overlay=n.modal?new e.ui.dialog.overlay(this):null,this.moveToTop(!0),t=this.element.find(":tabbable"),t.length||(t=this.uiDialogButtonPane.find(":tabbable"),t.length||(t=r)),t.eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(t){var n=this,r=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),typeof t=="object"&&t!==null&&e.each(t,function(){return!(r=!0)}),r?(e.each(t,function(t,r){var i,s;r=e.isFunction(r)?{click:r,text:t}:r,r=e.extend({type:"button"},r),s=r.click,r.click=function(){s.apply(n.element[0],arguments)},i=e("<button></button>",r).appendTo(n.uiButtonSet),e.fn.button&&i.button()}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.uiDialog.removeClass("ui-dialog-buttons")},_makeDraggable:function(){function r(e){return{position:e.position,offset:e.offset}}var t=this,n=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(n,i){e(this).addClass("ui-dialog-dragging"),t._trigger("dragStart",n,r(i))},drag:function(e,n){t._trigger("drag",e,r(n))},stop:function(i,s){n.position=[s.position.left-t.document.scrollLeft(),s.position.top-t.document.scrollTop()],e(this).removeClass("ui-dialog-dragging"),t._trigger("dragStop",i,r(s)),e.ui.dialog.overlay.resize()}})},_makeResizable:function(n){function u(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}n=n===t?this.options.resizable:n;var r=this,i=this.options,s=this.uiDialog.css("position"),o=typeof n=="string"?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:o,start:function(t,n){e(this).addClass("ui-dialog-resizing"),r._trigger("resizeStart",t,u(n))},resize:function(e,t){r._trigger("resize",e,u(t))},stop:function(t,n){e(this).removeClass("ui-dialog-resizing"),i.height=e(this).height(),i.width=e(this).width(),r._trigger("resizeStop",t,u(n)),e.ui.dialog.overlay.resize()}}).css("position",s).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var e=this.options;return e.height==="auto"?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(t){var n=[],r=[0,0],i;if(t){if(typeof t=="string"||typeof t=="object"&&"0"in t)n=t.split?t.split(" "):[t[0],t[1]],n.length===1&&(n[1]=n[0]),e.each(["left","top"],function(e,t){+n[e]===n[e]&&(r[e]=n[e],n[e]=t)}),t={my:n[0]+(r[0]<0?r[0]:"+"+r[0])+" "+n[1]+(r[1]<0?r[1]:"+"+r[1]),at:n.join(" ")};t=e.extend({},e.ui.dialog.prototype.options.position,t)}else t=e.ui.dialog.prototype.options.position;i=this.uiDialog.is(":visible"),i||this.uiDialog.show(),this.uiDialog.position(t),i||this.uiDialog.hide()},_setOptions:function(t){var n=this,s={},o=!1;e.each(t,function(e,t){n._setOption(e,t),e in r&&(o=!0),e in i&&(s[e]=t)}),o&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,r){var i,s,o=this.uiDialog;switch(t){case"buttons":this._createButtons(r);break;case"closeText":this.uiDialogTitlebarCloseText.text(""+r);break;case"dialogClass":o.removeClass(this.options.dialogClass).addClass(n+r);break;case"disabled":r?o.addClass("ui-dialog-disabled"):o.removeClass("ui-dialog-disabled");break;case"draggable":i=o.is(":data(draggable)"),i&&!r&&o.draggable("destroy"),!i&&r&&this._makeDraggable();break;case"position":this._position(r);break;case"resizable":s=o.is(":data(resizable)"),s&&!r&&o.resizable("destroy"),s&&typeof r=="string"&&o.resizable("option","handles",r),!s&&r!==!1&&this._makeResizable(r);break;case"title":e(".ui-dialog-title",this.uiDialogTitlebar).html(""+(r||"&#160;"))}this._super(t,r)},_size:function(){var t,n,r,i=this.options,s=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),i.minWidth>i.width&&(i.width=i.minWidth),t=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),n=Math.max(0,i.minHeight-t),i.height==="auto"?e.support.minHeight?this.element.css({minHeight:n,height:"auto"}):(this.uiDialog.show(),r=this.element.css("height","auto").height(),s||this.uiDialog.hide(),this.element.height(Math.max(r,n))):this.element.height(Math.max(i.height-t,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),e.extend(e.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(e){var t=e.attr("id");return t||(this.uuid+=1,t=this.uuid),"ui-dialog-title-"+t},overlay:function(t){this.$el=e.ui.dialog.overlay.create(t)}}),e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(e){return e+".dialog-overlay"}).join(" "),create:function(t){this.instances.length===0&&(setTimeout(function(){e.ui.dialog.overlay.instances.length&&e(document).bind(e.ui.dialog.overlay.events,function(t){if(e(t.target).zIndex()<e.ui.dialog.overlay.maxZ)return!1})},1),e(window).bind("resize.dialog-overlay",e.ui.dialog.overlay.resize));var n=this.oldInstances.pop()||e("<div>").addClass("ui-widget-overlay");return e(document).bind("keydown.dialog-overlay",function(r){var i=e.ui.dialog.overlay.instances;i.length!==0&&i[i.length-1]===n&&t.options.closeOnEscape&&!r.isDefaultPrevented()&&r.keyCode&&r.keyCode===e.ui.keyCode.ESCAPE&&(t.close(r),r.preventDefault())}),n.appendTo(document.body).css({width:this.width(),height:this.height()}),e.fn.bgiframe&&n.bgiframe(),this.instances.push(n),n},destroy:function(t){var n=e.inArray(t,this.instances),r=0;n!==-1&&this.oldInstances.push(this.instances.splice(n,1)[0]),this.instances.length===0&&e([document,window]).unbind(".dialog-overlay"),t.height(0).width(0).remove(),e.each(this.instances,function(){r=Math.max(r,this.css("z-index"))}),this.maxZ=r},height:function(){var t,n;return e.ui.ie?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),n=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),t<n?e(window).height()+"px":t+"px"):e(document).height()+"px"},width:function(){var t,n;return e.ui.ie?(t=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),n=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),t<n?e(window).width()+"px":t+"px"):e(document).width()+"px"},resize:function(){var t=e([]);e.each(e.ui.dialog.overlay.instances,function(){t=t.add(this)}),t.css({width:0,height:0}).css({width:e.ui.dialog.overlay.width(),height:e.ui.dialog.overlay.height()})}}),e.extend(e.ui.dialog.overlay.prototype,{destroy:function(){e.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);(function(e,t){e.widget("ui.draggable",e.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var n=this.options;return this.helper||n.disabled||e(t.target).is(".ui-resizable-handle")?!1:(this.handle=this._getHandle(t),this.handle?(e(n.iframeFix===!0?"iframe":n.iframeFix).each(function(){e('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&&(r=r.parentNode))r==document&&(i=!0);if(!i&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!n||this.options.revert=="valid"&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo=="parent"?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.ui.ie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[t.containment=="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment=="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment=="document"?0:e(window).scrollLeft())+e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment=="document"?0:e(window).scrollTop())+(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&&t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css("overflow")!="hidden";this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&&(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.left<u[0]&&(s=u[0]+this.offset.click.left),t.pageY-this.offset.click.top<u[1]&&(o=u[1]+this.offset.click.top),t.pageX-this.offset.click.left>u[2]&&(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top>u[3]&&(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.top<u[1]||f-this.offset.click.top>u[3]?f-this.offset.click.top<u[1]?f+n.grid[1]:f-n.grid[1]:f:f;var l=n.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX;s=u?l-this.offset.click.left<u[0]||l-this.offset.click.left>u[2]?l-this.offset.click.left<u[0]?l+n.grid[0]:l-n.grid[0]:l:l}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,n,r){return r=r||this._uiHash(),e.ui.plugin.call(this,t,[n,r]),t=="drag"&&(this.positionAbs=this._convertPositionTo("absolute")),e.Widget.prototype._trigger.call(this,t,n,r)},plugins:{},_uiHash:function(e){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,n){var r=e(this).data("draggable"),i=r.options,s=e.extend({},n,{item:r.element});r.sortables=[],e(i.connectToSortable).each(function(){var n=e.data(this,"sortable");n&&!n.options.disabled&&(r.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger("activate",t,s))})},stop:function(t,n){var r=e(this).data("draggable"),i=e.extend({},n,{item:r.element});e.each(r.sortables,function(){this.instance.isOver?(this.instance.isOver=0,r.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,r.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,i))})},drag:function(t,n){var r=e(this).data("draggable"),i=this,s=function(t){var n=this.offset.click.top,r=this.offset.click.left,i=this.positionAbs.top,s=this.positionAbs.left,o=t.height,u=t.width,a=t.top,f=t.left;return e.ui.isOver(i+n,s+r,a,f,o,u)};e.each(r.sortables,function(s){var o=!1,u=this;this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,e.each(r.sortables,function(){return this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this!=u&&this.instance._intersectsWith(this.instance.containerCache)&&e.ui.contains(u.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(i).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=r.offset.click.top,this.instance.offset.click.left=r.offset.click.left,this.instance.offset.parent.left-=r.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=r.offset.parent.top-this.instance.offset.parent.top,r._trigger("toSortable",t),r.dropped=this.instance.element,r.currentItem=r.element,this.instance.fromOutside=r),this.instance.currentItem&&this.instance._mouseDrag(t)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),r._trigger("fromSortable",t),r.dropped=!1)})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,n){var r=e("body"),i=e(this).data("draggable").options;r.css("cursor")&&(i._cursor=r.css("cursor")),r.css("cursor",i.cursor)},stop:function(t,n){var r=e(this).data("draggable").options;r._cursor&&e("body").css("cursor",r._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,n){var r=e(n.helper),i=e(this).data("draggable").options;r.css("opacity")&&(i._opacity=r.css("opacity")),r.css("opacity",i.opacity)},stop:function(t,n){var r=e(this).data("draggable").options;r._opacity&&e(n.helper).css("opacity",r._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(t,n){var r=e(this).data("draggable");r.scrollParent[0]!=document&&r.scrollParent[0].tagName!="HTML"&&(r.overflowOffset=r.scrollParent.offset())},drag:function(t,n){var r=e(this).data("draggable"),i=r.options,s=!1;if(r.scrollParent[0]!=document&&r.scrollParent[0].tagName!="HTML"){if(!i.axis||i.axis!="x")r.overflowOffset.top+r.scrollParent[0].offsetHeight-t.pageY<i.scrollSensitivity?r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-r.overflowOffset.top<i.scrollSensitivity&&(r.scrollParent[0].scrollTop=s=r.scrollParent[0].scrollTop-i.scrollSpeed);if(!i.axis||i.axis!="y")r.overflowOffset.left+r.scrollParent[0].offsetWidth-t.pageX<i.scrollSensitivity?r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-r.overflowOffset.left<i.scrollSensitivity&&(r.scrollParent[0].scrollLeft=s=r.scrollParent[0].scrollLeft-i.scrollSpeed)}else{if(!i.axis||i.axis!="x")t.pageY-e(document).scrollTop()<i.scrollSensitivity?s=e(document).scrollTop(e(document).scrollTop()-i.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())<i.scrollSensitivity&&(s=e(document).scrollTop(e(document).scrollTop()+i.scrollSpeed));if(!i.axis||i.axis!="y")t.pageX-e(document).scrollLeft()<i.scrollSensitivity?s=e(document).scrollLeft(e(document).scrollLeft()-i.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())<i.scrollSensitivity&&(s=e(document).scrollLeft(e(document).scrollLeft()+i.scrollSpeed))}s!==!1&&e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(r,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,n){var r=e(this).data("draggable"),i=r.options;r.snapElements=[],e(i.snap.constructor!=String?i.snap.items||":data(draggable)":i.snap).each(function(){var t=e(this),n=t.offset();this!=r.element[0]&&r.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})})},drag:function(t,n){var r=e(this).data("draggable"),i=r.options,s=i.snapTolerance,o=n.offset.left,u=o+r.helperProportions.width,a=n.offset.top,f=a+r.helperProportions.height;for(var l=r.snapElements.length-1;l>=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s<o&&o<h+s&&p-s<a&&a<d+s||c-s<o&&o<h+s&&p-s<f&&f<d+s||c-s<u&&u<h+s&&p-s<a&&a<d+s||c-s<u&&u<h+s&&p-s<f&&f<d+s)){r.snapElements[l].snapping&&r.options.snap.release&&r.options.snap.release.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=!1;continue}if(i.snapMode!="inner"){var v=Math.abs(p-f)<=s,m=Math.abs(d-a)<=s,g=Math.abs(c-u)<=s,y=Math.abs(h-o)<=s;v&&(n.position.top=r._convertPositionTo("relative",{top:p-r.helperProportions.height,left:0}).top-r.margins.top),m&&(n.position.top=r._convertPositionTo("relative",{top:d,left:0}).top-r.margins.top),g&&(n.position.left=r._convertPositionTo("relative",{top:0,left:c-r.helperProportions.width}).left-r.margins.left),y&&(n.position.left=r._convertPositionTo("relative",{top:0,left:h}).left-r.margins.left)}var b=v||m||g||y;if(i.snapMode!="outer"){var v=Math.abs(p-a)<=s,m=Math.abs(d-f)<=s,g=Math.abs(c-o)<=s,y=Math.abs(h-u)<=s;v&&(n.position.top=r._convertPositionTo("relative",{top:p,left:0}).top-r.margins.top),m&&(n.position.top=r._convertPositionTo("relative",{top:d-r.helperProportions.height,left:0}).top-r.margins.top),g&&(n.position.left=r._convertPositionTo("relative",{top:0,left:c}).left-r.margins.left),y&&(n.position.left=r._convertPositionTo("relative",{top:0,left:h-r.helperProportions.width}).left-r.margins.left)}!r.snapElements[l].snapping&&(v||m||g||y||b)&&r.options.snap.snap&&r.options.snap.snap.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[l].item})),r.snapElements[l].snapping=v||m||g||y||b}}}),e.ui.plugin.add("draggable","stack",{start:function(t,n){var r=e(this).data("draggable").options,i=e.makeArray(e(r.stack)).sort(function(t,n){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(n).css("zIndex"),10)||0)});if(!i.length)return;var s=parseInt(i[0].style.zIndex)||0;e(i).each(function(e){this.style.zIndex=s+e}),this[0].style.zIndex=s+i.length}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,n){var r=e(n.helper),i=e(this).data("draggable").options;r.css("zIndex")&&(i._zIndex=r.css("zIndex")),r.css("zIndex",i.zIndex)},stop:function(t,n){var r=e(this).data("draggable").options;r._zIndex&&e(n.helper).css("zIndex",r._zIndex)}})})(jQuery);(function(e,t){e.widget("ui.droppable",{version:"1.9.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var t=this.options,n=t.accept;this.isover=0,this.isout=1,this.accept=e.isFunction(n)?n:function(e){return e.is(n)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[],e.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];for(var n=0;n<t.length;n++)t[n]==this&&t.splice(n,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,n){t=="accept"&&(this.accept=e.isFunction(n)?n:function(e){return e.is(n)}),e.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),n&&this._trigger("activate",t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),n&&this._trigger("deactivate",t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;if(!n||(n.currentItem||n.element)[0]==this.element[0])return;this.accept.call(this.element[0],n.currentItem||n.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(n)))},_drop:function(t,n){var r=n||e.ui.ddmanager.current;if(!r||(r.currentItem||r.element)[0]==this.element[0])return!1;var i=!1;return this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var t=e.data(this,"droppable");if(t.options.greedy&&!t.options.disabled&&t.options.scope==r.options.scope&&t.accept.call(t.element[0],r.currentItem||r.element)&&e.ui.intersect(r,e.extend(t,{offset:t.element.offset()}),t.options.tolerance))return i=!0,!1}),i?!1:this.accept.call(this.element[0],r.currentItem||r.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(r)),this.element):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(t,n,r){if(!n.offset)return!1;var i=(t.positionAbs||t.position.absolute).left,s=i+t.helperProportions.width,o=(t.positionAbs||t.position.absolute).top,u=o+t.helperProportions.height,a=n.offset.left,f=a+n.proportions.width,l=n.offset.top,c=l+n.proportions.height;switch(r){case"fit":return a<=i&&s<=f&&l<=o&&u<=c;case"intersect":return a<i+t.helperProportions.width/2&&s-t.helperProportions.width/2<f&&l<o+t.helperProportions.height/2&&u-t.helperProportions.height/2<c;case"pointer":var h=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,p=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,d=e.ui.isOver(p,h,l,a,n.proportions.height,n.proportions.width);return d;case"touch":return(o>=l&&o<=c||u>=l&&u<=c||o<l&&u>c)&&(i>=a&&i<=f||s>=a&&s<=f||i<a&&s>f);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(":data(droppable)").andSelf();e:for(var o=0;o<r.length;o++){if(r[o].options.disabled||t&&!r[o].accept.call(r[o].element[0],t.currentItem||t.element))continue;for(var u=0;u<s.length;u++)if(s[u]==r[o].element[0]){r[o].proportions.height=0;continue e}r[o].visible=r[o].element.css("display")!="none";if(!r[o].visible)continue;i=="mousedown"&&r[o]._activate.call(r[o],n),r[o].offset=r[o].element.offset(),r[o].proportions={width:r[o].element[0].offsetWidth,height:r[o].element[0].offsetHeight}}},drop:function(t,n){var r=!1;return e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options)return;!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance)&&(r=this._drop.call(this,n)||r),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=1,this.isover=0,this._deactivate.call(this,n))}),r},dragStart:function(t,n){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)})},drag:function(t,n){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)return;var r=e.ui.intersect(t,this,this.options.tolerance),i=!r&&this.isover==1?"isout":r&&this.isover==0?"isover":null;if(!i)return;var s;if(this.options.greedy){var o=this.options.scope,u=this.element.parents(":data(droppable)").filter(function(){return e.data(this,"droppable").options.scope===o});u.length&&(s=e.data(u[0],"droppable"),s.greedyChild=i=="isover"?1:0)}s&&i=="isover"&&(s.isover=0,s.isout=1,s._out.call(s,n)),this[i]=1,this[i=="isout"?"isover":"isout"]=0,this[i=="isover"?"_over":"_out"].call(this,n),s&&i=="isout"&&(s.isout=0,s.isover=1,s._over.call(s,n))})},dragStop:function(t,n){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}}})(jQuery);jQuery.effects||function(e,t){var n=e.uiBackCompat!==!1,r="ui-effects-";e.effects={effect:{}},function(t,n){function p(e,t,n){var r=a[t.type]||{};return e==null?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:0>e?0:r.max<e?r.max:e)}function d(e){var n=o(),r=n._rgba=[];return e=e.toLowerCase(),h(s,function(t,i){var s,o=i.re.exec(e),a=o&&i.parse(o),f=i.space||"rgba";if(a)return s=n[f](a),n[u[f].cache]=s[u[f].cache],r=n._rgba=s._rgba,!1}),r.length?(r.join()==="0,0,0,0"&&t.extend(r,c.transparent),n):c[e]}function v(e,t,n){return n=(n+1)%1,n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}var r="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor".split(" "),i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1]*2.55,e[2]*2.55,e[3]*2.55,e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],o=t.Color=function(e,n,r,i){return new t.Color.fn.parse(e,n,r,i)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},a={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},f=o.support={},l=t("<p>")[0],c,h=t.each;l.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=l.style.backgroundColor.indexOf("rgba")>-1,h(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(r,i,s,a){if(r===n)return this._rgba=[null,null,null,null],this;if(r.jquery||r.nodeType)r=t(r).css(i),i=n;var f=this,l=t.type(r),v=this._rgba=[];i!==n&&(r=[r,i,s,a],l="array");if(l==="string")return this.parse(d(r)||c._default);if(l==="array")return h(u.rgba.props,function(e,t){v[t.idx]=p(r[t.idx],t)}),this;if(l==="object")return r instanceof o?h(u,function(e,t){r[t.cache]&&(f[t.cache]=r[t.cache].slice())}):h(u,function(t,n){var i=n.cache;h(n.props,function(e,t){if(!f[i]&&n.to){if(e==="alpha"||r[e]==null)return;f[i]=n.to(f._rgba)}f[i][t.idx]=p(r[e],t,!0)}),f[i]&&e.inArray(null,f[i].slice(0,3))<0&&(f[i][3]=1,n.from&&(f._rgba=n.from(f[i])))}),this},is:function(e){var t=o(e),n=!0,r=this;return h(u,function(e,i){var s,o=t[i.cache];return o&&(s=r[i.cache]||i.to&&i.to(r._rgba)||[],h(i.props,function(e,t){if(o[t.idx]!=null)return n=o[t.idx]===s[t.idx],n})),n}),n},_space:function(){var e=[],t=this;return h(u,function(n,r){t[r.cache]&&e.push(n)}),e.pop()},transition:function(e,t){var n=o(e),r=n._space(),i=u[r],s=this.alpha()===0?o("transparent"):this,f=s[i.cache]||i.to(s._rgba),l=f.slice();return n=n[i.cache],h(i.props,function(e,r){var i=r.idx,s=f[i],o=n[i],u=a[r.type]||{};if(o===null)return;s===null?l[i]=o:(u.mod&&(o-s>u.mod/2?s+=u.mod:s-o>u.mod/2&&(s-=u.mod)),l[i]=p((o-s)*t+s,r))}),this[r](l)},blend:function(e){if(this._rgba[3]===1)return this;var n=this._rgba.slice(),r=n.pop(),i=o(e)._rgba;return o(t.map(n,function(e,t){return(1-r)*i[t]+r*e}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(e,t){return e==null?t>2?1:0:e});return n[3]===1&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(e,t){return e==null&&(e=t>2?1:0),t&&t<3&&(e=Math.round(e*100)+"%"),e});return n[3]===1&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(r*255)),"#"+t.map(n,function(e){return e=(e||0).toString(16),e.length===1?"0"+e:e}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,u.hsla.to=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=e[3],s=Math.max(t,n,r),o=Math.min(t,n,r),u=s-o,a=s+o,f=a*.5,l,c;return o===s?l=0:t===s?l=60*(n-r)/u+360:n===s?l=60*(r-t)/u+120:l=60*(t-n)/u+240,f===0||f===1?c=f:f<=.5?c=u/a:c=u/(2-a),[Math.round(l)%360,c,f,i==null?1:i]},u.hsla.from=function(e){if(e[0]==null||e[1]==null||e[2]==null)return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],s=r<=.5?r*(1+n):r+n-r*n,o=2*r-s;return[Math.round(v(o,s,t+1/3)*255),Math.round(v(o,s,t)*255),Math.round(v(o,s,t-1/3)*255),i]},h(u,function(e,r){var s=r.props,u=r.cache,a=r.to,f=r.from;o.fn[e]=function(e){a&&!this[u]&&(this[u]=a(this._rgba));if(e===n)return this[u].slice();var r,i=t.type(e),l=i==="array"||i==="object"?e:arguments,c=this[u].slice();return h(s,function(e,t){var n=l[i==="object"?e:t.idx];n==null&&(n=c[t.idx]),c[t.idx]=p(n,t)}),f?(r=o(f(c)),r[u]=c,r):o(c)},h(s,function(n,r){if(o.fn[n])return;o.fn[n]=function(s){var o=t.type(s),u=n==="alpha"?this._hsla?"hsla":"rgba":e,a=this[u](),f=a[r.idx],l;return o==="undefined"?f:(o==="function"&&(s=s.call(this,f),o=t.type(s)),s==null&&r.empty?this:(o==="string"&&(l=i.exec(s),l&&(s=f+parseFloat(l[2])*(l[1]==="+"?1:-1))),a[r.idx]=s,this[u](a)))}})}),h(r,function(e,n){t.cssHooks[n]={set:function(e,r){var i,s,u="";if(t.type(r)!=="string"||(i=d(r))){r=o(i||r);if(!f.rgba&&r._rgba[3]!==1){s=n==="backgroundColor"?e.parentNode:e;while((u===""||u==="transparent")&&s&&s.style)try{u=t.css(s,"backgroundColor"),s=s.parentNode}catch(a){}r=r.blend(u&&u!=="transparent"?u:"_default")}r=r.toRgbaString()}try{e.style[n]=r}catch(l){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=o(e.elem,n),e.end=o(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}),t.cssHooks.borderColor={expand:function(e){var t={};return h(["Top","Right","Bottom","Left"],function(n,r){t["border"+r+"Color"]=e}),t}},c=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(){var t=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,n={},r,i;if(t&&t.length&&t[0]&&t[t[0]]){i=t.length;while(i--)r=t[i],typeof t[r]=="string"&&(n[e.camelCase(r)]=t[r])}else for(r in t)typeof t[r]=="string"&&(n[r]=t[r]);return n}function s(t,n){var i={},s,o;for(s in n)o=n[s],t[s]!==o&&!r[s]&&(e.fx.step[s]||!isNaN(parseFloat(o)))&&(i[s]=o);return i}var n=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){if(e.end!=="none"&&!e.setAttr||e.pos===1&&!e.setAttr)jQuery.style(e.elem,n,e.end),e.setAttr=!0}}),e.effects.animateClass=function(t,r,o,u){var a=e.speed(r,o,u);return this.queue(function(){var r=e(this),o=r.attr("class")||"",u,f=a.children?r.find("*").andSelf():r;f=f.map(function(){var t=e(this);return{el:t,start:i.call(this)}}),u=function(){e.each(n,function(e,n){t[n]&&r[n+"Class"](t[n])})},u(),f=f.map(function(){return this.end=i.call(this.el[0]),this.diff=s(this.start,this.end),this}),r.attr("class",o),f=f.map(function(){var t=this,n=e.Deferred(),r=jQuery.extend({},a,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()}),e.when.apply(e,f.get()).done(function(){u(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(r[0])})})},e.fn.extend({_addClass:e.fn.addClass,addClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{add:t},n,r,i):this._addClass(t)},_removeClass:e.fn.removeClass,removeClass:function(t,n,r,i){return n?e.effects.animateClass.call(this,{remove:t},n,r,i):this._removeClass(t)},_toggleClass:e.fn.toggleClass,toggleClass:function(n,r,i,s,o){return typeof r=="boolean"||r===t?i?e.effects.animateClass.call(this,r?{add:n}:{remove:n},i,s,o):this._toggleClass(n,r):e.effects.animateClass.call(this,{toggle:n},r,i,s)},switchClass:function(t,n,r,i,s){return e.effects.animateClass.call(this,{add:n,remove:t},r,i,s)}})}(),function(){function i(t,n,r,i){e.isPlainObject(t)&&(n=t,t=t.effect),t={effect:t},n==null&&(n={}),e.isFunction(n)&&(i=n,r=null,n={});if(typeof n=="number"||e.fx.speeds[n])i=r,r=n,n={};return e.isFunction(r)&&(i=r,r=null),n&&e.extend(t,n),r=r||n.duration,t.duration=e.fx.off?0:typeof r=="number"?r:r in e.fx.speeds?e.fx.speeds[r]:e.fx.speeds._default,t.complete=i||n.complete,t}function s(t){return!t||typeof t=="number"||e.fx.speeds[t]?!0:typeof t=="string"&&!e.effects.effect[t]?n&&e.effects[t]?!1:!0:!1}e.extend(e.effects,{version:"1.9.2",save:function(e,t){for(var n=0;n<t.length;n++)t[n]!==null&&e.data(r+t[n],e[0].style[t[n]])},restore:function(e,n){var i,s;for(s=0;s<n.length;s++)n[s]!==null&&(i=e.data(r+n[s]),i===t&&(i=""),e.css(n[s],i))},setMode:function(e,t){return t==="toggle"&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var n,r;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},r=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),i={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(o){s=document.body}return t.wrap(r),(t[0]===s||e.contains(t[0],s))&&e(s).focus(),r=t.parent(),t.css("position")==="static"?(r.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(i),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).focus()),t},setTransition:function(t,n,r,i){return i=i||{},e.each(n,function(e,n){var s=t.cssUnit(n);s[0]>0&&(i[n]=s[0]*r+s[1])}),i}}),e.fn.extend({effect:function(){function a(n){function u(){e.isFunction(i)&&i.call(r[0]),e.isFunction(n)&&n()}var r=e(this),i=t.complete,s=t.mode;(r.is(":hidden")?s==="hide":s==="show")?u():o.call(r[0],t,u)}var t=i.apply(this,arguments),r=t.mode,s=t.queue,o=e.effects.effect[t.effect],u=!o&&n&&e.effects[t.effect];return e.fx.off||!o&&!u?r?this[r](t.duration,t.complete):this.each(function(){t.complete&&t.complete.call(this)}):o?s===!1?this.each(a):this.queue(s||"fx",a):u.call(this,{options:t,duration:t.duration,callback:t.complete,mode:t.mode})},_show:e.fn.show,show:function(e){if(s(e))return this._show.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="show",this.effect.call(this,t)},_hide:e.fn.hide,hide:function(e){if(s(e))return this._hide.apply(this,arguments);var t=i.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)},__toggle:e.fn.toggle,toggle:function(t){if(s(t)||typeof t=="boolean"||e.isFunction(t))return this.__toggle.apply(this,arguments);var n=i.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)},cssUnit:function(t){var n=this.css(t),r=[];return e.each(["em","px","%","pt"],function(e,t){n.indexOf(t)>0&&(r=[parseFloat(n),t])}),r}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}}),e.each(t,function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?n(e*2)/2:1-n(e*-2+2)/2}})}()}(jQuery);(function(e,t){var n=/up|down|vertical/,r=/up|left|vertical|horizontal/;e.effects.effect.blind=function(t,i){var s=e(this),o=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(s,t.mode||"hide"),a=t.direction||"up",f=n.test(a),l=f?"height":"width",c=f?"top":"left",h=r.test(a),p={},d=u==="show",v,m,g;s.parent().is(".ui-effects-wrapper")?e.effects.save(s.parent(),o):e.effects.save(s,o),s.show(),v=e.effects.createWrapper(s).css({overflow:"hidden"}),m=v[l](),g=parseFloat(v.css(c))||0,p[l]=d?m:0,h||(s.css(f?"bottom":"right",0).css(f?"top":"left","auto").css({position:"absolute"}),p[c]=d?g:m+g),d&&(v.css(l,0),h||v.css(c,g+m)),v.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){u==="hide"&&s.hide(),e.effects.restore(s,o),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e,t){e.effects.effect.bounce=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=s==="hide",u=s==="show",a=t.direction||"up",f=t.distance,l=t.times||5,c=l*2+(u||o?1:0),h=t.duration/c,p=t.easing,d=a==="up"||a==="down"?"top":"left",v=a==="up"||a==="left",m,g,y,b=r.queue(),w=b.length;(u||o)&&i.push("opacity"),e.effects.save(r,i),r.show(),e.effects.createWrapper(r),f||(f=r[d==="top"?"outerHeight":"outerWidth"]()/3),u&&(y={opacity:1},y[d]=0,r.css("opacity",0).css(d,v?-f*2:f*2).animate(y,h,p)),o&&(f/=Math.pow(2,l-1)),y={},y[d]=0;for(m=0;m<l;m++)g={},g[d]=(v?"-=":"+=")+f,r.animate(g,h,p).animate(y,h,p),f=o?f*2:f/2;o&&(g={opacity:0},g[d]=(v?"-=":"+=")+f,r.animate(g,h,p)),r.queue(function(){o&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),w>1&&b.splice.apply(b,[1,0].concat(b.splice(w,c+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.clip=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"vertical",a=u==="vertical",f=a?"height":"width",l=a?"top":"left",c={},h,p,d;e.effects.save(r,i),r.show(),h=e.effects.createWrapper(r).css({overflow:"hidden"}),p=r[0].tagName==="IMG"?h:r,d=p[f](),o&&(p.css(f,0),p.css(l,d/2)),c[f]=o?d:0,c[l]=o?0:d/2,p.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o||r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.drop=function(t,n){var r=e(this),i=["position","top","bottom","left","right","opacity","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left"?"pos":"neg",l={opacity:o?1:0},c;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),c=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0)/2,o&&r.css("opacity",0).css(a,f==="pos"?-c:c),l[a]=(o?f==="pos"?"+=":"-=":f==="pos"?"-=":"+=")+c,r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.explode=function(t,n){function y(){c.push(this),c.length===r*i&&b()}function b(){s.css({visibility:"visible"}),e(c).remove(),u||s.hide(),n()}var r=t.pieces?Math.round(Math.sqrt(t.pieces)):3,i=r,s=e(this),o=e.effects.setMode(s,t.mode||"hide"),u=o==="show",a=s.show().css("visibility","hidden").offset(),f=Math.ceil(s.outerWidth()/i),l=Math.ceil(s.outerHeight()/r),c=[],h,p,d,v,m,g;for(h=0;h<r;h++){v=a.top+h*l,g=h-(r-1)/2;for(p=0;p<i;p++)d=a.left+p*f,m=p-(i-1)/2,s.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-p*f,top:-h*l}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:l,left:d+(u?m*f:0),top:v+(u?g*l:0),opacity:u?0:1}).animate({left:d+(u?0:m*f),top:v+(u?0:g*l),opacity:u?1:0},t.duration||500,t.easing,y)}}})(jQuery);(function(e,t){e.effects.effect.fade=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"toggle");r.animate({opacity:i},{queue:!1,duration:t.duration,easing:t.easing,complete:n})}})(jQuery);(function(e,t){e.effects.effect.fold=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=s==="hide",a=t.size||15,f=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!==l,h=c?["width","height"]:["height","width"],p=t.duration/2,d,v,m={},g={};e.effects.save(r,i),r.show(),d=e.effects.createWrapper(r).css({overflow:"hidden"}),v=c?[d.width(),d.height()]:[d.height(),d.width()],f&&(a=parseInt(f[1],10)/100*v[u?0:1]),o&&d.css(l?{height:0,width:a}:{height:a,width:0}),m[h[0]]=o?v[0]:a,g[h[1]]=o?v[1]:0,d.animate(m,p,t.easing).animate(g,p,t.easing,function(){u&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()})}})(jQuery);(function(e,t){e.effects.effect.highlight=function(t,n){var r=e(this),i=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(r,t.mode||"show"),o={backgroundColor:r.css("backgroundColor")};s==="hide"&&(o.opacity=0),e.effects.save(r,i),r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),n()}})}})(jQuery);(function(e,t){e.effects.effect.pulsate=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"show"),s=i==="show",o=i==="hide",u=s||i==="hide",a=(t.times||5)*2+(u?1:0),f=t.duration/a,l=0,c=r.queue(),h=c.length,p;if(s||!r.is(":visible"))r.css("opacity",0).show(),l=1;for(p=1;p<a;p++)r.animate({opacity:l},f,t.easing),l=1-l;r.animate({opacity:l},f,t.easing),r.queue(function(){o&&r.hide(),n()}),h>1&&c.splice.apply(c,[1,0].concat(c.splice(h,a+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.puff=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"hide"),s=i==="hide",o=parseInt(t.percent,10)||150,u=o/100,a={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:i,complete:n,percent:s?o:100,from:s?a:{height:a.height*u,width:a.width*u,outerHeight:a.outerHeight*u,outerWidth:a.outerWidth*u}}),r.effect(t)},e.effects.effect.scale=function(t,n){var r=e(this),i=e.extend(!0,{},t),s=e.effects.setMode(r,t.mode||"effect"),o=parseInt(t.percent,10)||(parseInt(t.percent,10)===0?0:s==="hide"?0:100),u=t.direction||"both",a=t.origin,f={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},l={y:u!=="horizontal"?o/100:1,x:u!=="vertical"?o/100:1};i.effect="size",i.queue=!1,i.complete=n,s!=="effect"&&(i.origin=a||["middle","center"],i.restore=!0),i.from=t.from||(s==="show"?{height:0,width:0,outerHeight:0,outerWidth:0}:f),i.to={height:f.height*l.y,width:f.width*l.x,outerHeight:f.outerHeight*l.y,outerWidth:f.outerWidth*l.x},i.fade&&(s==="show"&&(i.from.opacity=0,i.to.opacity=1),s==="hide"&&(i.from.opacity=1,i.to.opacity=0)),r.effect(i)},e.effects.effect.size=function(t,n){var r,i,s,o=e(this),u=["position","top","bottom","left","right","width","height","overflow","opacity"],a=["position","top","bottom","left","right","overflow","opacity"],f=["width","height","overflow"],l=["fontSize"],c=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],h=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode(o,t.mode||"effect"),d=t.restore||p!=="effect",v=t.scale||"both",m=t.origin||["middle","center"],g=o.css("position"),y=d?u:a,b={height:0,width:0,outerHeight:0,outerWidth:0};p==="show"&&o.show(),r={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},t.mode==="toggle"&&p==="show"?(o.from=t.to||b,o.to=t.from||r):(o.from=t.from||(p==="show"?b:r),o.to=t.to||(p==="hide"?b:r)),s={from:{y:o.from.height/r.height,x:o.from.width/r.width},to:{y:o.to.height/r.height,x:o.to.width/r.width}};if(v==="box"||v==="both")s.from.y!==s.to.y&&(y=y.concat(c),o.from=e.effects.setTransition(o,c,s.from.y,o.from),o.to=e.effects.setTransition(o,c,s.to.y,o.to)),s.from.x!==s.to.x&&(y=y.concat(h),o.from=e.effects.setTransition(o,h,s.from.x,o.from),o.to=e.effects.setTransition(o,h,s.to.x,o.to));(v==="content"||v==="both")&&s.from.y!==s.to.y&&(y=y.concat(l).concat(f),o.from=e.effects.setTransition(o,l,s.from.y,o.from),o.to=e.effects.setTransition(o,l,s.to.y,o.to)),e.effects.save(o,y),o.show(),e.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),m&&(i=e.effects.getBaseline(m,r),o.from.top=(r.outerHeight-o.outerHeight())*i.y,o.from.left=(r.outerWidth-o.outerWidth())*i.x,o.to.top=(r.outerHeight-o.to.outerHeight)*i.y,o.to.left=(r.outerWidth-o.to.outerWidth)*i.x),o.css(o.from);if(v==="content"||v==="both")c=c.concat(["marginTop","marginBottom"]).concat(l),h=h.concat(["marginLeft","marginRight"]),f=u.concat(c).concat(h),o.find("*[width]").each(function(){var n=e(this),r={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()};d&&e.effects.save(n,f),n.from={height:r.height*s.from.y,width:r.width*s.from.x,outerHeight:r.outerHeight*s.from.y,outerWidth:r.outerWidth*s.from.x},n.to={height:r.height*s.to.y,width:r.width*s.to.x,outerHeight:r.height*s.to.y,outerWidth:r.width*s.to.x},s.from.y!==s.to.y&&(n.from=e.effects.setTransition(n,c,s.from.y,n.from),n.to=e.effects.setTransition(n,c,s.to.y,n.to)),s.from.x!==s.to.x&&(n.from=e.effects.setTransition(n,h,s.from.x,n.from),n.to=e.effects.setTransition(n,h,s.to.x,n.to)),n.css(n.from),n.animate(n.to,t.duration,t.easing,function(){d&&e.effects.restore(n,f)})});o.animate(o.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o.to.opacity===0&&o.css("opacity",o.from.opacity),p==="hide"&&o.hide(),e.effects.restore(o,y),d||(g==="static"?o.css({position:"relative",top:o.to.top,left:o.to.left}):e.each(["top","left"],function(e,t){o.css(t,function(t,n){var r=parseInt(n,10),i=e?o.to.left:o.to.top;return n==="auto"?i+"px":r+i+"px"})})),e.effects.removeWrapper(o),n()}})}})(jQuery);(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m<a;m++)r.animate(d,l,t.easing).animate(v,l,t.easing);r.animate(d,l,t.easing).animate(p,l/2,t.easing).queue(function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),y>1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery);(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left",l,c={};e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);(function(e,t){e.effects.effect.transfer=function(t,n){var r=e(this),i=e(t.to),s=i.css("position")==="fixed",o=e("body"),u=s?o.scrollTop():0,a=s?o.scrollLeft():0,f=i.offset(),l={top:f.top-u,left:f.left-a,height:i.innerHeight(),width:i.innerWidth()},c=r.offset(),h=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(t.className).css({top:c.top-u,left:c.left-a,height:r.innerHeight(),width:r.innerWidth(),position:s?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){h.remove(),n()})}})(jQuery);(function(e,t){var n=!1;e.widget("ui.menu",{version:"1.9.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,e.proxy(function(e){this.options.disabled&&e.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(e){e.preventDefault()},"click .ui-state-disabled > a":function(e){e.preventDefault()},"click .ui-menu-item:has(a)":function(t){var r=e(t.target).closest(".ui-menu-item");!n&&r.not(".ui-state-disabled").length&&(n=!0,this.select(t),r.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var n=e(t.currentTarget);n.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,n)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(e,n)},blur:function(t){this._delay(function(){e.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){e(t.target).closest(".ui-menu").length||this.collapseAll(t),n=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=e(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var n,r,i,s,o,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,r=this.previousFilter||"",i=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),i===r?s=!0:i=r+i,o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())}),n=s&&n.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):n,n.length||(i=String.fromCharCode(t.keyCode),o=new RegExp("^"+a(i),"i"),n=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(e(this).children("a").text())})),n.length?(this.focus(t,n),n.length>1?(this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}u&&t.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n=this.options.icons.submenu,r=this.element.find(this.options.menus);r.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=e(this),r=t.prev("a"),i=e("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);r.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",r.attr("id"))}),t=r.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=e(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(e,t){var n,r;this.blur(e,e&&e.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),e&&e.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=t.children(".ui-menu"),n.length&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,r,i,s,o,u;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),u=t.height(),i<0?this.activeMenu.scrollTop(s+i):i+u>o&&this.activeMenu.scrollTop(s+i-o+u))},blur:function(e,t){t||clearTimeout(this.timer);if(!this.active)return;this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active})},_startOpening:function(e){clearTimeout(this.timer);if(e.attr("aria-hidden")!=="true")return;this.timer=this._delay(function(){this._close(),this._open(e)},this.delay)},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var r=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(e==="first"||e==="last"?r=this.active[e==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):r=this.active[e+"All"](".ui-menu-item").eq(0));if(!r||!r.length||!this.active)r=this.activeMenu.children(".ui-menu-item")[t]();this.focus(n,r)},nextPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isLastItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r-i<0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())},previousPage:function(t){var n,r,i;if(!this.active){this.next(t);return}if(this.isFirstItem())return;this._hasScroll()?(r=this.active.offset().top,i=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=e(this),n.offset().top-r+i>0}),this.focus(t,n)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,n)}})})(jQuery);(function(e,t){e.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=e("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return e===t?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){e==="value"&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!="number"&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})})(jQuery);(function(e,t){e.widget("ui.resizable",e.ui.mouse,{version:"1.9.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var t=this,n=this.options;this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=n.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var r=this.handles.split(",");this.handles={};for(var i=0;i<r.length;i++){var s=e.trim(r[i]),o="ui-resizable-"+s,u=e('<div class="ui-resizable-handle '+o+'"></div>');u.css({zIndex:n.zIndex}),"se"==s&&u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&&(this.handles[n]=e(this.handles[n],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&&e[1]?e[1]:"se"}}),n.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(n.disabled)return;e(this).removeClass("ui-resizable-autohide"),t._handles.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass("ui-resizable-autohide"),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")}).insertAfter(n),n.remove()}return this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var r=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css("left")),u=n(this.helper.css("top"));r.containment&&(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=="number"?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(".ui-resizable-"+this.axis).css("cursor");return e("body").css("cursor",a=="auto"?this.axis+"-resize":a),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate("resize",e),t.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!n.animate&&this._proportionallyResize()}return e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n>u.minWidth&&(u.minWidth=n),s>u.minHeight&&(u.minHeight=s),i<u.maxWidth&&(u.maxWidth=i),o<u.maxHeight&&(u.maxHeight=o);this._vBoundaries=u},_updateCache:function(e){var t=this.options;this.offset=this.helper.offset(),r(e.left)&&(this.position.left=e.left),r(e.top)&&(this.position.top=e.top),r(e.height)&&(this.size.height=e.height),r(e.width)&&(this.size.width=e.width)},_updateRatio:function(e,t){var n=this.options,i=this.position,s=this.size,o=this.axis;return r(e.height)?e.width=e.height*this.aspectRatio:r(e.width)&&(e.height=e.width/this.aspectRatio),o=="sw"&&(e.left=i.left+(s.width-e.width),e.top=null),o=="nw"&&(e.top=i.top+(s.height-e.height),e.left=i.left+(s.width-e.width)),e},_respectSize:function(e,t){var n=this.helper,i=this._vBoundaries,s=this._aspectRatio||t.shiftKey,o=this.axis,u=r(e.width)&&i.maxWidth&&i.maxWidth<e.width,a=r(e.height)&&i.maxHeight&&i.maxHeight<e.height,f=r(e.width)&&i.minWidth&&i.minWidth>e.width,l=r(e.height)&&i.minHeight&&i.minHeight>e.height;f&&(e.width=i.minWidth),l&&(e.height=i.minHeight),u&&(e.width=i.maxWidth),a&&(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&&p&&(e.left=c-i.minWidth),u&&p&&(e.left=c-i.maxWidth),l&&d&&(e.top=h-i.minHeight),a&&d&&(e.top=h-i.maxHeight);var v=!e.width&&!e.height;return v&&!e.left&&e.top?e.top=null:v&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r<this._proportionallyResizeElements.length;r++){var i=this._proportionallyResizeElements[r];if(!this.borderDif){var s=[i.css("borderTopWidth"),i.css("borderRightWidth"),i.css("borderBottomWidth"),i.css("borderLeftWidth")],o=[i.css("paddingTop"),i.css("paddingRight"),i.css("paddingBottom"),i.css("paddingLeft")];this.borderDif=e.map(s,function(e,t){var n=parseInt(e,10)||0,r=parseInt(o[t],10)||0;return n+r})}i.css({height:n.height()-this.borderDif[0]-this.borderDif[2]||0,width:n.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var t=this.element,n=this.options;this.elementOffset=t.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var r=e.ui.ie6?1:0,i=e.ui.ie6?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+i,height:this.element.outerHeight()+i,position:"absolute",left:this.elementOffset.left-r+"px",top:this.elementOffset.top-r+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","alsoResize",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof i.alsoResize=="object"&&!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","animate",{stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),u=o&&e.ui.hasScroll(s[0],"left")?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};s&&s.length&&e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(t,r){var i=e(this).data("resizable"),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e(["Top","Right","Left","Bottom"]).each(function(e,t){l[e]=n(f.css("padding"+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,"left")?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&&/static/.test(c.css("position"))&&(l=o),a.left<(r._helper?o.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top<(r._helper?o.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css("position"));d&&v&&(h-=r.parentData.left),h+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-h,f&&(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-p,f&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h}),r._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add("resizable","ghost",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:""),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.ghost.css({position:"relative",height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.helper&&r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.9.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t=this;this.element.addClass("ui-selectable"),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass("ui-selectee"),n.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=n.addClass("ui-selectee"),this._mouseInit(),this.helper=e("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,"selectable-item");if(r){var i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected");return r.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i>o){var a=o;o=i,i=a}if(s>u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!a||a.element==n.element[0])return;var f=!1;r.tolerance=="touch"?f=!(a.left>o||a.right<i||a.top>u||a.bottom<s):r.tolerance=="fit"&&(f=a.left>i&&a.right<o&&a.top>s&&a.bottom<u),f?(a.selected&&(a.$element.removeClass("ui-selected"),a.selected=!1),a.unselecting&&(a.$element.removeClass("ui-unselecting"),a.unselecting=!1),a.selecting||(a.$element.addClass("ui-selecting"),a.selecting=!0,n._trigger("selecting",t,{selecting:a.element}))):(a.selecting&&((t.metaKey||t.ctrlKey)&&a.startselected?(a.$element.removeClass("ui-selecting"),a.selecting=!1,a.$element.addClass("ui-selected"),a.selected=!0):(a.$element.removeClass("ui-selecting"),a.selecting=!1,a.startselected&&(a.$element.addClass("ui-unselecting"),a.unselecting=!0),n._trigger("unselecting",t,{unselecting:a.element}))),a.selected&&!t.metaKey&&!t.ctrlKey&&!a.startselected&&(a.$element.removeClass("ui-selected"),a.selected=!1,a.$element.addClass("ui-unselecting"),a.unselecting=!0,n._trigger("unselecting",t,{unselecting:a.element})))}),!1},_mouseStop:function(t){var n=this;this.dragged=!1;var r=this.options;return e(".ui-unselecting",this.element[0]).each(function(){var r=e.data(this,"selectable-item");r.$element.removeClass("ui-unselecting"),r.unselecting=!1,r.startselected=!1,n._trigger("unselected",t,{unselected:r.element})}),e(".ui-selecting",this.element[0]).each(function(){var r=e.data(this,"selectable-item");r.$element.removeClass("ui-selecting").addClass("ui-selected"),r.selecting=!1,r.selected=!0,r.startselected=!0,n._trigger("selected",t,{selected:r.element})}),this._trigger("stop",t),this.helper.remove(),!1}})})(jQuery);(function(e,t){var n=5;e.widget("ui.slider",e.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var t,r,i=this.options,s=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",u=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"+(i.disabled?" ui-slider-disabled ui-disabled":"")),this.range=e([]),i.range&&(i.range===!0&&(i.values||(i.values=[this._valueMin(),this._valueMin()]),i.values.length&&i.values.length!==2&&(i.values=[i.values[0],i.values[0]])),this.range=e("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(i.range==="min"||i.range==="max"?" ui-slider-range-"+i.range:""))),r=i.values&&i.values.length||1;for(t=s.length;t<r;t++)u.push(o);this.handles=s.add(e(u.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).mouseenter(function(){i.disabled||e(this).addClass("ui-state-hover")}).mouseleave(function(){e(this).removeClass("ui-state-hover")}).focus(function(){i.disabled?e(this).blur():(e(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),e(this).addClass("ui-state-focus"))}).blur(function(){e(this).removeClass("ui-state-focus")}),this.handles.each(function(t){e(this).data("ui-slider-handle-index",t)}),this._on(this.handles,{keydown:function(t){var r,i,s,o,u=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:t.preventDefault();if(!this._keySliding){this._keySliding=!0,e(t.target).addClass("ui-state-active"),r=this._start(t,u);if(r===!1)return}}o=this.options.step,this.options.values&&this.options.values.length?i=s=this.values(u):i=s=this.value();switch(t.keyCode){case e.ui.keyCode.HOME:s=this._valueMin();break;case e.ui.keyCode.END:s=this._valueMax();break;case e.ui.keyCode.PAGE_UP:s=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/n);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(i===this._valueMax())return;s=this._trimAlignValue(i+o);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;s=this._trimAlignValue(i-o)}this._slide(t,u,s)},keyup:function(t){var n=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,n),this._change(t,n),e(t.target).removeClass("ui-state-active"))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(t){var n,r,i,s,o,u,a,f,l=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},r=this._normValueFromMouse(n),i=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var n=Math.abs(r-l.values(t));i>n&&(i=n,s=e(this),o=t)}),c.range===!0&&this.values(1)===c.min&&(o+=1,s=e(this.handles[o])),u=this._start(t,o),u===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),f=!e(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=f?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,r),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i,s;return this.orientation==="horizontal"?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),r=n/t,r>1&&(r=1),r<0&&(r=0),this.orientation==="vertical"&&(r=1-r),i=this._valueMax()-this._valueMin(),s=this._valueMin()+r*i,this._trimAlignValue(s)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("start",e,n)},_slide:function(e,t,n){var r,i,s;this.options.values&&this.options.values.length?(r=this.values(t?0:1),this.options.values.length===2&&this.options.range===!0&&(t===0&&n>r||t===1&&n<r)&&(n=r),n!==this.values(t)&&(i=this.values(),i[t]=n,s=this._trigger("slide",e,{handle:this.handles[t],value:n,values:i}),r=this.values(t?0:1),s!==!1&&this.values(t,n,!0))):n!==this.value()&&(s=this._trigger("slide",e,{handle:this.handles[t],value:n}),s!==!1&&this.value(n))},_stop:function(e,t){var n={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("stop",e,n)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var n={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("change",e,n)}},value:function(e){if(arguments.length){this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(t,n){var r,i,s;if(arguments.length>1){this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),this._change(null,t);return}if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();r=this.options.values,i=arguments[0];for(s=0;s<r.length;s+=1)r[s]=this._trimAlignValue(i[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,n){var r,i=0;e.isArray(this.options.values)&&(i=this.options.values.length),e.Widget.prototype._setOption.apply(this,arguments);switch(t){case"disabled":n?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.prop("disabled",!0),this.element.addClass("ui-disabled")):(this.handles.prop("disabled",!1),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":this._animateOff=!0,this._refreshValue();for(r=0;r<i;r+=1)this._change(null,r);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e),e},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t),t;n=this.options.values.slice();for(r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return Math.abs(n)*2>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,r,i,s,o=this.options.range,u=this.options,a=this,f=this._animateOff?!1:u.animate,l={};this.options.values&&this.options.values.length?this.handles.each(function(r){n=(a.values(r)-a._valueMin())/(a._valueMax()-a._valueMin())*100,l[a.orientation==="horizontal"?"left":"bottom"]=n+"%",e(this).stop(1,1)[f?"animate":"css"](l,u.animate),a.options.range===!0&&(a.orientation==="horizontal"?(r===0&&a.range.stop(1,1)[f?"animate":"css"]({left:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:u.animate})):(r===0&&a.range.stop(1,1)[f?"animate":"css"]({bottom:n+"%"},u.animate),r===1&&a.range[f?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:u.animate}))),t=n}):(r=this.value(),i=this._valueMin(),s=this._valueMax(),n=s!==i?(r-i)/(s-i)*100:0,l[this.orientation==="horizontal"?"left":"bottom"]=n+"%",this.handle.stop(1,1)[f?"animate":"css"](l,u.animate),o==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[f?"animate":"css"]({width:n+"%"},u.animate),o==="max"&&this.orientation==="horizontal"&&this.range[f?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:u.animate}),o==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[f?"animate":"css"]({height:n+"%"},u.animate),o==="max"&&this.orientation==="vertical"&&this.range[f?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:u.animate}))}})})(jQuery);(function(e,t){e.widget("ui.sortable",e.ui.mouse,{version:"1.9.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")==r)return i=e(this),!1});e.data(t.target,r.widgetName+"-item")==r&&(i=e(t.target));if(!i)return!1;if(this.options.handle&&!n){var o=!1;e(this.options.handle,i).find("*").andSelf().each(function(){this==t.target&&(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),i.containment&&this._setContainment(),i.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",i.cursor)),i.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",i.opacity)),i.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",i.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<n.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+n.scrollSpeed:t.pageY-this.overflowOffset.top<n.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-n.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<n.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+n.scrollSpeed:t.pageX-this.overflowOffset.left<n.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-n.scrollSpeed)):(t.pageY-e(document).scrollTop()<n.scrollSensitivity?r=e(document).scrollTop(e(document).scrollTop()-n.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())<n.scrollSensitivity&&(r=e(document).scrollTop(e(document).scrollTop()+n.scrollSpeed)),t.pageX-e(document).scrollLeft()<n.scrollSensitivity?r=e(document).scrollLeft(e(document).scrollLeft()-n.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())<n.scrollSensitivity&&(r=e(document).scrollLeft(e(document).scrollLeft()+n.scrollSpeed))),r!==!1&&e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(var i=this.items.length-1;i>=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&&this.placeholder[u==1?"next":"prev"]()[0]!=o&&!e.contains(this.placeholder[0],o)&&(this.options.type=="semi-dynamic"?!e.contains(this.element[0],o):!0)){this.direction=u==1?"down":"up";if(this.options.tolerance!="pointer"&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+f<a&&t+l>s&&t+l<o;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?c:s<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<o&&u<r+this.helperProportions.height/2&&i-this.helperProportions.height/2<a},_intersectsWithPointer:function(t){var n=this.options.axis==="x"||e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),r=this.options.axis==="y"||e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),i=n&&r,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return i?this.floating?o&&o=="right"||s=="down"?2:1:s&&(s=="down"?2:1):!1},_intersectsWithSides:function(t){var n=e.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),r=e.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?s=="right"&&r||s=="left"&&!r:i&&(i=="down"&&n||i=="up"&&!n)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return e!=0&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!=0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&&t)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var s=r.length-1;s>=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var n=0;n<t.length;n++)if(t[n]==e.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var n=this.items,r=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],i=this._connectWith();if(i&&this.ready)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s>=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.length;u<c;u++){var h=e(l[u]);h.data(this.widgetName+"-item",f),n.push({item:h,instance:f,width:0,height:0,left:0,top:0})}}},refreshPositions:function(t){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var n=this.items.length-1;n>=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&&this.currentContainer&&r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n>=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return r||(n.style.visibility="hidden"),n},update:function(e,i){if(r&&!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i>=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&&e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1;else{var s=1e4,o=null,u=this.containers[r].floating?"left":"top",a=this.containers[r].floating?"width":"height",f=this.positionAbs[u]+this.offset.click[u];for(var l=this.items.length-1;l>=0;l--){if(!e.contains(this.containers[r].element[0],this.items[l].item[0]))continue;if(this.items[l].item[0]==this.currentItem[0])continue;var c=this.items[l].item.offset()[u],h=!1;Math.abs(c-f)>Math.abs(c+this.items[l][a]-f)&&(h=!0,c+=this.items[l][a]),Math.abs(c-f)<s&&(s=Math.abs(c-f),o=this.items[l],this.direction=h?"up":"down")}if(!o&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[r],o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[r].element,!0),this._trigger("change",t,this._uiHash()),this.containers[r]._trigger("change",t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1}},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):n.helper=="clone"?this.currentItem.clone():this.currentItem;return r.parents("body").length||e(n.appendTo!="parent"?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(r[0]),r[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(r[0].style.width==""||n.forceHelperSize)&&r.width(this.currentItem.width()),(r[0].style.height==""||n.forceHelperSize)&&r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.ui.ie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)){var n=e(t.containment)[0],r=e(t.containment).offset(),i=e(n).css("overflow")!="hidden";this.containment=[r.left+(parseInt(e(n).css("borderLeftWidth"),10)||0)+(parseInt(e(n).css("paddingLeft"),10)||0)-this.margins.left,r.top+(parseInt(e(n).css("borderTopWidth"),10)||0)+(parseInt(e(n).css("paddingTop"),10)||0)-this.margins.top,r.left+(i?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e(n).css("borderLeftWidth"),10)||0)-(parseInt(e(n).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,r.top+(i?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e(n).css("borderTopWidth"),10)||0)-(parseInt(e(n).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var s=t.pageX,o=t.pageY;if(this.originalPosition){this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.top<this.containment[1]||u-this.offset.click.top>this.containment[3]?u-this.offset.click.top<this.containment[1]?u+n.grid[1]:u-n.grid[1]:u:u;var a=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0];s=this.containment?a-this.offset.click.left<this.containment[0]||a-this.offset.click.left>this.containment[2]?a-this.offset.click.left<this.containment[0]?a+n.grid[0]:a-n.grid[0]:a:a}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():i?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i==this.counter&&this.refreshPositions(!r)})},_clear:function(t,n){this.reverting=!1;var r=[];!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var i in this._storedCSS)if(this._storedCSS[i]=="auto"||this._storedCSS[i]=="static")this._storedCSS[i]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!n&&r.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!n&&r.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(n||(r.push(function(e){this._trigger("remove",e,this._uiHash())}),r.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer))));for(var i=this.containers.length-1;i>=0;i--)n||r.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(var i=0;i<r.length;i++)r[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}n||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null;if(!n){for(var i=0;i<r.length;i++)r[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){e.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var n=t||this;return{helper:n.helper,placeholder:n.placeholder||e([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:t?t.element:null}}})})(jQuery);(function(e){function t(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}e.widget("ui.spinner",{version:"1.9.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t={},n=this.element;return e.each(["min","max","step"],function(e,r){var i=n.attr(r);i!==undefined&&i.length&&(t[r]=i)}),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e)},mousewheel:function(e,t){if(!t)return;if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()},"mousedown .ui-spinner-button":function(t){function r(){var e=this.element[0]===this.document[0].activeElement;e||(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n}))}var n;n=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,r.call(this)});if(this._start(t)===!1)return;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(!e(t.currentTarget).hasClass("ui-state-active"))return;if(this._start(t)===!1)return!1;this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(e.height()*.5)&&e.height()>0&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(e){return!this.spinning&&this._trigger("start",e)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter));if(!this.spinning||this._trigger("spin",t,{value:n})!==!1)this._value(n),this.counter++},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return this.options.min!==null&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return n===-1?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return t=r.min!==null?r.min:0,n=e-t,n=Math.round(n/r.step)*r.step,e=t+n,e=parseFloat(e.toFixed(this._precision())),r.max!==null&&e>r.max?r.max:r.min!==null&&e<r.min?r.min:e},_stop:function(e){if(!this.spinning)return;clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e)},_setOption:function(e,t){if(e==="culture"||e==="numberFormat"){var n=this._parse(this.element.val());this.options[e]=t,this.element.val(this._format(n));return}(e==="max"||e==="min"||e==="step")&&typeof t=="string"&&(t=this._parse(t)),this._super(e,t),e==="disabled"&&(t?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:t(function(e){this._super(e),this._value(this.element.val())}),_parse:function(e){return typeof e=="string"&&e!==""&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),e===""||isNaN(e)?null:e},_format:function(e){return e===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(e,t){var n;e!==""&&(n=this._parse(e),n!==null&&(t||(n=this._adjustValue(n)),e=this._format(n))),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}),_stepUp:function(e){this._spin((e||1)*this.options.step)},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._spin((e||1)*-this.options.step)},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());t(this._value).call(this,e)},widget:function(){return this.uiSpinner}})})(jQuery);(function(e,t){function i(){return++n}function s(e){return e.hash.length>1&&e.href.replace(r,"")===location.href.replace(r,"").replace(/\s/g,"%20")}var n=0,r=/#.*$/;e.widget("ui.tabs",{version:"1.9.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var t=this,n=this.options,r=n.active,i=location.hash.substring(1);this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",n.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs();if(r===null){i&&this.tabs.each(function(t,n){if(e(n).attr("aria-controls")===i)return r=t,!1}),r===null&&(r=this.tabs.index(this.tabs.filter(".ui-tabs-active")));if(r===null||r===-1)r=this.tabs.length?0:!1}r!==!1&&(r=this.tabs.index(this.tabs.eq(r)),r===-1&&(r=n.collapsible?!1:0)),n.active=r,!n.collapsible&&n.active===!1&&this.anchors.length&&(n.active=0),e.isArray(n.disabled)&&(n.disabled=e.unique(n.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=e(),this._refresh(),this.active.length&&this.load(n.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(this.document[0].activeElement).closest("li"),r=this.tabs.index(n),i=!0;if(this._handlePageNav(t))return;switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:i=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:t.preventDefault(),clearTimeout(this.activating),this._activate(r);return;case e.ui.keyCode.ENTER:t.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r);return;default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,i),t.ctrlKey||(n.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",r)},this.delay))},_panelKeydown:function(t){if(this._handlePageNav(t))return;t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(t,n){function i(){return t>r&&(t=0),t<0&&(t=r),t}var r=this.tabs.length-1;while(e.inArray(i(),this.options.disabled)!==-1)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){if(e==="active"){this._activate(t);return}if(e==="disabled"){this._setupDisabled(t);return}this._super(e,t),e==="collapsible"&&(this.element.toggleClass("ui-tabs-collapsible",t),!t&&this.options.active===!1&&this._activate(0)),e==="event"&&this._setupEvents(t),e==="heightStyle"&&this._setupHeightStyle(t)},_tabId:function(e){return e.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,n=this.tablist.children(":has(a[href])");t.disabled=e.map(n.filter(".ui-state-disabled"),function(e){return n.index(e)}),this._processTabs(),t.active===!1||!this.anchors.length?(t.active=!1,this.active=e()):this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=e(),this.anchors.each(function(n,r){var i,o,u,a=e(r).uniqueId().attr("id"),f=e(r).closest("li"),l=f.attr("aria-controls");s(r)?(i=r.hash,o=t.element.find(t._sanitizeSelector(i))):(u=t._tabId(f),i="#"+u,o=t.element.find(i),o.length||(o=t._createPanel(u),o.insertAfter(t.panels[n-1]||t.tablist)),o.attr("aria-live","polite")),o.length&&(t.panels=t.panels.add(o)),l&&f.data("ui-tabs-aria-controls",l),f.attr({"aria-controls":i.substring(1),"aria-labelledby":a}),o.attr("aria-labelledby",a)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var n=0,r;r=this.tabs[n];n++)t===!0||e.inArray(n,t)!==-1?e(r).addClass("ui-state-disabled").attr("aria-disabled","true"):e(r).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var n={click:function(e){e.preventDefault()}};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r,i=this.element.parent();t==="fill"?(e.support.minHeight||(r=i.css("overflow"),i.css("overflow","hidden")),n=i.height(),this.element.siblings(":visible").each(function(){var t=e(this),r=t.css("position");if(r==="absolute"||r==="fixed")return;n-=t.outerHeight(!0)}),r&&i.css("overflow",r),this.element.children().not(this.panels).each(function(){n-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):t==="auto"&&(n=0,this.panels.each(function(){n=Math.max(n,e(this).height("").height())}).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i.closest("li"),o=s[0]===r[0],u=o&&n.collapsible,a=u?e():this._getPanelForTab(s),f=r.length?this._getPanelForTab(r):e(),l={oldTab:r,oldPanel:f,newTab:u?e():s,newPanel:a};t.preventDefault();if(s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||o&&!n.collapsible||this._trigger("beforeActivate",t,l)===!1)return;n.active=u?!1:this.tabs.index(s),this.active=o?e():s,this.xhr&&this.xhr.abort(),!f.length&&!a.length&&e.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),t),this._toggle(t,l)},_toggle:function(t,n){function o(){r.running=!1,r._trigger("activate",t,n)}function u(){n.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),i.length&&r.options.show?r._show(i,r.options.show,o):(i.show(),o())}var r=this,i=n.newPanel,s=n.oldPanel;this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s.hide(),u()),s.attr({"aria-expanded":"false","aria-hidden":"true"}),n.oldTab.attr("aria-selected","false"),i.length&&s.length?n.oldTab.attr("tabIndex",-1):i.length&&this.tabs.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}),n.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);if(r[0]===this.active[0])return;r.length||(r=this.active),n=r.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return t===!1?e():this.tabs.eq(t)},_getIndex:function(e){return typeof e=="string"&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n):t.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(n){var r=this.options.disabled;if(r===!1)return;n===t?r=!1:(n=this._getIndex(n),e.isArray(r)?r=e.map(r,function(e){return e!==n?e:null}):r=e.map(this.tabs,function(e,t){return t!==n?t:null})),this._setupDisabled(r)},disable:function(n){var r=this.options.disabled;if(r===!0)return;if(n===t)r=!0;else{n=this._getIndex(n);if(e.inArray(n,r)!==-1)return;e.isArray(r)?r=e.merge([n],r).sort():r=[n]}this._setupDisabled(r)},load:function(t,n){t=this._getIndex(t);var r=this,i=this.tabs.eq(t),o=i.find(".ui-tabs-anchor"),u=this._getPanelForTab(i),a={tab:i,panel:u};if(s(o[0]))return;this.xhr=e.ajax(this._ajaxSettings(o,n,a)),this.xhr&&this.xhr.statusText!=="canceled"&&(i.addClass("ui-tabs-loading"),u.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){u.html(e),r._trigger("load",n,a)},1)}).complete(function(e,t){setTimeout(function(){t==="abort"&&r.panels.stop(!1,!0),i.removeClass("ui-tabs-loading"),u.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr},1)}))},_ajaxSettings:function(t,n,r){var i=this;return{url:t.attr("href"),beforeSend:function(t,s){return i._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:s},r))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),e.uiBackCompat!==!1&&(e.ui.tabs.prototype._ui=function(e,t){return{tab:e,panel:t,index:this.anchors.index(e)}},e.widget("ui.tabs",e.ui.tabs,{url:function(e,t){this.anchors.eq(e).attr("href",t)}}),e.widget("ui.tabs",e.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var t=this;this._on({tabsbeforeload:function(n,r){if(e.data(r.tab[0],"cache.tabs")){n.preventDefault();return}r.jqXHR.success(function(){t.options.cache&&e.data(r.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,n,r){var i=this.options.ajaxOptions;return e.extend({},i,{error:function(e,t){try{i.error(e,t,r.tab.closest("li").index(),r.tab[0])}catch(n){}}},this._superApply(arguments))},_setOption:function(e,t){e==="cache"&&t===!1&&this.anchors.removeData("cache.tabs"),this._super(e,t)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(e){this.anchors.eq(e).removeData("cache.tabs"),this._superApply(arguments)}}),e.widget("ui.tabs",e.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),e.widget("ui.tabs",e.ui.tabs,{options:{spinner:"<em>Loading&#8230;</em>"},_create:function(){this._super(),this._on({tabsbeforeload:function(e,t){if(e.target!==this.element[0]||!this.options.spinner)return;var n=t.tab.find("span"),r=n.html();n.html(this.options.spinner),t.jqXHR.complete(function(){n.html(r)})}})}}),e.widget("ui.tabs",e.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var n=this.options,r;if(t&&n.disabled===!0||e.isArray(n.disabled)&&e.inArray(t,n.disabled)!==-1)r=!0;this._superApply(arguments),r&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var n=this.options,r;if(t&&n.disabled===!1||e.isArray(n.disabled)&&e.inArray(t,n.disabled)===-1)r=!0;this._superApply(arguments),r&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),e.widget("ui.tabs",e.ui.tabs,{options:{add:null,remove:null,tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},add:function(n,r,i){i===t&&(i=this.anchors.length);var s,o,u=this.options,a=e(u.tabTemplate.replace(/#\{href\}/g,n).replace(/#\{label\}/g,r)),f=n.indexOf("#")?this._tabId(a):n.replace("#","");return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),a.attr("aria-controls",f),s=i>=this.tabs.length,o=this.element.find("#"+f),o.length||(o=this._createPanel(f),s?i>0?o.insertAfter(this.panels.eq(-1)):o.appendTo(this.element):o.insertBefore(this.panels[i])),o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?a.appendTo(this.tablist):a.insertBefore(this.tabs[i]),u.disabled=e.map(u.disabled,function(e){return e>=i?++e:e}),this.refresh(),this.tabs.length===1&&u.active===!1&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(t){t=this._getIndex(t);var n=this.options,r=this.tabs.eq(t).remove(),i=this._getPanelForTab(r).remove();return r.hasClass("ui-tabs-active")&&this.anchors.length>2&&this._activate(t+(t+1<this.anchors.length?1:-1)),n.disabled=e.map(e.grep(n.disabled,function(e){return e!==t}),function(e){return e>=t?--e:e}),this.refresh(),this._trigger("remove",null,this._ui(r.find("a")[0],i[0])),this}}),e.widget("ui.tabs",e.ui.tabs,{length:function(){return this.anchors.length}}),e.widget("ui.tabs",e.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(t){var n=t.is("li")?t.find("a[href]"):t;return n=n[0],e(n).closest("li").attr("aria-controls")||n.title&&n.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+i()}}),e.widget("ui.tabs",e.ui.tabs,{options:{panelTemplate:"<div></div>"},_createPanel:function(t){return e(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),e.widget("ui.tabs",e.ui.tabs,{_create:function(){var e=this.options;e.active===null&&e.selected!==t&&(e.active=e.selected===-1?!1:e.selected),this._super(),e.selected=e.active,e.selected===!1&&(e.selected=-1)},_setOption:function(e,t){if(e!=="selected")return this._super(e,t);var n=this.options;this._super("active",t===-1?!1:t),n.selected=n.active,n.selected===!1&&(n.selected=-1)},_eventHandler:function(){this._superApply(arguments),this.options.selected=this.options.active,this.options.selected===!1&&(this.options.selected=-1)}}),e.widget("ui.tabs",e.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),this.options.active!==!1&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(e,t,n){var r,i,s=this._superApply(arguments);return s?(e==="beforeActivate"?(r=n.newTab.length?n.newTab:n.oldTab,i=n.newPanel.length?n.newPanel:n.oldPanel,s=this._super("select",t,{tab:r.find(".ui-tabs-anchor")[0],panel:i[0],index:r.closest("li").index()})):e==="activate"&&n.newTab.length&&(s=this._super("show",t,{tab:n.newTab.find(".ui-tabs-anchor")[0],panel:n.newPanel[0],index:n.newTab.closest("li").index()})),s):!1}}),e.widget("ui.tabs",e.ui.tabs,{select:function(e){e=this._getIndex(e);if(e===-1){if(!this.options.collapsible||this.options.selected===-1)return;e=this.options.selected}this.anchors.eq(e).trigger(this.options.event+this.eventNamespace)}}),function(){var t=0;e.widget("ui.tabs",e.ui.tabs,{options:{cookie:null},_create:function(){var e=this.options,t;e.active==null&&e.cookie&&(t=parseInt(this._cookie(),10),t===-1&&(t=!1),e.active=t),this._super()},_cookie:function(n){var r=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++t)];return arguments.length&&(r.push(n===!1?-1:n),r.push(this.options.cookie)),e.cookie.apply(null,r)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}})}(),e.widget("ui.tabs",e.ui.tabs,{_trigger:function(t,n,r){var i=e.extend({},r);return t==="load"&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,n,i)}}),e.widget("ui.tabs",e.ui.tabs,{options:{fx:null},_getFx:function(){var t,n,r=this.options.fx;return r&&(e.isArray(r)?(t=r[0],n=r[1]):t=n=r),r?{show:n,hide:t}:null},_toggle:function(e,t){function o(){n.running=!1,n._trigger("activate",e,t)}function u(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.show?r.animate(s.show,s.show.duration,function(){o()}):(r.show(),o())}var n=this,r=t.newPanel,i=t.oldPanel,s=this._getFx();if(!s)return this._super(e,t);n.running=!0,i.length&&s.hide?i.animate(s.hide,s.hide.duration,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),u()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),i.hide(),u())}}))})(jQuery);(function(e){function n(t,n){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(r.join(" ")))}function r(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),i=e.inArray(n,r);i!==-1&&r.splice(i,1),t.removeData("ui-tooltip-id"),r=e.trim(r.join(" ")),r?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")}var t=0;e.widget("ui.tooltip",{version:"1.9.2",options:{content:function(){return e(this).attr("title")},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(t,n){var r=this;if(t==="disabled"){this[n?"_disable":"_enable"](),this.options[t]=n;return}this._super(t,n),t==="content"&&e.each(this.tooltips,function(e,t){r._updateContent(t)})},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var n=this,r=e(t?t.target:this.element).closest(this.options.items);if(!r.length||r.data("ui-tooltip-id"))return;r.attr("title")&&r.data("ui-tooltip-title",r.attr("title")),r.data("ui-tooltip-open",!0),t&&t.type==="mouseover"&&r.parents().each(function(){var t=e(this),r;t.data("ui-tooltip-open")&&(r=e.Event("blur"),r.target=r.currentTarget=this,n.close(r,!0)),t.attr("title")&&(t.uniqueId(),n.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._updateContent(r,t)},_updateContent:function(e,t){var n,r=this.options.content,i=this,s=t?t.type:null;if(typeof r=="string")return this._open(t,e,r);n=r.call(e[0],function(n){if(!e.data("ui-tooltip-open"))return;i._delay(function(){t&&(t.type=s),this._open(t,e,n)})}),n&&this._open(t,e,n)},_open:function(t,r,i){function f(e){a.of=e;if(s.is(":hidden"))return;s.position(a)}var s,o,u,a=e.extend({},this.options.position);if(!i)return;s=this._find(r);if(s.length){s.find(".ui-tooltip-content").html(i);return}r.is("[title]")&&(t&&t.type==="mouseover"?r.attr("title",""):r.removeAttr("title")),s=this._tooltip(r),n(r,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:f}),f(t)):s.position(e.extend({of:r},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.show&&this.options.show.delay&&(u=setInterval(function(){s.is(":visible")&&(f(a.of),clearInterval(u))},e.fx.interval)),this._trigger("open",t,{tooltip:s}),o={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var n=e.Event(t);n.currentTarget=r[0],this.close(n,!0)}},remove:function(){this._removeTooltip(s)}};if(!t||t.type==="mouseover")o.mouseleave="close";if(!t||t.type==="focusin")o.focusout="close";this._on(!0,r,o)},close:function(t){var n=this,i=e(t?t.currentTarget:this.element),s=this._find(i);if(this.closing)return;i.data("ui-tooltip-title")&&i.attr("title",i.data("ui-tooltip-title")),r(i),s.stop(!0),this._hide(s,this.options.hide,function(){n._removeTooltip(e(this))}),i.removeData("ui-tooltip-open"),this._off(i,"mouseleave focusout keyup"),i[0]!==this.element[0]&&this._off(i,"remove"),this._off(this.document,"mousemove"),t&&t.type==="mouseleave"&&e.each(this.parents,function(t,r){e(r.element).attr("title",r.title),delete n.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:s}),this.closing=!1},_tooltip:function(n){var r="ui-tooltip-"+t++,i=e("<div>").attr({id:r,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return e("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),e.fn.bgiframe&&i.bgiframe(),this.tooltips[r]=n,i},_find:function(t){var n=t.data("ui-tooltip-id");return n?e("#"+n):e()},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r[0],t.close(i,!0),e("#"+n).remove(),r.data("ui-tooltip-title")&&(r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))})}})})(jQuery);
\ No newline at end of file
Index: branches/2.8.x/wb/include/jquery/images/ui-icons_2e83ff_256x240.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-icons_2e83ff_256x240.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-icons_888888_256x240.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-icons_888888_256x240.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_75_dadada_1x400.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_75_dadada_1x400.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_flat_75_ffffff_40x100.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_flat_75_ffffff_40x100.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_65_ffffff_1x400.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_glass_65_ffffff_1x400.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-icons_cd0a0a_256x240.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-icons_cd0a0a_256x240.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-icons_454545_256x240.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-icons_454545_256x240.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/include/jquery/images/ui-icons_222222_256x240.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/include/jquery/images/ui-icons_222222_256x240.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1856)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1857)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1856');
+if(!defined('REVISION')) define('REVISION', '1857');
 if(!defined('SP')) define('SP', '');
