I18n.php
[Pman.Core] / I18n.php
index 3846f5c..f727db1 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -47,7 +47,7 @@
  */
 require_once 'Pman.php';
 
-class Pman_Core_I18N extends Pman
+class Pman_Core_I18n extends Pman
 {
  
     
@@ -125,19 +125,26 @@ class Pman_Core_I18N extends Pman
                 $i->ltype = 'c';
                 $i->applyFilters($_REQUEST, $this->authUser, $this);
                 $this->jdata($i->toTransList('c',  $lbits[0]));
-                
-                $ret = $this->getList('c', $lbits[0],empty($_REQUEST['filter']) ? false : $_REQUEST['filter']);
+               
                 break;
                 
-             case 'Currency':
+            case 'Currency':
                 $i->ltype = 'm';
                 $i->applyFilters($_REQUEST, $this->authUser, $this);
                 $this->jdata($i->toTransList('m',  $lbits[0]));
                 break;
+            
+            case 'Timezone':
+                $ar = DateTimeZone::listAbbreviations();
+                print_R($ar);exit;
+                
+                
              
                 
         }
-        
+        if (!empty($_REQUEST['debug'])) {
+            DB_DataObject::debugLevel(1);
+        }
         $i = DB_DataObject::Factory('I18n');
         $i->buildDb();