[Fusionforge-commits] r18403 - trunk/src/www/account

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Nov 6 21:16:11 CET 2013


Author: vargenau
Date: 2013-11-06 21:16:11 +0100 (Wed, 06 Nov 2013)
New Revision: 18403

Modified:
   trunk/src/www/account/change_pw.php
   trunk/src/www/account/editsshkeys.php
Log:
Valid HTML

Modified: trunk/src/www/account/change_pw.php
===================================================================
--- trunk/src/www/account/change_pw.php	2013-11-06 20:15:27 UTC (rev 18402)
+++ trunk/src/www/account/change_pw.php	2013-11-06 20:16:11 UTC (rev 18403)
@@ -104,8 +104,9 @@
 	<p><?php echo _('New Password (repeat)') ?>:
 	<br />
 	<label for="passwd2">
-		<input id="passwd2" type="password" name="passwd2" /></p>
+		<input id="passwd2" type="password" name="passwd2" />
 	</label>
+	</p>
 	<p>
 		<input type="submit" name="submit" value="<?php echo _('Update password') ?>" />
 	</p>

Modified: trunk/src/www/account/editsshkeys.php
===================================================================
--- trunk/src/www/account/editsshkeys.php	2013-11-06 20:15:27 UTC (rev 18402)
+++ trunk/src/www/account/editsshkeys.php	2013-11-06 20:16:11 UTC (rev 18403)
@@ -73,17 +73,17 @@
 echo '<h2>'. _('Add a new ssh key').'</h2>';
 echo '<p>'. _('To avoid having to type your password every time for your CVS/SSH developer account, you may upload your public key(s) here and they will be placed on the server in your ~/.ssh/authorized_keys file. This is done by a cron job, so it may not happen immediately.  Please allow for a one hour delay.') . '</p>';
 echo '<p>'. _('To generate a public key, run the program \'ssh-keygen\' (you can use both protocol 1 or 2). The public key will be placed at \'~/.ssh/identity.pub\' (protocol version 1) and \'~/.ssh/id_dsa.pub\' or \'~/.ssh/id_rsa.pub\' (protocol version 2). Read the ssh documentation for further information on sharing keys.') . '</p>';
-echo '<p><em>'. _('Important: Make sure there are no line breaks. After submitting, verify that the number of keys in your file is what you expected.').'</em>';
-
+echo '<p><em>'. _('Important: Make sure there are no line breaks. After submitting, verify that the number of keys in your file is what you expected.').'</em></p>';
 ?>
 <textarea rows="10" cols="80" name="authorized_key" style="width:90%;">
-</textarea></p>
+</textarea>
 <?php
 echo '<p>'. _('Or upload your \'~/.ssh/identity.pub\' (protocol version 1) or \'~/.ssh/id_dsa.pub\' or \'~/.ssh/id_rsa.pub\' (protocol version 2)') .'</p>';
 echo '<input type="file" name="uploaded_filekey" size="30" />';
 ?>
 <p><input type="submit" name="submit" value="<?php echo _('Add'); ?>" /></p>
-</form>
 
 <?php
+echo '</form>';
+
 site_user_footer(array());




More information about the Fusionforge-commits mailing list