Commit: ee65c08c07d96d181e0f0407ea416ad88ed71096

Author: gwoo | Date: 2010-04-03 12:27:16 -0700
updatint routes and layout
diff --git a/config/routes.php b/config/routes.php index ebd5985..3751f49 100644 --- a/config/routes.php +++ b/config/routes.php @@ -1,15 +1,15 @@ <?php use \lithium\net\http\Router; -use \app\extensions\net\http\LocaleRoute; +use \app\extensions\route\Locale; -Router::connect(new LocaleRoute(array( +Router::connect(new Locale(array( 'template' => '/docs', 'params' => array( 'plugin' => 'li3_docs', 'controller' => 'browser' )))); -Router::connect(new LocaleRoute(array( +Router::connect(new Locale(array( 'template' => '/docs/{:library}/{:args}', 'params' => array( 'plugin' => 'li3_docs', diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index b73f0ec..d86c94f 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -49,7 +49,7 @@ use \lithium\g11n\Locale; </div> <div id="footer"> <p class="copyright"> - <?=$t('Pretty much everything is &copy; {:year} and beyond, the Union of Rad', array( + <?=$t('Pretty much everything is © {:year} and beyond, the Union of Rad', array( 'year' => date('Y'), 'scope' => 'li3_docs' )); ?>