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 f45822c5f9196a5d5e8e2a750bdfa966acbe96dd (commit)
from 1908c08437c335a10af4d7d748090c87ebec0e07 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=f45822c5f9196a5d5e8e2a750bdfa966acbe96dd
commit f45822c5f9196a5d5e8e2a750bdfa966acbe96dd
Author: Franck Villaume <[email protected]>
Date: Sun Mar 1 17:50:12 2020 +0100
project admin: enforce url as type for Homepage
diff --git a/src/www/project/admin/index.php b/src/www/project/admin/index.php
index 4c01d96..274fd7e 100644
--- a/src/www/project/admin/index.php
+++ b/src/www/project/admin/index.php
@@ -9,7 +9,7 @@
* Copyright 2004 GForge, LLC - Tim Perdue
* Copyright 2010, Franck Villaume - Capgemini
* Copyright 2010-2011, Alain Peyrat - Alcatel-Lucent
- * Copyright 2016, Franck Villaume - TrivialDev
+ * Copyright 2016,2020, Franck Villaume - TrivialDev
* http://fusionforge.org
*
* This file is part of FusionForge. FusionForge is free software;
@@ -192,14 +192,11 @@ if (forge_get_config('use_trove')) {
echo html_e('h2', array(), _('Trove Categorization'));
echo html_e('p', array(),
util_make_link('/project/admin/group_trove.php?group_id='.$group->getID(),
'['._('Edit Trove').']'));
}
-?>
-<h2><?php echo _('Homepage Link') ?></h2>
-<p>
-<input type="text" name="form_homepage" size="100" value="<?php echo
$group->getHomePage(); ?>" />
-</p>
+echo html_e('h2', array(), _('Homepage Link'));
+echo html_e('p', array(),
+ html_e('input', array('type' => 'url', 'size' => 100, 'name' =>
'form_homepage', 'value' => $group->getHomePage(), ' pattern' =>
"http[s]?://.*")));
-<?php
// This function is used to render checkboxes below
function c($v) {
if ($v) {
-----------------------------------------------------------------------
Summary of changes:
src/www/project/admin/index.php | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits