summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-01 08:32:47 +0000
committerctrlaltca@gmail.com <>2011-06-01 08:32:47 +0000
commit3abc397e9b53623dd373746e8ab9bd5dd455cd0c (patch)
treebf2dd605a14ac63e9d9c20c283ae0878e2616eea
parent87eb3b2a773c74b0c798ee6c3ecebeb972e88c71 (diff)
fix for #311; updated docs
-rw-r--r--HISTORY6
-rw-r--r--UPGRADE27
-rw-r--r--framework/Web/UI/WebControls/TDataList.php4
3 files changed, 29 insertions, 8 deletions
diff --git a/HISTORY b/HISTORY
index 1ca51512..806f33d6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,3 +1,9 @@
+Version 3.1.9 Xxx XX, 201X
+
+BUG: Issue#311 - TDataList : FooterStyle not used (ctrlaltca)
+BUG: Issue#326 - Translation don't work with Prado 3.1.8 (ctrlaltca)
+BUG: Issue#327 - TDbCache with PostgreSQL throw a TDbException (ctrlaltca)
+
Version 3.1.8 May 29, 2011
BUG: Issue#16 - [684] TDatePicker problems (rojaro)
diff --git a/UPGRADE b/UPGRADE
index 2f7096a9..cb49c79a 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -1,5 +1,5 @@
- Upgrading Instructions for PRADO Framework v3.1.8
+ Upgrading Instructions for PRADO Framework v3.1.9
=================================================
!!!IMPORTANT!!!
@@ -9,18 +9,33 @@ if you want to upgrade from version A to version C and there is
version B between A and C, you need to following the instructions
for both A and B.
+Upgrading from v3.1.8
+---------------------
+- An new "TranslateDefaultCulture" option has been added to TGlobalization that lets you choose if Prado
+ have to translate the default culture (default up to 3.1.7) or not (changed in 3.1.8). This option is
+ enabled by default, in fact restoring the pre-3.1.8 behaviour of translating also the default culture.
+ You want this option to be enabled if:
+ - you write pseudo translation tags in your code like <%[page_title_welcome]%> and need Prado to insert
+ the proper translation for every language (i.e. the base text is not written in a real language);
+ - your default culture is different from the culture used in your project (eg. your DefaultCulture is
+ "fr", but text in your pages is written in english to ensure other team members will understand it);
+ You want this option to be disabled if:
+ - you write code in your DefaultCulture language like <%[Welcome to my website]%>. For users viewing
+ your pages in that same Culture, Prado won't even try to translate these strings. Translation will
+ occur normally for every other culture.
+
Upgrading from v3.1.7
---------------------
- tinyMCE has been updated to support Internet Explorer 9; a lot of new languages and plugins are now supported,
-but some of the old ones changed their name. If you have problems in getting THtmlArea localized with your language,
-check if the language code for your locale has changed and update it.
+ but some of the old ones changed their name. If you have problems in getting THtmlArea localized with your language,
+ check if the language code for your locale has changed and update it.
Upgrading from v3.1.6
---------------------
- The different SQLMap cache engines (TSQLMapFifoCache, TSQLMapLRUCache, TSQLMapApplicationCache) doesn't
-take anymore the cache size in their constructor. Instead, they take the cachemodel object who instanciated them.
-It shouldn't affect existing code, except if you instanciate one of this cache directly (i.e, without a <cachemodel>
-directive in your SQLMap configuration)
+ take anymore the cache size in their constructor. Instead, they take the cachemodel object who instanciated them.
+ It shouldn't affect existing code, except if you instanciate one of this cache directly (i.e, without a <cachemodel>
+ directive in your SQLMap configuration)
Upgrading from v3.1.5
---------------------
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php
index ca628b21..bea74e82 100644
--- a/framework/Web/UI/WebControls/TDataList.php
+++ b/framework/Web/UI/WebControls/TDataList.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.WebControls
@@ -1321,7 +1321,7 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs
if($this->_footer!==null && $this->_footer instanceof IStyleable)
{
if($footerStyle=$this->getViewState('FooterStyle',null))
- $this->_footer->getStyle()->mergeWith($headerStyle);
+ $this->_footer->getStyle()->mergeWith($footerStyle);
}
$selectedIndex=$this->getSelectedItemIndex();