diff options
Diffstat (limited to 'demos/blog-tutorial/protected/common/TipBox.php')
-rw-r--r-- | demos/blog-tutorial/protected/common/TipBox.php | 24 |
1 files changed, 12 insertions, 12 deletions
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 |