summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial/protected')
-rw-r--r--demos/blog-tutorial/protected/common/InfoBox.php24
-rw-r--r--demos/blog-tutorial/protected/common/NoteBox.php24
-rw-r--r--demos/blog-tutorial/protected/common/TipBox.php24
-rw-r--r--demos/blog-tutorial/protected/common/TopicList.php14
-rw-r--r--demos/blog-tutorial/protected/layout/MainLayout.php12
5 files changed, 49 insertions, 49 deletions
diff --git a/demos/blog-tutorial/protected/common/InfoBox.php b/demos/blog-tutorial/protected/common/InfoBox.php
index 271ce1e7..97b66067 100644
--- a/demos/blog-tutorial/protected/common/InfoBox.php
+++ b/demos/blog-tutorial/protected/common/InfoBox.php
@@ -1,13 +1,13 @@
-<?php
-
-class InfoBox extends TControl
-{
- public function render($writer)
- {
- $writer->write("<div class=\"info\"><b class=\"tip\">Info:</b>\n");
- $body=$this->renderChildren($writer);
- $writer->write("</div>");
- }
-}
-
+<?php
+
+class InfoBox extends TControl
+{
+ public function render($writer)
+ {
+ $writer->write("<div class=\"info\"><b class=\"tip\">Info:</b>\n");
+ $body=$this->renderChildren($writer);
+ $writer->write("</div>");
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/blog-tutorial/protected/common/NoteBox.php b/demos/blog-tutorial/protected/common/NoteBox.php
index f5123380..90d5faab 100644
--- a/demos/blog-tutorial/protected/common/NoteBox.php
+++ b/demos/blog-tutorial/protected/common/NoteBox.php
@@ -1,13 +1,13 @@
-<?php
-
-class NoteBox extends TControl
-{
- public function render($writer)
- {
- $writer->write("<div class=\"note\"><b class=\"tip\">Note:</b>\n");
- $body=$this->renderChildren($writer);
- $writer->write("</div>");
- }
-}
-
+<?php
+
+class NoteBox extends TControl
+{
+ public function render($writer)
+ {
+ $writer->write("<div class=\"note\"><b class=\"tip\">Note:</b>\n");
+ $body=$this->renderChildren($writer);
+ $writer->write("</div>");
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/blog-tutorial/protected/common/TipBox.php b/demos/blog-tutorial/protected/common/TipBox.php
index 2464a61a..58f79db8 100644
--- a/demos/blog-tutorial/protected/common/TipBox.php
+++ b/demos/blog-tutorial/protected/common/TipBox.php
@@ -1,13 +1,13 @@
-<?php
-
-class TipBox extends TControl
-{
- public function render($writer)
- {
- $writer->write("<div class=\"tip\"><b class=\"tip\">Tip:</b>\n");
- $body=$this->renderChildren($writer);
- $writer->write("</div>");
- }
-}
-
+<?php
+
+class TipBox extends TControl
+{
+ public function render($writer)
+ {
+ $writer->write("<div class=\"tip\"><b class=\"tip\">Tip:</b>\n");
+ $body=$this->renderChildren($writer);
+ $writer->write("</div>");
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/blog-tutorial/protected/common/TopicList.php b/demos/blog-tutorial/protected/common/TopicList.php
index ce827cc0..eb5976a9 100644
--- a/demos/blog-tutorial/protected/common/TopicList.php
+++ b/demos/blog-tutorial/protected/common/TopicList.php
@@ -1,8 +1,8 @@
-<?php
-
-class TopicList extends TTemplateControl
-{
-
-}
-
+<?php
+
+class TopicList extends TTemplateControl
+{
+
+}
+
?> \ No newline at end of file
diff --git a/demos/blog-tutorial/protected/layout/MainLayout.php b/demos/blog-tutorial/protected/layout/MainLayout.php
index 4b5890de..d6ea146d 100644
--- a/demos/blog-tutorial/protected/layout/MainLayout.php
+++ b/demos/blog-tutorial/protected/layout/MainLayout.php
@@ -1,6 +1,6 @@
-<?php
-
-class MainLayout extends TTemplateControl
+<?php
+
+class MainLayout extends TTemplateControl
{
public function onLoad($param)
@@ -24,7 +24,7 @@ class MainLayout extends TTemplateControl
if($this->Application->Globalization->Culture == $params['lang'])
$item->link->CssClass="active";
}
- }
-}
-
+ }
+}
+
?> \ No newline at end of file