summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
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';
}
}