summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2007-08-28 19:33:29 +0000
committerxue <>2007-08-28 19:33:29 +0000
commitff402bd8de1edd97bb06d30d7600212b5fc22f16 (patch)
tree2db596f197ee4a399624d57a3f2e4b120abf5d02 /framework/Web
parent888fa27278a1791dc77385bfdb60a52df54e898b (diff)
moved css files to assets folder.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php2
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php2
-rw-r--r--framework/Web/UI/WebControls/assets/keyboard.css (renamed from framework/Web/UI/WebControls/keyboard.css)0
-rw-r--r--framework/Web/UI/WebControls/assets/tabpanel.css (renamed from framework/Web/UI/WebControls/TTabPanel.css)0
4 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 58af07ce..301e6cf3 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -143,7 +143,7 @@ class TKeyboard extends TWebControl
protected function registerStyleSheet()
{
if(($url=$this->getCssUrl())==='')
- $url=$this->publishAsset('keyboard.css',__CLASS__);
+ $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'keyboard.css');
$this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 394f7326..d4524534 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -384,7 +384,7 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler
protected function registerStyleSheet()
{
if(($url=$this->getCssUrl())==='')
- $url=$this->publishAsset('TTabPanel.css',__CLASS__);
+ $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'tabpanel.css');
$this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}
diff --git a/framework/Web/UI/WebControls/keyboard.css b/framework/Web/UI/WebControls/assets/keyboard.css
index ad88d76b..ad88d76b 100644
--- a/framework/Web/UI/WebControls/keyboard.css
+++ b/framework/Web/UI/WebControls/assets/keyboard.css
diff --git a/framework/Web/UI/WebControls/TTabPanel.css b/framework/Web/UI/WebControls/assets/tabpanel.css
index 43a42c60..43a42c60 100644
--- a/framework/Web/UI/WebControls/TTabPanel.css
+++ b/framework/Web/UI/WebControls/assets/tabpanel.css