[Fusionforge-commits] r14714 - in trunk/src/www: . account

Alain Peyrat aljeux at fusionforge.org
Wed Oct 26 09:50:04 CEST 2011


Author: aljeux
Date: 2011-10-26 09:50:03 +0200 (Wed, 26 Oct 2011)
New Revision: 14714

Modified:
   trunk/src/www/account/index.php
   trunk/src/www/account/lostpw.php
   trunk/src/www/notepad.php
   trunk/src/www/terms.php
Log:
Clean HTML code mostly

Modified: trunk/src/www/account/index.php
===================================================================
--- trunk/src/www/account/index.php	2011-10-26 07:40:03 UTC (rev 14713)
+++ trunk/src/www/account/index.php	2011-10-26 07:50:03 UTC (rev 14714)
@@ -41,6 +41,7 @@
 		exit_form_double_submit('my');
 	}
 
+
 	$firstname = getStringFromRequest('firstname');
 	$lastname = getStringFromRequest('lastname');
 	$language = getIntFromRequest('language');
@@ -118,16 +119,16 @@
  <br />
 <table width="100%" border="0">
 
-<tr valign="top">
+<tr class="top">
 <td><?php echo _('Member since:'); ?> </td>
 <td><strong><?php print date(_('Y-m-d H:i'),$u->getAddDate()); ?></strong></td>
 </tr>
-<tr valign="top">
+<tr class="top">
 <td><?php echo _('User Id:'); ?> </td>
 <td><strong><?php print $u->getID(); ?></strong></td>
 </tr>
 
-<tr valign="top">
+<tr class="top">
 <td><?php echo _('Login name:'); ?> </td>
 <td><strong><?php print $u->getUnixName(); ?></strong>
 <br /><a href="change_pw.php">[<?php echo _('Change Password'); ?>]</a>

Modified: trunk/src/www/account/lostpw.php
===================================================================
--- trunk/src/www/account/lostpw.php	2011-10-26 07:40:03 UTC (rev 14713)
+++ trunk/src/www/account/lostpw.php	2011-10-26 07:50:03 UTC (rev 14714)
@@ -70,7 +70,7 @@
 
 		$HTML->header(array('title'=>"Lost Password Confirmation"));
 
-		printf('<p>' . _('An email has been sent to the address you have on file. Follow the instructions in the email to change your account password.') . '</p><p><a href="%1$s">'._("Home").'</a></p>', util_make_url('/'));
+		echo '<p>'.printf(_('An email has been sent to the address you have on file. Follow the instructions in the email to change your account password.').'</p><p><a href="%1$s">'._("Home").'</a>', util_make_url ('/')).'</p>';
 
 		$HTML->footer(array());
 		exit();

Modified: trunk/src/www/notepad.php
===================================================================
--- trunk/src/www/notepad.php	2011-10-26 07:40:03 UTC (rev 14713)
+++ trunk/src/www/notepad.php	2011-10-26 07:50:03 UTC (rev 14714)
@@ -85,7 +85,7 @@
   </head>
   <body onLoad="load_initial_value();" >
     <form name="form1" action="">
-      <table width="100%" cellpadding="0" cellspacing="0" border="0">
+      <table class="fullwidth">
         <tr>
           <td><input type="button" name="ok" value="OK"
                      onClick="set_and_close()"/>

Modified: trunk/src/www/terms.php
===================================================================
--- trunk/src/www/terms.php	2011-10-26 07:40:03 UTC (rev 14713)
+++ trunk/src/www/terms.php	2011-10-26 07:50:03 UTC (rev 14714)
@@ -31,7 +31,7 @@
 $HTML->header(array('title'=> _('Terms of use')));
 ?>
 
-<table width="100%" cellpadding="5" cellspacing="0" border="0">
+<table class="fullwidth" cellpadding="5">
 <tr><td width="65%" valign="top">
 	<h3><?php printf (_('%1$s Terms of Use'), forge_get_config ('forge_name')); ?></h3>
 <p>




More information about the Fusionforge-commits mailing list