Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        modules
5
 * @package         Menu Link
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link			http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id: view.php 1377 2011-01-12 18:10:27Z FrankH $
14
 * @filesource		$HeadURL: http://svn.websitebaker2.org/branches/2.8.x/wb/modules/wysiwyg/modify.php $
15
 * @lastmodified    $Date: 2011-01-11 20:29:52 +0100 (Di, 11 Jan 2011) $
16
 *
17
 */
18

    
19
// check if module language file exists for the language set by the user (e.g. DE, EN)
20
if(!file_exists(WB_PATH .'/modules/menu_link/languages/'.LANGUAGE .'.php')) {
21
	// no module language file exists for the language set by the user, include default module language file EN.php
22
	require_once(WB_PATH .'/modules/menu_link/languages/EN.php');
23
} else {
24
	// a module language file exists for the language defined by the user, load it
25
	require_once(WB_PATH .'/modules/menu_link/languages/'.LANGUAGE .'.php');
26
}
27

    
28
?>
29
<a href="<?php echo WB_URL; ?>">
30
<?php echo $MOD_MENU_LINK['TEXT']; ?>
31
</a>
(9-9/9)