summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2007-07-25 11:39:37 +0000
committerxue <>2007-07-25 11:39:37 +0000
commit7049d603765133b596d4f00380982528003f2616 (patch)
tree2ad1c5c4d0b86e0bdd816b144f71b381ffd849d5 /demos
parent9538f03d2a7bdc61c6338fabe2d33d134bfc21fc (diff)
Fixed several bugs.
Diffstat (limited to 'demos')
-rw-r--r--demos/blog-tutorial/protected/pages/Day2/CreateAR.page2
-rw-r--r--demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page2
-rw-r--r--demos/blog-tutorial/samples/day4/blog/protected/pages/posts/config.xml2
-rw-r--r--demos/blog-tutorial/samples/day5/blog/protected/pages/posts/config.xml2
4 files changed, 4 insertions, 4 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day2/CreateAR.page b/demos/blog-tutorial/protected/pages/Day2/CreateAR.page
index c8684ee0..381e2469 100644
--- a/demos/blog-tutorial/protected/pages/Day2/CreateAR.page
+++ b/demos/blog-tutorial/protected/pages/Day2/CreateAR.page
@@ -24,7 +24,7 @@ Instead of writing the classes manually, we will use the <a href="http://www.pra
Under the <tt>blog</tt> directory, run the following command to enter into the interactive mode of the command line tool:
</p>
-<com:TTextHighlighter CssClass="source cli">
+<com:TTextHighlighter CssClass="source cli" Language="text">
php path/to/prado-cli.php shell .
</com:TTextHighlighter>
diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page
index 9020c517..c81e634c 100644
--- a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page
+++ b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page
@@ -14,7 +14,7 @@ Because <tt>NewPost</tt> can only be accessed by authenticated users, we add a p
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<authorization>
- <deny pages="NewPost,EditPost" roles="?" />
+ <deny pages="NewPost,EditPost" users="?" />
</authorization>
</configuration>
</com:TTextHighlighter>
diff --git a/demos/blog-tutorial/samples/day4/blog/protected/pages/posts/config.xml b/demos/blog-tutorial/samples/day4/blog/protected/pages/posts/config.xml
index 64065ed5..66bda7b6 100644
--- a/demos/blog-tutorial/samples/day4/blog/protected/pages/posts/config.xml
+++ b/demos/blog-tutorial/samples/day4/blog/protected/pages/posts/config.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<authorization>
- <deny pages="NewPost,EditPost" roles="?" />
+ <deny pages="NewPost,EditPost" users="?" />
</authorization>
</configuration> \ No newline at end of file
diff --git a/demos/blog-tutorial/samples/day5/blog/protected/pages/posts/config.xml b/demos/blog-tutorial/samples/day5/blog/protected/pages/posts/config.xml
index 64065ed5..66bda7b6 100644
--- a/demos/blog-tutorial/samples/day5/blog/protected/pages/posts/config.xml
+++ b/demos/blog-tutorial/samples/day5/blog/protected/pages/posts/config.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<authorization>
- <deny pages="NewPost,EditPost" roles="?" />
+ <deny pages="NewPost,EditPost" users="?" />
</authorization>
</configuration> \ No newline at end of file