[ros-diffs] [cfinck] 34826: 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)
cfinck at svn.reactos.org
cfinck at svn.reactos.org
Sun Jul 27 08:10:06 CEST 2008
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/user_register.php?rev=34826&r1=34825&r2=34826&view=diff
==============================================================================
--- 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>
More information about the Ros-diffs
mailing list