Restored changes from r4284 that were lost in r4297

git-svn-id: http://svn.montala.net/svn/resourcespace@4354 c08608d7-6e46-0410-86ca-f2a6f1370df5
Fixed issue with collections being inadvertently created when clearing the upload form or after missing required fields


git-svn-id: http://svn.montala.net/svn/resourcespace@4355 c08608d7-6e46-0410-86ca-f2a6f1370df5
Added optional display_condition to metadata fields - tested with dropdown, text and checkbox field types


git-svn-id: http://svn.montala.net/svn/resourcespace@4356 c08608d7-6e46-0410-86ca-f2a6f1370df5
Changed english confirm-delete text as deletion was not actually mentioned


git-svn-id: http://svn.montala.net/svn/resourcespace@4357 c08608d7-6e46-0410-86ca-f2a6f1370df5
Fix for hidden default button CSS in IE7

git-svn-id: http://svn.montala.net/svn/resourcespace@4358 c08608d7-6e46-0410-86ca-f2a6f1370df5
Added $open_access_for_contributor to optionally always grant a contributor open access to their own contributions, even if they have been changed to restricted for the contributor's usergroup.

git-svn-id: http://svn.montala.net/svn/resourcespace@4359 c08608d7-6e46-0410-86ca-f2a6f1370df5
added a search title 'All Resources' for blank search

git-svn-id: http://svn.montala.net/svn/resourcespace@4360 c08608d7-6e46-0410-86ca-f2a6f1370df5
lang for last commit

git-svn-id: http://svn.montala.net/svn/resourcespace@4361 c08608d7-6e46-0410-86ca-f2a6f1370df5
removed some duplicate code from plupload files, fixed ios multiple uploads as fixed in git https://github.com/moxiecode/plupload/commit/48c110ee1299db24a0b4cf7400d247e342bc7aff

git-svn-id: http://svn.montala.net/svn/resourcespace@4362 c08608d7-6e46-0410-86ca-f2a6f1370df5
Plugin hooks : origdownloadlink, befckeditortextarea, editbefresmetadata, replaceuploadoptions

git-svn-id: http://svn.montala.net/svn/resourcespace@4363 c08608d7-6e46-0410-86ca-f2a6f1370df5
Updated theme category sharing to show internal URL, allow emailing and allow sharing of themes in subcategories


git-svn-id: http://svn.montala.net/svn/resourcespace@4364 c08608d7-6e46-0410-86ca-f2a6f1370df5
Fix for basket not storing size information, this appears to have been lost since move to AJAX collections.


git-svn-id: http://svn.montala.net/svn/resourcespace@4365 c08608d7-6e46-0410-86ca-f2a6f1370df5
Fixed a problem when $save_errors was not set in edit.php when copying metadata

git-svn-id: http://svn.montala.net/svn/resourcespace@4366 c08608d7-6e46-0410-86ca-f2a6f1370df5
Another fix for $save_errors in edit.php

git-svn-id: http://svn.montala.net/svn/resourcespace@4367 c08608d7-6e46-0410-86ca-f2a6f1370df5
fix for video types icons in thumb view

git-svn-id: http://svn.montala.net/svn/resourcespace@4368 c08608d7-6e46-0410-86ca-f2a6f1370df5
Corrected a few issues with theme category sharing


git-svn-id: http://svn.montala.net/svn/resourcespace@4369 c08608d7-6e46-0410-86ca-f2a6f1370df5
Added the capability for refining results (via the existing refineresults plugin) from within an external share, allowing basic searching within external shares.


git-svn-id: http://svn.montala.net/svn/resourcespace@4370 c08608d7-6e46-0410-86ca-f2a6f1370df5
Bug fix for last commit - existing security check on search.php did not support additional search keywords when checking collection status.


git-svn-id: http://svn.montala.net/svn/resourcespace@4371 c08608d7-6e46-0410-86ca-f2a6f1370df5
Added the capability for search filters to support the '!=' syntax, i.e. where a field DOES NOT contain certain keywords.


git-svn-id: http://svn.montala.net/svn/resourcespace@4372 c08608d7-6e46-0410-86ca-f2a6f1370df5
Added hook 'loginformlink' to login.php


git-svn-id: http://svn.montala.net/svn/resourcespace@4373 c08608d7-6e46-0410-86ca-f2a6f1370df5