From 1ebbcf85205f983531ef3b43dce4a98114714f0b Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 30 Mar 2007 00:27:34 +0000 Subject: Fixed #579, reverted the rating list js. --- framework/Web/UI/WebControls/TRatingList.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework/Web/UI') 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) { -- cgit v1.2.3