summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2005-12-03 04:42:14 +0000
committerxue <>2005-12-03 04:42:14 +0000
commit0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch)
tree2ddbfeb4243ed5d87985158ee905ea521c430fca /demos
parentc488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff)
Diffstat (limited to 'demos')
-rw-r--r--demos/controls/protected/application.xml8
-rw-r--r--demos/controls/protected/pages/config.xml6
-rw-r--r--demos/controls/protected/pages/private/config.xml2
-rw-r--r--demos/personal/protected/Pages/config.xml4
-rw-r--r--demos/personal/protected/application.xml10
5 files changed, 15 insertions, 15 deletions
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml
index 50375cc6..2ae2e48a 100644
--- a/demos/controls/protected/application.xml
+++ b/demos/controls/protected/application.xml
@@ -8,9 +8,9 @@
<!-- modules configured and loaded for all services -->
<modules>
<!--
- <module id="cache" type="System.Data.TSqliteCache" DbFile="Demo.cache"/>
+ <module id="cache" class="System.Data.TSqliteCache" DbFile="Demo.cache"/>
-->
- <module id="session" type="THttpSession" />
+ <module id="session" class="THttpSession" />
</modules>
<services>
<!-- page service, BasePath is required -->
@@ -18,12 +18,12 @@
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
- <module id="users" type="System.Security.TUserManager" PasswordMode="Clear">
+ <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
<user name="demo" password="work" />
<user name="demo2" password="work2" />
</module>
<!-- auth manager module -->
- <module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
+ <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
</modules>
</service>
</services>
diff --git a/demos/controls/protected/pages/config.xml b/demos/controls/protected/pages/config.xml
index f6bbc9a3..c90a6974 100644
--- a/demos/controls/protected/pages/config.xml
+++ b/demos/controls/protected/pages/config.xml
@@ -5,8 +5,8 @@
<deny pages="home" users="?" verb="post" />
</authorization>
<pages Theme="BlueTheme">
- <page id="home" type="HomePage" />
- <page id="login" type="LoginPage" />
- <page id="plain" type="TPage" TemplateFile="Demo.pages.PlainPage" />
+ <page id="home" class="HomePage" />
+ <page id="login" class="LoginPage" />
+ <page id="plain" class="TPage" TemplateFile="Demo.pages.PlainPage" />
</pages>
</configuration> \ No newline at end of file
diff --git a/demos/controls/protected/pages/private/config.xml b/demos/controls/protected/pages/private/config.xml
index ecfb6b00..775590cd 100644
--- a/demos/controls/protected/pages/private/config.xml
+++ b/demos/controls/protected/pages/private/config.xml
@@ -5,6 +5,6 @@
<deny pages="member" users="?" />
</authorization>
<pages>
- <page id="member" type="MemberPage" />
+ <page id="member" class="MemberPage" />
</pages>
</configuration> \ No newline at end of file
diff --git a/demos/personal/protected/Pages/config.xml b/demos/personal/protected/Pages/config.xml
index 78044ef2..2a0108c0 100644
--- a/demos/personal/protected/Pages/config.xml
+++ b/demos/personal/protected/Pages/config.xml
@@ -2,7 +2,7 @@
<configuration>
<pages MasterClass="Application.Pages.Layout">
- <page id="home" type="HomePage" />
- <page id="login" type="LoginPage" />
+ <page id="home" class="HomePage" />
+ <page id="login" class="LoginPage" />
</pages>
</configuration> \ No newline at end of file
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml
index 111cbc7a..9013121e 100644
--- a/demos/personal/protected/application.xml
+++ b/demos/personal/protected/application.xml
@@ -7,9 +7,9 @@
<!-- modules configured and loaded for all services -->
<modules>
<!-- make sure the path "protected" is writable by web server process if you enable this cache
- <module id="cache" type="System.Data.TSqliteCache" DbFile="Application.Data.Cache"/>
+ <module id="cache" class="System.Data.TSqliteCache" DbFile="Application.Data.Cache"/>
-->
- <module id="session" type="THttpSession" />
+ <module id="session" class="THttpSession" />
</modules>
<services>
<!-- page service, BasePath is required -->
@@ -17,13 +17,13 @@
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
- <module id="users" type="System.Security.TUserManager" PasswordMode="Clear">
+ <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
<user name="demo" password="demo" />
</module>
<!-- auth manager module -->
- <module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
+ <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
<!--
- <module id="data" type="Application.Modules.DataModule" DbFile="Application.Data.Site" />
+ <module id="data" class="Application.Modules.DataModule" DbFile="Application.Data.Site" />
-->
</modules>
</service>