From f64d3a13f628706bc2f24f420f1e096543bad377 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Dec 2013 17:12:08 -0500 Subject: Wsat documentation in QuickStart tutorial at 35%! --- demos/quickstart/protected/controls/TopicList.tpl | 219 +++++++++++---------- .../quickstart/protected/controls/es/TopicList.tpl | 219 +++++++++++---------- .../quickstart/protected/controls/fr/TopicList.tpl | 215 ++++++++++---------- .../quickstart/protected/controls/id/TopicList.tpl | 217 ++++++++++---------- .../quickstart/protected/controls/ja/TopicList.tpl | 217 ++++++++++---------- .../quickstart/protected/controls/pl/TopicList.tpl | 217 ++++++++++---------- .../quickstart/protected/controls/zh/TopicList.tpl | 215 ++++++++++---------- .../protected/pages/GettingStarted/Wsat.page | 26 +++ framework/Wsat/TWsatService.php | 2 +- framework/Wsat/pages/TWsatLogin.php | 2 +- 10 files changed, 791 insertions(+), 758 deletions(-) mode change 100755 => 100644 demos/quickstart/protected/controls/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/es/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/fr/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/id/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/ja/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/pl/TopicList.tpl mode change 100755 => 100644 demos/quickstart/protected/controls/zh/TopicList.tpl create mode 100644 demos/quickstart/protected/pages/GettingStarted/Wsat.page diff --git a/demos/quickstart/protected/controls/TopicList.tpl b/demos/quickstart/protected/controls/TopicList.tpl old mode 100755 new mode 100644 index adcdff4a..a1f3411d --- a/demos/quickstart/protected/controls/TopicList.tpl +++ b/demos/quickstart/protected/controls/TopicList.tpl @@ -1,110 +1,111 @@ -
- - - - - - - - - - - -
-
Service Reference
- -
- - - - - - - + \ No newline at end of file diff --git a/demos/quickstart/protected/controls/es/TopicList.tpl b/demos/quickstart/protected/controls/es/TopicList.tpl old mode 100755 new mode 100644 index be4be752..88143f8a --- a/demos/quickstart/protected/controls/es/TopicList.tpl +++ b/demos/quickstart/protected/controls/es/TopicList.tpl @@ -1,110 +1,111 @@ -
- - - - - - - - - - - -
-
Referencia de Servicios
- -
- - - - - - - +
+ + + + + + + + + + + +
+
Referencia de Servicios
+ +
+ + + + + + +
\ No newline at end of file diff --git a/demos/quickstart/protected/controls/fr/TopicList.tpl b/demos/quickstart/protected/controls/fr/TopicList.tpl old mode 100755 new mode 100644 index 44bb0b16..cf2aa763 --- a/demos/quickstart/protected/controls/fr/TopicList.tpl +++ b/demos/quickstart/protected/controls/fr/TopicList.tpl @@ -1,108 +1,109 @@ -
- - - - - - - - - - - -
-
Réference des services
- -
- - - - - - - + \ No newline at end of file diff --git a/demos/quickstart/protected/controls/id/TopicList.tpl b/demos/quickstart/protected/controls/id/TopicList.tpl old mode 100755 new mode 100644 index bfc6ed64..b9550221 --- a/demos/quickstart/protected/controls/id/TopicList.tpl +++ b/demos/quickstart/protected/controls/id/TopicList.tpl @@ -1,109 +1,110 @@ -
- - - - - -
-
Fundamental
- -
- - - - - -
-
Referensi Layanan
- -
- - - - - - - + \ No newline at end of file diff --git a/demos/quickstart/protected/controls/ja/TopicList.tpl b/demos/quickstart/protected/controls/ja/TopicList.tpl old mode 100755 new mode 100644 index ccaf5c63..2c22641c --- a/demos/quickstart/protected/controls/ja/TopicList.tpl +++ b/demos/quickstart/protected/controls/ja/TopicList.tpl @@ -1,109 +1,110 @@ -
- - - - - - - - - - - -
-
サービスリファレンス
- -
- - - - - - - +
+ + + + + + + + + + + +
+
サービスリファレンス
+ +
+ + + + + + +
\ No newline at end of file diff --git a/demos/quickstart/protected/controls/pl/TopicList.tpl b/demos/quickstart/protected/controls/pl/TopicList.tpl old mode 100755 new mode 100644 index 93052b36..e4cb586b --- a/demos/quickstart/protected/controls/pl/TopicList.tpl +++ b/demos/quickstart/protected/controls/pl/TopicList.tpl @@ -1,109 +1,110 @@ -
- - - - - - - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/demos/quickstart/protected/controls/zh/TopicList.tpl b/demos/quickstart/protected/controls/zh/TopicList.tpl old mode 100755 new mode 100644 index 00fa2280..5273f313 --- a/demos/quickstart/protected/controls/zh/TopicList.tpl +++ b/demos/quickstart/protected/controls/zh/TopicList.tpl @@ -1,108 +1,109 @@ -
- - - - - -
-
基础概念
- -
- - - - - -
-
服务使用参考
- -
- - - - - - - + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/GettingStarted/Wsat.page b/demos/quickstart/protected/pages/GettingStarted/Wsat.page new file mode 100644 index 00000000..cb821a30 --- /dev/null +++ b/demos/quickstart/protected/pages/GettingStarted/Wsat.page @@ -0,0 +1,26 @@ + +

Web Site Administration Tool

+

Web Site Administration Tool (WSAT) allows you +

+ +

Requirements

+

+ To use WSAT, you need to add in your project configuration file: application.xml, + in the services section the wsat service like follows: + + + + ... + + + +

+ +

Usage

+

+ Then you are ready to go to: http://localhost/yoursite/index.php?wsat=TWsatLogin +

+ + + +
diff --git a/framework/Wsat/TWsatService.php b/framework/Wsat/TWsatService.php index 1f5ebe40..63bfebc7 100644 --- a/framework/Wsat/TWsatService.php +++ b/framework/Wsat/TWsatService.php @@ -62,7 +62,7 @@ class TWsatService extends TPageService $themeManager = new TThemeManager; $themeManager->BasePath = "System.Wsat.themes"; $url = Prado::getApplication()->getAssetManager()->publishFilePath(Prado::getPathOfNamespace('System.Wsat')); - $themeManager->BaseUrl = $url . "/themes"; + $themeManager->BaseUrl = "$url/themes"; $themeManager->init(null); $this->setThemeManager($themeManager); diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php index 7f0927b6..21994c07 100644 --- a/framework/Wsat/pages/TWsatLogin.php +++ b/framework/Wsat/pages/TWsatLogin.php @@ -25,7 +25,7 @@ class TWsatLogin extends TPage public function validatePassword($sender, $param) { - $config_pass = $this->getService()->getPassword(); + $config_pass = $this->Service->Password; $user_pass = $this->password->Text; $param->IsValid = $user_pass === $config_pass; } -- cgit v1.2.3