diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /demos/blog-tutorial/protected | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'demos/blog-tutorial/protected')
-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 | ||||
-rw-r--r-- | demos/blog-tutorial/protected/layout/MainLayout.php | 12 |
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 |