diff options
Diffstat (limited to 'demos/blog-tutorial/protected/common/TipBox.php')
-rw-r--r-- | demos/blog-tutorial/protected/common/TipBox.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/blog-tutorial/protected/common/TipBox.php b/demos/blog-tutorial/protected/common/TipBox.php new file mode 100644 index 00000000..2464a61a --- /dev/null +++ b/demos/blog-tutorial/protected/common/TipBox.php @@ -0,0 +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>");
+ }
+}
+
+?>
\ No newline at end of file |