[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 1615733c07c7520b7edfbc834c0bab6ab8ad1de5

Franck Villaume nerville at fusionforge.org
Mon Mar 10 15:20:14 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  1615733c07c7520b7edfbc834c0bab6ab8ad1de5 (commit)
      from  6db0b15493b1772c48c0469082d710484aa87082 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1615733c07c7520b7edfbc834c0bab6ab8ad1de5
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Mar 10 15:09:27 2014 +0100

    frs admin: fix html syntax

diff --git a/src/www/frs/admin/index.php b/src/www/frs/admin/index.php
index 83bff68..c37ec01 100644
--- a/src/www/frs/admin/index.php
+++ b/src/www/frs/admin/index.php
@@ -156,15 +156,14 @@ if (!$res || $rows < 1) {
 	$title_arr[] = _('Status');
 	$title_arr[] = _('Publicly Viewable');
 
+	echo '
+		<form action="'. getStringFromServer('PHP_SELF') .'" method="post">
+		<input type="hidden" name="group_id" value="'.$group_id.'" />
+		<input type="hidden" name="func" value="update_package" />';
 	echo $GLOBALS['HTML']->listTableTop($title_arr);
 
 	for ($i = 0; $i < $rows; $i++) {
-		echo '
-		<form action="'. getStringFromServer('PHP_SELF') .'" method="post">
-		<input type="hidden" name="group_id" value="'.$group_id.'" />
-		<input type="hidden" name="func" value="update_package" />
-		<input type="hidden" name="package_id" value="'. db_result($res, $i, 'package_id') .'" />
-		<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
+		echo '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
 			<td style="white-space: nowrap;" align="center">
 					<a href="qrs.php?package_id='.
 						db_result($res, $i, 'package_id') .'&group_id='. $group_id .'"><strong>['._('Add Release').']</strong>
@@ -176,7 +175,7 @@ if (!$res || $rows < 1) {
 					</a>';
 		}
 		echo '	</td>
-			<td><input type="text" name="package_name" value="'.db_result($res, $i, 'package_name') .'" size="20" maxlength="60" required="required" pattern=".{3,}" title="'. _('At least 3 characters') .'" /></td>
+			<td><input type="hidden" name="package_id" value="'. db_result($res, $i, 'package_id') .'" /><input type="text" name="package_name" value="'.db_result($res, $i, 'package_name') .'" size="20" maxlength="60" required="required" pattern=".{3,}" title="'. _('At least 3 characters') .'" /></td>
 			<td>'.frs_show_status_popup('status_id', db_result($res, $i, 'status_id')).'</td>
 			<td>'.frs_show_public_popup('is_public', db_result($res, $i, 'is_public')).'</td>
 			<td><input type="submit" name="submit" value="'._('Update').'" />
@@ -186,10 +185,11 @@ if (!$res || $rows < 1) {
 					</a>
 
 			</td>
-			</tr></form>';
+			</tr>';
 	}
 
 	echo $GLOBALS['HTML']->listTableBottom();
+	echo '</form>';
 }
 
 /*

-----------------------------------------------------------------------

Summary of changes:
 src/www/frs/admin/index.php |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list