Author: cfinck
Date: Sun Jul 27 01:10:06 2008
New Revision: 34826
URL:
http://svn.reactos.org/svn/reactos?rev=34826&view=rev
Log:
Don't hardcode font names for Monospace fonts, which aren't guaranteed to exist.
Instead use the general "monospace" alias.
Fixes the myReactOS account registration for all users, which don't have these
fonts.... (i.e. most Linux users)
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/user_register.php
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/user_register.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
==============================================================================
---
trunk/web/reactos.org/htdocs/roscms/inc/user_register.php [iso-8859-1] (original)
+++
trunk/web/reactos.org/htdocs/roscms/inc/user_register.php [iso-8859-1] Sun Jul 27
01:10:06 2008
@@ -366,8 +366,7 @@
<?php
$securityergges="";
for($x=0;$x<7;$x++){
- echo '<td width="12.5%">
- <p><font face="Courier New, Courier, mono">';
+ echo '<td width="12.5%" style="font-family: monospace; font-size:
12pt;">';
mt_srand((double)microtime()*1000000);
mt_srand((double)microtime()*65000*mt_rand(1,10000));
@@ -388,7 +387,7 @@
$securityerg = str_replace("#",$array[$radom3][4],$securityerg);
$securityerg = str_replace("+","<br>",$securityerg);
echo $securityerg;
- echo '</font></p></td>';
+ echo '</td>';
}
?>
</tr>