Annotation of /tags/v1.6.0/nokkaew.php
Parent Directory
|
Revision Log
Revision 4 - (view) (download)
| 1 : | andphe | 3 | <?php |
| 2 : | // NOKKAEW - is "Parrot" in thai name | ||
| 3 : | // Copyright (C) copyright 2006 MamboHub.com | ||
| 4 : | // All rights reserved. The NokKaew project is a extention hack and | ||
| 5 : | // component for the Mambo Open Server. It enables Mambo OS to handle multi | ||
| 6 : | // lingual sites especially in all dynamic contents which are stored in the | ||
| 7 : | // database. | ||
| 8 : | // | ||
| 9 : | // This program is free software; you can redistribute it and/or | ||
| 10 : | // modify it under the terms of the GNU General Public License | ||
| 11 : | // as published by the Free Software Foundation; either version 2 | ||
| 12 : | // of the License, or (at your option) any later version. | ||
| 13 : | // | ||
| 14 : | // This program is distributed in the hope that it will be useful, | ||
| 15 : | // but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 : | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 : | // GNU General Public License for more details. | ||
| 18 : | // | ||
| 19 : | // You should have received a copy of the GNU General Public License | ||
| 20 : | // along with this program; if not, write to the Free Software | ||
| 21 : | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. | ||
| 22 : | // | ||
| 23 : | // The "GNU General Public License" (GPL) is available at | ||
| 24 : | // http://www.gnu.org/copyleft/gpl.html | ||
| 25 : | // -------------------------------------------------------------------------------- | ||
| 26 : | // $Id: nokkaew.php,v 1.4 2005/03/16 19:02:51 akede Exp $ | ||
| 27 : | // | ||
| 28 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 29 : | |||
| 30 : | /** | ||
| 31 : | * NokKaewfrontend component | ||
| 32 : | * @package nokkaew.classes | ||
| 33 : | * @copyright 2003-2005 Think Network GmbH | ||
| 34 : | * @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
| 35 : | * @version 1.0, 2003-10-16 $Revision: 1.4 $ | ||
| 36 : | * @author Alex Kempkens <akede@users.sourceforge.net> | ||
| 37 : | */ | ||
| 38 : | global $mosConfig_absolute_path, $mosConfig_lang, $_NOKKAEW_MANAGER; | ||
| 39 : | |||
| 40 : | if (file_exists('components/com_nokkaew/language/'.$mosConfig_lang.'.php')) { | ||
| 41 : | include_once ('components/com_nokkaew/language/'.$mosConfig_lang.'.php'); | ||
| 42 : | } else { | ||
| 43 : | include_once ('components/com_nokkaew/language/english.php'); | ||
| 44 : | } | ||
| 45 : | $adminPath = $mosConfig_absolute_path . '/administrator'; | ||
| 46 : | if (isset ($mosConfig_admin_path)) { | ||
| 47 : | $adminPath = $mosConfig_admin_path; | ||
| 48 : | } | ||
| 49 : | $adminPath = $adminPath . '/components/com_nokkaew'; | ||
| 50 : | |||
| 51 : | if( !class_exists( 'NokKaewManager' ) ) { | ||
| 52 : | require_once( "$adminPath/nokkaew.class.php" ); | ||
| 53 : | } | ||
| 54 : | require_once( "$mosConfig_absolute_path/components/com_nokkaew/nokkaew.html.php" ); | ||
| 55 : | |||
| 56 : | HTML_nokkaew::showLanguages($_NOKKAEW_MANAGER); | ||
| 57 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

