Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
interface/lib/classes/listform_actions.inc.php
@@ -51,8 +51,8 @@
            $b = $aTwo[$sKey];
            if(is_string($a)) $a = strtolower($a);
            if(is_string($b)) $b = strtolower($b);
            if($a < $b) return ($sDir == 'DESC' ? 1 : -1);
            elseif($a > $b) return ($sDir == 'DESC' ? -1 : 1);
         if($a < $b) return $sDir == 'DESC' ? 1 : -1;
         elseif($a > $b) return $sDir == 'DESC' ? -1 : 1;
        }
        return 0;
    }
@@ -251,7 +251,7 @@
      $lng_file = ISPC_LIB_PATH.'/lang/'.$_SESSION['s']['language'].'.lng';
      if(!file_exists($lng_file))
      $lng_file = ISPC_LIB_PATH.'/lang/en.lng';
      include($lng_file);
      include $lng_file;
      $app->tpl->setVar($wb);
      
      //* Limit each page
@@ -288,6 +288,7 @@
      $app->tpl_defaults();
      $app->tpl->pparse();
   }
}
?>