[Fusionforge-commits] FusionForge branch master updated. 1ce53ea15b9f0394cfb0f31ae36be0520bdc6fbe

Franck Villaume nerville at fusionforge.org
Sat Mar 29 10:44:21 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, master has been updated
       via  1ce53ea15b9f0394cfb0f31ae36be0520bdc6fbe (commit)
      from  91abc7a63b4eae71d7b19f434f331a55a3d62424 (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 1ce53ea15b9f0394cfb0f31ae36be0520bdc6fbe
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Mar 29 10:43:55 2014 +0100

    more HTML helpers

diff --git a/src/www/pm/admin/index.php b/src/www/pm/admin/index.php
index 57fafcb..7e2c555 100644
--- a/src/www/pm/admin/index.php
+++ b/src/www/pm/admin/index.php
@@ -413,7 +413,7 @@ if ($add_cat && $group_project_id) {
 	//
 	if (forge_check_perm ('pm_admin', $group_id)) {
 		?>
-		<?php util_make_link('/pm/admin/?group_id='.$group_id.'&addproject=1', _('Add a Subproject')) ?><br />
+		<?php echo util_make_link('/pm/admin/?group_id='.$group_id.'&addproject=1', _('Add a Subproject')) ?><br />
 		<?php echo _('Add a subproject, which can contain a set of tasks. This is different than creating a new task.');
 	}
 
diff --git a/src/www/project/admin/index.php b/src/www/project/admin/index.php
index 302b3ac..95d7d15 100644
--- a/src/www/project/admin/index.php
+++ b/src/www/project/admin/index.php
@@ -112,10 +112,6 @@ if (getStringFromRequest('submit')) {
 project_admin_header(array('title'=>sprintf(_('Project Information for %s'), $group->getPublicName()),'group'=>$group->getID()));
 ?>
 
-<table class="my-layout-table">
-	<tr>
-		<td>
-
 <?php echo $HTML->boxTop(_('Misc. Project Information'));
 
 if (forge_get_config('use_shell')) {
@@ -158,10 +154,8 @@ if (forge_get_config('use_shell')) {
 		echo '<br />';
 		echo _('Or pick a tag from those used by other projects: ');
 		echo '<br />';
-		echo '<table width="100%"><thead><tr>';
-		echo '<th>'._('Tags').'</th>';
-		echo '<th>'._('Projects').'</th>';
-		echo '</tr></thead><tbody>';
+		$titleArr = array(_('Tags'), _('Projects'));
+		echo $HTML->listTableTop($titleArr);
 
 		$unix_name = $group->getUnixName();
 		foreach ($infos as $tag => $plist) {
@@ -185,13 +179,15 @@ if (forge_get_config('use_shell')) {
 			echo '<td>'.implode(' ', $links).'</td>' ;
 			echo '</tr>' ;
 		}
-		echo '</tbody></table>' ;
+		echo $HTML->listTableBottom();
 	}
 } ?>
 
 <h2><?php echo _('Trove Categorization'); ?></h2>
 <p>
-<a href="/project/admin/group_trove.php?group_id=<?php echo $group->getID(); ?>">[<?php echo _('Edit Trove'); ?>]</a>
+<?php
+echo util_make_link('/project/admin/group_trove.php?group_id='.$group->getID(), '['._('Edit Trove').']');
+?>
 </p>
 
 <h2><?php echo _('Homepage Link') ?></h2>
@@ -294,13 +290,7 @@ if(forge_get_config('use_frs')) {
 <?php
 plugin_hook('hierarchy_views', array($group_id, 'admin'));
 
-echo $HTML->boxBottom();?>
-
-		</td>
-	</tr>
-</table>
-
-<?php
+echo $HTML->boxBottom();
 
 project_admin_footer();
 

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

Summary of changes:
 src/www/pm/admin/index.php      |    2 +-
 src/www/project/admin/index.php |   24 +++++++-----------------
 2 files changed, 8 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list