[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 909b4efbda133902cdfd85fecb49aeb77fd15058

Franck Villaume nerville at fusionforge.org
Tue Mar 4 13:43:30 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  909b4efbda133902cdfd85fecb49aeb77fd15058 (commit)
      from  dfcb1860e21ad9898cb5233f0384c22ee9465deb (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 909b4efbda133902cdfd85fecb49aeb77fd15058
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Tue Mar 4 13:43:12 2014 +0100

    people editprofile: drop redondant information

diff --git a/src/www/people/editprofile.php b/src/www/people/editprofile.php
index 06a5a6f..3c4a26f 100644
--- a/src/www/people/editprofile.php
+++ b/src/www/people/editprofile.php
@@ -148,7 +148,6 @@ if (session_loggedin()) {
 
 			} else	/* not confirmed multiedit */ {
 				people_header(array('title'=>_('Edit Skills')));
-				echo '<h2>'._('Edit Skills').'</h2>';
 				echo _('Change the required fields, and press “Done” at the bottom of the page');
 				echo '<form action="'.getStringFromServer('PHP_SELF').'" method="post">';
 				echo '<input type="hidden" name="form_key" value="'.form_generate_key().'">';
@@ -186,7 +185,7 @@ if (session_loggedin()) {
 				if (!$result || db_affected_rows($result) < 1) {
 					$error_msg .= sprintf(_('Failed to delete any skills: %s'),db_error());
 				} else {
-					$feedback = ngettext (_('Skill deleted successfully'), _('Skills deleted successfully'), db_affected_rows($result));
+					$feedback = ngettext ('Skill deleted successfully', 'Skills deleted successfully', db_affected_rows($result));
 				}
 			} else {
 				$result = db_query_params ('SELECT title FROM skills_data where skills_data_id = ANY ($1)',
@@ -198,7 +197,7 @@ if (session_loggedin()) {
 					people_header(array('title'=>_('Confirm skill delete')));
 
 					echo '<span class="important">'._('Confirm Delete').'</span>';
-					print ngettext(_('You are about to delete the following skill from the skills database:'), _('You are about to delete the following skills from the skills database:'), $rows) ;
+					print ngettext('You are about to delete the following skill from the skills database:', 'You are about to delete the following skills from the skills database:', $rows) ;
 					echo "<br />";
 					for($i = 0; $i < $rows; $i++) {
 						echo "<strong>   " .db_result($result, $i, 'title') . "</strong><br />";

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

Summary of changes:
 src/www/people/editprofile.php |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list