Commit 6426610901b57dfba763dedbe640ec13a85a8cfc
1 parent
fb9c170a
further i18n fixes.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5115 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
19 additions
and
0 deletions
lib/templating/kt3template.inc.php
| @@ -97,6 +97,8 @@ class KTPage { | @@ -97,6 +97,8 @@ class KTPage { | ||
| 97 | $aJS[] = 'thirdpartyjs/MochiKit/DOM.js'; | 97 | $aJS[] = 'thirdpartyjs/MochiKit/DOM.js'; |
| 98 | $aJS[] = 'thirdpartyjs/MochiKit/Logging.js'; | 98 | $aJS[] = 'thirdpartyjs/MochiKit/Logging.js'; |
| 99 | $aJS[] = 'resources/js/kt-utility.js'; | 99 | $aJS[] = 'resources/js/kt-utility.js'; |
| 100 | + //$aJS[] = 'resources/js/translate.js'; | ||
| 101 | + $aJS[] = 'presentation/i18nJavascript.php'; | ||
| 100 | $this->requireJSResources($aJS); | 102 | $this->requireJSResources($aJS); |
| 101 | 103 | ||
| 102 | // this is horrid, but necessary. | 104 | // this is horrid, but necessary. |
presentation/i18nJavascript.php
| 1 | <?php | 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 | require_once('../config/dmsDefaults.php'); | 20 | require_once('../config/dmsDefaults.php'); |
| 4 | require_once(KT_LIB_DIR . '/dispatcher.inc.php'); | 21 | require_once(KT_LIB_DIR . '/dispatcher.inc.php'); |