Commit: b4d5ce7267b3f2f54ad87391b9cc92dcdc1d93b6
Author: gwoo | Date: 2010-04-03 12:05:47 -0700
diff --git a/config/routes.php b/config/routes.php
index e63e061..8b67bd6 100644
--- a/config/routes.php
+++ b/config/routes.php
@@ -1,20 +1,20 @@
<?php
use \lithium\net\http\Router;
-use \app\extensions\net\http\LocaleRoute;
+use \li3_bot\extensions\route\Locale;
-Router::connect(new LocaleRoute(array(
+Router::connect(new Locale(array(
'template' => '/bot/view/{:args}',
'params' => array(
- 'plugin' => 'li3_bot',
- 'controller' => 'logs', 'action' => 'view'
-))));
+ 'plugin' => 'li3_bot', 'controller' => 'logs', 'action' => 'view'
+ )
+)));
-Router::connect(new LocaleRoute(array(
+Router::connect(new Locale(array(
'template' => '/bot/{:args}',
'params' => array(
- 'plugin' => 'li3_bot',
- 'controller' => 'logs'
-))));
+ 'plugin' => 'li3_bot', 'controller' => 'logs'
+ )
+)));
?>
\ No newline at end of file
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php
index 1f8da67..4c2e2cf 100644
--- a/views/layouts/default.html.php
+++ b/views/layouts/default.html.php
@@ -43,7 +43,7 @@ use \lithium\g11n\Locale;
</div>
<div id="footer">
<p class="copyright">
- <?=$t('Pretty much everything is © {:year} and beyond, the Union of Rad', array(
+ <?=$t('Pretty much everything is © {:year} and beyond, the Union of Rad', array(
'year' => date('Y')
)); ?>
</p>