Go to file
Ingo Schommer 1c31c098ee FIX Correct Zend_Locale fallbacks in i18n/DateField/DateTimeField
Due to the recent change of translations to transifex, some
locales changed their names, which prompted a fix to
i18n::get_available_translations() (see 00ffe7294).
This caused a regression where short locales are determined
from the YAML file names (e.g. "en"), but weren't matched up
with fully qualified locales from get_available_translations() (e.g. "en_US").
Since this list is used in the admin/myprofile dropdown for the Member.Locale value,
it didn't match up with any entries and defaulted to the first one ("Africaans").

Note that the behaviour of admin/myprofile is still a bit weird:
It defaults the locale on new members to the one set for the current administrator.
So if a site defaults to en_US in _config.php, but the admin happens to view
his backend in de_DE, all members he creates default to de_DE as well.

Thanks to @tractorcow for contributing and peer reviewing!
2013-08-30 10:18:00 +02:00
_config API UploadField functions on new records 2013-05-27 15:22:59 +12:00
.tx Translations: Switch to Transifex format 2013-08-07 00:25:16 +02:00
admin FIX webfonts in preview iframe breaking admin fonts 2013-08-27 10:49:24 +12:00
api FIX RestfulService header parsing now accepts non-title case headers 2013-07-10 13:00:40 +01:00
cache 2013-06-12 16:47:07 +02:00
cli API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
conf Merge remote-tracking branch 'origin/3.0' into 3.1 2013-06-19 14:03:43 +02:00
control BUG Fix regression in IE no-cache https file downloads. 2013-08-26 17:15:58 +12:00
core Merge remote-tracking branch 'origin/3.0' into 3.1.0 2013-08-20 20:49:01 +02:00
css FIX UploadField: IE10 single click for upload trigger 2013-06-25 15:35:45 +02:00
dev Merge remote-tracking branch 'origin/3.0' into 3.1.0 2013-08-22 12:55:47 +02:00
docs Merge remote-tracking branch 'origin/3.0' into 3.1.0 2013-08-20 20:49:01 +02:00
email MINOR: fix Email class modifying SSViewer.source_file_comments config val 2013-06-21 02:36:01 +00:00
filesystem ENHANCEMENT: Allow programmers to set OwnerID for new files. 2013-06-14 18:30:09 +02:00
forms FIX Correct Zend_Locale fallbacks in i18n/DateField/DateTimeField 2013-08-30 10:18:00 +02:00
i18n FIX Correct Zend_Locale fallbacks in i18n/DateField/DateTimeField 2013-08-30 10:18:00 +02:00
images BUG: Display of AssetUpload upload fields 2013-05-25 18:01:07 +12:00
javascript FIX Two memory leaks with HtmlEditorField 2013-08-20 15:49:04 +12:00
lang Updated translations 2013-08-09 15:33:01 +02:00
model Merge remote-tracking branch 'origin/3.0' into 3.1.0 2013-08-22 12:55:47 +02:00
oembed BUG: Classes applied to media are too generic to use 2013-05-25 17:29:25 +12:00
parsers Merge remote-tracking branch 'origin/3.0' into 3.1 2013-05-17 13:51:54 +02:00
scss FIX UploadField: IE10 single click for upload trigger 2013-06-25 15:35:45 +02:00
search Quote table/column names when falling back to $fullName 2013-07-05 10:41:18 +12:00
security FIX Correct Zend_Locale fallbacks in i18n/DateField/DateTimeField 2013-08-30 10:18:00 +02:00
tasks NEW Merge i18nTextCollector with existing (fixes #1838) 2013-06-02 20:17:28 +02:00
templates Merge remote-tracking branch 'origin/3.0' into 3.1 2013-08-07 17:14:47 +02:00
tests FIX Correct Zend_Locale fallbacks in i18n/DateField/DateTimeField 2013-08-30 10:18:00 +02:00
thirdparty FIX Memory leaks in jstree drag & drop 2013-08-20 16:07:54 +12:00
view fixed undefined offset #2276 2013-07-28 19:39:40 +02:00
_config.php Update the deprecation notification version to 3.1 2013-03-19 19:33:05 +11:00
_register_database.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
.gitignore ENHANCEMENT Message colours updated 2012-11-06 13:23:20 +13:00
.htaccess API: Remove static main and dev/buildcache 2012-09-21 19:56:56 +12:00
.scrutinizer.yml Exclude docs and images foldes from Scrutinizer 2013-08-21 21:02:12 +12:00
.travis.yml Merge branch '3.0' into 3.1 2013-07-05 10:17:14 +12:00
cli-script.php Update cli-script.php 2013-06-19 10:12:42 -05:00
composer.json Merge remote-tracking branch 'origin/2.4' into 3.0 2013-05-17 00:37:30 +02:00
config.rb MINOR Using SCSS/Compass for sapphire/css 2012-01-08 19:14:32 +01:00
CONTRIBUTING.md Added github-compatible contributing notes 2012-10-11 17:20:00 +02:00
main.php FIX flushing on non-dev when Session::cookie_secure is true 2013-08-21 09:50:07 +12:00
main.php5 MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Makefile ENHANCEMENT Allowing JSTestDriver execution in tests/javascript/ by adding bash scripts and new Makefile command ("make jasmine") 2011-03-22 18:05:43 +13:00
README.md Fixed broken github issue tracker link 2013-07-04 16:41:53 +01:00
sake API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
silverstripe_version API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:21 +01:00
web.config BUGFIX Disallow web access to sapphire/silverstripe_version to avoid information leakage 2010-12-09 22:53:24 +00:00

SilverStripe Framework

Build Status

PHP5 framework forming the base for the SilverStripe CMS (http://silverstripe.org). Requires a silverstripe-installer base project. Typically used alongside the cms module.

Installation

See installation on different platforms, and installation from source.

Bugtracker

Bugs are tracked on github.com. Please read our issue reporting guidelines.

Development and Contribution

If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.

License

Copyright (c) 2007-2013, SilverStripe Limited - www.silverstripe.com
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the 
      documentation and/or other materials provided with the distribution.
    * Neither the name of SilverStripe nor the names of its contributors may be used to endorse or promote products derived from this software 
      without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
OF SUCH DAMAGE.

Attribution