diff options
Diffstat (limited to 'demos/blog-tutorial/protected/common')
-rw-r--r-- | demos/blog-tutorial/protected/common/InfoBox.php | 24 | ||||
-rw-r--r-- | demos/blog-tutorial/protected/common/NoteBox.php | 24 | ||||
-rw-r--r-- | demos/blog-tutorial/protected/common/TipBox.php | 24 | ||||
-rw-r--r-- | demos/blog-tutorial/protected/common/TopicList.php | 14 |
4 files changed, 43 insertions, 43 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 |