Commit ac81f59f87b3aa426b59d62386936a711e0d2154

Authored by Brad Shuttleworth
1 parent 9e9a9822

further i18n fixes.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5115 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/templating/kt3template.inc.php
... ... @@ -97,6 +97,8 @@ class KTPage {
97 97 $aJS[] = 'thirdpartyjs/MochiKit/DOM.js';
98 98 $aJS[] = 'thirdpartyjs/MochiKit/Logging.js';
99 99 $aJS[] = 'resources/js/kt-utility.js';
  100 + //$aJS[] = 'resources/js/translate.js';
  101 + $aJS[] = 'presentation/i18nJavascript.php';
100 102 $this->requireJSResources($aJS);
101 103  
102 104 // this is horrid, but necessary.
... ...
presentation/i18nJavascript.php
1 1 <?php
  2 +/*
  3 + * Copyright (c) 2006 Jam Warehouse http://www.jamwarehouse.com
  4 + *
  5 + * This program is free software; you can redistribute it and/or modify
  6 + * it under the terms of the GNU General Public License as published by
  7 + * the Free Software Foundation; using version 2 of the License.
  8 + *
  9 + *
  10 + * This program is distributed in the hope that it will be useful,
  11 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13 + * GNU General Public License for more details.
  14 + *
  15 + * You should have received a copy of the GNU General Public License
  16 + * along with this program; if not, write to the Free Software
  17 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18 + */
2 19  
3 20 require_once('../config/dmsDefaults.php');
4 21 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
... ...