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, 6.0 has been updated
via dad42e9c34bf81f9bbce6dcbbe2b86e3dd4b96b0 (commit)
via ce2cbc8384d558fa443a24b054fe2157ae5108a3 (commit)
from aa4688ad89d915710847759e7bfe66ebc105f56e (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 dad42e9c34bf81f9bbce6dcbbe2b86e3dd4b96b0
Author: Franck Villaume <[email protected]>
Date: Fri May 1 18:11:55 2015 +0200
fix HTML syntax: missing space => move to HTML helpers
diff --git a/src/plugins/taskboard/www/index.php
b/src/plugins/taskboard/www/index.php
index 4ac281c..1ad50b1 100644
--- a/src/plugins/taskboard/www/index.php
+++ b/src/plugins/taskboard/www/index.php
@@ -98,7 +98,7 @@ $tech_name_arr[] = _('Any');
if (is_array($_assigned_to)) {
$_assigned_to='';
}
-$tech_box=html_build_select_box_from_arrays($tech_id_arr, $tech_name_arr,
'_assigned_to', $_assigned_to, true, _('Unassigned'));
+$tech_box = html_build_select_box_from_arrays($tech_id_arr, $tech_name_arr,
'_assigned_to', $_assigned_to, true, _('Unassigned'));
// end of the stolen code
$release_box = '';
@@ -142,8 +142,8 @@ if ($taskboard->getReleaseField()) {
<td>
<div
id="taskboard-release-description"></div>
<div id="taskboard-release-snapshot">
- <input type="hidden"
name="taskboard_release_id" id="taskboard-release-id"value="">
- <input type="text"
name="snapshot_date" value="<?php echo date('Y-m-d') ?>">
+ <input type="hidden"
name="taskboard_release_id" id="taskboard-release-id" value="" />
+ <input type="text"
name="snapshot_date" value="<?php echo date('Y-m-d') ?>" />
<button
id="taskboard-save-snapshot-btn"><?php echo _('Save release snapshot');
?></button>
</div>
</td>
@@ -192,7 +192,7 @@ if ($taskboard->getReleaseField()) {
$used_trackers = $taskboard->getUsedTrackersIds();
if(count($used_trackers) == 1) {
$tracker =
$taskboard->TrackersAdapter->getTasksTracker($used_trackers[0]);
- echo '<input type="hidden" name="tracker_id"
id="tracker_id" value="' . $tracker->getID(). '">';
+ echo html_e('input', array('type' => 'hidden', 'name'
=> 'tracker_id', 'id' => 'tracker_id', 'value' => $tracker->getID());
} else {
// select target tracker if more then single trackers
are configured
echo "<div>\n";
commit ce2cbc8384d558fa443a24b054fe2157ae5108a3
Author: Franck Villaume <[email protected]>
Date: Fri May 1 17:59:35 2015 +0200
fix html syntax => move to HTML helpers
diff --git a/src/www/people/createjob.php b/src/www/people/createjob.php
index 804468a..07c7c7c 100644
--- a/src/www/people/createjob.php
+++ b/src/www/people/createjob.php
@@ -4,7 +4,7 @@
*
* Copyright 1999-2001 (c) VA Linux Systems
* Copyright 2002-2004 (c) GForge Team
- * Copyright 2014, Franck Villaume - TrivialDev
+ * Copyright 2014-2015, Franck Villaume - TrivialDev
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge is free software;
@@ -41,23 +41,17 @@ if ($group_id && (forge_check_perm('project_admin',
$group_id))) {
/*
Fill in the info to create a job
*/
- echo '
- <p>'._('Start by filling in the fields below. When you click
continue, you will be shown a list of skills and experience levels that this
job requires.').'</p>
- <p>
- <form action="'.util_make_url ('/people/editjob.php').'"
method="post">
- <input type="hidden" name="group_id" value="'.$group_id.'" />
- <input type="hidden" name="form_key" value="' .
form_generate_key() . '">
- <strong>'._('Category').'</strong>'.utils_requiredField().'</p>
- '. people_job_category_box('category_id') .'
- <p>
- <strong>'._('Short
Description').utils_requiredField()._(':').'</strong><br />
- <input type="text" required="required" name="title" value=""
size="40" maxlength="60" /></p>
- <p>
- <strong>'._('Long
Description').utils_requiredField()._(':').'</strong><br />
- <textarea required="required" name="description" rows="10"
cols="60"></textarea></p>
- <p>
- <input type="submit" name="add_job" value="'._('Continue
>>').'" />
- </form></p>';
+ echo html_e('p', array(), _('Start by filling in the fields below. When
you click continue, you will be shown a list of skills and experience levels
that this job requires.'));
+ echo $HTML->openForm(array('action' => '/people/editjob.php', 'method'
=> 'post'));
+ echo html_e('input', array('type' => 'hidden', 'name' => 'group_id',
'value' => $group_id));
+ echo html_e('input', array('type' => 'hidden', 'name' => 'form_key',
'value' => form_generate_key()));
+ echo html_e('strong', array(),
_('Category')).utils_requiredField().html_e('br').people_job_category_box('category_id');
+ echo html_e('p', array(), html_e('strong', array(), _('Short
Description').utils_requiredField()._(':')).html_e('br').
+ html_e('input', array('type' => 'text',
'required' => 'required', 'name' => 'title', 'value' => '', 'size' => 40,
'maxlength' => 60)));
+ echo html_e('p', array(), html_e('strong', array(), _('Long
Description').utils_requiredField()._(':')).html_e('br').
+ html_e('textarea', array('required' =>
'required', 'name' => 'description', 'rows' => 10, 'cols' =>60), '', false));
+ echo html_e('input', array('type' => 'submit', 'name' => 'add_job',
'value' => _('Continue').'>>'));
+ echo $HTML->closeForm();
people_footer();
-----------------------------------------------------------------------
Summary of changes:
src/plugins/taskboard/www/index.php | 8 ++++----
src/www/people/createjob.php | 30 ++++++++++++------------------
2 files changed, 16 insertions(+), 22 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits