From 90b3f22cba8ad85ef2eb38c158fa2da46d798cf8 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 8 Sep 2006 19:31:03 +0000 Subject: merge from 3.0 branch till 1397. --- framework/Web/UI/WebControls/TBaseDataList.php | 4 +-- framework/Web/UI/WebControls/TBaseValidator.php | 10 +++---- framework/Web/UI/WebControls/TBoundColumn.php | 12 ++++---- framework/Web/UI/WebControls/TBulletedList.php | 10 +++---- framework/Web/UI/WebControls/TButton.php | 6 ++-- framework/Web/UI/WebControls/TButtonColumn.php | 6 ++-- framework/Web/UI/WebControls/TCheckBox.php | 6 ++-- framework/Web/UI/WebControls/TCheckBoxColumn.php | 8 ++--- framework/Web/UI/WebControls/TCheckBoxList.php | 4 +-- framework/Web/UI/WebControls/TClientScript.php | 4 +-- framework/Web/UI/WebControls/TColorPicker.php | 6 ++-- framework/Web/UI/WebControls/TCompareValidator.php | 6 ++-- framework/Web/UI/WebControls/TContent.php | 4 +-- .../Web/UI/WebControls/TContentPlaceHolder.php | 4 +-- framework/Web/UI/WebControls/TCustomValidator.php | 6 ++-- framework/Web/UI/WebControls/TDataBoundControl.php | 6 ++-- framework/Web/UI/WebControls/TDataGrid.php | 30 +++++++++---------- framework/Web/UI/WebControls/TDataGridColumn.php | 6 ++-- framework/Web/UI/WebControls/TDataList.php | 12 ++++---- .../Web/UI/WebControls/TDataSourceControl.php | 8 ++--- framework/Web/UI/WebControls/TDataSourceView.php | 8 ++--- .../Web/UI/WebControls/TDataTypeValidator.php | 4 +-- framework/Web/UI/WebControls/TDatePicker.php | 29 +++++++++++++----- framework/Web/UI/WebControls/TDropDownList.php | 4 +-- .../Web/UI/WebControls/TDropDownListColumn.php | 12 ++++---- .../Web/UI/WebControls/TEditCommandColumn.php | 8 ++--- .../Web/UI/WebControls/TEmailAddressValidator.php | 4 +-- framework/Web/UI/WebControls/TExpression.php | 4 +-- framework/Web/UI/WebControls/TFileUpload.php | 15 +++++----- framework/Web/UI/WebControls/TFont.php | 4 +-- framework/Web/UI/WebControls/THead.php | 8 ++--- framework/Web/UI/WebControls/THiddenField.php | 4 +-- framework/Web/UI/WebControls/THtmlArea.php | 4 +-- framework/Web/UI/WebControls/THyperLink.php | 4 +-- framework/Web/UI/WebControls/THyperLinkColumn.php | 6 ++-- framework/Web/UI/WebControls/TImage.php | 4 +-- framework/Web/UI/WebControls/TImageButton.php | 6 ++-- framework/Web/UI/WebControls/TImageMap.php | 18 ++++++------ framework/Web/UI/WebControls/TInlineFrame.php | 8 ++--- framework/Web/UI/WebControls/TJavascriptLogger.php | 4 +-- framework/Web/UI/WebControls/TLabel.php | 4 +-- framework/Web/UI/WebControls/TLinkButton.php | 4 +-- framework/Web/UI/WebControls/TListBox.php | 6 ++-- framework/Web/UI/WebControls/TListControl.php | 6 ++-- .../Web/UI/WebControls/TListControlValidator.php | 4 +-- framework/Web/UI/WebControls/TListItem.php | 4 +-- framework/Web/UI/WebControls/TLiteral.php | 4 +-- framework/Web/UI/WebControls/TMarkdown.php | 4 +-- framework/Web/UI/WebControls/TMultiView.php | 8 ++--- framework/Web/UI/WebControls/TPager.php | 10 +++---- framework/Web/UI/WebControls/TPanel.php | 4 +-- framework/Web/UI/WebControls/TPanelStyle.php | 8 ++--- framework/Web/UI/WebControls/TPlaceHolder.php | 4 +-- framework/Web/UI/WebControls/TRadioButton.php | 4 +-- framework/Web/UI/WebControls/TRadioButtonList.php | 4 +-- framework/Web/UI/WebControls/TRangeValidator.php | 6 ++-- framework/Web/UI/WebControls/TRatingList.php | 4 +-- .../UI/WebControls/TRegularExpressionValidator.php | 4 +-- framework/Web/UI/WebControls/TRepeatInfo.php | 10 +++---- framework/Web/UI/WebControls/TRepeater.php | 12 ++++---- .../Web/UI/WebControls/TRequiredFieldValidator.php | 4 +-- framework/Web/UI/WebControls/TSafeHtml.php | 4 +-- framework/Web/UI/WebControls/TStatements.php | 4 +-- framework/Web/UI/WebControls/TStyle.php | 14 ++++----- framework/Web/UI/WebControls/TStyleSheet.php | 2 +- framework/Web/UI/WebControls/TTable.php | 8 ++--- framework/Web/UI/WebControls/TTableCell.php | 4 +-- framework/Web/UI/WebControls/TTableFooterRow.php | 4 +-- framework/Web/UI/WebControls/TTableHeaderCell.php | 6 ++-- framework/Web/UI/WebControls/TTableHeaderRow.php | 4 +-- framework/Web/UI/WebControls/TTableRow.php | 8 ++--- framework/Web/UI/WebControls/TTemplateColumn.php | 18 ++++++------ framework/Web/UI/WebControls/TTextBox.php | 8 ++--- framework/Web/UI/WebControls/TTextHighlighter.php | 4 +-- framework/Web/UI/WebControls/TTextProcessor.php | 4 +-- .../Web/UI/WebControls/TValidationSummary.php | 10 +++---- framework/Web/UI/WebControls/TWebControl.php | 4 +-- .../Web/UI/WebControls/TWebControlAdapter.php | 4 +-- framework/Web/UI/WebControls/TWizard.php | 34 +++++++++++----------- 79 files changed, 296 insertions(+), 282 deletions(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php index 2884ec22..c5da7acd 100644 --- a/framework/Web/UI/WebControls/TBaseDataList.php +++ b/framework/Web/UI/WebControls/TBaseDataList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -37,7 +37,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * content can be specified via {@link setHorizontalAlign HorizontalAlign}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index bc8c3607..77abdd9a 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -70,7 +70,7 @@ Prado::using('System.Web.UI.WebControls.TLabel'); * override the method {@link evaluateIsValid}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -585,7 +585,7 @@ abstract class TBaseValidator extends TLabel implements IValidator * See the quickstart documentation for further details. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -687,7 +687,7 @@ class TValidatorClientSide extends TClientSideOptions * - Fixed: Similar to Dynamic except that the error message physically occupies the page layout (even though it may not be visible) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -710,7 +710,7 @@ class TValidatorDisplayStyle extends TEnumerable * - String * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index 26fad32b..533bb24c 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -106,7 +106,7 @@ class TBoundColumn extends TDataGridColumn parent::initializeCell($cell,$columnIndex,$itemType); switch($itemType) { - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: $control=$cell; if(!$this->getReadOnly()) { @@ -118,9 +118,9 @@ class TBoundColumn extends TDataGridColumn if(($dataField=$this->getDataField())!=='') $control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: if($this->getDataField()!=='') $cell->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index f7bcc5ac..5105d14d 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -33,7 +33,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * will be raised under such a circumstance. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -410,7 +410,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler * of the item that is currently being clicked. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -445,7 +445,7 @@ class TBulletedListEventParameter extends TEventParameter * for a {@link TBulletedList} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -474,7 +474,7 @@ class TBulletStyle extends TEnumerable * - LinkButton: the bulleted list items are displayed as link buttons that can cause postbacks * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TButton.php b/framework/Web/UI/WebControls/TButton.php index 1dd239a4..59df8f7c 100644 --- a/framework/Web/UI/WebControls/TButton.php +++ b/framework/Web/UI/WebControls/TButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ * if the button does not cause a postback. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -296,7 +296,7 @@ class TButton extends TWebControl implements IPostBackEventHandler, IButtonContr * - Button: a client button (normally does not perform form submission) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TButtonColumn.php b/framework/Web/UI/WebControls/TButtonColumn.php index 5f2c228d..adf6879f 100644 --- a/framework/Web/UI/WebControls/TButtonColumn.php +++ b/framework/Web/UI/WebControls/TButtonColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TImageButton'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -227,7 +227,7 @@ class TButtonColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $buttonType=$this->getButtonType(); if($buttonType===TButtonColumnType::LinkButton) diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index 84138ffe..2b9fd6b7 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ * that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -431,7 +431,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl * - Right: right aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TCheckBoxColumn.php b/framework/Web/UI/WebControls/TCheckBoxColumn.php index d7fac8cf..beef3aa1 100644 --- a/framework/Web/UI/WebControls/TCheckBoxColumn.php +++ b/framework/Web/UI/WebControls/TCheckBoxColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -38,7 +38,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBox'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -89,10 +89,10 @@ class TCheckBoxColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $checkBox=new TCheckBox; - if($this->getReadOnly() || $itemType!==TDataGrid::IT_EDITITEM) + if($this->getReadOnly() || $itemType!==TListItemType::EditItem) $checkBox->setEnabled(false); $cell->setHorizontalAlign('Center'); $cell->getControls()->add($checkBox); diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 21cc330b..89357b55 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBox'); * The alignment of the text besides each checkbox can be specified via {@link setTextAlign TextAlign}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TClientScript.php b/framework/Web/UI/WebControls/TClientScript.php index ff236c42..78febb61 100644 --- a/framework/Web/UI/WebControls/TClientScript.php +++ b/framework/Web/UI/WebControls/TClientScript.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ * rendered in place. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php index a1284b5e..a4ae7a19 100644 --- a/framework/Web/UI/WebControls/TColorPicker.php +++ b/framework/Web/UI/WebControls/TColorPicker.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -16,7 +16,7 @@ * Be aware, this control is EXPERIMENTAL and is not stablized yet. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -253,7 +253,7 @@ class TColorPicker extends TTextBox * - Full * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index 2b1028ef..f25697da 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -40,7 +40,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * LessThan and LessThanEqual. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -249,7 +249,7 @@ class TCompareValidator extends TBaseValidator * - LessThanEqual * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php index 0ccc57f8..ae4fea15 100644 --- a/framework/Web/UI/WebControls/TContent.php +++ b/framework/Web/UI/WebControls/TContent.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -25,7 +25,7 @@ * {@link TContent} and {@link TContentPlaceHolder} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TContentPlaceHolder.php b/framework/Web/UI/WebControls/TContentPlaceHolder.php index 9cf5068c..e2c58261 100644 --- a/framework/Web/UI/WebControls/TContentPlaceHolder.php +++ b/framework/Web/UI/WebControls/TContentPlaceHolder.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ * {@link TContent} and {@link TContentPlaceHolder} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TCustomValidator.php b/framework/Web/UI/WebControls/TCustomValidator.php index cdef6f66..18bceb50 100644 --- a/framework/Web/UI/WebControls/TCustomValidator.php +++ b/framework/Web/UI/WebControls/TCustomValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * with the TCustomValidator. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -139,7 +139,7 @@ class TCustomValidator extends TBaseValidator * OnServerValidate event of TCustomValidator components. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php index 3f8ddc7e..599bdef2 100644 --- a/framework/Web/UI/WebControls/TDataBoundControl.php +++ b/framework/Web/UI/WebControls/TDataBoundControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -39,7 +39,7 @@ Prado::using('System.Collections.TPagedDataSource'); * custom paging, set {@link setAllowCustomPaging AllowCustomPaging} to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -523,7 +523,7 @@ abstract class TDataBoundControl extends TWebControl * - Pager: pager * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 48b6a8c9..ccbd8be3 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -11,7 +11,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -143,7 +143,7 @@ Prado::using('System.Web.UI.WebControls.TPanel'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1515,7 +1515,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer * The {@link getItem Item} property indicates the datagrid item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1553,7 +1553,7 @@ class TDataGridItemEventParameter extends TEventParameter * The {@link getPager Pager} property indicates the datagrid pager related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1594,7 +1594,7 @@ class TDataGridPagerEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1650,7 +1650,7 @@ class TDataGridCommandEventParameter extends TCommandEventParameter * gives the sort expression carried with the sort command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1704,7 +1704,7 @@ class TDataGridSortCommandEventParameter extends TEventParameter * returns the new page index carried with the page command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1758,7 +1758,7 @@ class TDataGridPageChangedEventParameter extends TEventParameter * gives the index of the item from the bound data source. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1873,7 +1873,7 @@ class TDataGridItem extends TTableRow implements INamingContainer * TDataGridPager represents a datagrid pager. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1932,7 +1932,7 @@ class TDataGridPager extends TPanel implements INamingContainer * TDataGridItemCollection represents a collection of data grid items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1960,7 +1960,7 @@ class TDataGridItemCollection extends TList * TDataGridColumnCollection represents a collection of data grid columns. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2014,7 +2014,7 @@ class TDataGridColumnCollection extends TList * TDataGridPagerStyle specifies the styles available for a datagrid pager. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2225,7 +2225,7 @@ class TDataGridPagerStyle extends TPanelStyle * - Numeric: pager buttons are displayed as numeric page numbers * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2245,7 +2245,7 @@ class TDataGridPagerMode extends TEnumerable * - PushButton: form submit buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2266,7 +2266,7 @@ class TDataGridPagerButtonType extends TEnumerable * - TopAndBottom: pager appears on both top and bottom of the data grid. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index dacc7206..30349244 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -45,7 +45,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * which is the major logic for managing the data and presentation of cells in the column. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -400,7 +400,7 @@ abstract class TDataGridColumn extends TApplicationComponent * - ImageButton: image buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index c0aa5da6..63e15ebc 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -106,7 +106,7 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1226,7 +1226,7 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs * The {@link getItem Item} property indicates the DataList item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1267,7 +1267,7 @@ class TDataListItemEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1322,7 +1322,7 @@ class TDataListCommandEventParameter extends TCommandEventParameter * is given by {@link getItemType ItemType} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1430,7 +1430,7 @@ class TDataListItem extends TWebControl implements INamingContainer * TDataListItemCollection represents a collection of data list items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php index 51b06f9a..572dfa79 100644 --- a/framework/Web/UI/WebControls/TDataSourceControl.php +++ b/framework/Web/UI/WebControls/TDataSourceControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -14,7 +14,7 @@ * IDataSource class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -29,7 +29,7 @@ interface IDataSource * TDataSourceControl class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -90,7 +90,7 @@ abstract class TDataSourceControl extends TControl implements IDataSource * TDataSourceControl class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataSourceView.php b/framework/Web/UI/WebControls/TDataSourceView.php index 1e0ffcef..d9009989 100644 --- a/framework/Web/UI/WebControls/TDataSourceView.php +++ b/framework/Web/UI/WebControls/TDataSourceView.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -14,7 +14,7 @@ * TDataSourceSelectParameters class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -76,7 +76,7 @@ class TDataSourceSelectParameters extends TComponent * TDataSourceView class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -179,7 +179,7 @@ abstract class TDataSourceView extends TComponent * TReadOnlyDataSourceView class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataTypeValidator.php b/framework/Web/UI/WebControls/TDataTypeValidator.php index e6cdb30e..5d3e0083 100644 --- a/framework/Web/UI/WebControls/TDataTypeValidator.php +++ b/framework/Web/UI/WebControls/TDataTypeValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -30,7 +30,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * provided, the string will be assumed to be in GNU datetime format. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index 73a69abc..86d119ac 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -60,7 +60,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox'); * drop down list (day, month and year) are presented to select the date . * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -600,7 +600,7 @@ class TDatePicker extends TTextBox */ protected function renderCalendarDayOptions($writer, $selected=null) { - $days = array(); for($i=1;$i<=31;$i++) $days[$i] = $i; + $days = $this->getDropDownDayOptions(); $writer->addAttribute('id', $this->getClientID().'_day'); $writer->addAttribute('name', $this->getUniqueID().'$day'); $writer->addAttribute('class', 'datepicker_day_options'); @@ -611,6 +611,22 @@ class TDatePicker extends TTextBox $writer->renderEndTag(); } + /** + * @return array list of day options for a drop down list. + */ + protected function getDropDownDayOptions() + { + $formatter = Prado::createComponent('System.Util.TSimpleDateFormatter', + $this->getDateFormat()); + $days = array(); + $requiresPadding = $formatter->getDayPattern() === 'dd'; + for($i=1;$i<=31;$i++) + { + $days[$i] = $requiresPadding ? str_pad($i, 2, '0', STR_PAD_LEFT) : $i; + } + return $days; + } + /** * Renders the month drop down list options. * @param THtmlWriter the writer used for the rendering purpose @@ -618,7 +634,6 @@ class TDatePicker extends TTextBox */ protected function renderCalendarMonthOptions($writer, $selected=null) { - $info = $this->getLocalizedCalendarInfo(); $writer->addAttribute('id', $this->getClientID().'_month'); $writer->addAttribute('name', $this->getUniqueID().'$month'); @@ -806,7 +821,7 @@ class TDatePicker extends TTextBox * is changed. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -840,7 +855,7 @@ class TDatePickerClientScript extends TClientSideOptions * - DropDownList: dropdown lists are used to pick up date values * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -861,7 +876,7 @@ class TDatePickerInputMode extends TEnumerable * - ImageButton: Shows an image next to the text input, clicking on the image shows the date picker, * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php index 04f3780c..5bcf0f35 100644 --- a/framework/Web/UI/WebControls/TDropDownList.php +++ b/framework/Web/UI/WebControls/TDropDownList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -29,7 +29,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDropDownListColumn.php b/framework/Web/UI/WebControls/TDropDownListColumn.php index bcbd87e4..dbc20f7a 100644 --- a/framework/Web/UI/WebControls/TDropDownListColumn.php +++ b/framework/Web/UI/WebControls/TDropDownListColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2006 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -52,7 +52,7 @@ Prado::using('System.Web.UI.WebControls.TDropDownList'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -242,7 +242,7 @@ class TDropDownListColumn extends TDataGridColumn } switch($itemType) { - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: if(!$this->getReadOnly()) { $listControl=clone $this->_listControl; @@ -254,9 +254,9 @@ class TDropDownListColumn extends TDataGridColumn $control=$cell; $control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: if($this->getDataField()!=='') $cell->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index 327e03a2..74e92852 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -47,7 +47,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -209,13 +209,13 @@ class TEditCommandColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem) { $button=$this->createButton('Edit',$this->getEditText(),false,''); $cell->getControls()->add($button); $cell->registerObject('EditButton',$button); } - else if($itemType===TDataGrid::IT_EDITITEM) + else if($itemType===TListItemType::EditItem) { $controls=$cell->getControls(); $button=$this->createButton('Update',$this->getUpdateText(),$this->getCausesValidation(),$this->getValidationGroup()); diff --git a/framework/Web/UI/WebControls/TEmailAddressValidator.php b/framework/Web/UI/WebControls/TEmailAddressValidator.php index e1150233..be2eca01 100644 --- a/framework/Web/UI/WebControls/TEmailAddressValidator.php +++ b/framework/Web/UI/WebControls/TEmailAddressValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ Prado::using('System.Web.UI.WebControls.TRegularExpressionValidator'); * checkdnsrr() is available in the installed PHP. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TExpression.php b/framework/Web/UI/WebControls/TExpression.php index 9b7e4903..6097f1c8 100644 --- a/framework/Web/UI/WebControls/TExpression.php +++ b/framework/Web/UI/WebControls/TExpression.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -22,7 +22,7 @@ * make sure {@link setExpression Expression} does not come directly from user input. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TFileUpload.php b/framework/Web/UI/WebControls/TFileUpload.php index 62c51ccf..04c2c496 100644 --- a/framework/Web/UI/WebControls/TFileUpload.php +++ b/framework/Web/UI/WebControls/TFileUpload.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ * (whether it succeeds or not). * * @author Marcus Nyeholt , Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -174,22 +174,21 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata * @param string the file name used to save the uploaded file * @param boolean whether to delete the temporary file after saving. * If true, you will not be able to save the uploaded file again. - * @throws TInvalidOperationException file uploading failed or the uploaded - * file cannot be found on the server. + * @return boolean true if the file saving is successful */ public function saveAs($fileName,$deleteTempFile=true) { if($this->_errorCode===UPLOAD_ERR_OK) { if($deleteTempFile) - move_uploaded_file($this->_localName,$fileName); + return move_uploaded_file($this->_localName,$fileName); else if(is_uploaded_file($this->_localName)) - file_put_contents($fileName,file_get_contents($this->_localName)); + return file_put_contents($fileName,file_get_contents($this->_localName))!==false; else - throw new TInvalidOperationException('fileupload_saveas_failed'); + return false; } else - throw new TInvalidOperationException('fileupload_saveas_forbidden'); + return false; } /** diff --git a/framework/Web/UI/WebControls/TFont.php b/framework/Web/UI/WebControls/TFont.php index 3fb8bbad..4ab77c42 100644 --- a/framework/Web/UI/WebControls/TFont.php +++ b/framework/Web/UI/WebControls/TFont.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -16,7 +16,7 @@ * TFont encapsulates the CSS style fields related with font settings. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php index a803d484..93858da0 100644 --- a/framework/Web/UI/WebControls/THead.php +++ b/framework/Web/UI/WebControls/THead.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -37,7 +37,7 @@ * theme will not be rendered. * * @author Marcus Nyeholt and Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -186,7 +186,7 @@ class THead extends TControl * attributes for a meta tag, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -321,7 +321,7 @@ class TMetaTag extends TComponent * contained in a {@link THead} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php index 54ecde08..f9fdd3b0 100644 --- a/framework/Web/UI/WebControls/THiddenField.php +++ b/framework/Web/UI/WebControls/THiddenField.php @@ -6,7 +6,7 @@ * @link http://www.xisc.com/ * @copyright Copyright © 2004-2005, Qiang Xue * @license http://www.opensource.org/licenses/bsd-license.php BSD License - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -19,7 +19,7 @@ * event will be raised. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 2a1e311d..94b3152b 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2006 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -72,7 +72,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox'); * * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index 7827038a..af28acef 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -6,7 +6,7 @@ * @link http://www.xisc.com/ * @copyright Copyright © 2004-2005, Qiang Xue * @license http://www.opensource.org/licenses/bsd-license.php BSD License - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * the content enclosed within the control tag will be rendered. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THyperLinkColumn.php b/framework/Web/UI/WebControls/THyperLinkColumn.php index b8dbb607..9b20bbfc 100644 --- a/framework/Web/UI/WebControls/THyperLinkColumn.php +++ b/framework/Web/UI/WebControls/THyperLinkColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -45,7 +45,7 @@ Prado::using('System.Web.UI.WebControls.THyperLink'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -177,7 +177,7 @@ class THyperLinkColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $link=new THyperLink; $link->setText($this->getText()); diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php index e4b07f79..00e32765 100644 --- a/framework/Web/UI/WebControls/TImage.php +++ b/framework/Web/UI/WebControls/TImage.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ * or {@link setDescriptionUrl DescriptionUrl} property, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 669779cd..ad5d7bf0 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -52,7 +52,7 @@ Prado::using('System.Web.UI.WebControls.TImage'); * TImageButton displays the {@link setText Text} property as the hint text to the displayed image. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -325,7 +325,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven * {@link TImageButton::onClick Click} event of {@link TImageButton} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TImageMap.php b/framework/Web/UI/WebControls/TImageMap.php index b765ec8c..22b06e66 100644 --- a/framework/Web/UI/WebControls/TImageMap.php +++ b/framework/Web/UI/WebControls/TImageMap.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -33,7 +33,7 @@ Prado::using('System.Web.UI.WebControls.TImage'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -230,7 +230,7 @@ class TImageMap extends TImage implements IPostBackEventHandler * access {@link getPostBackValue PostBackValue}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -262,7 +262,7 @@ class TImageMapEventParameter extends TEventParameter * THotSpotCollection represents a collection of hotspots in an imagemap. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -293,7 +293,7 @@ class THotSpotCollection extends TList * and {@link TRectangleHotSpot}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -525,7 +525,7 @@ abstract class THotSpot extends TComponent * control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -603,7 +603,7 @@ class TCircleHotSpot extends THotSpot * TImageMap} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -697,7 +697,7 @@ class TRectangleHotSpot extends THotSpot * TImageMap} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -744,7 +744,7 @@ class TPolygonHotSpot extends THotSpot * - Inactive: the hotspot is inactive (not clickable) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TInlineFrame.php b/framework/Web/UI/WebControls/TInlineFrame.php index f0ecf3f5..c893f399 100644 --- a/framework/Web/UI/WebControls/TInlineFrame.php +++ b/framework/Web/UI/WebControls/TInlineFrame.php @@ -7,7 +7,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -27,7 +27,7 @@ * Original Prado v2 IFrame Author Information * @author Jason Ragsdale * @author Harry Pottash - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -213,7 +213,7 @@ class TInlineFrame extends TWebControl * - Bottom: bottom aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -238,7 +238,7 @@ class TInlineFrameAlign extends TEnumerable * - Both: show both horizontal and vertical scroll bars all the time. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php index 0296a276..3a294b6b 100644 --- a/framework/Web/UI/WebControls/TJavascriptLogger.php +++ b/framework/Web/UI/WebControls/TJavascriptLogger.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ * http://gleepglop.com/javascripts/logger/ * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php index 65517fc9..5d213529 100644 --- a/framework/Web/UI/WebControls/TLabel.php +++ b/framework/Web/UI/WebControls/TLabel.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ * Make sure it does not contain dangerous characters that you want to avoid. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php index bcf43060..d7586bde 100644 --- a/framework/Web/UI/WebControls/TLinkButton.php +++ b/framework/Web/UI/WebControls/TLinkButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -50,7 +50,7 @@ * as an image button by enclosing an <img> tag as the body of TLinkButton. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index 0191c168..c49e2561 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -217,7 +217,7 @@ class TListBox extends TListControl implements IPostBackDataHandler, IValidatabl * - Multiple: allow multiple selection * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 3a0a4f76..7576154e 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -74,7 +74,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * for an explanation of the format string. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -781,7 +781,7 @@ abstract class TListControl extends TDataBoundControl * TListItemCollection maintains a list of {@link TListItem} for {@link TListControl}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListControlValidator.php b/framework/Web/UI/WebControls/TListControlValidator.php index 010a7e77..a2e2700d 100644 --- a/framework/Web/UI/WebControls/TListControlValidator.php +++ b/framework/Web/UI/WebControls/TListControlValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -57,7 +57,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * * * @author Xiang Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php index fd5cebd3..21b8c631 100644 --- a/framework/Web/UI/WebControls/TListItem.php +++ b/framework/Web/UI/WebControls/TListItem.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ * if the list control supports so. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php index 60e4a6f6..02061304 100644 --- a/framework/Web/UI/WebControls/TLiteral.php +++ b/framework/Web/UI/WebControls/TLiteral.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -27,7 +27,7 @@ * does not contain unwanted characters that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TMarkdown.php b/framework/Web/UI/WebControls/TMarkdown.php index 740653a5..04e030cb 100644 --- a/framework/Web/UI/WebControls/TMarkdown.php +++ b/framework/Web/UI/WebControls/TMarkdown.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -39,7 +39,7 @@ Prado::using('System.3rdParty.Markdown.MarkdownParser'); * and enclosed within a pair of square brackets (e.g. [php]). * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index 00c0ce93..04311322 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ * when its active view is changed during a postback. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -272,7 +272,7 @@ class TMultiView extends TControl * TViewCollection represents a collection that only takes {@link TView} instances * as collection elements. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -307,7 +307,7 @@ class TViewCollection extends TControlCollection * and when a view is deactivated, it raises {@link onDeactivate OnDeactivate}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php index a6bf75e7..e3aee892 100644 --- a/framework/Web/UI/WebControls/TPager.php +++ b/framework/Web/UI/WebControls/TPager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ * Multiple pagers can be associated with the same data-bound control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.2 */ @@ -557,7 +557,7 @@ class TPager extends TWebControl implements INamingContainer * returns the new page index carried with the page command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.2 */ @@ -611,7 +611,7 @@ class TPagerPageChangedEventParameter extends TEventParameter * - DropDownList: a dropdown list is used to select pages * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -632,7 +632,7 @@ class TPagerMode extends TEnumerable * - PushButton: form submit buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index a9ce260c..58814543 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -35,7 +35,7 @@ Prado::using('System.Web.UI.WebControls.TPanelStyle'); * by setting the {@link setDefaultButton DefaultButton} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TPanelStyle.php b/framework/Web/UI/WebControls/TPanelStyle.php index d3f8cee8..eef126ba 100644 --- a/framework/Web/UI/WebControls/TPanelStyle.php +++ b/framework/Web/UI/WebControls/TPanelStyle.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -20,7 +20,7 @@ Prado::using('System.Web.UI.WebControls.TStyle'); * TPanelStyle represents the CSS style specific for panel HTML tag. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -239,7 +239,7 @@ class TPanelStyle extends TStyle * - RightToLeft: content in a panel is right to left * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -263,7 +263,7 @@ class TContentDirection extends TEnumerable * - Vertical: vertical scroll bar only * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TPlaceHolder.php b/framework/Web/UI/WebControls/TPlaceHolder.php index bc6858ff..f3066ede 100644 --- a/framework/Web/UI/WebControls/TPlaceHolder.php +++ b/framework/Web/UI/WebControls/TPlaceHolder.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -18,7 +18,7 @@ * by manipulating the {@link TControl::getControls Controls} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 9b6786aa..dac194b7 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -49,7 +49,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList'); * that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php index 95725836..b314b963 100644 --- a/framework/Web/UI/WebControls/TRadioButtonList.php +++ b/framework/Web/UI/WebControls/TRadioButtonList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -29,7 +29,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBoxList'); * one radiobutton can be selected at a time. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index a868dd67..a5cc2807 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * defaulted as UTF-8. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -320,7 +320,7 @@ class TRangeValidator extends TBaseValidator * - StringLength * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index 05578136..36febe7b 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList'); * This class is EXPERIMENTAL. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRegularExpressionValidator.php b/framework/Web/UI/WebControls/TRegularExpressionValidator.php index 3099514b..c4f7ceac 100644 --- a/framework/Web/UI/WebControls/TRegularExpressionValidator.php +++ b/framework/Web/UI/WebControls/TRegularExpressionValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * Use a {@link TRequiredFieldValidator} to ensure the input is not empty. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRepeatInfo.php b/framework/Web/UI/WebControls/TRepeatInfo.php index f5a827aa..386f1bd0 100644 --- a/framework/Web/UI/WebControls/TRepeatInfo.php +++ b/framework/Web/UI/WebControls/TRepeatInfo.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -17,7 +17,7 @@ Prado::using('System.Web.UI.WebControls.TTable'); * This interface must be implemented by classes who want to use {@link TRepeatInfo}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -70,7 +70,7 @@ interface IRepeatInfoUser * the column and repeat direction settings. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -526,7 +526,7 @@ class TRepeatInfo extends TComponent * - Horizontal * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -547,7 +547,7 @@ class TRepeatDirection extends TEnumerable * - Raw: the repeated contents are stacked together without any additional decorations * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index c5b3e2ef..357a8730 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -65,7 +65,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -567,7 +567,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * The {@link getItem Item} property indicates the repeater item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -608,7 +608,7 @@ class TRepeaterItemEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -663,7 +663,7 @@ class TRepeaterCommandEventParameter extends TCommandEventParameter * is given by {@link getItemType ItemType} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -760,7 +760,7 @@ class TRepeaterItem extends TControl implements INamingContainer * TRepeaterItemCollection represents a collection of repeater items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRequiredFieldValidator.php b/framework/Web/UI/WebControls/TRequiredFieldValidator.php index c99d9c19..8f75d205 100644 --- a/framework/Web/UI/WebControls/TRequiredFieldValidator.php +++ b/framework/Web/UI/WebControls/TRequiredFieldValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * of selected values different from the initial value is greater than zero. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php index a625a84d..f96d3983 100644 --- a/framework/Web/UI/WebControls/TSafeHtml.php +++ b/framework/Web/UI/WebControls/TSafeHtml.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -31,7 +31,7 @@ * the body of TSafeHtml in a template. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TStatements.php b/framework/Web/UI/WebControls/TStatements.php index 961b569d..0812eb84 100644 --- a/framework/Web/UI/WebControls/TStatements.php +++ b/framework/Web/UI/WebControls/TStatements.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * make sure {@link setStatements Statements} does not come directly from user input. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 2c03f3e7..cc383766 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TFont'); * TStyle encapsulates the CSS style applied to a control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -377,7 +377,7 @@ class TStyle extends TComponent * TTableStyle represents the CSS style specific for HTML table. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -618,7 +618,7 @@ class TTableStyle extends TStyle * TTableItemStyle represents the CSS style specific for HTML table item. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -773,7 +773,7 @@ class TTableItemStyle extends TStyle * - Justify: the begin and end are justified * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -797,7 +797,7 @@ class THorizontalAlign extends TEnumerable * - Middle: middle aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -821,7 +821,7 @@ class TVerticalAlign extends TEnumerable * - Both: both horizontal and vertical grid lines are shown * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TStyleSheet.php b/framework/Web/UI/WebControls/TStyleSheet.php index f8f4ab9f..84c388c6 100644 --- a/framework/Web/UI/WebControls/TStyleSheet.php +++ b/framework/Web/UI/WebControls/TStyleSheet.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php index d3036c9c..ef310822 100644 --- a/framework/Web/UI/WebControls/TTable.php +++ b/framework/Web/UI/WebControls/TTable.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -61,7 +61,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -358,7 +358,7 @@ class TTable extends TWebControl * TTableRowCollection is used to maintain a list of rows belong to a table. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -395,7 +395,7 @@ class TTableRowCollection extends TControlCollection * - Right: right aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTableCell.php b/framework/Web/UI/WebControls/TTableCell.php index 826602ee..8b80e1f2 100644 --- a/framework/Web/UI/WebControls/TTableCell.php +++ b/framework/Web/UI/WebControls/TTableCell.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ * indicates whether the contents in the cell should be wrapped. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php index 3b178d52..2711374d 100644 --- a/framework/Web/UI/WebControls/TTableFooterRow.php +++ b/framework/Web/UI/WebControls/TTableFooterRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * TTableFooterRow displays a table footer row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TTableHeaderCell.php b/framework/Web/UI/WebControls/TTableHeaderCell.php index 497b2088..dcad878b 100644 --- a/framework/Web/UI/WebControls/TTableHeaderCell.php +++ b/framework/Web/UI/WebControls/TTableHeaderCell.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -22,7 +22,7 @@ Prado::using('System.Web.UI.WebControls.TTableCell'); * TTableHeaderCell displays a table header cell on a Web page. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -111,7 +111,7 @@ class TTableHeaderCell extends TTableCell * - Column: the scope is column-wise * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTableHeaderRow.php b/framework/Web/UI/WebControls/TTableHeaderRow.php index 87e01abd..56d9d0fc 100644 --- a/framework/Web/UI/WebControls/TTableHeaderRow.php +++ b/framework/Web/UI/WebControls/TTableHeaderRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * TTableHeaderRow displays a table header row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TTableRow.php b/framework/Web/UI/WebControls/TTableRow.php index d4bf7984..23dbcb70 100644 --- a/framework/Web/UI/WebControls/TTableRow.php +++ b/framework/Web/UI/WebControls/TTableRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ Prado::using('System.Web.UI.WebControls.TTableCell'); * {@link setVerticalAlign VerticalAlign} properties, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -160,7 +160,7 @@ class TTableRow extends TWebControl * TTableCellCollection is used to maintain a list of cells belong to a table row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -195,7 +195,7 @@ class TTableCellCollection extends TControlCollection * - Footer: in table footer * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php index f83e3290..7235fc8c 100644 --- a/framework/Web/UI/WebControls/TTemplateColumn.php +++ b/framework/Web/UI/WebControls/TTemplateColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * header will be displayed with {@link setHeaderText HeaderText}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -138,18 +138,18 @@ class TTemplateColumn extends TDataGridColumn $template=null; switch($itemType) { - case TDataGrid::IT_HEADER: + case TListItemType::Header: $template=$this->_headerTemplate; break; - case TDataGrid::IT_FOOTER: + case TListItemType::Footer: $template=$this->_footerTemplate; break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: $template=$this->_itemTemplate; break; - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: $template=$this->_editItemTemplate===null?$this->_itemTemplate:$this->_editItemTemplate; break; } @@ -159,7 +159,7 @@ class TTemplateColumn extends TDataGridColumn $cell->getControls()->clear(); $template->instantiateIn($cell); } - else if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + else if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) $cell->setText(' '); } } diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php index fa190164..ad6de40c 100644 --- a/framework/Web/UI/WebControls/TTextBox.php +++ b/framework/Web/UI/WebControls/TTextBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -44,7 +44,7 @@ * Currently, no alternatives are available. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -484,7 +484,7 @@ class TTextBox extends TWebControl implements IPostBackDataHandler, IValidatable * - Password: the textbox will hide user input like a password input box * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -501,7 +501,7 @@ class TTextBoxMode extends TEnumerable * by a {@link TTextBox} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php index f4e72895..80f6069b 100644 --- a/framework/Web/UI/WebControls/TTextHighlighter.php +++ b/framework/Web/UI/WebControls/TTextHighlighter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 Wei Zhuo * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ Prado::using('System.Web.UI.WebControls.TTextProcessor'); * to true, the highlighted result may be shown with line numbers. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TTextProcessor.php b/framework/Web/UI/WebControls/TTextProcessor.php index 4c4c68f2..cd9d9d1b 100644 --- a/framework/Web/UI/WebControls/TTextProcessor.php +++ b/framework/Web/UI/WebControls/TTextProcessor.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 Wei Zhuo * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * Note, all child classes must implement {@link processText} method. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TValidationSummary.php b/framework/Web/UI/WebControls/TValidationSummary.php index e42652ff..212f8859 100644 --- a/framework/Web/UI/WebControls/TValidationSummary.php +++ b/framework/Web/UI/WebControls/TValidationSummary.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -30,7 +30,7 @@ * {@link setEnableClientScript EnableClientScript} is true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -401,7 +401,7 @@ class TValidationSummary extends TWebControl * See the quickstart documentation for further details. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -470,7 +470,7 @@ class TClientSideValidationSummaryOptions extends TClientSideOptions * - BulletList: the error messages are displayed as a bulleted list. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -493,7 +493,7 @@ class TValidationSummaryDisplayMode extends TEnumerable * - Fixed: Similar to Dynamic except that the error messages physically occupy the page layout (even though they may not be visible) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TWebControl.php b/framework/Web/UI/WebControls/TWebControl.php index f8c50842..a45bab05 100644 --- a/framework/Web/UI/WebControls/TWebControl.php +++ b/framework/Web/UI/WebControls/TWebControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -34,7 +34,7 @@ Prado::using('System.Web.UI.WebControls.TWebControlAdapter'); * the body contents enclosed within the HTML tag. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TWebControlAdapter.php b/framework/Web/UI/WebControls/TWebControlAdapter.php index 23205bba..c4ca67b7 100644 --- a/framework/Web/UI/WebControls/TWebControlAdapter.php +++ b/framework/Web/UI/WebControls/TWebControlAdapter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -19,7 +19,7 @@ * browsers. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index a4a0e36a..d72cdf77 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -76,7 +76,7 @@ Prado::using('System.Web.UI.WebControls.TDataList'); * - side bar: {@link getSideBarStyle SideBarStyle} and {@link getSideBarButtonStyle SideBarButtonStyle}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1419,7 +1419,7 @@ class TWizard extends TWebControl implements INamingContainer * Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1557,7 +1557,7 @@ class TWizardNavigationButtonStyle extends TStyle * set {@link setAllowReturn AllowReturn} to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1647,7 +1647,7 @@ class TWizardStep extends TView * TCompleteWizardStep represents a wizard step of type TWizardStepType::Complete. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1682,7 +1682,7 @@ class TCompleteWizardStep extends TWizardStep * if the navigation template is not specified, default navigation will be used. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1784,7 +1784,7 @@ class TTemplatedWizardStep extends TWizardStep implements INamingContainer * by a {@link TWizard}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1848,7 +1848,7 @@ class TWizardStepCollection extends TList * {@link getCancelButton CancelButton}, {@link getCompleteButton CompleteButton}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1940,7 +1940,7 @@ class TWizardNavigationContainer extends TControl implements INamingContainer * to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2005,7 +2005,7 @@ class TWizardNavigationEventParameter extends TEventParameter * TWizardSideBarTemplate class. * TWizardSideBarTemplate is the default template for wizard sidebar. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2030,7 +2030,7 @@ class TWizardSideBarTemplate extends TComponent implements ITemplate * TWizardSideBarListItemTemplate class. * TWizardSideBarListItemTemplate is the default template for each item in the sidebar datalist. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2053,7 +2053,7 @@ class TWizardSideBarListItemTemplate extends TComponent implements ITemplate * TWizardNavigationTemplate class. * TWizardNavigationTemplate is the base class for various navigation templates. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2125,7 +2125,7 @@ class TWizardNavigationTemplate extends TComponent implements ITemplate * TWizardStartNavigationTemplate is the template used as default wizard start navigation panel. * It consists of two buttons, Next and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2155,7 +2155,7 @@ class TWizardStartNavigationTemplate extends TWizardNavigationTemplate * TWizardFinishNavigationTemplate is the template used as default wizard finish navigation panel. * It consists of three buttons, Previous, Complete and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2189,7 +2189,7 @@ class TWizardFinishNavigationTemplate extends TWizardNavigationTemplate * TWizardStepNavigationTemplate is the template used as default wizard step navigation panel. * It consists of three buttons, Previous, Next and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2230,7 +2230,7 @@ class TWizardStepNavigationTemplate extends TWizardNavigationTemplate * - Link: a hyperlink button * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2254,7 +2254,7 @@ class TWizardNavigationButtonType extends TEnumerable * - Finish: the last step before the Complete step. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ -- cgit v1.2.3