Changes from 3.3-3 to 3.3-4

*Kernel:
- Security fix: Added check when editing tempaltes if the file is actually a template. ( merged from stable/3.2 r5181 )
- Changed rendering of literal inside XML text to block to ensure correct XHTML validation
- Added boolean parameter 'main_node_only' in fetch function list, list_count, 
  tree and tree_count. The default is set to false to keep backwards compatibility.
- Fixed missing include to ezinformationcollection in ezcontentfunctioncollection.php
- Fixed wrong matchfile settings for shop templates.
- Added CGI warning text to accept path info test, since the test will detect both.
- Added check if basket item exists before we remove it ( merged from stable/3.2 r5177 )
- Added possibility to add multiple objects to a objectrelationlist in the browse view
  http://ez.no/community/bug_reports/ezobjectrelationlist_doesn_t_support_multiple_values
- Added the possibility to set attributes in eZWorkflowType. (Merged from stable/3.2 rev. 5533)
- Made sure it is not possible to move, remove or add locations for top level objects.

*Setup:
- Fixed checking of existing MySQL databases to use mysql_list_dbs().
- Added back the finetuning page, it will display hints for extending eZ publish.
- Added finetuning check for the ImageTTFText and ImageTTFBBox functions which are
  need for texttoimage to work properly.
- Added manual input box for mysql when no databases found.

*DataTypes:
- Fixed datatype inisetting which can't save parameter value like "x=y";
- Added checkbox 'make empty array' when editing datatype inisetting if ini
  variable is array.
- Added remove empty ini block function for datatype inisetting.
- eZBinaryFile now uses eZMimeType for mime type handling. Merged from trunk (Rev. 5194)
- eZMedia now uses eZMimeType for mime type handling.
- Made sure eZOption and eZRangeOption does no initialization when an attribute is copied
  (e.g. on when creating a new version).
- Made sure eZImage, eZMedia and eZENUM only copies attribute data when
  supplied version is non-false.

*Bugs:
- Fixed broken datatype range option.
  http://ez.no/community/bug_reports/ezrange_option_dataype_broken
- Fixed bug of obtaining duplicate objects if fetching trees or lists with 
  objects assigned to multiple locations.
  http://ez.no/community/bug_reports/duplicates_when_fetching_trees_and_lists_with_objects_assigned_to_multiple_locations
- Fixed checking of input ID to content/download, previously it was
  used unchecked causing a crash on the page.
- Fixed bug when running eZ publish in VirtualHost mode and applying ".php" in the URL. This could cause wwwDir
  to be set incorrectly. Since there is no clean way to detect this, a new setting (ForceVirtualHost) has
  been added to site.ini which enable/dissable this workaround
  http://ez.no/community/bug_reports/ez_no_error_page_not_using_site_design
- Fixed bug with the template variable $node.object.can_create_class_list. This variable could include incorrect
  classIDs if access was restricted by policyrules with Subtree limits
  http://ez.no/community/bug_reports/can_create_class_list_incorrect
- Fixed bug. Used depreated content.ini setting AvailableSiteDesigns when cleaning up contentcache
  http://ez.no/community/bug_reports/ezcontentcache
- Fixed bug in eZImage datatype, when an attribute of eZImage datatype is set
  to not have translations the whole content of the original language is copied
  to the translated language. This ensures that filenames point to the original
  image.
- Fixed bug, typo with section_id http://ez.no/community/bug_reports/typos_ezcontentobject_section_instead_of_ezcontentobject_section_id ( merged from stable/3.2 r5102 )
- Fixed bug with broken setHour(), setMinute(), setSecond() and setHMS() in eZDateTime class
  http://ez.no/community/bug_reports/bug_in_ezdatetime_class
- Fixed bug with selection index id 
  http://ez.no/community/bug_reports/ezselection_options_id_jumping_0_to_2_skipping_1
- Fixed bug with selection metadata, wrong index lookups
  http://ez.no/community/bug_reports/fetch_search_searches_in_backend_coded_ezselections_and_not_actual_values
- Fixed bug with empty stopword
  http://ez.no/community/bug_reports/search_stop_words_are_not_shown_at_result_page
- Fixed bug, added .ini settings
  http://ez.no/community/bug_reports/search_site_ini_entries_missing
- Fixed bug, duplicate code
  http://ez.no/community/bug_reports/object_defined_twice_kernel_content_function_definition_php
- Fixed bug, forgot sorting when moving node
  http://ez.no/community/bug_reports/when_moving_a_folder_its_sorthing_method_is_reset
- Fixed bug, data lost with invalid input in matrix datatype
  http://ez.no/community/bug_reports/error_in_matrix_datatype_when_creating_new_instance
- Fixed bug, missing data in eznode_assignment table
  http://ez.no/community/bug_reports/default_location_of_users_folder
- Fixed bug
  http://ez.no/community/bug_reports/error_in_link_tpl_and
- Fixed bug, too much caching of roles
  http://ez.no/community/bug_reports/role_caching_works_for_current_user_only
- Fixed bug, wrong css rule for setup and double / character in path for accept path info test.
  http://ez.no/community/bug_reports/design_and_a_unknown_error_in_logfile
- Fixed bug, typos in forumtopic template
  http://ez.no/community/bug_reports/demo_forum
- Fixed bug missing definition of attribute
  http://ez.no/community/bug_reports/error_undefined_attribute_attribute_original_id_cannot_set
- Fixed bug, templateoperator append now may append multiple strings
- Fixed bug, 'a' and 'l' in the format string was not handled correctly by the datetime opperator
  http://ez.no/community/bug_reports/bug_in_datetime
- Fixed typo in nor_NO translation,
  http://ez.no/community/bug_reports/typo_in_norwegian_translation
- Fixed bug in gallery templates, pagenavigator could cause template erros in debug
  http://ez.no/community/bug_reports/typo_in_design_gallery_override_templates_album_tpl
- Fixed bug in forum template, in forumtopic template topic owner was shown instead of message
  owner for each message
  http://ez.no/community/bug_reports/ez_forums_demo_site_forumtopic_tpl_does_not_show_correct_users
- Fixed bug. Using undefined index: base_dir in some cases
  http://ez.no/community/bug_reports/undefined_index_base_dir_in_kernel_common_eztemplatedesignresource_php_on_line_367
- Fixed bug, Assumed variable ContentActionList allways was an array in contentobject.php
  http://ez.no/community/bug_reports/error_invalid_argument_supplied_for_foreach_in_ezcontentobject_php
- Fixed bug, doing a list_count fetch on a nonexisting node caused crash
  http://ez.no/community/bug_reports/fatal_error_fetch_list_count_in_tpls
- Fixed bug, mondayfirst does not take effect
  http://ez.no/community/bug_reports/mondayfirst_does_not_take_effect
- Fixed small bugs in clearing the cache files
  http://ez.no/community/bug_reports/kernel_classes_ezcache_php_fatal_error_missing_includes_more
- Fixed missing {section} start in ezrangeoption.tpl. (Merged from 3.2 rev. 5487)
  http://ez.no/community/bug_reports/design_standard_content_datatype_view_plain_ezrangeoption_tpl_missing_section
- Removed event_ezpaynet workflow event from the standard workflow.ini file.
  http://ez.no/community/bug_reports/workflow_type_not_found_event_ezpaynet
- Made sure the image system works even if a reference of an alias does not exist,
  the system will fallback to the original alias with an error message.
  http://ez.no/community/bug_reports/bug_with_images_if_reference_is_a_invallid_alias
- Made sure the image is checked for validity before fetching the specified alias.
  http://ez.no/community/bug_reports/potential_error_in_standard_ezimage_tpl
- Removed the extraneous space after the child count in content/removeobject.php
  which caused bad template behaviour.
  http://ez.no/community/bug_reports/comparation_in_design_node_removeobject_tpl_always_return_true
- Made sure codepages are cleared by the clearcache.sh script. (Rev. 5371)
  http://ez.no/community/bug_reports/cache_translate_and_texttoimage_etc
- Made sure shop/confirmorder does not crash when order ID is missing or wrong.
  http://ez.no/community/bug_reports/error_in_confirmorder_php
- Made sure the SubTreeArray parameter is remembered on next/previous links in advanced search.
  http://ez.no/community/bug_reports/ez_no_documentation_search_problem
- Fixed bug in permissions for versionview. (Merged from 3.2 rev. 5501)
  http://ez.no/community/bug_reports/unable_to_use_versionview_without_create_permission
- Fixed bug in shorten template operator. (Merged from stable/3.2 rev. 5510)
  http://ez.no/community/bug_reports/bug_in_template_operator_shorten
- Fixed bug with pre and post text for the 'text' tag in the simpletags operator. (Merged from stable/3.2 rev. 5516)
  http://ez.no/community/bug_reports/error_in_ezsimpletagsoperator_php
- Fixed a warning in content/browse.php (Merged from stable/3.2 rev. 5525)
  http://ez.no/community/bug_reports/warning_in_browse_php_when_assign_a_section
- Made sure deferred workflow processes with activation_date set to 0 are continue
  as normal. This makes sure that a deferred multiplexer works properly. (Merged from stable/3.2 rev. 5533)
- Made sure the workflow cronjob will only lookup master workflow processes
  and not child processes. (Merged from stable/3.2 rev. 5533)
- Made sure the multiplexer workflow handler stores the current user ID and restores
  it if it was previously deferred. (Merged from stable/3.2 rev. 5533)
- Fixed wrong override entries for webshop solution.
  http://ez.no/community/bug_reports/confirm_order_bug_in_the_webshop_solution
- Link tags in ezxml fields with empty href values are now handled properly, empty links
  will signal a validation error.
  http://ez.no/community/bug_reports/xml_field_one_empty_link_causes_all_other_links_to_disappear

*Library:
- Fixed case bug in the Timeout variable in eZSOAPClient.

eZ Locale:
- Removed space between dollar sign and pricevalue in eng-US
  http://ez.no/community/bug_reports/space_after_dollar_sign_should_be_removed

eZ MIMEType:
- Added mimetypes for OpenOffice for Writer, Calc and Impress. Merged from trunk (Rev. 5194)
- Added .htm as suffix match to text/html MIMEType. Merged from trunk (Rev. 5194)

eZ Debug:
- Made sure the dumpVariable function don't mess up any existing output buffers
  or start a new unneeded one. (Merged in from stable/3.2 rev. 5537)

*Translations:
- Updated nor-NO translation from 3.2
- Updated dut-NL translation
- Updated fre-FR translation
