From: <al...@us...> - 2008-08-19 22:32:32
|
Revision: 611 http://sciret.svn.sourceforge.net/sciret/?rev=611&view=rev Author: alpeb Date: 2008-08-19 22:32:30 +0000 (Tue, 19 Aug 2008) Log Message: ----------- removed code dealing with MySQL versions lower than 4.1. We'll just not support them anymore Modified Paths: -------------- trunk/templates/InstallOk.tpl trunk/views/InstallOk.php Modified: trunk/templates/InstallOk.tpl =================================================================== --- trunk/templates/InstallOk.tpl 2008-08-19 22:31:12 UTC (rev 610) +++ trunk/templates/InstallOk.tpl 2008-08-19 22:32:30 UTC (rev 611) @@ -14,15 +14,6 @@ <tr> <td style="text-align:center">[l]Installation was successful![/l]<br /> [l]The superadministrator user was created, with the username 'admin' and password 'admin'[/l]<br /> - <!-- BEGIN setEncodingHelp_block --> - <br /> - <div style="color:red; font-weight:bold; text-align:left"> - [l]Your database version is lower than 4.1. To have proper support for non Western European languages, make sure to have this settings in your mysql configuration file:[/l]<br /><br /> - character_set_client = UTF8;<br /> - character_set_results = UTF8;<br /> - character_set_connection = UTF8;<br /> - </div> - <!-- END setEncodingHelp_block --> </td> </tr> <tr> Modified: trunk/views/InstallOk.php =================================================================== --- trunk/views/InstallOk.php 2008-08-19 22:31:12 UTC (rev 610) +++ trunk/views/InstallOk.php 2008-08-19 22:32:30 UTC (rev 611) @@ -15,19 +15,11 @@ function dispatch() { $this->tpl->set_file('main', 'InstallOk.tpl'); - $this->tpl->set_block('main', 'setEncodingHelp_block', 'setEncodingHelp'); $this->tpl->set_var(array( 'LOGIN_URL' => 'http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['REQUEST_URI'], 0, strrpos($_SERVER['REQUEST_URI'], '/')).'/login.php', 'PUBLIC_URL' => 'http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['REQUEST_URI'], 0, strrpos($_SERVER['REQUEST_URI'], '/')), )); - $db =& DB::DBFactory(DB_ENGINE, DB_HOST, DB_USER, DB_PASSWORD); - if ($db->isLowerThan41()) { - $this->tpl->parse('setEncodingHelp', 'setEncodingHelp_block'); - } else { - $this->tpl->set_var('setEncodingHelp', ''); - } - $this->tpl->pparse('out', 'main'); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |