[Easymod-cvs] easymod2/mods/easymod easymod_display_functions.php,1.20,1.21 easymod_install.php,1.44
Status: Beta
Brought to you by:
wgeric
From: Markus P. <mar...@us...> - 2005-11-06 13:31:17
|
Update of /cvsroot/easymod/easymod2/mods/easymod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27619/mods/easymod Modified Files: easymod_display_functions.php easymod_install.php Log Message: Fixed all known language issues (-=ET=-). Index: easymod_display_functions.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_display_functions.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** easymod_display_functions.php 6 Nov 2005 11:17:54 -0000 1.20 --- easymod_display_functions.php 6 Nov 2005 13:30:51 -0000 1.21 *************** *** 32,40 **** function display_template( $template_file, $variables) { // make sure the tpl file exists if (!file_exists( $template_file)) { ! echo "<h1><span class=\"ok\">A required file [$template_file] is missing. Aborting install.</span></h1>\n" ; ! exit ; } --- 32,42 ---- function display_template( $template_file, $variables) { + global $lang; + // make sure the tpl file exists if (!file_exists( $template_file)) { ! echo '<h1><span class="ok">' . sprintf($lang['EM_err_no_tpl'], $template_file) . "</span></h1>\n"; ! exit; } *************** *** 472,476 **** if ($bbcode) { ! $ok_msg = '[b][color=green]<b class="ok">OK</b>[/color][/b]' ; $okparms = '[b][color=green]<b class="ok">%s</b>[/color][/b]' ; $no_msg = '[b]<b>' . $lang['EM_no'] . '</b>[/b]' ; --- 474,478 ---- if ($bbcode) { ! $ok_msg = '[b][color=green]<b class="ok">' . $lang['EM_ok'] . '</b>[/color][/b]' ; $okparms = '[b][color=green]<b class="ok">%s</b>[/color][/b]' ; $no_msg = '[b]<b>' . $lang['EM_no'] . '</b>[/b]' ; *************** *** 479,483 **** else { ! $ok_msg = '<b class="ok">OK</b>' ; $okparms = '<b class="ok">%s</b>' ; $no_msg = '<b>' . $lang['EM_no'] . '</b>' ; --- 481,485 ---- else { ! $ok_msg = '<b class="ok">' . $lang['EM_ok'] . '</b>' ; $okparms = '<b class="ok">%s</b>' ; $no_msg = '<b>' . $lang['EM_no'] . '</b>' ; Index: easymod_install.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_install.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** easymod_install.php 6 Nov 2005 11:20:10 -0000 1.44 --- easymod_install.php 6 Nov 2005 13:30:51 -0000 1.45 *************** *** 1089,1093 **** default: ! die("No DB LAYER found!"); break; } --- 1089,1093 ---- default: ! message_die(GENERAL_ERROR, $lang['EM_err_no_sql']); break; } |