[Fusionforge-commits] r7197 - in trunk/gforge/www: mail/admin people top

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Mar 19 22:52:34 CET 2009


Author: aljeux
Date: 2009-03-19 22:52:34 +0100 (Thu, 19 Mar 2009)
New Revision: 7197

Modified:
   trunk/gforge/www/mail/admin/deletelist.php
   trunk/gforge/www/mail/admin/index.php
   trunk/gforge/www/people/editprofile.php
   trunk/gforge/www/top/index.php
   trunk/gforge/www/top/toplist.php
Log:
xhtml fixes

Modified: trunk/gforge/www/mail/admin/deletelist.php
===================================================================
--- trunk/gforge/www/mail/admin/deletelist.php	2009-03-19 17:08:04 UTC (rev 7196)
+++ trunk/gforge/www/mail/admin/deletelist.php	2009-03-19 21:52:34 UTC (rev 7197)
@@ -50,13 +50,11 @@
 
 ?>
 <h3><?php echo $ml->getName(); ?></h3>
-<p>
 <form method="post" action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id; ?>&amp;group_list_id=<?php echo $ml->getID(); ?>">
-<input type="checkbox" name="sure" value="1"><?php echo _('Confirm Delete'); ?><br />
-<input type="checkbox" name="really_sure" value="1"><?php echo _('Confirm Delete'); ?><br />
-<input type="submit" name="submit" value="<?php echo _('Permanently Delete'); ?>">
+<input type="checkbox" name="sure" value="1" /><?php echo _('Confirm Delete'); ?><br />
+<input type="checkbox" name="really_sure" value="1" /><?php echo _('Confirm Delete'); ?><br />
+<input type="submit" name="submit" value="<?php echo _('Permanently Delete'); ?>" />
 </form>
-</p>
 <?php
 
 mail_footer(array());

Modified: trunk/gforge/www/mail/admin/index.php
===================================================================
--- trunk/gforge/www/mail/admin/index.php	2009-03-19 17:08:04 UTC (rev 7196)
+++ trunk/gforge/www/mail/admin/index.php	2009-03-19 21:52:34 UTC (rev 7197)
@@ -135,7 +135,7 @@
 		<form method="post" action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id ?>">
 			<input type="hidden" name="post_changes" value="y" />
 			<input type="hidden" name="add_list" value="y" />
-			<input type="hidden" name="form_key" value="<?php echo form_generate_key();?>">
+			<input type="hidden" name="form_key" value="<?php echo form_generate_key();?>" />
 			<p><strong><?php echo _('Mailing List Name:'); ?></strong><br />
 			<strong><?php echo $Group->getUnixName(); ?>-<input type="text" name="list_name" value="" size="10" maxlength="12" />@<?php echo $GLOBALS['sys_lists_host']; ?></strong><br /></p>
 			<p>

Modified: trunk/gforge/www/people/editprofile.php
===================================================================
--- trunk/gforge/www/people/editprofile.php	2009-03-19 17:08:04 UTC (rev 7196)
+++ trunk/gforge/www/people/editprofile.php	2009-03-19 21:52:34 UTC (rev 7197)
@@ -283,7 +283,7 @@
 		echo '<h2>'._('Add a new skill').'</h2>';
 		echo _('You can enter new skills you have acquired here. Please enter the start and finish dates as accurately as possible.').'<br />'.
 			 '<span class="required-field">'._('All fields are required!').'</span>';
-	   	echo '<form action="'.getStringFromServer('PHP_SELF').'" METHOD="POST">';
+		echo '<form action="'.getStringFromServer('PHP_SELF').'" method="post">';
 	   	echo' <input type="hidden" name="form_key" value="'.form_generate_key().'">';
 		$cell_data = array();
 		$cell_data[] = array(_('Type'));
@@ -327,7 +327,7 @@
 		
 		echo '<h2>'._('Edit/Delete Your Skills').'</h2>
 		<table border="0" width="100%">';
-		echo '<form action="'.getStringFromServer('PHP_SELF').'" METHOD="POST">';
+		echo '<form action="'.getStringFromServer('PHP_SELF').'" method="post">';
 		displayUserSkills(user_getid(), 1); 
 		echo '</form>';				
 		echo '</table>';

Modified: trunk/gforge/www/top/index.php
===================================================================
--- trunk/gforge/www/top/index.php	2009-03-19 17:08:04 UTC (rev 7196)
+++ trunk/gforge/www/top/index.php	2009-03-19 21:52:34 UTC (rev 7197)
@@ -33,17 +33,19 @@
 
 <p><?php printf(_('We track many project usage statistics on %1$s, and display here the top ranked projects in several categories.'), $GLOBALS['sys_name']); ?>
 <ul>
-<li><a href="mostactive.php?type=week"><?php echo _('Most Active This Week'); ?></a>
-<li><a href="mostactive.php"><?php echo _('Most Active All Time'); ?></a>
-<br />&nbsp;
-<li><a href="toplist.php?type=downloads"><?php echo _('Top Downloads'); ?></a>
-<br />&nbsp;
-<li><a href="toplist.php?type=pageviews_proj"><?php echo _('Top Project Pageviews'); ?></a> 
-<li><a href="toplist.php?type=forumposts_week"><?php echo _('Top Forum Post Counts'); ?></a>
+<li><a href="mostactive.php?type=week"><?php echo _('Most Active This Week'); ?></a></li>
+<li><a href="mostactive.php"><?php echo _('Most Active All Time'); ?></a></li>
+</ul>
+<ul>
+<li><a href="toplist.php?type=downloads"><?php echo _('Top Downloads'); ?></a></li>
+</ul>
+<ul>
+<li><a href="toplist.php?type=pageviews_proj"><?php echo _('Top Project Pageviews'); ?></a></li> 
+<li><a href="toplist.php?type=forumposts_week"><?php echo _('Top Forum Post Counts'); ?></a></li>
 
 <!--
-<li><a href="toplist.php?type=downloads_week"><?php echo _('Top Downloads (Past 7 Days)'); ?></a>
-<li><a href="topusers.php"><?php echo _('Highest Ranked Users'); ?></a>
+<li><a href="toplist.php?type=downloads_week"><?php echo _('Top Downloads (Past 7 Days)'); ?></a></li>
+<li><a href="topusers.php"><?php echo _('Highest Ranked Users'); ?></a></li>
 -->
 
 </ul>

Modified: trunk/gforge/www/top/toplist.php
===================================================================
--- trunk/gforge/www/top/toplist.php	2009-03-19 17:08:04 UTC (rev 7196)
+++ trunk/gforge/www/top/toplist.php	2009-03-19 21:52:34 UTC (rev 7197)
@@ -71,8 +71,7 @@
 		.'</td><td>'.util_make_link_g (strtolower($row_top['unix_group_name']),@$row_top['group_id'],stripslashes($row_top['group_name']))
 		.'</td><td align="right">'.$row_top['items']
 		.'&nbsp;&nbsp;&nbsp;</td>'
-		.'<td align="right">';
-	print '&nbsp;&nbsp;&nbsp;</td></tr>
+		.'</tr>
 ';
 }
 




More information about the Fusionforge-commits mailing list