summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2005-12-06 19:52:47 +0000
committerxue <>2005-12-06 19:52:47 +0000
commitad85f86617b7128f231462b7baf6e091b7dca8e3 (patch)
tree66dc5c23dd91abcf59eba343904cc974d6757429 /framework/Web
parentfa1bc21a7f5346c702490dffbe3cf3f9940b3cd0 (diff)
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TPage.php12
-rw-r--r--framework/Web/UI/WebControls/THyperLink.php2
2 files changed, 7 insertions, 7 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 46d1d8df..1aa0d40b 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -20,12 +20,12 @@ class TPage extends TTemplateControl
* @var array system post fields
*/
private static $_systemPostFields=array(
- self::FIELD_POSTBACK_TARGET=>true,
- self::FIELD_POSTBACK_PARAMETER=>true,
- self::FIELD_LASTFOCUS=>true,
- self::FIELD_PAGESTATE=>true,
- self::FIELD_SCROLLX=>true,
- self::FIELD_SCROLLY=>true,
+ 'PRADO_POSTBACK_TARGET'=>true,
+ 'PRADO_POSTBACK_PARAMETER'=>true,
+ 'PRADO_LASTFOCUS'=>true,
+ 'PRADO_PAGESTATE'=>true,
+ 'PRADO_SCROLLX'=>true,
+ 'PRADO_SCROLLY'=>true,
'__PREVPAGE','__CALLBACKID','__CALLBACKPARAM'
);
/**
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php
index 916501a7..a2efe43a 100644
--- a/framework/Web/UI/WebControls/THyperLink.php
+++ b/framework/Web/UI/WebControls/THyperLink.php
@@ -63,7 +63,7 @@ class THyperLink extends TWebControl
$image=new TImage;
$image->setImageUrl($this->resolveClientUrl($imageUrl));
if(($toolTip=$this->getToolTip())!=='')
- $image->setToolTip($toolTip);
+ $image->setAlternateText($toolTip);
if(($text=$this->getText())!=='')
$image->setAlternateText($text);
$image->renderControl($writer);