DataObjects/Events.php
[Pman.Core] / I18n.php
index b6812a0..af327e4 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -107,7 +107,7 @@ class Pman_Core_I18n extends Pman
         return explode('_', $lang);
     }
      
-    function get($s ='')
+    function get($s ='', $opts=array())
     {
      
         $this->sessionState(0);
@@ -201,6 +201,7 @@ class Pman_Core_I18n extends Pman
         }
         //echo '<PRE>';print_r($ar);
         header('Content-type: text/javascript');
+        echo "Roo.namespace('Pman.I18n');";
         echo 'Pman.I18n.Data = ' .  json_encode($ar);
         exit;