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 3ba51bd72e7a81069f88811a95a59bb0e61cdcc2 (commit)
via 851a200e2bd1d17dfec570b3c070e9c069890fb1 (commit)
from 442f4639d7431faf43478b7b02b8396dcfb8c09a (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=3ba51bd72e7a81069f88811a95a59bb0e61cdcc2
commit 3ba51bd72e7a81069f88811a95a59bb0e61cdcc2
Author: Stéphane-Eymeric Bredthauer <[email protected]>
Date: Sun May 22 22:17:28 2016 +0200
Tracker: Add description (help text) for custom fields, fix Use of
undefined constant size
diff --git a/src/common/tracker/views/form-updateextrafield.php
b/src/common/tracker/views/form-updateextrafield.php
index 94550fd..2fea886 100644
--- a/src/common/tracker/views/form-updateextrafield.php
+++ b/src/common/tracker/views/form-updateextrafield.php
@@ -50,12 +50,12 @@ if (!$ac || !is_object($ac)) {
echo html_ao('p');
echo html_e('label', array('for'=>'name'), html_e('strong', array(),
_('Custom Field Name')._(':')).html_e('br'));
- echo html_e('input', array('type'=>'text', 'id'=>'name',
'name'=>'name', 'value'=>$ac->getName(), size=>'15', 'maxlength'=>'30',
'required'=>'required'));
+ echo html_e('input', array('type'=>'text', 'id'=>'name',
'name'=>'name', 'value'=>$ac->getName(), 'size'=>'15', 'maxlength'=>'30',
'required'=>'required'));
echo html_ac(html_ap() - 1);
echo html_ao('p');
echo html_e('label', array('for'=>'description'), html_e('strong',
array(), _('Description')._(':')).html_e('br'));
- echo html_e('input', array('type'=>'text', 'name'=>'description',
'value'=>$ac->getDescription(), size=>'50', 'maxlength'=>'255'));
+ echo html_e('input', array('type'=>'text', 'name'=>'description',
'value'=>$ac->getDescription(), 'size'=>'50', 'maxlength'=>'255'));
echo html_ac(html_ap() - 1);
echo html_ao('p');
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=851a200e2bd1d17dfec570b3c070e9c069890fb1
commit 851a200e2bd1d17dfec570b3c070e9c069890fb1
Author: Stéphane-Eymeric Bredthauer <[email protected]>
Date: Sun May 22 22:09:23 2016 +0200
Tracker workflow: add support of required fields, fix Undefined offset
diff --git a/src/common/tracker/views/form-workflow.php
b/src/common/tracker/views/form-workflow.php
index db32b0b..ffd0412 100644
--- a/src/common/tracker/views/form-workflow.php
+++ b/src/common/tracker/views/form-workflow.php
@@ -70,9 +70,11 @@ echo $HTML->openForm(array('action' =>
'/tracker/admin/?group_id='.$group_id.'&a
$init = _('Initial values').' ';
$title_arr=array();
+ $to_title_arr=array();
$class_arr=array();
- $title_arr[]=('From Value');
+ $title_arr[]=_('From Value');
$class_arr[]=('');
+ $to_title_arr[]=('');
foreach ($elearray as $status) {
$title_arr[]='<div><span>'.$status['element_name'].'</span></div>';
$to_title_arr[]='<div><span>'.$to.$status['element_name'].'</span></div>';
@@ -81,7 +83,7 @@ echo $HTML->openForm(array('action' =>
'/tracker/admin/?group_id='.$group_id.'&a
echo $HTML->listTableTop($title_arr, false,
'table-header-rotated','',$class_arr);
echo "\n";
- // Special treatement for the initial value (in the Submit form).
+ // Special treatment for the initial value (in the Submit form).
echo '<tr id="initval"><th class="row-header"
style="text-align:left">'.$init.'</th>'."\n";
$next = $atw->getNextNodes('100');
foreach ($states as $s) {
@@ -97,8 +99,6 @@ echo $HTML->openForm(array('action' =>
'/tracker/admin/?group_id='.$group_id.'&a
$count=count($title_arr);
$totitle_arr = array();
$class_arr= array();
- $totitle_arr[]=('');
- $class_arr[]=('');
for ($i=0; $i<$count; $i++) {
$totitle_arr[] = $title_arr[$i]? $to_title_arr[$i] : '';
$class_arr[]='rotate';
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/views/form-updateextrafield.php | 4 ++--
src/common/tracker/views/form-workflow.php | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits