[phpMP-CVS] CVS: phpMP/languages/english lang_main.php,1.1,1.2
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2002-07-26 05:25:10
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory usw-pr-cvs1:/tmp/cvs-serv12041/languages/english Modified Files: lang_main.php Log Message: Moved language file into a class. Allows for easier access and better modularization. Modified core to allow language prefs to be set before anything can possibly be parsed. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** lang_main.php 25 Jul 2002 20:50:07 -0000 1.1 --- lang_main.php 26 Jul 2002 05:25:07 -0000 1.2 *************** *** 31,48 **** ******************************************************************************/ ! global $MPCONF; ! $lang['l_home'] = 'Home'; ! $lang['l_nav_bar'] = '<a href="' . $MPCONF['GEN']['uri'] . '/index.php">home</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/features.php">features</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/forums/index.php">forums</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">downloads</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/about.php">about</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/team.php">team</a> <font color="#0a4a67">•</font> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/devworld/modules/index.php?action=list">modules</a> <font color="#0a4a67">•</font> <a href="http://www.sourceforge.net/">sourceforge</a>'; ! $lang['l_username'] = 'Username'; ! $lang['l_password'] = 'Password'; ! $lang['l_login'] = 'Login'; ! $lang['l_forgot_passwd'] = 'Forgot Your Password?'; ! $lang['l_register'] = 'Register A Username'; ! $lang['l_not_logged_in'] = 'You are not logged in.'; ! $lang['l_powered_by'] = 'powered by phpMP ' . $MPCONF['GEN']['version'] . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.'; ! $lang['l_copyright'] = 'All content is property of its respective owner. All rights reserved.'; ?> --- 31,58 ---- ******************************************************************************/ ! class Language { ! var $lang; ! ! function Language() { ! global $MPCONF; ! $this->lang['l_home'] = 'Home'; ! $this->lang['l_nav_bar'] = '<a href="' . $MPCONF['GEN']['uri'] . '/index.php">home</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/features.php">features</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/forums/index.php">forums</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/downloads.php">downloads</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/support.php">support</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/about.php">about</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/team.php">team</a> <font color="#0a4a67">•</font> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmp/phpMP/">cvs</a> <font color="#0a4a67">•</font> <a href="' . $MPCONF['GEN']['uri'] . '/devworld/modules/index.php?action=list">modules</a> <font color="#0a4a67">•</font> <a href="http://www.sourceforge.net/">sourceforge</a>'; ! ! $this->lang['l_username'] = 'Username'; ! $this->lang['l_password'] = 'Password'; ! $this->lang['l_login'] = 'Login'; ! $this->lang['l_forgot_passwd'] = 'Forgot Your Password?'; ! $this->lang['l_register'] = 'Register A Username'; ! $this->lang['l_not_logged_in'] = 'You are not logged in.'; ! ! $this->lang['l_powered_by'] = 'powered by phpMP ' . $MPCONF['GEN']['version'] . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.'; ! $this->lang['l_copyright'] = 'All content is property of its respective owner. All rights reserved.'; ! ! } ! ! } ?> |