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