summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorwei <>2007-03-30 00:27:34 +0000
committerwei <>2007-03-30 00:27:34 +0000
commit1ebbcf85205f983531ef3b43dce4a98114714f0b (patch)
tree7c9e05075716b94a4f46ba6e1ff5266d2e441080 /framework/Web/UI
parent22b818afcda89e60a1bee299f19d8ff827097e97 (diff)
Fixed #579, reverted the rating list js.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TRatingList.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php
index d603a442..38e264b9 100644
--- a/framework/Web/UI/WebControls/TRatingList.php
+++ b/framework/Web/UI/WebControls/TRatingList.php
@@ -118,7 +118,7 @@ class TRatingList extends TRadioButtonList
protected function publishRatingListStyle($style)
{
$cs = $this->getPage()->getClientScript();
- $stylesheet = 'System.Web.Javascripts.ratings.'.$style;
+ $stylesheet = 'System.Web.Javascripts.prado.ratings.'.$style;
if(($cssFile=Prado::getPathOfNamespace($stylesheet,'.css'))===null)
throw new TConfigurationException('ratinglist_stylesheet_not_found',$style);
$url = $this->publishFilePath($cssFile);
@@ -129,10 +129,10 @@ class TRatingList extends TRadioButtonList
protected function publishRatingListImages($style, $fileExt='.gif')
{
- $images['blank'] = "System.Web.Javascripts.ratings.{$style}_blank";
- $images['hover'] = "System.Web.Javascripts.ratings.{$style}_hover";
- $images['selected'] = "System.Web.Javascripts.ratings.{$style}_selected";
- $images['half'] = "System.Web.Javascripts.ratings.{$style}_half";
+ $images['blank'] = "System.Web.Javascripts.prado.ratings.{$style}_blank";
+ $images['hover'] = "System.Web.Javascripts.prado.ratings.{$style}_hover";
+ $images['selected'] = "System.Web.Javascripts.prado.ratings.{$style}_selected";
+ $images['half'] = "System.Web.Javascripts.prado.ratings.{$style}_half";
$files = array();
foreach($images as $type => $image)
{