[Fusionforge-commits] FusionForge branch master updated. 9410c67003d70d8e8d7dcf00942b0cf6456a859b

Franck VILLAUME nerville at fusionforge.org
Sun Nov 17 18:10:49 CET 2013


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, master has been updated
       via  9410c67003d70d8e8d7dcf00942b0cf6456a859b (commit)
       via  04ec40e1a9497c29d32a9f1e8ebcc1f2d8def693 (commit)
      from  44ec6b0fc5c6380cb9bac955e56f1aa8a6de3c38 (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 9410c67003d70d8e8d7dcf00942b0cf6456a859b
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Nov 17 18:10:29 2013 +0100

    pm: add missing array value

diff --git a/src/www/pm/include/ProjectGroupHTML.class.php b/src/www/pm/include/ProjectGroupHTML.class.php
index 3762223..ae919fa 100644
--- a/src/www/pm/include/ProjectGroupHTML.class.php
+++ b/src/www/pm/include/ProjectGroupHTML.class.php
@@ -66,6 +66,7 @@ function pm_header($params) {
 	if ($group_project_id) {
 		$labels[] = (($pg) ? $pg->getName() : '');
 		$links[]  = '/pm/task.php?group_id='.$group_id.'&group_project_id='.$group_project_id.'&func=browse';
+		$attr[] = '';
 		if (session_loggedin()) {
 			$labels[] = _('Add Task');
 			$links[]  = '/pm/task.php?group_id='.$group_id.'&group_project_id='.$group_project_id.'&func=addtask';

commit 04ec40e1a9497c29d32a9f1e8ebcc1f2d8def693
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Nov 17 18:08:09 2013 +0100

    pm: add html5 required and pattern in subproject form

diff --git a/src/www/pm/admin/index.php b/src/www/pm/admin/index.php
index 0f2f83e..acc9fe8 100644
--- a/src/www/pm/admin/index.php
+++ b/src/www/pm/admin/index.php
@@ -6,6 +6,7 @@
  * Copyright 2002 GForge, LLC, Tim Perdue
  * Copyright 2010, FusionForge Team
  * Copyright (C) 2011-2012 Alain Peyrat - Alcatel-Lucent
+ * Copyright 2013, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -283,10 +284,10 @@ if ($add_cat && $group_project_id) {
 	<input type="hidden" name="post_changes" value="y" />
 	<strong><?php echo _('New Subproject Name').utils_requiredField()?></strong>
 	<br />
-	<input type="text" name="project_name" value="" size="15" maxlength="30" />
+	<input type="text" name="project_name" value="" size="15" maxlength="30" required="required" pattern=".{5,}"/>
 	<p />
 	<strong><?php echo _('Description').utils_requiredField() ?></strong><br />
-	<input type="text" name="description" value="" size="40" maxlength="80" />
+	<input type="text" name="description" value="" size="40" maxlength="80" required="required" pattern=".{10,}"/>
 	<p />
 	<strong><?php echo _('Send All Updates To')?>:</strong><br />
 	<input type="text" name="send_all_posts_to" value="" size="40" maxlength="80" /><p />

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

Summary of changes:
 src/www/pm/admin/index.php                    |    5 +++--
 src/www/pm/include/ProjectGroupHTML.class.php |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list