[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 382b239c4c5984927db71710c484a372e3cf355a

Franck VILLAUME nerville at fusionforge.org
Fri Feb 14 17:43:16 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  382b239c4c5984927db71710c484a372e3cf355a (commit)
      from  11ca74a63d8a62eabee538dd6e98e3fff21d73c2 (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 382b239c4c5984927db71710c484a372e3cf355a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Feb 14 17:43:11 2014 +0100

    plugin mantisbt: use input type url & password

diff --git a/src/plugins/mantisbt/view/admin/viewConfiguration.php b/src/plugins/mantisbt/view/admin/viewConfiguration.php
index 121a49a..ccf9ac6 100644
--- a/src/plugins/mantisbt/view/admin/viewConfiguration.php
+++ b/src/plugins/mantisbt/view/admin/viewConfiguration.php
@@ -3,7 +3,7 @@
  * MantisBT plugin
  *
  * Copyright 2011, Franck Villaume - Capgemini
- * Copyright 2011-2012, Franck Villaume - TrivialDev
+ * Copyright 2011-2014, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -65,7 +65,7 @@ echo '/></td></tr>';
 echo '<tr><td><label id="mantisbtinit-url" ';
 if ($use_tooltips)
 	echo 'title="'._('Specify the Full URL of the MantisBT Web Server.').'"';
-echo ' >URL</label></td><td><input id="mantisbturl" type="text" size="50" maxlength="255" name="url" value="'.$mantisbtConf['url'].'" /></td></tr>';
+echo ' >URL</label></td><td><input id="mantisbturl" type="url" size="50" maxlength="255" name="url" value="'.$mantisbtConf['url'].'" /></td></tr>';
 echo '<tr><td><label id="mantisbtinit-user" ';
 if ($use_tooltips)
 	echo 'title="'._('Specify the user with admin right to be used thru SOAP API.').'"';
@@ -73,7 +73,7 @@ echo ' >SOAP User</label></td><td><input id="mantisbtuser" type="text" size="50"
 echo '<tr><td><label id="mantisbtinit-password" ';
 if ($use_tooltips)
 	echo 'title="'._('Specify the password of this user.').'"';
-echo ' >SOAP Password</label></td><td><input id="mantisbtpassword" type="text" size="50" maxlength="255" name="soap_password" value="'.$mantisbtConf['soap_password'].'" /></td></tr>';
+echo ' >SOAP Password</label></td><td><input id="mantisbtpassword" type="password" size="50" maxlength="255" name="soap_password" value="'.$mantisbtConf['soap_password'].'" /></td></tr>';
 echo '<tr><td><label id="mantisbtinit-syncroles" ';
 if ($use_tooltips)
 	echo 'title="'._('Do you want to sync FusionForge -> MantisBT roles ? Not implemented yet.').'"';
diff --git a/src/plugins/mantisbt/view/admin/viewGlobalConfiguration.php b/src/plugins/mantisbt/view/admin/viewGlobalConfiguration.php
index 96ff23c..4d16ce7 100644
--- a/src/plugins/mantisbt/view/admin/viewGlobalConfiguration.php
+++ b/src/plugins/mantisbt/view/admin/viewGlobalConfiguration.php
@@ -3,7 +3,7 @@
  * MantisBT plugin
  *
  * Copyright 2011, Franck Villaume - Capgemini
- * Copyright 2011, Franck Villaume - TrivialDev
+ * Copyright 2011-2014, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -31,11 +31,11 @@ echo $HTML->boxTop(_('Manage configuration'));
 echo '<form method="POST" Action="?type=globaladmin&pluginname='.$mantisbt->name.'&action=updateGlobalConf">';
 echo '<table>';
 echo '<tr><td><label id="mantisbtinit-url" >URL</label></td>';
-echo '<td><input type="text" class="tabtitle-w" title="'._('Specify the Full URL of the MantisBT Web Server.').'" size="50" maxlength="255" name="url" value="'.$mantisbtGlobalConf['url'].'" /></td></tr>';
+echo '<td><input type="url" class="tabtitle-w" title="'._('Specify the Full URL of the MantisBT Web Server.').'" size="50" maxlength="255" name="url" value="'.$mantisbtGlobalConf['url'].'" /></td></tr>';
 echo '<tr><td><label id="mantisbtinit-user" >SOAP User</label></td>';
 echo '<td><input type="text" class="tabtitle-w" title="'._('Specify the user with admin right to be used thru SOAP API.').'" size="50" maxlength="255" name="soap_user" value="'.$mantisbtGlobalConf['soap_user'].'" /></td></tr>';
 echo '<tr><td><label id="mantisbtinit-password" >SOAP Password</label></td>';
-echo '<td><input type="text" class="tabtitle-w" title="'._('Specify the password of this user.').'" size="50" maxlength="255" name="soap_password" value="'.$mantisbtGlobalConf['soap_password'].'" /></td></tr>';
+echo '<td><input type="password" class="tabtitle-w" title="'._('Specify the password of this user.').'" size="50" maxlength="255" name="soap_password" value="'.$mantisbtGlobalConf['soap_password'].'" /></td></tr>';
 echo '<tr><td><label id="mantisbtinit-syncroles" >Sync Roles</label></td>';
 echo '<td><input disabled="disabled" type="checkbox" class="tabtitle-w" title="'._('Do you want to sync FusionForge -> MantisBT roles ? Not implemented yet.').'" name="sync_roles" /></td></tr>';
 echo '</table>';

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

Summary of changes:
 src/plugins/mantisbt/view/admin/viewConfiguration.php       |    6 +++---
 src/plugins/mantisbt/view/admin/viewGlobalConfiguration.php |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list