summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorwei <>2007-03-30 00:38:41 +0000
committerwei <>2007-03-30 00:38:41 +0000
commit3fb25eec92c0c72760c4bf8040efd4b86c446bc6 (patch)
treea7c76d761f432b29dfa567c4e46acb62a7abf18b /framework/Web/UI
parenteddf47f3e36a30f6b905e4d667514eb34968ff8a (diff)
Fixed #579
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRatingList.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveRatingList.php b/framework/Web/UI/ActiveControls/TActiveRatingList.php
index f6070151..5f0a24ff 100644
--- a/framework/Web/UI/ActiveControls/TActiveRatingList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRatingList.php
@@ -185,7 +185,7 @@ class TActiveRatingList extends TActiveRadioButtonList
}
/**
- * @return TRatingListStyle current rating style
+ * @return TActiveRatingListStyle current rating style
*/
public function getRatingStyle()
{
@@ -216,7 +216,7 @@ class TActiveRatingList extends TActiveRadioButtonList
*/
protected function getRatingStyleCssClass()
{
- return 'TRatingList_'.$this->getRatingStyle();
+ return 'TActiveRatingList_'.$this->getRatingStyle();
}
/**
@@ -268,7 +268,7 @@ class TActiveRatingList extends TActiveRadioButtonList
protected function publishRatingListStyle($style)
{
$cs = $this->getPage()->getClientScript();
- $stylesheet = 'System.Web.Javascripts.ratings.'.$style;
+ $stylesheet = 'System.Web.Javascripts.prado.activeratings.'.$style;
if(($cssFile=Prado::getPathOfNamespace($stylesheet,'.css'))===null)
throw new TConfigurationException('ratinglist_stylesheet_not_found',$style);
$url = $this->publishFilePath($cssFile);
@@ -284,10 +284,10 @@ class TActiveRatingList extends TActiveRadioButtonList
*/
protected function publishRatingListImages($style, $fileExt='.gif')
{
- $images['blank'] = "System.Web.Javascripts.ratings.{$style}_blank";
- $images['selected'] = "System.Web.Javascripts.ratings.{$style}_selected";
- $images['half'] = "System.Web.Javascripts.ratings.{$style}_half";
- $images['combined'] = "System.Web.Javascripts.ratings.{$style}_combined";
+ $images['blank'] = "System.Web.Javascripts.prado.activeratings.{$style}_blank";
+ $images['selected'] = "System.Web.Javascripts.prado.activeratings.{$style}_selected";
+ $images['half'] = "System.Web.Javascripts.prado.activeratings.{$style}_half";
+ $images['combined'] = "System.Web.Javascripts.prado.activeratings.{$style}_combined";
$files = array();
foreach($images as $type => $image)
{
@@ -368,7 +368,7 @@ class TActiveRatingList extends TActiveRadioButtonList
*/
protected function getClientClassName()
{
- return 'Prado.WebUI.TRatingList';
+ return 'Prado.WebUI.TActiveRatingList';
}
}